]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
tt_RU: Add lang_name [BZ #24370]
[thirdparty/glibc.git] / ChangeLog
1 2019-05-28 mansayk <6688000@gmail.com>
2
3 [BZ #24370]
4 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
5
6 2019-05-28 mansayk <6688000@gmail.com>
7
8 [BZ #24369]
9 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
10 (abmon): Likewise, but remove the trailing dots.
11
12 2019-05-28 Joseph Myers <joseph@codesourcery.com>
13
14 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
15
16 2019-05-27 Florian Weimer <fweimer@redhat.com>
17
18 * nptl/nptl-init.c: Add comment.
19
20 2019-05-24 Florian Weimer <fweimer@redhat.com>
21
22 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
23 struct in_addr/struct in6_addr alignment.
24
25 2019-05-23 Joseph Myers <joseph@codesourcery.com>
26
27 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28 (F_SEAL_FUTURE_WRITE): New macro.
29
30 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
31
32 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
33 * elf/tst-ldconfig-bad-aux-cache.c: New file.
34 * elf/tst-ldconfig_aux-cache.root: New directory.
35 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
36 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
37 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
38
39 2019-05-22 Zack Weinberg <zackw@panix.com>
40
41 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
42 host type.
43 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
44 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
45
46 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
47 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
48 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
49 Delete.
50
51 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
52 Issue an #error if used with a compiler in SPE-float mode.
53 * sysdeps/powerpc/powerpc32/__longjmp_common.S
54 * sysdeps/powerpc/powerpc32/setjmp_common.S
55 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
56 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
57 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
58 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
59 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
60 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
61 Remove code to preserve SPE register state.
62
63 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
64 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
65 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
66 Remove __SPE__ ifndefs.
67
68 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
69
70 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
71 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
72 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
73 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
74 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
75 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
76 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
77 (INNER_LOOP_ITERS_MEDIUM): New define.
78 (INNER_LOOP_ITERS_SMALL): New define.
79 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
80 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
81 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
82 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
83 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
84
85 2019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
86
87 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
88 New define.
89 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
90 (SEMTIMEDOP_IPC_ARGS): Likewise.
91
92 2019-05-21 Florian Weimer <fweimer@redhat.com>
93
94 [BZ #24584]
95 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
96 before updating __counter field and release it afterwards. Add
97 overflow check.
98 * iconv/gconv.h (struct __gconv_step): Mention synchronization
99 requirement for __counter member.
100
101 2019-05-21 Florian Weimer <fweimer@redhat.com>
102
103 [BZ #24583]
104 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
105 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
106 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
107 instead of __gconv_release_step.
108 * libio/Makefile (tests): Add tst-wfile-gconv.
109 (tests-container): Add tst-wfile-ascii.
110 (tst-wfile-gconv-ENV): Enable mtrace.
111 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
112 (tests-special): Add tst-wfile-gconv-mem.out.
113 (tst-wfile-gconv.out): Depend on locales.
114 (tst-wfile-gconv-mem.out): Add mtrace rule.
115 * libio/tst-wfile-ascii.c: New file.
116 * libio/tst-wfile-gconv.c: Likewise.
117
118 2019-05-20 Florian Weimer <fweimer@redhat.com>
119
120 [BZ #24588]
121 libio: Remove codecvt vtable.
122 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
123 __libio_codecvt.
124 * libio/iofgetpos.c (_IO_new_fgetpos): Call
125 __libio_codecvt_encoding.
126 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
127 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
128 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
129 * libio/iofwide.c (__libio_codecvt): Remove variable.
130 (_IO_fwide): Do not copy __libio_codecvt.
131 (__libio_codecvt_out): Rename from do_out and export.
132 (do_unshift): Remove function.
133 (__libio_codecvt_in): Rename from do_in and export.
134 (__libio_codecvt_encoding): Rename from do_encoding and export.
135 (do_always_noconv): Remove function.
136 (__libio_codecvt_length): Rename from do_length and export.
137 (do_max_length): Remove function.
138 * libio/libio.h (enum __codecvt_result): Remove definition; moved
139 to libioP.h.
140 (struct _IO_codecvt): Remove fields __codecvt_destr,
141 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
142 __codecvt_do_encoding, __codecvt_do_always_noconv,
143 __codecvt_do_length, __codecvt_do_max_length.
144 * libio/libioP.h (enum __codecvt_result): Define; moved from
145 libio.h.
146 (__libio_codecvt_out, __libio_codecvt_in)
147 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
148 functions.
149 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
150 (_IO_wfile_underflow): Call __libio_codecvt_in.
151 (_IO_wfile_underflow): Likewise.
152 (_IO_wfile_underflow_mmap): Likewise.
153 (_IO_wfile_sync): Call __libio_codecvt_encoding,
154 __libio_codecvt_length.
155 (adjust_wide_data): Call __libio_codecvt_encoding,
156 __libio_codecvt_in.
157 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
158 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
159 __libio_codecvt_length.
160
161 2019-05-20 Florian Weimer <fweimer@redhat.com>
162
163 * support/support.h (support_sbindir_prefix): Declare.
164 (support_install_rootsbindir): Update comment.
165 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
166 * support/support_paths.c (support_sbindir_prefix): Define.
167
168 2019-05-20 Mike Crowe <mac@mcrowe.com>
169
170 * support/timespec.c: Add backslash to correct newline in failure
171 message.
172
173 * support/timespec.h: Correct confusing comment.
174
175 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
176
177 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
178 define.
179 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
180 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
181 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
182 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
183
184 [BZ #24570]
185 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
186 usage.
187
188 2019-05-20 Joseph Myers <joseph@codesourcery.com>
189
190 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
191 (NT_ARM_PACG_KEYS): Likewise.
192
193 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
194
195 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
196 (tcache_put): Remove redundant assert.
197 (tcache_get): Remove redundant asserts.
198 (__libc_malloc): Check tcache count is not zero.
199 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
200
201 2019-05-17 Florian Weimer <fweimer@redhat.com>
202
203 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
204
205 2019-05-16 Joseph Myers <joseph@codesourcery.com>
206
207 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
208 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
209 0x050100].
210 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
211 Likewise.
212 * sysdeps/unix/sysv/linux/sh/kernel-features.h
213 (__ASSUME_STATX): Likewise.
214
215 2019-05-16 Florian Weimer <fweimer@redhat.com>
216
217 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
218 flags argument.
219 (LINE_PARSER): Do not map IPv4 addresses.
220 (internal_nis_gethostent_r): Remove flags argument. Adjust call
221 to parse_line.
222 (_nss_nis_gethostent_r): Always pass AF_INET to
223 internal_nis_gethostent_r.
224 (internal_gethostbyname2_r): Remove flags argument. Adjust call
225 to parse_line.
226 (_nss_nis_gethostbyname2_r): Adjust call to
227 internal_nis_gethostent_r.
228 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
229 call to internal_nis_gethostent_r.
230 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
231 from parse_line.
232 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
233 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
234 Remove flags argument. Do not map IPv4 addresses.
235 (internal_nisplus_gethostent_r): Adjust call to
236 _nss_nisplus_parse_hostent.
237 (internal_gethostbyname2_r): Remove flags argument. Adjust call
238 to _nss_nisplus_parse_hostent.
239 (_nss_nisplus_gethostbyname2_r): Adjust call to
240 internal_gethostbyname2_r.
241 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
242 Adjust call to internal_gethostbyname2_r.
243 (_nss_nisplus_gethostbyaddr_r): Adjust call to
244 _nss_nisplus_parse_hostent.
245 (_nss_nisplus_gethostbyname4_r): Adjust call to
246 internal_gethostbyname2_r.
247
248 2019-05-16 Florian Weimer <fweimer@redhat.com>
249
250 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
251 Remove flags.
252 (LINE_PARSER): Remove address mapping.
253 (EXTRA_ARGS_VALUE): Remove flags argument.
254 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
255 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
256 gethostbyname3_multi.
257 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
258 _nss_files_gethostbyname3_r.
259 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
260
261 2019-05-16 Florian Weimer <fweimer@redhat.com>
262
263 * support/support_test_compare_blob.c (report_blob): Report
264 incorrect NULL blobs.
265
266 2019-05-15 Mark Wielaard <mark@klomp.org>
267
268 [BZ# 24476]
269 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
270 __libc_once_get (once) and static_buf == NULL.
271 (__dlerror): Check we have a valid key, set result to static_buf
272 otherwise.
273
274 2019-05-15 Andreas Schwab <schwab@suse.de>
275
276 [BZ #20568]
277 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
278 __codecvt_do_length.
279 * libio/Makefile (tests): Add tst-wfile-sync.
280 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
281 * libio/tst-wfile-sync.c: New file.
282 * libio/tst-wfile-sync.input: New file.
283
284 2019-05-15 Florian Weimer <fweimer@redhat.com>
285
286 nss: Turn __nss_database_lookup into a compatibility symbol.
287 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
288 __nss_database_lookup.
289 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
290 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
291 __nss_database_lookup.
292 (__nss_next): Move to …
293 * nss/compat-lookup.c (nss_next): … here. Change it to fail
294 unconditionally.
295 (__nss_database_lookup): New function.
296 * nss/Versions (GLIBC_2.0): Update comment.
297 (GLIBC_PRIVATE): Export __nss_database_lookup2.
298 * grp/initgroups.c (internal_getgrouplist): Call
299 __nss_database_lookup2 instead of __nss_database_lookup.
300 * nscd/aicache.c (addhstaiX): Likewise.
301 * nscd/initgrcache.c (addinitgroupsX): Likewise.
302 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
303 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
304 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
305 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
306 Likewise.
307 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
308 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
309 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
310
311 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
312
313 * support/support.h (support_install_rootsbindir): New variable.
314 * support/support_paths.c: Likewise.
315 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
316
317 2019-05-15 Florian Weimer <fweimer@redhat.com>
318
319 * iconv/gconv.h (__gconv_transliterate): Move declaration …
320 * iconv/gconv_int.h (__gconv_transliterate): … here.
321 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
322 * iconv/skeleton.c: Likewise.
323
324 2019-05-14 Florian Weimer <fweimer@redhat.com>
325
326 Linux: Add the tgkill function.
327 * bits/signal_ext.h: New file.
328 * manual/signal.texi (Signaling Another Process): Document tgkill.
329 * signal/Makefile (headers): Add bits/signal_ext.h.
330 * signal/signal.h: Include <bits/signal_ext.h>.
331 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
332 (tst-tgkill): Link with libpthread.
333 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
334 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
335 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
336 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
337 tgkill.
338 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
339 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
340 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
341 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
342 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
343 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
344 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
345 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
346 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
347 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
348 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
349 Likewise.
350 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
351 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
352 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
354 Likewise.
355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
356 Likewise.
357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
358 Likewise.
359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
360 Likewise.
361 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
362 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
363 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
364 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
365 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
366 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
367 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
368 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
369
370 2019-05-14 Carlos O'Donell <carlos@redhat.com>
371
372 * manual/search.texi (Tree Search Function): Adjust twalk_r
373 documentation.
374
375 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
376
377 [BZ #24544]
378 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
379 pre-defined value.
380
381 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
382 * support/support.h (support_bindir_prefix): New variable.
383 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
384
385 * config.make.in (bindir): New variable.
386
387 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
388 (lll_trylock): Call __lll_trylock.
389 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
390 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
391 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
392 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
393 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
394 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
395 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
396 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
397 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
398 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
399 lowlevellock-futex.h.
400
401 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
402 initialization for LLL_LOCK_INITIALIZER different than 0.
403 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
404 Assume LLL_LOCK_INITIALIZER being 0.
405 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
406 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
407 Likewise.
408 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
409 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
410
411 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
412 Optimize futex call and add systemtap probe.
413
414 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
415 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
416 __libc_disable_asynccancel, __librt_enable_asynccancel,
417 __libc_disable_asynccancel, __librt_enable_asynccancel,
418 __librt_disable_asynccancel): Move to ...
419 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
420 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
421 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
422 * sysdeps/generic/single-thread.h: New file.
423 * sysdeps/unix/sysdep.h: Include single-thread.h.
424 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
425 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
426
427 2019-05-08 Mike FABIAN <mfabian@redhat.com>
428
429 [BZ #24535]
430 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
431 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
432 Unicode 12.1.0.
433 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
434 * localedata/unicode-gen/PropList.txt: Likewise.
435 * localedata/unicode-gen/UnicodeData.txt: Likewise.
436 * localedata/charmaps/UTF-8: Regenerate.
437 * localedata/locales/i18n_ctype: Likewise.
438 * localedata/locales/tr_TR: Likewise.
439 * localedata/locales/translit_circle: Likewise.
440 * localedata/locales/translit_cjk_compat: Likewise.
441 * localedata/locales/translit_combining: Likewise.
442 * localedata/locales/translit_compat: Likewise.
443 * localedata/locales/translit_font: Likewise.
444 * localedata/locales/translit_fraction: Likewise.
445
446 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
447
448 [BZ #24531]
449 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
450 (do_set_tcache_count): Only update if count is small enough.
451 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
452
453 2019-05-10 Florian Weimer <fweimer@redhat.com>
454
455 * nptl/sem_close.c (struct walk_closure): Define.
456 (walker): Adjust for __twalk_r.
457 (sem_close): Call __twalk_r.
458
459 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
460
461 * support/timespec.c (test_timespec_before_impl,
462 test_timespec_equal_or_after_impl): print timespec member as intmax_t
463 insted of long int.
464
465 2019-05-09 Mike Crowe <mac@mcrowe.com>
466
467 * nptl/tst-abstime.c: Use libsupport.
468
469 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
470 small bug where only tv.tv_usec was checked which could cause an
471 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
472 than a second.
473
474 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
475 libsupport.
476
477 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
478 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
479
480 * nptl/tst-cond11.c: Use libsupport.
481
482 * support/timespec.h: New file. Provide timespec helper functions
483 along with macros in the style of those in check.h.
484 * support/timespec.c: New file. Implement check functions declared
485 in support/timespec.h.
486 * support/timespec-add.c: New file from gnulib containing
487 timespec_add implementation that handles overflow.
488 * support/timespec-sub.c: New file from gnulib containing
489 timespec_sub implementation that handles overflow.
490 * support/README: Mention timespec.h.
491
492 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
493
494 [BZ #24537]
495 * nptl/Makefile: Move tst-eintr1 to xtests.
496
497 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
498
499 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
500 TRUNC handling.
501 (round_mode): Add definition for TRUNC.
502 * sysdeps/powerpc/fpu/s_trunc.c: New file.
503 * sysdeps/powerpc/fpu/s_truncf.c: New file.
504 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
505 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
506 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
507 Likewise.
508 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
509 Likewise.
510 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
511 Likewise.
512 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
513 Likewise.
514 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
515 file.
516 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
517 Likewise.
518 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
519 Likewise.
520 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
521 Likewise.
522 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
523 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
524 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
525 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
526 s_truncf-power5+, and s_truncf-ppc64.
527 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
528 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
529 file.
530 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
532 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
533 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
534 file.
535 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
536 Likewise.
537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
538 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
539 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
540 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
541 s_truncf-power5+, and s_truncf-ppc64.
542 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
543 file.
544 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
545 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
546 Likewise.
547 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
548 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
549 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
550 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
551 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
552
553 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
554 ROUND handling.
555 (round_mode): Add definition for ROUND.
556 (round_to_integer_float): Likewise.
557 * sysdeps/powerpc/fpu/s_round.c: New file.
558 * sysdeps/powerpc/fpu/s_roundf.c: New file.
559 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
560 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
561 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
562 Likewise.
563 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
564 Likewise.
565 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
566 Likewise.
567 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
568 Likewise.
569 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
570 file.
571 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
572 Likewise.
573 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
574 Likewise.
575 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
576 Likewise.
577 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
578 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
579 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
580 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
581 s_roundf-power5+, and s_roundf-ppc64.
582 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
583 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
584 file.
585 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
587 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
588 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
589 file.
590 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
591 Likewise.
592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
593 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
594 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
595 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
596 s_roundf-power5+, and s_roundf-ppc64.
597 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
598 file.
599 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
600 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
601 Likewise.
602 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
603 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
604 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
605 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
606 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
607
608 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
609 Add FLOOR option.
610 (round_mode): Add definition for FLOOR.
611 * sysdeps/powerpc/fpu/s_floor.c: New file.
612 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
613 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
614 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
616 Remove file.
617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
618 Likewise
619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
620 Likewise.
621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
622 Likewise.
623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
624 New file.
625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
626 Likewise.
627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
628 Likewise.
629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
630 Likewise.
631 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
632 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
633 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
634 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
635 s_floorf-power5+, and s_floorf-ppc64.
636 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
637 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
638 file.
639 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
641 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
642 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
643 file.
644 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
645 Likewise.
646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
647 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
648 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
649 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
650 s_floorf-power5+, and s_floorf-ppc64.
651 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
652 file.
653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
654 file.
655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
656 Likewise.
657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
658 Likewise.
659 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
660 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
661 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
662 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
663
664 2019-05-08 Mike Crowe <mac@mcrowe.com>
665
666 * support/xclock_gettime.c (xclock_gettime): New file. Provide
667 clock_gettime wrapper for use in tests that fails the test rather
668 than returning failure.
669
670 * support/xtime.h: New file to declare xclock_gettime.
671
672 * support/Makefile: Add xclock_gettime.c.
673
674 * support/README: Mention xtime.h.
675
676 2019-05-08 Florian Weimer <fweimer@redhat.com>
677
678 malloc/tst-mallocfork2: Use process-shared barriers.
679 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
680 (signal_count, sigusr1_sender_pid): Remove.
681 (iterations): Define constant.
682 (shared): New variable.
683 (sigusr1_received): Update comment.
684 (sigusr1_handler): Do not send SIGSTOP to the sender process.
685 (signal_sender): Optional use barriers to avoid sending signals
686 during irrelevant times.
687 (do_it): Initialize variable shared. Use xfork for error
688 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
689 the iteration count, independent of signal delivery. Check for
690 deadlocks in fork. Introduce barriers for reducing signal
691 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
692 replaced by the barriers. Count signals during fork/free/malloc
693 and report them.
694 * malloc/Makefile (tst-mallocfork): Link with libpthread.
695
696 2019-05-07 Joseph Myers <joseph@codesourcery.com>
697
698 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
699 version to 5.1.
700 (clock_adjtime64) New syscall.
701 (clock_getres_time64) Likewise.
702 (clock_gettime64) Likewise.
703 (clock_nanosleep_time64) Likewise.
704 (clock_settime64) Likewise.
705 (futex_time64) Likewise.
706 (io_pgetevents_time64) Likewise.
707 (io_uring_enter) Likewise.
708 (io_uring_register) Likewise.
709 (io_uring_setup) Likewise.
710 (mq_timedreceive_time64) Likewise.
711 (mq_timedsend_time64) Likewise.
712 (pidfd_send_signal) Likewise.
713 (ppoll_time64) Likewise.
714 (pselect6_time64) Likewise.
715 (recvmmsg_time64) Likewise.
716 (rt_sigtimedwait_time64) Likewise.
717 (sched_rr_get_interval_time64) Likewise.
718 (semtimedop_time64) Likewise.
719 (timer_gettime64) Likewise.
720 (timer_settime64) Likewise.
721 (timerfd_gettime64) Likewise.
722 (timerfd_settime64) Likewise.
723 (utimensat_time64) Likewise.
724
725 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
726 version to 9 branch.
727
728 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
729
730 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
731 __memmove_thunderx2 to the list of implementations
732 * sysdeps/aarch64/multiarch/memmove.c: Likewise
733 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
734 (__memmove_thunderx2): Rewritten using SIMD ld/st
735 (__memcpy_thunderx2): Fixed handling overlapping cases.
736 Used ldp/stp instead of ldr/str if possible. Made loops
737 tails branchless.
738
739 2019-05-03 Florian Weimer <fweimer@redhat.com>
740
741 * misc/tst-tsearch.c (walk_tree): Add more error checking.
742
743 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
744
745 [BZ #24506]
746 * elf/tst-pldd.c (in_str_list): New function.
747 (do_test): Add default names for ld and libc as one option.
748
749 2019-05-02 Florian Weimer <fweimer@redhat.com>
750
751 misc: Add twalk_r function.
752 * include/search.h (__twalk_r): Declare.
753 * manual/examples/twalk.c: New file.
754 * manual/search.texi (Tree Search Function): Document twalk_r.
755 * misc/Versions (2.30): Export twalk_r.
756 (GLIBC_PRIVATE): Export __twalk_r.
757 * misc/search.h [__USE_GNU] (twalk_r): Declare.
758 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
759 (twalk_r): Add weak alias.
760 * misc/tst-tsearch.c (struct walk_trace_element): Define.
761 (walk_trace): New variable.
762 (struct twalk_with_twalk_r_closure): Define.
763 (twalk_with_twalk_r_action): New function.
764 (twalk_with_twalk_r): Likewise.
765 (walk_action): Call walk_trace_add.
766 (walk_tree_with): Rename from walk_tree. Add walk argument.
767 (walk_tree): New function.
768 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
769 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
770 Likewise.
771 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
772 Likewise.
773 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
774 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
775 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
776 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
777 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
778 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
779 Likewise.
780 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
781 Likewise.
782 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
783 Likewise.
784 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
785 (GLIBC_2.30): Likewise.
786 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
787 (GLIBC_2.30): Likewise.
788 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
789 (GLIBC_2.30): Likewise.
790 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
791 (GLIBC_2.30): Likewise.
792 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
793 Likewise.
794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
795 (GLIBC_2.30): Likewise.
796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
797 (GLIBC_2.30): Likewise.
798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
799 (GLIBC_2.30): Likewise.
800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
801 (GLIBC_2.30): Likewise.
802 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
803 Likewise.
804 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
805 Likewise.
806 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
807 Likewise.
808 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
809 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
810 Likewise.
811 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
812 Likewise.
813 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
814 Likewise.
815 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
816 Likewise.
817
818 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
819
820 Make mktime etc. compatible with __time64_t
821 Keep these functions compatible with Gnulib while adding
822 __time64_t support. The basic idea is to move private API
823 declarations from include/time.h to time/mktime-internal.h, since
824 the former file cannot easily be shared with Gnulib whereas the
825 latter can.
826 Also, do some other minor cleanup while in the neighborhood.
827 * include/time.h: Include stdbool.h, time/mktime-internal.h.
828 (__mktime_internal): Move this prototype to time/mktime-internal.h,
829 since Gnulib needs it.
830 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
831 Move these macros to time/mktime-internal.h, since Gnulib needs them.
832 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
833 (in_time_t_range): New static function.
834 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
835 so that glibc users are not tempted to use __time64_t.
836 * time/mktime-internal.h: Rewrite so that it does both glibc
837 and Gnulib work. Include time.h if not _LIBC.
838 (mktime_offset_t) [!_LIBC]: Define for gnulib.
839 (__time64_t): New type or macro, moved here from
840 posix/bits/types.h.
841 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
842 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
843 from include/time.h.
844 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
845 New macros, taken from GNulib.
846 (__mktime_internal): New prototype, moved here from include/time.h.
847 * time/mktime.c (mktime_min, mktime_max, convert_time)
848 (ranged_convert, __mktime_internal, __mktime64):
849 * time/timegm.c (__timegm64):
850 Use __time64_t, not time_t.
851 * time/mktime.c: Stop worrying about whether time_t is floating-point.
852 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
853 Rename from mktime.
854 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
855 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
856 for libc_hidden_def.
857 Include errno.h.
858 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
859 Rename from timegm.
860 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
861
862 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
863
864 [BZ #19444]
865 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
866 from `-Wmaybe-uninitialized'.
867 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
868
869 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
870
871 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
872 function.
873 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
874 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
875 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
876 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
877 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
879 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
881 Remove file.
882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
883 Likewise.
884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
885 Likewise.
886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
887 Likewise.
888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
889 New file.
890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
891 Likewise.
892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
893 Likewise.
894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
895 Likewise.
896 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
897 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
898 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
899 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
900 Likewise.
901 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
902 Likewise.
903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
904 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
905 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
906 file.
907 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
908 Likewise.
909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
910 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
911 * here.
912 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
913 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
914 s_ceilf-power5+, and s_ceilf-ppc64.
915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
916 file.
917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
920 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
921 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
922 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
923 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
924
925 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
926 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
927 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
928
929 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
930
931 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
932 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
933 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
934 (sem_getvalue): Likewise.
935
936 2019-04-26 Florian Weimer <fweimer@redhat.com>
937
938 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
939 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
940
941 2019-04-26 Florian Weimer <fweimer@redhat.com>
942
943 Makeconfig: Move -Wl,-rpath-link options before library references.
944 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
945 (link-libc): Remove $(link-libc-rpath-link).
946
947 2019-04-25 Florian Weimer <fweimer@redhat.com>
948
949 * Makeconfig (+link-pie-before-libc): Remove $(CC).
950 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
951 (+link-static-before-libc): Remove $(CC).
952 (+link-static, +link-static-tests): Add $(CC).
953 (+link-before-libc): Remove $(CC).
954 (+link, +link-pie, +link-pie-printers): Add $(CC).
955
956 2019-04-26 Florian Weimer <fweimer@redhat.com>
957
958 * Makeconfig (+link-pie-before-libc): Remove $(CC).
959 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
960 (+link-static-before-libc): Remove $(CC).
961 (+link-static, +link-static-tests): Add $(CC).
962 (+link-before-libc): Remove $(CC).
963 (+link, +link-pie, +link-pie-printers): Add $(CC).
964
965 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
966
967 [BZ#24484]
968 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
969
970 2019-04-25 Florian Weimer <fweimer@redhat.com>
971
972 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
973 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
974 (bench-link-targets): New variable.
975 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
976
977 2019-04-25 Florian Weimer <fweimer@redhat.com>
978
979 Also enable BIND_NOW for programs if --enable-bind-now.
980 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
981 (+link-pie): Use $(link-extra-flags).
982 (+link-static): Likewise.
983 [! $(build-pie-default)] (+link): Likewise.
984 * manual/install.texi (Configuring and compiling): Update
985 --enable-bind-now description.
986 * INSTALL: Regenerated.
987
988 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
989
990 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
991 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
992
993 2019-04-24 Mike Frysinger <vapier@gentoo.org>
994
995 [BZ #18465]
996 * malloc/Makefile (others): Add memusagestat.
997 ($(objpfx)memusagestat): Delete rule.
998 (LDLIBS-memusagestat): New variable.
999
1000 2019-04-24 Florian Weimer <fweimer@redhat.com>
1001
1002 * locale/Makefile (tests-special): Guard setting by
1003 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
1004 to run while cross-compiling.
1005
1006 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1007
1008 [BZ #18035]
1009 * elf/Makefile (tests-container): Add tst-pldd.
1010 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
1011 (E(find_maps)): Avoid use alloca, use default read file operations
1012 instead of explicit LFS names, and fix infinite loop.
1013 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
1014 (get_process_info): Use _Static_assert instead of assert, use default
1015 directory operations instead of explicit LFS names, and free some
1016 leadek pointers.
1017 * elf/tst-pldd.c: New file.
1018
1019 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
1020
1021 * malloc/arena.c (do_set_mallopt_check): Removed.
1022
1023 2019-04-23 Florian Weimer <fweimer@redhat.com>
1024
1025 locale: Add LOCPATH diagnostics to the locale program.
1026 * locale/programs/locale.c (setlocale_failed): New variable.
1027 (try_setlocale): New function.
1028 (quote_string): Likewise.
1029 (setlocale_diagnostics): Likewise.
1030 (main): Call try_setlocale instead of setlocale. Call
1031 setlocale_diagnostics.
1032 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
1033 (tst-locale-locpath.out): New target.
1034 * locale/tst-locale-locpath.sh: New file.
1035
1036 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1037
1038 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
1039 to 2.30 notes.
1040
1041 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1042
1043 [BZ #23741]
1044 * malloc/hooks.c (malloc_check, realloc_check): Use
1045 __builtin_add_overflow on overflow check and adapt to
1046 checked_request2size change.
1047 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
1048 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
1049 allocation size to PTRDIFF_MAX.
1050 (REQUEST_OUT_OF_RANGE): Remove macro.
1051 (checked_request2size): Change to inline function and limit maximum
1052 requested size to PTRDIFF_MAX.
1053 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
1054 maximum allocation size to PTRDIFF_MAX.
1055 (_mid_memalign): Use _int_memalign call for overflow check.
1056 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
1057 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
1058 limit maximum requested size to PTRDIFF_MAX.
1059 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
1060 valloc, pvalloc): Add __attribute_alloc_size__.
1061 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
1062 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
1063 larger than PTRDIFF_MAX.
1064 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
1065 around tests of malloc with negative sizes.
1066 * malloc/tst-posix_memalign.c (do_test): Likewise.
1067 * malloc/tst-pvalloc.c (do_test): Likewise.
1068 * malloc/tst-valloc.c (do_test): Likewise.
1069 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
1070 with resulting size allocation larger than PTRDIFF_MAX with
1071 reallocarray_nowarn.
1072 (reallocarray_nowarn): New function.
1073 * NEWS: Mention the malloc function semantic change.
1074
1075 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1076
1077 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
1078 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1079
1080 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
1081 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
1082 * sysdeps/powerpc/fpu/s_fma.c: New file.
1083 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1084
1085 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
1086 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
1087
1088 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
1089 the magic flag store.
1090 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
1091 Likewise.
1092 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
1093 Likewise.
1094 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
1095 Remove rt_sigreturn call.
1096
1097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1098 Remove rt_sigreturn call.
1099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1100 Likewise.
1101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
1102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1103
1104 * support/Makefile (libsupport-routines): Add support_subprocess,
1105 xposix_spawn, xposix_spawn_file_actions_addclose, and
1106 xposix_spawn_file_actions_adddup2.
1107 (tst-support_capture_subprocess-ARGS): New rule.
1108 * support/capture_subprocess.h (support_capture_subprogram): New
1109 prototype.
1110 * support/support_capture_subprocess.c (support_capture_subprocess):
1111 Refactor to use support_subprocess and support_capture_poll.
1112 (support_capture_subprogram): New function.
1113 * support/tst-support_capture_subprocess.c (write_mode_to_str,
1114 str_to_write_mode, test_common, parse_int, handle_restart,
1115 do_subprocess, do_subprogram, do_multiple_tests): New functions.
1116 (do_test): Add support_capture_subprogram tests.
1117 * support/subprocess.h: New file.
1118 * support/support_subprocess.c: Likewise.
1119 * support/xposix_spawn.c: Likewise.
1120 * support/xposix_spawn_file_actions_addclose.c: Likewise.
1121 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
1122 * support/xspawn.h: Likewise.
1123
1124 2019-04-17 Mike Gerow <gerow@google.com>
1125
1126 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
1127 groups limit.
1128
1129 2019-04-11 Florian Weimer <fweimer@redhat.com>
1130
1131 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
1132 domain with empty string.
1133 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1134
1135 2019-04-11 Florian Weimer <fweimer@redhat.com>
1136
1137 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
1138 comment.
1139 (alloc_buffer_next): Change return type to non-const. Update
1140 comment.
1141
1142 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
1143
1144 * manual/time.texi (Formatting Calendar Time): Add missing percent
1145 sign to conversion specifier.
1146
1147 2019-04-09 Carlos O'Donell <carlos@redhat.com>
1148 Kwok Cheung Yeung <kcy@codesourcery.com>
1149
1150 [BZ #16573]
1151 * malloc/mtrace.c: Define prototypes for all hooks.
1152 (set_default_hooks): New function.
1153 (set_trace_hooks): Likewise.
1154 (save_default_hooks): Likewise.
1155 (tr_freehook): Use new s*_hooks functions.
1156 (tr_mallochook): Likewise.
1157 (tr_reallochook): Likewise.
1158 (tr_memalignhook): Likewise.
1159 (mtrace): Likewise.
1160 (muntrace): Likewise.
1161
1162 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1163
1164 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
1165 (generic_stpcpy): New function.
1166 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
1167 (generic_stpncpy): New function.
1168 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
1169 (generic_strcat): New function.
1170 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
1171 (generic_strcpy): New function.
1172 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
1173 (STUPID_STRNCAT): Remove function.
1174 (generic_strncat): New function.
1175 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
1176 (STUPID_STRNCPY): Remove function.
1177 (generic_strncpy): New function.
1178 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
1179 (generic_strnlen): New function.
1180 (memchr_strnlen): New function.
1181 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
1182 (memchr_strlen): Likewise.
1183
1184 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1185
1186 * benchtests/bench-strstr.c (input): Add realistic input text.
1187 (stupid_strstr): Remove function.
1188 (basic_strstr): Add function.
1189 (twoway_strstr): Add function.
1190 (do_one_test): Add result checking.
1191 (do_test): Use new input text. Remove accidental early matches.
1192 (test_main): Improve range of tests, reduce unaligned cases.
1193
1194 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1195
1196 * benchtests/bench-memmem.c (simple_memmem): Remove function.
1197 (basic_memmem): Add function.
1198 (twoway_memmem): Add function.
1199
1200 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1201
1202 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
1203 * benchtests/bench-malloc-thread.c: Likewise.
1204 * benchtests/bench-skeleton.c: Likewise.
1205 * benchtests/bench-strtod.c: Likewise.
1206 * benchtests/bench-timing.h: Likewise.
1207
1208 2019-04-08 Florian Weimer <fweimer@redhat.com>
1209
1210 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
1211 definitions.
1212 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
1213 RES_INSECURE2 security checks.
1214 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
1215 RES_INSECURE2 handling.
1216
1217 2019-04-08 Florian Weimer <fweimer@redhat.com>
1218
1219 resolv: Remove support for RES_USE_INET6 and the inet6 option.
1220 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
1221 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
1222 GETHOSTBYNAME.
1223 * resolv/Makefile (tests): Remove tst-res_use_inet6.
1224 (tests-internal): Update justification for tst-resolv-res_init,
1225 tst-resolv-res_init-thread.
1226 (tst-res_use_inet6): Remove target.
1227 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
1228 * resolv/res_debug.c (p_option): Remove "inet6" support.
1229 * resolv/res_init.c (res_setoptions): Likewise.
1230 * resolv/res_use_inet6.h: Remove file.
1231 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
1232 definition.
1233 (res_use_inet6): Always return false.
1234 * resolv/resolv.h (RES_USE_INET6): Remove definition.
1235 * resolv/resolv_context.h: Adjust file comment.
1236 (struct resolv_context): Update comment on __next field.
1237 (__resolv_context_put): Update comment.
1238 * resolv/tst-res_use_inet6.c: Remove file.
1239 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
1240 "inet6" support.
1241 (test_cases): Adjust test case.
1242 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
1243 (thread_byname2_af_inet6): Use old byname_inet6 code.
1244 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
1245 (gai): Remove do_inet6 argument.
1246 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
1247 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
1248 (thread_gai_unspec_inet6): Remove functions.
1249 (do_test): Adjust thread_funcs.
1250 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
1251 RES_USE_INET6 flag.
1252 (gaih_inet): Do not disable RES_USE_INET6 flag.
1253
1254 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1255
1256 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
1257 and remove redundant code.
1258
1259 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1260
1261 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
1262 New rule.
1263 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
1264 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
1265 Likewise.
1266 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
1267 Likewise.
1268 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
1269 Likewise.
1270 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1271 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
1272 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
1273 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
1274 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1275 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
1276 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1277 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
1278 wcsrchr-power7.
1279 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
1280 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1281 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1282 Remove wcsrchr optimizations.
1283 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1284
1285 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
1286 the loop unroll.
1287
1288 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
1289 New rule.
1290 * sysdeps/powerpc/power6/wcschr.c: Remove file.
1291 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
1292 Likewise.
1293 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
1294 Likewise.
1295 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
1296 Likewise.
1297 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1298 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
1299 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
1300 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
1301 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1302 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
1303 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1304 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
1305 wcschr-power7.
1306 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
1307 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1308 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1309 Remove wcschr optimizations.
1310 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1311
1312 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
1313 the loop unroll.
1314
1315 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
1316 New rule.
1317 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
1318 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
1319 Likewise.
1320 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
1321 Likewise.
1322 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
1323 Likewise.
1324 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1325 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
1326 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
1327 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
1328 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1329 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
1330 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1331 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
1332 wcscpy-power7.
1333 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
1334 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1335 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1336 Remove wcscpy optimizations.
1337 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1338
1339 * include/loop_unroll.h: New file.
1340 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
1341 besides generic implementation.
1342
1343 2019-04-03 DJ Delorie <dj@redhat.com>
1344
1345 * time/tst-strftime3.c (tm_to_printed): Disable warning about
1346 snprintf truncating output.
1347
1348 2019-04-02 DJ Delorie <dj@redhat.com>
1349
1350 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
1351 warning.
1352
1353 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1354
1355 [BZ #22964]
1356 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
1357 era.
1358 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
1359 (mkreftable): Add rules for the new Japanese era and the new dates.
1360
1361 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1362 Rafal Luzynski <digitalfreak@lingonborough.com>
1363
1364 * time/tst-strftime2.c (date_t): Explicitly define the type.
1365 (dates): Use natural month and year numbers to express a date.
1366 (is_before): New function to compare dates.
1367 (mkreftable): Minor improvements to simplify maintenance.
1368 (do_test): Reflect the changes in dates array.
1369
1370 [BZ #24293]
1371 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
1372 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
1373 * time/tst-strftime2.c (locales): Likewise.
1374 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
1375 2010-04-01, and 2011-04-01.
1376 (mkreftable): Add rules for the new locales and the new dates.
1377
1378 2019-04-01 Carlos O'Donell <carlos@redhat.com>
1379
1380 * localedata/locales/ja_JP: Add comments to era entries.
1381
1382 2019-04-01 DJ Delorie <dj@redhat.com>
1383
1384 [BZ #24394]
1385 * time/strptime_l.c (%Ey): Fix fencepost error.
1386 * time/tst-strftime3.c: New.
1387 * time/Makefile (tests): Add tst-strftime3.
1388
1389 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
1390
1391 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
1392 conditional branch to DIVBYZERO. Fix unwind info.
1393 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
1394 excb after conditional branch to $powerof2. Add missing unop
1395 instructions and .align directives and reorder instructions to
1396 match __divqu.
1397
1398 2019-04-01 Richard Henderson <rth@twiddle.net>
1399
1400 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1401 Do not redefine.
1402 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
1403 Do not redefine.
1404
1405 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
1406
1407 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
1408 $libc_cv_riscv_float_abi in `test' invocation.
1409 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
1410
1411 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
1412
1413 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
1414 asm with builtin.
1415 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
1416 Likewise.
1417 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1418 (_GET_SI_FPSCR): Likewise.
1419 (_SET_SI_FPSCR): Likewise.
1420
1421 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1422
1423 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
1424 clang 2.8.
1425 (signbit): Use builtin for clang 3.3.
1426 (isinf): Use builtin for clang 3.7.
1427
1428 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1429
1430 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
1431
1432 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
1433
1434 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
1435 quote in printf.
1436
1437 2019-03-25 Mike Crowe <mac@mcrowe.com>
1438
1439 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
1440 pthread_rwlock_timedrdlock with calls to
1441 pthread_rwlock_timedwrlock to ensure that the latter is tested
1442 too. Use new function name in diagnostic messages too.
1443
1444 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
1445 (do_test) Use libsupport test macros rather than hand-coded
1446 conditionals and error messages. Ensure that sem_init returns zero
1447 rather than not -1. Use <support/test-driver.c> rather than
1448 test-skeleton.c.
1449
1450 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
1451 test macros rather than hand-coded conditionals and error messages.
1452 Use <support/test-driver.c> rather than test-skeleton.c.
1453
1454 2019-03-25 Joseph Myers <joseph@codesourcery.com>
1455
1456 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
1457
1458 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
1459 (NT_MIPS_MSA): Likewise.
1460
1461 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1462
1463 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
1464 * benchtests/README: Update description.
1465 * benchtests/bench-timing.h: Default to hp-timing.
1466 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
1467 HP_TIMING_PRINT): Remove.
1468 (HP_TIMING_NOW): Add generic implementation.
1469 (hp_timing_t): Change to uint64_t.
1470
1471 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
1472 HP_TIMING_INLINE.
1473 * nptl/descr.h: Likewise.
1474 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
1475 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
1476 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
1477 Abstract hp-timing usage with RTLD_* macros.
1478 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
1479 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
1480 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
1481 HP_TIMING_NONAVAIL): Likewise.
1482 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1483 Likewise.
1484 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
1485 HP_SMALL_TIMING_AVAIL): Likewise.
1486 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
1487 HP_SMALL_TIMING_AVAIL): Likewise.
1488 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
1489 HP_SMALL_TIMING_AVAIL): Likewise.
1490 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
1491 HP_SMALL_TIMING_AVAIL): Likewise.
1492 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1493 Likewise.
1494 * sysdeps/generic/hp-timing-common.h: Update comment with
1495 HP_TIMING_AVAIL removal.
1496
1497 * include/random-bits.h: New file.
1498 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
1499 (__res_context_mkquery): Remove usage hp-timing usage and replace with
1500 random_bits.
1501 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
1502 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
1503 Likewise.
1504
1505 * include/libc-internal.h (__get_clockfreq): Remove prototype.
1506 * rt/Makefile (clock-routines): Remove get_clockfreq.
1507 * rt/get_clockfreq.c: Remove file.
1508 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1509 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
1510 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
1511 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
1512 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
1513
1514 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
1515 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
1516 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
1517 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
1518 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
1519
1520 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
1521 pthread_clock_settime.
1522 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
1523 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
1524 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
1525 * elf/rtld.c (_dl_start_final): Likewise.
1526 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
1527 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
1528 Remove.
1529 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
1530 (_dl_cpuclock_offset): Remove.
1531 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
1532 cpuclock_offset_ununsed.
1533 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1534 cpuclock_offset set.
1535 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1536 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1537 * nptl/pthread_clock_gettime.c: Remove file.
1538 * nptl/pthread_clock_settime.c: Likewise.
1539 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
1540 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
1541 and CLOCK_PROCESS_CPUTIME_ID support.
1542 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
1543 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
1544 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
1545 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
1546 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
1547 Likewise.
1548 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
1549
1550 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1551
1552 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
1553 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
1554 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
1555 New defines.
1556 * sysdeps/s390/memmem-arch13.S: New file.
1557 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
1558 if it is only used as fallback.
1559 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
1560 * sysdeps/s390/multiarch/ifunc-impl-list.c
1561 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
1562
1563 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1564
1565 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
1566 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
1567 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
1568 New defines.
1569 * sysdeps/s390/multiarch/ifunc-impl-list.c
1570 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
1571 * sysdeps/s390/strstr-arch13.S: New file.
1572 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
1573 if it is only used as fallback.
1574 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
1575
1576 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1577
1578 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
1579 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
1580 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
1581 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
1582 ifunc selector.
1583 * sysdeps/s390/multiarch/ifunc-impl-list.c
1584 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
1585 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
1586 S390_IS_ARCH13_MIE3): New defines.
1587
1588 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1589
1590 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
1591 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
1592 * sysdeps/s390/configure.ac: Add checks for arch13 support.
1593 * sysdeps/s390/configure: Regenerated.
1594
1595 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1596
1597 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1598 Add vxe2, vxp, dflt, sort flags.
1599 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
1600 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
1601 capabilities.
1602 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
1603 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1604 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
1605 HWCAP_S390_DFLT): Define.
1606
1607 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1608
1609 [BZ #24372]
1610 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
1611 of compiler warning.
1612 * locale/programs/ld-collate.c (collate_output): Likewise.
1613
1614 2019-03-21 DJ Delorie <dj@redhat.com>
1615
1616 [BZ #24372]
1617 * iconv/iconvconfig.c (write_output): Replace floating point math
1618 with integer math to avoid imprecise results.
1619 * locale/programs/ld-collate.c (collate_output): Likewise.
1620
1621 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
1622
1623 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
1624 Add HWCAP_S390_VX and HWCAP_S390_VXE.
1625
1626 2019-03-20 mansayk <6688000@gmail.com>
1627
1628 [BZ #24296]
1629 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
1630 (abday): Likewise, but remove the trailing dots.
1631
1632 2019-03-19 Joseph Myers <joseph@codesourcery.com>
1633
1634 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
1635 macro.
1636 (HWCAP_PACA): Likewise.
1637 (HWCAP_PACG): Likewise.
1638 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1639 Increase to 32.
1640 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
1641
1642 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1643
1644 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
1645 should be handled.
1646
1647 2019-03-15 Joseph Myers <joseph@codesourcery.com>
1648
1649 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1650 version to 5.0.
1651 (old_getpagesize): New syscall.
1652
1653 2019-03-15 Felix Yan <felixonmars@archlinux.org>
1654
1655 [BZ #24293]
1656 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
1657 * localedata/locales/cmn_TW (era): Likewise.
1658 * localedata/locales/hak_TW (era): Likewise.
1659 * localedata/locales/lzh_TW (era): Likewise.
1660 * localedata/locales/nan_TW (era): Likewise.
1661
1662 2019-03-14 Adam Maris <amaris@redhat.com>
1663
1664 * malloc/malloc.c (_int_malloc): Check for large bin list
1665 corruption when inserting unsorted chunk.
1666
1667 2019-03-14 Florian Weimer <fweimer@redhat.com>
1668
1669 Remove obsolete, never-implemented XSI STREAMS declarations.
1670 * manual/terminal.texi (Allocation): Remove portability note and
1671 adjust example.
1672 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
1673 _SC_STREAMS.
1674 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
1675 * sysdeps/unix/inet/Subdirs (streams): Remove.
1676 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
1677 (conformtest-headers-UNIX98): Likewise.
1678 (conformtest-headers-XOPEN2K): Likewise.
1679 (conformtest-headers-POSIX2008): Likewise.
1680 * posix/compat-streams.c: New file.
1681 * posix/Makefile (routines): Add it.
1682 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
1683 getpmsg, isastream, putmsg, putpmsg.
1684 (GLIBC_2.30): New section.
1685 * bits/stropts.h: Remove file.
1686 * bits/xtitypes.h: Likewise.
1687 * conform/data/stropts.h-data: Likewise.
1688 * include/stropts.h: Likewise.
1689 * include/sys/stropts.h: Likewise.
1690 * include/xtitypes.h: Likewise.
1691 * streams/Makefile: Likewise.
1692 * streams/fattach.c: Likewise.
1693 * streams/fdetach.c: Likewise.
1694 * streams/getmsg.c: Likewise.
1695 * streams/getpmsg.c: Likewise.
1696 * streams/isastream.c: Likewise.
1697 * streams/putmsg.c: Likewise.
1698 * streams/putpmsg.c: Likewise.
1699 * streams/stropts.h: Likewise.
1700 * streams/sys/stropts.h: Likewise.
1701 * sysdeps/ia64/bits/xtitypes.h: Likewise.
1702 * sysdeps/s390/bits/xtitypes.h: Likewise.
1703 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
1704 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
1705 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
1706 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
1707 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
1708 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
1709 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
1710 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
1711 * sysdeps/x86/bits/xtitypes.h: Likewise.
1712
1713 2019-03-14 Florian Weimer <fweimer@redhat.com>
1714
1715 * nss/tst-nss-files-alias-truncated.c (do_test): Load
1716 libnss_files.
1717 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
1718 but not with libnss_files.
1719 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
1720
1721 2019-03-14 Zack Weinberg <zackw@panix.com>
1722
1723 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
1724 Specify encoding="utf-8" when opening headers to check.
1725
1726 2019-03-13 Joseph Myers <joseph@codesourcery.com>
1727
1728 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1729 version to 5.0.
1730 (Context.checkout_tar): Handle variable major version for Linux
1731 kernel.
1732
1733 2019-03-13 Florian Weimer <fweimer@redhat.com>
1734
1735 [BZ #24047]
1736 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
1737
1738 2019-03-13 Zack Weinberg <zackw@panix.com>
1739
1740 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
1741 Move to stdlib.
1742 * include/inttypes.h: Adjust to match.
1743 * include/stdint.h: New wrapper.
1744
1745 2019-03-13 Zack Weinberg <zackw@panix.com>
1746
1747 * scripts/check-obsolete-constructs.py: New test script.
1748 * scripts/check-installed-headers.sh: Remove tests for
1749 obsolete typedefs, superseded by check-obsolete-constructs.py.
1750 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
1751 as a special test. Update commentary.
1752 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
1753 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
1754 Update commentary.
1755 * posix/sys/types.h (__u_intN_t): Remove.
1756 (u_int8_t): Typedef using __uint8_t.
1757 (u_int16_t): Typedef using __uint16_t.
1758 (u_int32_t): Typedef using __uint32_t.
1759 (u_int64_t): Typedef using __uint64_t.
1760
1761 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
1762
1763 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
1764 call _dl_procinfo.
1765 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
1766 Ignore types other than AT_HWCAP.
1767 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
1768 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
1769 Likewise.
1770 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
1771 in the case of falling back to generic output mechanism.
1772 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
1773 Likewise.
1774
1775 2019-03-12 Florian Weimer <fweimer@redhat.com>
1776
1777 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
1778
1779 2019-03-12 Florian Weimer <fweimer@redhat.com>
1780
1781 [BZ #24047]
1782 resolv: Enable full ICMP errors for UDP DNS sockets
1783 * resolv/res_enable_icmp.c: New file.
1784 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
1785 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
1786 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
1787 socket.
1788
1789 2019-03-11 Mao Han <han_mao@c-sky.com>
1790
1791 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
1792 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
1793
1794 2019-03-11 Mao Han <han_mao@c-sky.com>
1795
1796 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
1797 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1798 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1799
1800 2019-03-11 Mao Han <han_mao@c-sky.com>
1801
1802 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
1803 directly.
1804 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
1805 definition.
1806
1807 2019-03-11 Mao Han <han_mao@c-sky.com>
1808
1809 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
1810 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
1811 in mcontext_t
1812
1813 2019-03-08 Mike FABIAN <mfabian@redhat.com>
1814
1815 [BZ #24307]
1816 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
1817 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1818 Unicode 12.0.0.
1819 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1820 * localedata/unicode-gen/PropList.txt: Likewise.
1821 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1822 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
1823 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
1824 * localedata/charmaps/UTF-8: Regenerate.
1825 * localedata/locales/i18n_ctype: Likewise.
1826 * localedata/locales/tr_TR: Likewise.
1827 * localedata/locales/translit_circle: Likewise.
1828 * localedata/locales/translit_cjk_compat: Likewise.
1829 * localedata/locales/translit_combining: Likewise.
1830 * localedata/locales/translit_compat: Likewise.
1831 * localedata/locales/translit_font: Likewise.
1832 * localedata/locales/translit_fraction: Likewise.
1833
1834 2019-03-07 Joseph Myers <joseph@codesourcery.com>
1835
1836 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
1837 than after operators.
1838 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
1839 (setitimer_locked): Likewise.
1840 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
1841 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1842 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
1843 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
1844 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
1845 (PPC_CPU_SUPPORTED): Likewise.
1846 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
1847 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
1848 (stat_overflow): Likewise.
1849 (statfs_overflow): Likewise.
1850 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
1851 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
1852 (eq_ttyname_r): Likewise.
1853 (run_chroot_tests): Likewise.
1854
1855 2019-03-07 Florian Weimer <fweimer@redhat.com>
1856
1857 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
1858 header check.
1859
1860 2019-03-07 Martin Liska <mliska@suse.cz>
1861
1862 * math/Makefile: Change location where math-vector-fortran.h is
1863 installed.
1864 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
1865 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
1866 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
1867 * scripts/check-installed-headers.sh: Skip Fortran header files.
1868 * scripts/check-wrapper-headers.py: Likewise.
1869
1870 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1871
1872 * nptl/nptl-init.c (__have_futex_clock_realtime,
1873 __have_futex_clock_realtime): Remove definition.
1874 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
1875 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
1876 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
1877 __ASSUME_FUTEX_CLOCK_REALTIME support.
1878 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1879 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1880 * sysdeps/unix/sysv/linux/kernel-features.h
1881 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
1882 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
1883 Adjust comment.
1884
1885 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1886
1887 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
1888 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
1889 __GI___wcscpy and wcscpy.
1890
1891 2019-03-04 Florian Weimer <fweimer@redhat.com>
1892
1893 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
1894 declaration.
1895 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
1896 defined.
1897
1898 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
1899
1900 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
1901 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1902
1903 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1904
1905 [BZ #24162]
1906 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
1907 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
1908
1909 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1910
1911 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
1912 tests.
1913 (do_test): Likewise.
1914 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
1915 (do_test_call_varg): Likewise.
1916 (do_test_call_rarg): Likewise.
1917 * sysdeps/ieee754/ldbl-opt/Makefile
1918 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
1919 tst-nldbl-error.
1920 ($(objpfx)tst-nldbl-warn.c): New rule.
1921 ($(objpfx)tst-nldbl-error.c): Likewise.
1922 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
1923 New variables.
1924
1925 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1926
1927 [BZ #23984]
1928 * include/bits/error-ldbl.h: New file.
1929 * include/error.h: Include stdarg.h. Declare internal functions
1930 __error_internal and __error_at_line_internal.
1931 * misc/Makefile (headers): Add bits/error-ldbl.h.
1932 * misc/bits/error-ldbl.h: New file.
1933 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
1934 avoid the inclusion of bits/error.h.
1935 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
1936 and __nldbl_error_at_line.
1937 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
1938 (__nldbl_error, __ndlbl_error_at_line): New functions.
1939 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
1940 Redirect error and error_at_line.
1941 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1943 Likewise.
1944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1945 Likewise.
1946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1947 Likewise.
1948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1949 Likewise.
1950 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1951 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1952 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1953
1954 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1955
1956 [BZ #23984]
1957 * include/bits/err-ldbl.h: New file.
1958 * include/err.h: Add prototypes for the internal functions:
1959 __vwarnx_internal and __vwarn_internal.
1960 * misc/Makefile (headers): Add bits/err-ldbl.h.
1961 * misc/bits/err-ldbl.h: New file.
1962 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
1963 defined, i.e.: when -mlong-double-64 is in use.
1964 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
1965 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
1966 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
1967 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
1968 (VA_CALL): New macro.
1969 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
1970 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
1971 functions.
1972 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
1973 declare prototypes for the new functions.
1974 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1976 Likewise.
1977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1978 Likewise.
1979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1980 Likewise.
1981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1982 Likewise.
1983 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1984 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1985 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1986
1987 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1988
1989 * sysdeps/ieee754/ldbl-opt/Makefile
1990 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
1991 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
1992 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
1993
1994 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1995
1996 [BZ #23983]
1997 * argp/Makefile (headers): Add bits/argp-ldbl.h.
1998 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
1999 * argp/bits/argp-ldbl.h: New file.
2000 * include/argp.h: Include stdarg.h. Add prototypes for internal
2001 functions: __argp_error_internal and __argp_failure_internal.
2002 * include/bits/argp-ldbl.h: New file.
2003 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
2004 __nldbl_argp_error and __nldbl_argp_failure.
2005 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
2006 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
2007 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
2008 Redirect argp_error and argp_failure calls.
2009 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2011 Likewise.
2012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2013 Likewise.
2014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2015 Likewise.
2016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2017 Likewise.
2018 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2019 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2020 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2021
2022 2019-03-01 Florian Weimer <fweimer@redhat.com>
2023
2024 [BZ #20419]
2025 * elf/tst-big-note-lib.S: Create a syntactically valid note.
2026 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
2027 code, to avoid creating an ABI tag note.
2028 (modules-names-nobuild): Add tst-big-note-lib.
2029
2030 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
2031
2032 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
2033 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
2034
2035 2019-03-01 Florian Weimer <fweimer@redhat.com>
2036
2037 [BZ #20271]
2038 * sysdeps/unix/sysv/linux/netlink_assert_response.c
2039 (__netlink_assert_response): Add additional missing newlines.
2040
2041 2019-02-28 Joseph Myers <joseph@codesourcery.com>
2042
2043 * sysdeps/powerpc/powerpc32/dl-machine.c
2044 (__elf_machine_fixup_plt): Use space before '('.
2045 (__process_machine_rela): Likewise.
2046 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
2047 Likewise.
2048 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
2049 Likewise.
2050 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
2051 Likewise.
2052 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
2053 (pattern): Likewise.
2054 (delta): Likewise.
2055 (check_result): Likewise.
2056 (check_excepts): Likewise.
2057 (check_op): Likewise.
2058 (fail_xr): Likewise.
2059 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
2060 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
2061 (SCNHSZ): Likewise.
2062 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
2063 Likewise.
2064 (ARGS): Likewise.
2065 (__makecontext): Likewise.
2066 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
2067 Likewise.
2068
2069 2019-02-28 Florian Weimer <fweimer@redhat.com>
2070
2071 [BZ #23937]
2072 elf: Add test with a local IFUNC resolver.
2073 * elf/ifuncmain9.c: New file.
2074 * elf/ifuncmain9pic.c: Likewise.
2075 * elf/ifuncmain9picstatic.c: Likewise.
2076 * elf/ifuncmain9pie.c: Likewise.
2077 * elf/ifuncmain9static.c: Likewise.
2078 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
2079 ifuncmain9static, ifuncmain9picstatic.
2080 * elf/Makefile [multi-arch && build-shared] (tests-internal):
2081 Add ifuncmain9, ifuncmain9pic.
2082 * elf/Makefile [multi-arch && build-shared && have-fpie]
2083 (ifunc-pie-tests): Add ifuncmain9pie.
2084 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
2085 (CFLAGS-ifuncmain9picstatic.c): Likewise.
2086 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
2087
2088 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
2089
2090 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
2091 * configure: Regenerated.
2092 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
2093
2094 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2095
2096 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
2097 symbol as __wcspcy instead of wcscpy.
2098
2099 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2100
2101 * include/stdio.h (__renameat2): New hidden prototype.
2102 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
2103 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
2104 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
2105 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
2106
2107 2019-02-27 Joseph Myers <joseph@codesourcery.com>
2108
2109 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
2110 if statement.
2111
2112 * benchtests/bench-strcpy.c (do_test): Use space before '('.
2113 * benchtests/bench-string.h (cmdline_process_function): Likewise.
2114 * benchtests/bench-strlen.c (do_test): Likewise.
2115 (test_main): Likewise.
2116 * catgets/gencat.c (read_old): Likewise.
2117 * elf/cache.c (load_aux_cache): Likewise.
2118 * iconvdata/bug-iconv8.c (do_test): Likewise.
2119 * math/test-tgmath-ret.c (do_test): Likewise.
2120 * nis/nis_call.c (rec_dirsearch): Likewise.
2121 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2122 * nptl/tst-audit-threads.c (do_test): Likewise.
2123 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
2124 * nss/nss_test1.c (init): Likewise.
2125 * nss/test-netdb.c (test_hosts): Likewise.
2126 * posix/execvpe.c (maybe_script_execute): Likewise.
2127 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
2128 * stdio-common/tst-printf.c (do_test): Likewise.
2129 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
2130 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
2131 * stdlib/qsort.c (STACK_SIZE): Likewise.
2132 * stdlib/test-canon.c (do_test): Likewise.
2133 * stdlib/tst-swapcontext1.c (do_test): Likewise.
2134 * string/memcmp.c (OPSIZ): Likewise.
2135 * string/test-strcpy.c (do_test): Likewise.
2136 (do_random_tests): Likewise.
2137 * string/test-strlen.c (do_test): Likewise.
2138 (test_main): Likewise.
2139 * string/test-strrchr.c (do_test): Likewise.
2140 (do_random_tests): Likewise.
2141 * string/tester.c (test_memrchr): Likewise.
2142 (test_memchr): Likewise.
2143 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
2144 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
2145 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
2146 (read_encoded_value_with_base): Likewise.
2147 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
2148 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
2149 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
2150 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2151 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
2152 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
2153 Likewise.
2154 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
2155 Likewise.
2156 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
2157 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
2158 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
2159 Likewise.
2160 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
2161 Likewise.
2162 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
2163 Likewise.
2164 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
2165 Likewise.
2166 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
2167 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2168 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2169 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
2170 * time/test_time.c (main): Likewise.
2171
2172 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2173
2174 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
2175
2176 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
2177 wmemcpy.
2178
2179 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
2180 wmemcpy.
2181
2182 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2183
2184 * include/wchar.h (__wcscpy): New prototype.
2185 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
2186 (__wcscpy): Route internal symbol to generic implementation.
2187 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
2188 Add internal __wcscpy alias.
2189 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
2190 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
2191 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
2192 * wcsmbs/wcscpy.c (wcscpy): Add
2193 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
2194 use generic implementation.
2195 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
2196
2197 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
2198 wmemset.
2199
2200 * sysdeps/m68k/wcpcpy.c: Remove file.
2201 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2202
2203 2019-02-26 Joseph Myers <joseph@codesourcery.com>
2204
2205 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
2206 than after operators.
2207 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2208 * sysdeps/mach/hurd/getcwd.c
2209 (__hurd_canonicalize_directory_name_internal): Likewise.
2210 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
2211 (pthread_mutex_consistent): Likewise.
2212 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
2213 Likewise.
2214 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
2215 (__pthread_mutex_transfer_np): Likewise.
2216 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
2217 (__pthread_mutex_unlock): Likewise.
2218 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
2219 (mtx_owned_p): Likewise.
2220 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
2221 (pthread_mutexattr_getrobust): Likewise.
2222 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
2223 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2224 Likewise.
2225 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2226 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
2227 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
2228 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
2229 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2230 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2231 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
2232 Likewise.
2233 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
2234 Likewise.
2235 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
2236 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
2237 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
2238 (____longjmp_chk): Likewise.
2239 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
2240 Likewise.
2241 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2242 (INTERNAL_SYSCALL): Likewise.
2243 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2244 (INTERNAL_SYSCALL): Likewise.
2245 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2246 (__get_clockfreq_via_cpuinfo): Likewise.
2247
2248 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
2249 comments.
2250 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
2251 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
2252 (WORD_COPY_BWD): Likewise.
2253 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2254 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2255 Likewise.
2256 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
2257 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
2258 comment.
2259 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
2260
2261 2019-02-25 Joseph Myers <joseph@codesourcery.com>
2262
2263 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
2264 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
2265 rather than after operators.
2266 * elf/cache.c (print_cache): Likewise.
2267 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
2268 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
2269 * hurd/hurdinit.c (_hurd_setproc): Likewise.
2270 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
2271 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
2272 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2273 (reauth_proc): Likewise.
2274 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
2275 (__file_name_split_at): Likewise.
2276 (__directory_name_split_at): Likewise.
2277 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2278 * hurd/port2fd.c (_hurd_port2fd): Likewise.
2279 * iconv/gconv_dl.c (do_print): Likewise.
2280 * inet/netinet/in.h (struct sockaddr_in): Likewise.
2281 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
2282 * locale/setlocale.c (new_composite_name): Likewise.
2283 * malloc/memusagestat.c (main): Likewise.
2284 * misc/fstab.c (fstab_convert): Likewise.
2285 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2286 Likewise.
2287 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
2288 (getgrent_next_file): Likewise.
2289 (internal_getgrnam_r): Likewise.
2290 (internal_getgrgid_r): Likewise.
2291 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
2292 Likewise.
2293 (internal_getgrent_r): Likewise.
2294 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
2295 (getpwent_next_nss): Likewise.
2296 (getpwent_next_file): Likewise.
2297 (internal_getpwnam_r): Likewise.
2298 (internal_getpwuid_r): Likewise.
2299 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
2300 Likewise.
2301 (getspent_next_nss): Likewise.
2302 (internal_getspnam_r): Likewise.
2303 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
2304 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2305 * string/strchr.c (STRCHR): Likewise.
2306 * string/strchrnul.c (STRCHRNUL): Likewise.
2307 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
2308 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2309 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
2310 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
2311 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
2312 Likewise.
2313 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
2314 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2315 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2316 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
2317 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
2318 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
2319 (open_file): Likewise.
2320 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
2321 (pthread_mutexattr_setprotocol): Likewise.
2322 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2323 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
2324 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2325 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2326 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2327 Likewise.
2328 (elf_machine_rela): Likewise.
2329 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2330 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2331 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
2332 * sysdeps/posix/rename.c (rename): Likewise.
2333 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
2334 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
2335 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
2336 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
2337 * sysdeps/unix/grantpt.c (grantpt): Likewise.
2338 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
2339 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
2340 Likewise.
2341 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
2342 Likewise.
2343 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
2344 * time/tzfile.c (__tzfile_compute): Likewise.
2345
2346 2019-02-22 Joseph Myers <joseph@codesourcery.com>
2347
2348 * benchtests/bench-memmem.c (simple_memmem): Break lines before
2349 rather than after operators.
2350 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
2351 * crypt/md5.c (md5_finish_ctx): Likewise.
2352 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
2353 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
2354 * elf/cache.c (load_aux_cache): Likewise.
2355 * elf/dl-load.c (open_verify): Likewise.
2356 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
2357 * elf/readelflib.c (process_elf_file): Likewise.
2358 * elf/rtld.c (dl_main): Likewise.
2359 * elf/sprof.c (generate_call_graph): Likewise.
2360 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
2361 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
2362 * hurd/dtable.c (reauth_dtable): Likewise.
2363 * hurd/getdport.c (__getdport): Likewise.
2364 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
2365 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
2366 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
2367 Likewise.
2368 * hurd/hurdioctl.c (fioctl): Likewise.
2369 * hurd/hurdselect.c (_hurd_select): Likewise.
2370 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
2371 (STOPSIGS): Likewise.
2372 * hurd/hurdstartup.c (_hurd_startup): Likewise.
2373 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
2374 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2375 * hurd/msgportdemux.c (msgport_server): Likewise.
2376 * hurd/setauth.c (_hurd_setauth): Likewise.
2377 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
2378 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
2379 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
2380 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
2381 * login/tst-utmp.c (do_check): Likewise.
2382 (simulate_login): Likewise.
2383 * mach/lowlevellock.h (lll_lock): Likewise.
2384 (lll_trylock): Likewise.
2385 * math/test-fenv.c (ALL_EXC): Likewise.
2386 * math/test-fenvinline.c (ALL_EXC): Likewise.
2387 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
2388 * nis/nis_call.c (__do_niscall3): Likewise.
2389 * nis/nis_callback.c (cb_prog_1): Likewise.
2390 * nis/nis_defaults.c (searchaccess): Likewise.
2391 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2392 * nis/nis_ismember.c (internal_ismember): Likewise.
2393 * nis/nis_local_names.c (nis_local_principal): Likewise.
2394 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
2395 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
2396 Likewise.
2397 * nis/ypclnt.c (yp_match): Likewise.
2398 (yp_first): Likewise.
2399 (yp_next): Likewise.
2400 (yp_master): Likewise.
2401 (yp_order): Likewise.
2402 * nscd/hstcache.c (cache_addhst): Likewise.
2403 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2404 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
2405 (internal_getpwuid_r): Likewise.
2406 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
2407 * posix/glob.h (__GLOB_FLAGS): Likewise.
2408 * posix/regcomp.c (peek_token): Likewise.
2409 (peek_token_bracket): Likewise.
2410 (parse_expression): Likewise.
2411 * posix/regexec.c (sift_states_iter_mb): Likewise.
2412 (check_node_accept_bytes): Likewise.
2413 * posix/tst-spawn3.c (do_test): Likewise.
2414 * posix/wordexp-test.c (testit): Likewise.
2415 * posix/wordexp.c (parse_tilde): Likewise.
2416 (exec_comm): Likewise.
2417 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
2418 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
2419 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
2420 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
2421 * stdio-common/tst-fileno.c (do_test): Likewise.
2422 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
2423 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
2424 * stdlib/strtod_l.c (round_and_return): Likewise.
2425 (____STRTOF_INTERNAL): Likewise.
2426 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
2427 * string/strcspn.c (STRCSPN): Likewise.
2428 * string/test-memmem.c (simple_memmem): Likewise.
2429 * termios/tcsetattr.c (tcsetattr): Likewise.
2430 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
2431 * time/asctime.c (asctime_internal): Likewise.
2432 * time/strptime_l.c (__strptime_internal): Likewise.
2433 * time/sys/time.h (timercmp): Likewise.
2434 * time/tzfile.c (__tzfile_compute): Likewise.
2435
2436 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
2437
2438 [BZ #21915]
2439 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
2440
2441 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2442
2443 * argp/argp-help.c (__argp_error_internal): New function,
2444 renamed from __argp_error, but that takes a 'mode_flags'
2445 parameter to control the format of long double parameters.
2446 (__argp_error): Converted into a call __argp_error_internal.
2447 (__argp_failure_internal): New function, renamed from
2448 __argp_failure, but that takes a 'mode_flags' parameter.
2449 (__argp_failure): Converted into a call __argp_failure_internal.
2450 * misc/err.c (__vwarnx_internal): New function, renamed from
2451 vwarnx, but that takes a 'mode_flags' parameter.
2452 (vwarnx): Converted into a call to __vwarnx_internal.
2453 (__vwarn_internal): New function, renamed from vwarn, but that
2454 takes a 'mode_flags' parameter.
2455 (vwarn): Converted into a call to __vwarn_internal.
2456 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
2457 call to __vfxprintf with 'mode_flags'.
2458 (__error_internal): New function, renamed from error, but that
2459 takes a 'mode_flags' parameter.
2460 (error): Converted into a call to __error_internal.
2461 (__error_at_line_internal): New function, renamed from
2462 error_at_line, but that takes a 'mode_flags' parameter.
2463 (error_at_line): Converted into a call to
2464 __error_at_line_internal.
2465 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
2466 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
2467 Likewise.
2468
2469 2019-02-20 Martin Liska <mliska@suse.cz>
2470
2471 * math/Makefile: Install math-vector-fortran.h.
2472 * bits/math-vector-fortran.h: New file.
2473 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
2474
2475 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2476
2477 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
2478 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
2479
2480 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
2481
2482 * nptl/pthread_mutex_trylock.c: Fix comment.
2483
2484 2019-02-19 Carlos O'Donell <carlos@redhat.com>
2485
2486 * nptl/pthread_tryjoin.c: Fix comment.
2487
2488 2019-02-18 Joseph Myers <joseph@codesourcery.com>
2489
2490 [BZ #24231]
2491 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
2492 after R_SPARC_H34 case.
2493
2494 2019-02-18 Florian Weimer <fweimer@redhat.com>
2495
2496 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
2497 (getanswer): Do not call Dprintf.
2498 (res_gethostbyname2_context): Likewise.
2499 (res_gethostbyaddr_context): Likewise.
2500
2501 2019-02-18 Florian Weimer <fweimer@redhat.com>
2502
2503 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
2504 declaration.
2505 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
2506 Remove definitions.
2507 * libio/stdfiles.c: Update comment.
2508 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
2509 set _IO_stdin, _IO_stdout, _IO_stderr.
2510 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
2511 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
2512 inline function.
2513 (_IO_deallocate_file): New inline function.
2514 * libio/iolibio.h (_IO_vprintf): Remove definition.
2515 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
2516 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2517 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
2518 _IO_legacy_file.
2519 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
2520 __builtin_expect. Use _IO_legacy_file.
2521
2522 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
2523
2524 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
2525 Initialize ctid with a known value and remove update of ctid
2526 after clone.
2527 (wait_tid): Adjust arguments and call futex_wait with ctid_val
2528 as assumed current value of ctid_ptr.
2529
2530 2019-02-16 Florian Weimer <fweimer@redhat.com>
2531
2532 Check that non-sysdeps headers have wrapper headers.
2533 * scripts/check-wrapper-headers.py: New file.
2534 * Makefile (tests-special): Add check-wrapper-headers.out.
2535 (check-wrapper-headers.out): New target.
2536 * Rules (tests-special): Add check-wrapper-headers.out.
2537 (check-wrapper-headers.out): New target.
2538
2539 2019-02-16 Florian Weimer <fweimer@redhat.com>
2540
2541 Add missing header wrappers under include/.
2542 * include/ar.h: New file.
2543 * include/bits/mqueue2.h: Likewise.
2544 * include/bits/stdio.h: Likewise.
2545 * include/bits/stdio2.h: Likewise.
2546 * include/fstab.h: Likewise.
2547 * include/fts.h: Likewise.
2548 * include/lastlog.h: Likewise.
2549 * include/netinet/icmp6.h: Likewise.
2550 * include/netinet/igmp.h: Likewise.
2551 * include/netinet/ip6.h: Likewise.
2552 * include/re_comp.h: Likewise.
2553 * include/regexp.h: Likewise.
2554 * include/rpcsvc/bootparam.h: Likewise.
2555 * include/rpcsvc/yp_prot.h: Likewise.
2556 * include/sys/random.h: Likewise.
2557 * include/sys/stropts.h: Likewise.
2558 * include/sys/ttychars.h: Likewise.
2559 * include/sys/vfs.h: Likewise.
2560 * include/wait.h: Likewise.
2561
2562 2019-02-16 Florian Weimer <fweimer@redhat.com>
2563
2564 * nptl_db/proc_service.h: Move to ...
2565 * sysdeps/nptl/proc_service.h: ... here.
2566 * nptl_db/thread_db.h: Move to ...
2567 * sysdeps/nptl/thread_db.h: ... here.
2568 * nptl/descr.h: Include <thread_db.h>.
2569
2570 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2571
2572 * io/Makefile (tests): Add tst-lockf.
2573 * io/lockf.c (lockf): Use __fcntl and only define for
2574 !__OFF_T_MATCHES_OFF64_T.
2575 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
2576 __OFF_T_MATCHES_OFF64_T case.
2577 * io/tst-lockf.c: New file.
2578 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
2579 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
2580 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
2581 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
2582 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
2583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
2584 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
2585 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
2586 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
2587
2588 2019-02-15 Florian Weimer <fweimer@redhat.com>
2589
2590 [BZ #24211]
2591 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
2592 pd->result after the thread descriptor has been freed.
2593
2594 2019-02-15 Joseph Myers <joseph@codesourcery.com>
2595
2596 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
2597 from function return type.
2598
2599 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
2600
2601 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2602
2603 * scripts/test_printers_common.py: Set TERM to a known harmless
2604 value.
2605
2606 2019-02-14 Joseph Myers <joseph@codesourcery.com>
2607
2608 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
2609 (xdr_u_int): Likewise.
2610 (xdr_enum): Likewise.
2611 (xdr_bytes): Reword fall-through comment.
2612 (xdr_string): Likewise.
2613
2614 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2615
2616 [BZ #2421]
2617 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
2618 (tests): Add tst-join8 tst-join9.
2619 * nptl/lll_timedwait_tid.c: Remove file.
2620 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
2621 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
2622 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
2623 * nptl/pthread_join_common.c (timedwait_tid): New function.
2624 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
2625 is set.
2626 * nptl/tst-join5.c (thread_join): New function.
2627 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
2628 check.
2629 * nptl/tst-join8.c: New file.
2630 * nptl/tst-join9.c: Likewise.
2631 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
2632 lll_futex_timed_wait_cancel): Add generic macros.
2633 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
2634 Remove definitions.
2635 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2636 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2637 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2638 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
2639 Remove function.
2640 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
2641 Likewise.
2642 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2643 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2644 (lll_futex_timed_wait_cancel): New macro.
2645
2646 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
2647
2648 * benchtests/Makefile: Add malloc-simple benchmark.
2649 * benchtests/bench-malloc-simple.c: New benchmark.
2650
2651 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
2652
2653 * benchtests/bench-memmove.c (do_one_test): Remove unused
2654 ORIG_SRC.
2655 (do_test): Adjust.
2656 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
2657 ORIG_SRC.
2658 (do_test): Adjust.
2659
2660 2019-01-13 Jim Wilson <jimw@sifive.com>
2661
2662 [BZ #24040]
2663 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
2664 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
2665 (func): New.
2666 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
2667 call func directly.
2668 * nptl/Makefile (tests): Add tst-unwind-thread.
2669 (CFLAGS-tst-unwind-thread.c): Define.
2670 * nptl/tst-unwind-thread.c: New file.
2671 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
2672 as undefined.
2673
2674 2019-02-13 Joseph Myers <joseph@codesourcery.com>
2675
2676 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
2677 comment wording.
2678 * nis/nis_call.c (__do_niscall3): Likewise.
2679
2680 * catgets/gencat.c (normalize_line): Use braces around empty
2681 'else' body.
2682 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2683 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
2684 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
2685 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
2686 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
2687 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
2688 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
2689 definition.
2690
2691 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
2692 execlp returns.
2693
2694 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
2695
2696 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
2697 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
2698 * benchtests/bench-strchr.c (stupid_strchr): Remove.
2699 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
2700 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
2701 * benchtests/bench-strlen.c (builtin_strlen): Remove.
2702 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
2703 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
2704 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
2705 * benchtests/bench-strspn.c (stupid_strspn): Remove.
2706 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
2707 * benchtests/bench-bcopy.c: Delete file.
2708 * benchtests/bench-bzero.c: Likewise.
2709 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
2710 (simple_memccpy): Remove.
2711 (generic_memccpy): Add function.
2712 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
2713 * benchtests/bench-memmove.c (simple_bcopy): Remove.
2714 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
2715 (generic_mempcpy): Add new function.
2716 * benchtests/bench-memset.c (simple_bzero): Remove.
2717 (builtin_bzero): Remove.
2718 (builtin_memset): Remove.
2719 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
2720 (generic_rawmemchr): Add new function.
2721
2722 2019-02-12 Florian Weimer <fweimer@redhat.com>
2723
2724 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
2725
2726 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2727
2728 [BZ #24122]
2729 * elf/Makefile (tests): Add tst-audit13.
2730 (modules-names): Add tst-audit13mod1.
2731 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2732 rule.
2733 * elf/tst-audit13.c: New file.
2734 * elf/tst-audit13mod1.c: Likewise.
2735
2736 2019-02-12 Florian Weimer <fweimer@redhat.com>
2737
2738 [BZ #24122]
2739 * elf/rtld.c (unload_audit_module): New function.
2740 (report_audit_module_load_error): Likewise.
2741 (load_audit_module): Likewise. Extracted from dl_main. Call
2742 _dl_close if the laversion symbol cannot be found. Use early
2743 returns for error handling. Add malloc error check. Check for a
2744 zero return value from la_version. Remove spurious comment about
2745 static TLS initialization. Remove useless casts.
2746 (notify_audit_modules_of_loaded_object): New function. Extracted
2747 from dl_main.
2748 (load_audit_module): Likewise.
2749 (dl_main): Call load_audit_modules.
2750
2751 2019-02-12 Joseph Myers <joseph@codesourcery.com>
2752
2753 * elf/dl-exception.c (_dl_exception_create_format): Add
2754 fall-through comments.
2755 * elf/ldconfig.c (parse_conf_include): Likewise.
2756 * elf/rtld.c (print_statistics): Likewise.
2757 * locale/programs/charmap.c (parse_charmap): Likewise.
2758 * misc/mntent_r.c (__getmntent_r): Likewise.
2759 * posix/wordexp.c (parse_arith): Likewise.
2760 (parse_backtick): Likewise.
2761 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
2762 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2763 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2764
2765 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
2766
2767 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
2768 Use float instead of double.
2769
2770 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2771
2772 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
2773
2774 2019-02-08 Joseph Myers <joseph@codesourcery.com>
2775
2776 * sysdeps/powerpc/bits/mathinline.h: Remove.
2777
2778 2019-02-08 Florian Weimer <fweimer@redhat.com>
2779
2780 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
2781 * math/bits/math-finite.h: Move to ...
2782 * bits/math-finite.h: ... here.
2783
2784 2019-02-08 Florian Weimer <fweimer@redhat.com>
2785
2786 * sysdeps/generic/bits/unistd_ext.h: Move to ...
2787 * bits/unistd_ext.h: here.
2788
2789 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
2790
2791 [BZ #21915]
2792 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
2793 * nss/tst-nss-files-hosts-long.c: New file.
2794 * nss/tst-nss-files-hosts-long.root: New directory.
2795 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
2796 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
2797
2798 2019-02-08 Florian Weimer <fweimer@redhat.com>
2799
2800 * include/bits/unistd_ext.h: Remove file.
2801 * posix/bits/unistd_ext.h: Move to ...
2802 * sysdeps/generic/bits/unistd_ext.h: ... here.
2803
2804 2019-02-08 Florian Weimer <fweimer@redhat.com>
2805
2806 * include/bits/unistd_ext.h: New file.
2807
2808 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
2809
2810 * time/tst-strftime2.c: Use array_length macros instead of magic
2811 numbers.
2812
2813 2019-02-08 Florian Weimer <fweimer@redhat.com>
2814
2815 [BZ #24161]
2816 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
2817 argument.
2818 * nptl/register-atfork.c (__run_fork_handlers): Only perform
2819 locking if the new do_locking argument is true.
2820 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
2821 __run_fork_handlers.
2822
2823 2019-02-08 Florian Weimer <fweimer@redhat.com>
2824
2825 [BZ #6399]
2826 Linux: Add gettid system call wrapper.
2827 * posix/Makefile (headers): Add bits/unistd_ext.h.
2828 * posix/bits/unistd_ext.h: New file.
2829 * posix/unistd.h: Include it.
2830 * manual/process.texi (Process Identification): Document gettid.
2831 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
2832 tst-gettid, tst-gettid-kill.
2833 (tst-gettid): Link with $(shared-thread-library).
2834 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
2835 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
2836 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
2837 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
2838 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
2839 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2840 Add gettid.
2841 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2842 Likewise.
2843 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2844 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
2845 Likewise.
2846 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
2847 Likewise.
2848 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
2849 Likewise.
2850 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
2851 Likewise.
2852 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2853 Likewise.
2854 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2855 Likewise.
2856 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2857 Likewise.
2858 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2859 (GLIBC_2.30): Likewise.
2860 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2861 (GLIBC_2.30): Likewise.
2862 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2863 (GLIBC_2.30): Likewise.
2864 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2865 (GLIBC_2.30): Likewise.
2866 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2867 Likewise.
2868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2869 (GLIBC_2.30): Likewise.
2870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2871 (GLIBC_2.30): Likewise.
2872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2873 (GLIBC_2.30): Likewise.
2874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2875 (GLIBC_2.30): Likewise.
2876 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2877 Likewise.
2878 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2879 Likewise.
2880 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2881 Likewise.
2882 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2883 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2884 Likewise.
2885 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2886 Likewise.
2887 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2888 Likewise.
2889 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2890 Likewise.
2891 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
2892
2893 2019-02-08 Florian Weimer <fweimer@redhat.com>
2894
2895 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
2896 compatibility symbols.
2897
2898 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
2899
2900 [BZ #24180]
2901 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2902 Add compiler barriers and comments.
2903
2904 2019-02-07 Florian Weimer <fweimer@redhat.com>
2905
2906 * include/array_length.h (array_length): Do not use a statement
2907 expression and _Static_assert, so that array_length can be used at
2908 file scope and as a constant expression.
2909
2910 2019-02-07 Florian Weimer <fweimer@redhat.com>
2911
2912 * support/xdlfcn.h (xdlmopen): Declare.
2913 * support/xdlmopen.c: New file.
2914 * support/Makefile (libsupport-routines): Add xdlmopen.
2915
2916 2019-02-06 Joseph Myers <joseph@codesourcery.com>
2917
2918 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
2919 before return type, without separate inline.
2920 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
2921 * elf/dl-tunables.h (tunable_is_name): Likewise.
2922 * malloc/malloc.c (do_set_trim_threshold): Likewise.
2923 (do_set_top_pad): Likewise.
2924 (do_set_mmap_threshold): Likewise.
2925 (do_set_mmaps_max): Likewise.
2926 (do_set_mallopt_check): Likewise.
2927 (do_set_perturb_byte): Likewise.
2928 (do_set_arena_test): Likewise.
2929 (do_set_arena_max): Likewise.
2930 (do_set_tcache_max): Likewise.
2931 (do_set_tcache_count): Likewise.
2932 (do_set_tcache_unsorted_limit): Likewise.
2933 * nis/nis_subr.c (count_dots): Likewise.
2934 * nptl/allocatestack.c (advise_stack_range): Likewise.
2935 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
2936 (do_sin): Likewise.
2937 (reduce_sincos): Likewise.
2938 (do_sincos): Likewise.
2939 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2940 (do_set_elision_enable): Likewise.
2941 (TUNABLE_CALLBACK_FNDECL): Likewise.
2942
2943 2019-02-06 Florian Weimer <fweimer@redhat.com>
2944
2945 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
2946 (xdlsym): Use dlerror to detect a NULL symbol.
2947
2948 2019-02-06 Florian Weimer <fweimer@redhat.com>
2949
2950 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
2951 <stap-probe.h>.
2952 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2953
2954 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2955
2956 * libio/tst-bz24153.c (wide): Use wide char format specifier.
2957
2958 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2959
2960 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
2961 __wmemcmp and weak alias to wmemcmp.
2962
2963 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2964
2965 [BZ #23403]
2966 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
2967 TLS_TCB_AT_TP tls variant.
2968 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
2969 Add alignment checks.
2970 * support/Makefile (libsupport-routines): Add xposix_memalign and
2971 xpthread_setstack.
2972 * support/support.h: Add xposix_memalign.
2973 * support/xthread.h: Add xpthread_attr_setstack.
2974 * support/xposix_memalign.c: New File.
2975 * support/xpthread_attr_setstack.c: Likewise.
2976
2977 2019-02-05 Florian Weimer <fweimer@redhat.com>
2978
2979 [BZ #24164]
2980 arm: Use "nr" constraint for Systemtap probes, to avoid the
2981 compiler using memory operands for constants, due to the "o"
2982 alternative in the default "nor" constraint.
2983 * include/stap-probe.h [USE_STAP_PROBE]: Include
2984 <stap-probe-machine.h>
2985 * sysdeps/generic/stap-probe-machine.h: New file.
2986 * sysdeps/arm/stap-probe-machine.h: Likewise.
2987
2988 2019-02-04 Joseph Myers <joseph@codesourcery.com>
2989
2990 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
2991 with 0, not tcache->entries[tc_idx].
2992
2993 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
2994 once.
2995
2996 2019-02-04 Andreas Schwab <schwab@suse.de>
2997
2998 [BZ #16976]
2999 [BZ #17396]
3000 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
3001 looking up collating elements match against (wide) character
3002 sequence instead of name. Correct alignment adjustment.
3003 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
3004 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
3005 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
3006 (LOCALES): Add cs_CZ.ISO-8859-2.
3007 * posix/tst-fnmatch4.c: New file.
3008 * posix/tst-fnmatch5.c: New file.
3009 * include/wchar.h (__wmemcmp): Declare.
3010 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
3011 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
3012 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
3013 * sysdeps/s390/wmemcmp.c: Likewise.
3014
3015 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
3016
3017 [BZ #24155]
3018 CVE-2019-7309
3019 * NEWS: Updated for CVE-2019-7309.
3020 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
3021 upper 32 bits of RDX register for x32. Use unsigned Jcc
3022 instructions, instead of signed.
3023 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
3024 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
3025
3026 2019-02-04 Florian Weimer <fweimer@redhat.com>
3027
3028 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
3029 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
3030 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
3031 Likewise.
3032 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
3033 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
3034 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
3035 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
3036 Likewise.
3037 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
3038 Likewise.
3039 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
3040 Likewise.
3041 (posix_spawn_file_actions_addopen): Likewise.
3042 (posix_spawn_file_actions_addclose): Likewise.
3043 (posix_spawn_file_actions_adddup2): Likewise.
3044 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
3045 qualifiers.
3046 (posix_spawn_file_actions_addfchdir_np): Likewise.
3047
3048 2019-02-04 David Newall <glibc@davidnewall.com>
3049
3050 elf: Implement --preload option for the dynamic linker.
3051 * elf/rtld.c (preloadarg): New variable.
3052 (handle_preload_list): Pass through “where” argument to
3053 do_preload.
3054 (dl_main): Handle "--preload" and add second call to
3055 handle_preload_list.
3056 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
3057 (tst-rtld-preload-OBJS): Set variable.
3058 (tst-rtld-preload.out): New target.
3059 * elf/tst-rtld-preload.sh: New file.
3060
3061 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
3062
3063 * Makefile (testrun.sh): Exit in case of incorrect argument.
3064
3065 2019-02-04 Florian Weimer <fweimer@redhat.com>
3066
3067 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
3068 alignment gaps.
3069
3070 2019-02-03 Florian Weimer <fweimer@redhat.com>
3071
3072 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
3073 implicit overflow checks.
3074
3075 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
3076
3077 * stdlib/isomac.c: Include <unistd.h>.
3078
3079 2019-02-03 Florian Weimer <fweimer@redhat.com>
3080
3081 * include/time.h (__tzfile_default): Use int, not long int, for
3082 the GMT offsets.
3083 * time/tzfile.c (struct ttinfo): Change type of the offset member
3084 to int.
3085 (__tzfile_read): Remove useless cast.
3086 (__tzfile_default): Adjust prototype.
3087 * time/tzset.c (tz_rule): Change type of the offset member to int.
3088 (parse_offset): Change the type of the sign variable to int.
3089
3090 2019-02-03 Florian Weimer <fweimer@redhat.com>
3091
3092 [BZ #24153]
3093 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
3094 * libio/getchar.c (getchar): Likewise.
3095 * libio/getchar_u.c (getchar_unlocked): Likewise.
3096 * libio/getwchar.c (getwchar): Likewise.
3097 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3098 * libio/iogets.c (_IO_gets): Likewise.
3099 * libio/vscanf.c (_IO_vscanf): Likewise.
3100 * libio/vwscanf.c (__vwscanf): Likewise.
3101 * libio/tst-bz24153.c: New file.
3102 * libio/Makefile (tests): Add it.
3103
3104 2019-02-02 Florian Weimer <fweimer@redhat.com>
3105
3106 [BZ #14829]
3107 * manual/resource.texi (Basic Scheduling Functions): Add
3108 portability note. Change process to task throughout the section.
3109 Remove incorrect comment about sched_yield as it affects
3110 tasks/threads, not entire processes.
3111 * sysdeps/unix/sysv/linux/bits/posix_opt.h
3112 (_POSIX_PRIORITY_SCHEDULING): Update comment.
3113
3114 2019-02-01 Joseph Myers <joseph@codesourcery.com>
3115
3116 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
3117 * configure: Regenerated.
3118 * manual/install.texi (Tools for Compilation): Update minimum GCC
3119 version.
3120 * INSTALL: Regenerated.
3121
3122 2019-02-01 Florian Weimer <fweimer@redhat.com>
3123
3124 * support/support_test_compare_string.c
3125 (support_test_compare_string): Use "string" in error message.
3126 * support/tst-test_compare_string.c (do_test): Adjust.
3127
3128 2019-02-01 Florian Weimer <fweimer@redhat.com>
3129
3130 * support/support_format_address_family.c
3131 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
3132
3133 2019-02-01 Florian Weimer <fweimer@redhat.com>
3134
3135 * manual/socket.texi (Internet Address Formats): Clarify the byte
3136 order of struct sockaddr_in, struct sockaddr_in6. Document
3137 sin6_flowinfo and sin6_scope_id.
3138
3139 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
3140
3141 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
3142 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
3143 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
3144 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
3145 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
3146 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
3147
3148 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3149
3150 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
3151 [!MEMCHR](MEMCHR): Set to __memchr.
3152 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3153 Add memchr_generic and memchr_nosimd.
3154 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3155 (__libc_ifunc_impl_list): Add memchr ifuncs.
3156 * sysdeps/aarch64/multiarch/memchr.c: New file.
3157 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
3158 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
3159
3160 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3161
3162 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3163 Add memset_emag.
3164 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3165 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
3166 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
3167 Add IS_EMAG check for ifunc dispatch.
3168 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
3169 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
3170
3171 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3172
3173 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
3174 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3175 Add emag.
3176 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
3177 New macro.
3178
3179 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
3180
3181 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
3182
3183 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
3184
3185 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
3186 syscall-template file.
3187
3188 2019-01-31 Carlos O'Donell <carlos@redhat.com>
3189 Torvald Riegel <triegel@redhat.com>
3190 Rik Prohaska <prohaska7@gmail.com>
3191
3192 [BZ# 23844]
3193 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
3194 tst-rwlock-trywrlock-stall.
3195 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3196 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
3197 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
3198 Set __wrphase_fute to 1 only if we started the write phase.
3199 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
3200 * nptl/tst-rwlock-trywrlock-stall.c: New file.
3201 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
3202 * support/xpthread_rwlock_destroy.c: New file.
3203 * support/xthread.h: Declare xpthread_rwlock_destroy.
3204
3205 2019-02-01 Joseph Myers <joseph@codesourcery.com>
3206
3207 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3208 version to 4.0.2.
3209
3210 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3211
3212 [BZ #24051]
3213 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
3214 * libio/fileops.c (_IO_new_file_underflow): Likewise
3215 * libio/wfileops.c (_IO_wfile_underflow): Likewise
3216 * libio/putchar.c (putchar): Likewise.
3217 * libio/putchar_u.c (putchar_unlocked): Likewise.
3218 * libio/putwchar.c (putchar): Likewise.
3219 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3220 * libio/tst-bz24051.c: New test.
3221 * libio/Makefile (tests): Add tst-bz24051
3222
3223 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
3224
3225 CVE-2019-9169
3226 regex: fix read overrun [BZ #24114]
3227 Problem found by AddressSanitizer, reported by Hongxu Chen in:
3228 https://debbugs.gnu.org/34140
3229 * posix/regexec.c (proceed_next_node):
3230 Do not read past end of input buffer.
3231
3232 2019-01-31 Florian Weimer <fweimer@redhat.com>
3233
3234 [BZ #24059]
3235 * nss/nss_files/files-alias.c (get_next_alias): Handle
3236 continuation line without newline at the end.
3237 * nss/tst-nss-files-alias-truncated.c: New file.
3238 * nss/Makefile [$(build-shared)] (tests): Add
3239 tst-nss-files-alias-truncated.
3240 (tst-nss-files-alias-truncated): Link with libnss_files.so.
3241 * support/namespace.h (struct support_chroot_configuration): Add
3242 aliases member.
3243 (struct support_chroot): Add path_aliases member.
3244 * support/support_chroot.c (support_chroot_create): Handle
3245 aliases.
3246 (support_chroot_free): Free path_aliases.
3247
3248 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3249
3250 * version.h (RELEASE): Set to "development".
3251 (VERSION): Set to "2.29.9000".
3252 * NEWS: Add section for 2.30.
3253
3254 * version.h (RELEASE): Set to "stable".
3255 (VERSION): Set to "2.29".
3256 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
3257
3258 * NEWS: Add the list of bugs fixed in 2.29.
3259 * manual/contrib.texi: Update contributors list with some more
3260 names.
3261 * manual/install.texi: Update latest versions of packages
3262 tested.
3263 * INSTALL: Regenerated.
3264
3265 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3266
3267 * po/be.po: Update translations.
3268 * po/bg.po: Likewise.
3269 * po/ca.po: Likewise.
3270 * po/cs.po: Likewise.
3271 * po/da.po: Likewise.
3272 * po/de.po: Likewise.
3273 * po/el.po: Likewise.
3274 * po/eo.po: Likewise.
3275 * po/es.po: Likewise.
3276 * po/fi.po: Likewise.
3277 * po/fr.po: Likewise.
3278 * po/gl.po: Likewise.
3279 * po/hr.po: Likewise.
3280 * po/hu.po: Likewise.
3281 * po/ia.po: Likewise.
3282 * po/id.po: Likewise.
3283 * po/it.po: Likewise.
3284 * po/ja.po: Likewise.
3285 * po/ko.po: Likewise.
3286 * po/lt.po: Likewise.
3287 * po/nb.po: Likewise.
3288 * po/nl.po: Likewise.
3289 * po/pl.po: Likewise.
3290 * po/pt_BR.po: Likewise.
3291 * po/ru.po: Likewise.
3292 * po/rw.po: Likewise.
3293 * po/sk.po: Likewise.
3294 * po/sl.po: Likewise.
3295 * po/sv.po: Likewise.
3296 * po/tr.po: Likewise.
3297 * po/uk.po: Likewise.
3298 * po/vi.po: Likewise.
3299 * po/zh_CN.po: Likewise.
3300 * po/zh_TW.po: Likewise.
3301
3302 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
3303
3304 [BZ #24130]
3305 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
3306 of $f3 register on $y_is_neg path.
3307
3308 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
3309
3310 [BZ #24110]
3311 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
3312 sigaltstack.ss_flags.
3313
3314 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
3315
3316 [BZ #23758]
3317 * manual/time.texi (strftime): Document "%Ey".
3318 * time/strftime_l.c (__strftime_internal): Set the default width
3319 padding with zero of "%Ey" to 2.
3320
3321 [BZ #24096]
3322 * manual/time.texi (strftime): Document "%EC" and "%EY".
3323 * time/Makefile (tests): Add tst-strftime2.
3324 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
3325 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
3326 override padding for "%Ey".
3327 If an optional flag ('_' or '-') is specified to "%EY", interpret the
3328 "%Ey" in the subformat as if decorated with that flag.
3329 * time/tst-strftime2.c: New file.
3330
3331 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3332
3333 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
3334 are not defined.
3335
3336 [BZ #24122]
3337 * elf/Makefile (tests): Add tst-audit13.
3338 (modules-names): Add tst-audit13mod1.
3339 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3340 rule.
3341 * elf/rtld.c (dl_main): Handle invalid audit module version.
3342 * elf/tst-audit13.c: New file.
3343 * elf/tst-audit13mod1.c: Likewise.
3344
3345 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
3346
3347 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
3348 returned by __hurd_at_flags.
3349 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
3350 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
3351 directly instead of __hurd_file_name_lookup.
3352
3353 2019-01-21 Joseph Myers <joseph@codesourcery.com>
3354
3355 * scripts/build-many-glibcs.py (Context.checkout): Default
3356 binutils version to 2.32 branch.
3357
3358 2019-01-21 Florian Weimer <fweimer@redhat.com>
3359
3360 [BZ #20018]
3361 CVE-2016-10739
3362 resolv: Reject trailing characters in host names
3363 * include/arpa/inet.h (__inet_aton_exact): Declare.
3364 (inet_aton): Remove hidden prototype. No longer used internally.
3365 * nscd/gai.c (__inet_aton): Do not define.
3366 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
3367 * nss/digits_dots.c (__inet_aton): Likewise.
3368 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
3369 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
3370 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
3371 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
3372 (tst-resolv-trailing): Likewise.
3373 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
3374 libc.
3375 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
3376 Make static. Add endp parameter.
3377 (__inet_aton_exact): New function.
3378 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
3379 (__inet_addr): Call inet_aton_end.
3380 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
3381 not just IPv6. Call __inet_aton_exact.
3382 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
3383 (tests): Make const. Add additional test cases with trailing
3384 characters.
3385 (do_test): Use array_length.
3386 * resolv/tst-inet_aton_exact.c: New file.
3387 * resolv/tst-resolv-trailing.c: Likewise.
3388 * resolv/tst-resolv-nondecimal.c: Likewise.
3389 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
3390
3391 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3392
3393 [BZ# 24097]
3394 CVE-2019-6488
3395 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
3396 Clear the upper 32 bits of RSI register.
3397 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
3398 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
3399 and tst-size_t-wcsnlen.
3400 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
3401 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
3402
3403 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3404
3405 [BZ# 24097]
3406 CVE-2019-6488
3407 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
3408 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3409 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3410 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
3411 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
3412
3413 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3414
3415 [BZ# 24097]
3416 CVE-2019-6488
3417 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
3418 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3419 * sysdeps/x86_64/strcmp.S: Likewise.
3420 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
3421 tst-size_t-strncmp and tst-size_t-wcsncmp.
3422 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
3423 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
3424 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
3425
3426 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3427
3428 [BZ# 24097]
3429 CVE-2019-6488
3430 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
3431 RDX_LP for length. Clear the upper 32 bits of RDX register.
3432 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
3433 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
3434 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
3435 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
3436
3437 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3438
3439 [BZ# 24097]
3440 CVE-2019-6488
3441 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
3442 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
3443 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
3444 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
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/memcpy-ssse3-back.S: Use RDX_LP for
3451 length. Clear the upper 32 bits of RDX register.
3452 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3453 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3454 Likewise.
3455 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3456 Likewise.
3457 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
3458 tst-size_t-wmemchr.
3459 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
3460
3461 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3462
3463 [BZ# 24097]
3464 CVE-2019-6488
3465 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
3466 length. Clear the upper 32 bits of RDX register.
3467 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3468 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3469 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
3470 tst-size_t-wmemcmp.
3471 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
3472 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
3473
3474 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3475
3476 [BZ# 24097]
3477 CVE-2019-6488
3478 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
3479 upper 32 bits of RDX register.
3480 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3481 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
3482 tst-size_t-wmemchr.
3483 * sysdeps/x86_64/x32/test-size_t.h: New file.
3484 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
3485 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
3486
3487 2019-01-18 Florian Weimer <fweimer@redhat.com>
3488
3489 [BZ #24112]
3490 resolv: Do not send queries for non-host-names in nss_dns.
3491 * resolv/nss_dns/dns-host.c (check_name): New function.
3492 (_nss_dns_gethostbyname2_r): Use it.
3493 (_nss_dns_gethostbyname_r): Likewise.
3494 (_nss_dns_gethostbyname4_r): Likewise.
3495
3496 2019-01-21 Florian Weimer <fweimer@redhat.com>
3497
3498 * resolv/inet_addr.c: Reformat to GNU style.
3499 (__inet_addr, __inet_aton): Update comment.
3500
3501 2019-01-18 Florian Weimer <fweimer@redhat.com>
3502
3503 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
3504 ("malloc: Use current (C11-style) atomics for fastbin access").
3505 This commit introduces a substantial performance regression on
3506 POWER and Aarch64.
3507 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
3508 (REMOVE_FB): Define.
3509 (_int_malloc): Use it and reindent.
3510 (_int_free): Use CAS loop with
3511 catomic_compare_and_exchange_val_rel.
3512 (malloc_consolidate): Use atomic_exchange_acq.
3513
3514
3515 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
3516
3517 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
3518 -Wl,-z,now.
3519 (LDFLAGS-tst-minsigstksz-2): Likewise.
3520 (LDFLAGS-tst-minsigstksz-3): Likewise.
3521 (LDFLAGS-tst-minsigstksz-3a): Likewise.
3522 (LDFLAGS-tst-minsigstksz-4): Likewise.
3523
3524 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
3525
3526 * manual/time.texi (strftime): Fix the wording to "alternative" rather
3527 than "alternate".
3528
3529 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
3530
3531 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
3532
3533 2019-01-16 Zack Weinberg <zackw@panix.com>
3534
3535 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
3536 (xget_sigstack_location): New test support functions.
3537 * support/xsigstack.c: New file, implementing them.
3538 * support/tst-xsigstack.c: New test for them.
3539 * support/Makefile: Update.
3540
3541 * signal/tst-minsigstksz-1.c
3542 * signal/tst-minsigstksz-2.c
3543 * signal/tst-minsigstksz-3.c
3544 * signal/tst-minsigstksz-3a.c
3545 * signal/tst-minsigstksz-4.c: New tests.
3546 * signal/Makefile: Run them.
3547
3548 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3549
3550 * po/libc.pot: Regenerate.
3551
3552 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3553
3554 * math/libm-test-fma.inc (fma_test_data): Set
3555 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
3556
3557 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3558
3559 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
3560 (do_test): Changed __vector __int128_t to __vector unsigned int.
3561
3562 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3563
3564 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3565 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
3566 stpcpy-avx2 and stpncpy-avx2.
3567 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
3568 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
3569 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
3570 and __stpncpy_avx2.
3571 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
3572 ifunc-strcpy.h}: rename header for a more generic name.
3573 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
3574 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
3575 AVX unaligned load is fast and vzeroupper is preferred.
3576 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
3577 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
3578 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
3579 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
3580 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
3581 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
3582
3583 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
3584
3585 * argp/argp-help.c: Fix typo in comment.
3586 * misc/sys/cdefs.h: Likewise.
3587 * posix/regexec.c (sift_states_iter_mb): Likewise.
3588 * socket/sockatmark.c: Likewise.
3589 * socket/sys/socket.h: Likewise.
3590 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
3591 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
3592 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
3593 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3594 * sysdeps/unix/sockatmark.c: Likewise.
3595 * time/strptime_l.c: Likewise.
3596
3597 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3598
3599 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
3600 missing space after the cast of "_NL_CURRENT".
3601
3602 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3603
3604 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
3605 ifdef to fix read of VSCR.
3606 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
3607 tst-ucontext-ppc64-vscr.c to test list.
3608 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
3609
3610 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
3611
3612 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
3613 fall-through.
3614
3615 2019-01-09 Jim Wilson <jimw@sifive.com>
3616
3617 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
3618
3619 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
3620
3621 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
3622 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
3623 __memcpy_falkor for ares.
3624 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
3625 Add new define.
3626 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3627 Add ares cpu.
3628
3629 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
3630
3631 [BZ #24066]
3632 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3633 4_FP_W_TYPEs are used for IEEE quad precision.
3634 * soft-fp/extendhftf2.c: Likewise.
3635 * soft-fp/extendsftf2.c: Likewise.
3636 * soft-fp/extendxftf2.c: Likewise.
3637 * soft-fp/trunctfdf2.c: Likewise.
3638 * soft-fp/trunctfhf2.c: Likewise.
3639 * soft-fp/trunctfsf2.c: Likewise.
3640 * soft-fp/trunctfxf2.c: Likewise.
3641 * sysdeps/alpha/ots_cvttx.c: Likewise.
3642 * sysdeps/alpha/ots_cvtxt.c: Likewise.
3643 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
3644 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
3645 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
3646 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
3647 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
3648 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
3649 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
3650 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
3651 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
3652 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
3653 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
3654 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
3655 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
3656 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
3657 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
3658 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
3659
3660 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3661
3662 [BZ #24024]
3663 * Makeconfig: Build libm with -fno-math-errno but build the remaining
3664 code with -fmath-errno.
3665 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
3666 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
3667 * string/test-strerror-errno.c: New file.
3668
3669 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3670
3671 [BZ #24046]
3672 * localedata/locales/en_US (date_fmt): Add, set to
3673 "%a %d %b %Y %r %Z".
3674
3675 2019-01-07 Florian Weimer <fweimer@redhat.com>
3676
3677 [BZ #24063]
3678 * manual/arith.texi (Math Error Reporting): Use @code{errno}
3679 instead of @var{errno}.
3680 (Parsing of Integers): Likewise.
3681 (Parsing of Floats): Likewise.
3682 * manual/filesys.texi (Working with Directory Trees): Likewise.
3683 (Temporary Files): Likewise.
3684 * manual/job.texi (Terminal Access Functions): Likewise.
3685 * manual/llio.texi (Synchronizing I/O): Likewise.
3686 * manual/math.texi (SVID Random): Likewise.
3687 * manual/message.texi (The catgets Functions): Likewise.
3688 (Translation with gettext): Likewise.
3689 (Locating gettext catalog): Likewise.
3690 (Charset conversion in gettext): Likewise.
3691 * manual/nss.texi (NSS Module Function Internals): Likewise.
3692 * manual/search.texi (Hash Search Function): Likewise.
3693 * manual/setjmp.texi (System V contexts): Likewise.
3694 * manual/time.texi (Sleeping): Likewise.
3695 * manual/users.texi (Lookup User): Likewise.
3696 (Lookup Group): Likewise.
3697
3698 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3699
3700 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
3701 fix typo.
3702
3703 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
3704
3705 [BZ #19444]
3706 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
3707 __builtin_unreachable for default case in switch.
3708 (__ieee754_yn): Likewise.
3709 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3710 (__ieee754_ynl): Likewise.
3711 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3712 (__ieee754_ynl): Likewise.
3713 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3714 (__ieee754_ynl): Likewise.
3715
3716 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3717
3718 * manual/maint.texi: Use @{ and @}.
3719
3720 2019-01-04 Florian Weimer <fweimer@redhat.com>
3721
3722 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
3723 function.
3724 (do_in_chroot_1): Call it.
3725 (run_chroot_tests):
3726 Improve error reporting in case it is not possible to create a
3727 collision for the PTY name required by the test.
3728
3729 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3730
3731 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
3732 lll_wait_tid with timeout.
3733 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
3734 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
3735 futex_reltimed_wait_cancelable for cancelabla mode.
3736 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
3737 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
3738 macros.
3739 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
3740 * sysdeps/posix/waitid.c (__sigwait): Likewise.
3741 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
3742 SYSCALL_CANCEL_NCS): New macro.
3743 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
3744 (lll_timedwait_tid): Remove macro.
3745 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
3746 Likewise.
3747 (lll_timedwait_tid): Likewise.
3748 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
3749 Likewise.
3750 (lll_timedwait_tid): Likewise.
3751 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
3752 Likewise.
3753 (lll_timedwait_tid): Likewise.
3754 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
3755 Use INTERNAL_SYSCALL_CANCEL.
3756 * sysdeps/unix/sysv/linux/futex-internal.h
3757 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
3758 instead of __pthread_{enable,disable}_asynccancel.
3759 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3760 (lll_futex_wait_cancel): New macro.
3761
3762 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3763 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3764
3765 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3766 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3767
3768 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
3769 in backtrace analysis.
3770 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
3771 side-effects.
3772 (tf_send): Likewise.
3773
3774 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
3775 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
3776 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
3777 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
3778 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3779 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3780 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
3781 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
3782 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
3783 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
3784 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
3785 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
3786 Likewise.
3787 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
3788 tst-cancel-wrappers.sh.
3789 (generated): Remove tst-cancel-wrappers.out.
3790 (tst-cancel-wrappers.out): Remove rule.
3791 * nptl/tst-cancel-wrappers.sh: Remove file.
3792
3793 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3794
3795 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
3796 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3797 Update.
3798
3799 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3800
3801 [BZ #23640]
3802 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
3803 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
3804 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
3805 close-on-exec reset for adddup2 file action.
3806 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3807
3808 2019-01-03 Zack Weinberg <zackw@panix.com>
3809
3810 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
3811 parameter. Only use deprecated scanf when __USE_GNU is defined
3812 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
3813 than 201103L, whichever is relevant for the language being compiled.
3814
3815 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
3816 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
3817 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
3818 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
3819 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
3820
3821 * libio/iovsscanf.c
3822 * libio/fwscanf.c
3823 * libio/iovswscanf.c
3824 * libio/swscanf.c
3825 * libio/vscanf.c
3826 * libio/vwscanf.c
3827 * libio/wscanf.c
3828 * stdio-common/fscanf.c
3829 * stdio-common/scanf.c
3830 * stdio-common/vfscanf.c
3831 * stdio-common/vfwscanf.c
3832 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3833 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
3834 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
3835 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
3836 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
3837 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
3838 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
3839 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
3840 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
3841 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
3842 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
3843 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
3844 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
3845 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
3846 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
3847
3848 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
3849 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
3850 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
3851 not sscanf.
3852 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
3853 with a preprocessor macro.
3854
3855 * stdio-common/bug21.c, stdio-common/scanf14.c:
3856 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
3857 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3858 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
3859 to xscanf, xfscanf, xsscanf.
3860
3861 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
3862 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3863 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
3864 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
3865 xfscanf, xsscanf.
3866 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
3867 override feature selection macros or provide definitions of u_char etc.
3868 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
3869 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
3870 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
3871 with -std=gnu89.
3872
3873 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3874
3875 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3876 bits/termios-misc.h.
3877 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
3878 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3879 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3880 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3881 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
3882 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
3883
3884 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
3885 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3886 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
3887 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
3888 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
3889 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
3890 termios-misc.h.
3891 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
3892 (sysdep_headers): Add termios-misc.h.
3893
3894 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
3895 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3896 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3897
3898 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3899 termios-tcflow.h.
3900 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
3901 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
3902 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
3903 TCSAFLUSH): Move to termios-tcflow.h.
3904 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3905 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3906 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3907 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3908
3909 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3910 termios-c_lflag.h.
3911 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
3912 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
3913 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
3914 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
3915 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
3916 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
3917 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
3918 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
3919 Likewise.
3920 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3921 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3922 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3923 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3924
3925 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3926 termios-c_cflag.h.
3927 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
3928 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
3929 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
3930 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
3931 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
3932 termios-c_cflag.h.
3933 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3934 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3935 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3936 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3937
3938 [BZ #23783]
3939 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3940 termios-baud.h.
3941 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
3942 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
3943 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
3944 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
3945 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
3946 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
3947 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
3948 __MAX_BAUD): Move to termios-baud.h.
3949 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
3950 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
3951 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3952 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3953 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3954
3955 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3956 termios-c_oflag.h.
3957 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
3958 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
3959 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
3960 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
3961 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
3962 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
3963 termios-c_oflag.h.
3964 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
3965 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
3966 FFR1): Likewise.
3967 [USE_MISC] (XTABS): Likewise.
3968 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3969 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3970 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3971 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
3972
3973 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3974 termios-c_iflag.h.
3975 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
3976 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
3977 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
3978 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
3979 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
3980 IUTF8): Move to termios-c_iflag.h.
3981 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3982 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3983 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3984 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3985
3986 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3987 termios-cc.h.
3988 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
3989 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
3990 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
3991 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
3992 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
3993 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
3994 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
3995 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
3996 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3997 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3998 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3999 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4000
4001 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
4002 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
4003 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
4004 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
4005 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4006 termios-struct.h.
4007 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
4008 termios-struct.h.
4009 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
4010 Likewise.
4011 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
4012 Likewise.
4013 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
4014 Likewise.
4015 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
4016 Likewise.
4017 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
4018 _HAVE_C_OSPEED): Define.
4019 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
4020 _HAVE_C_OSPEED): Likewise.
4021 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
4022 _HAVE_C_OSPEED): Likewise.
4023 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
4024 (cfsetospeed): Check for define value instead of existence.
4025 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
4026 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4027 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
4028 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4029 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
4030
4031 [BZ #17783]
4032 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
4033 Define.
4034 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4035 (TIOCSER_TEMT): Likewise.
4036 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
4037 (TEOCSER_TEMT): Likewise.
4038
4039 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
4040
4041 [BZ #24011]
4042 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
4043
4044 2019-01-02 Joseph Myers <joseph@codesourcery.com>
4045
4046 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4047
4048 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4049
4050 * sysdeps/htl/pt-barrierattr-setpshared.c
4051 (pthread_barrierattr_setpshared): Add stub warning.
4052 * sysdeps/htl/pt-condattr-setpshared.c
4053 (pthread_condattr_setpshared): Likewise.
4054 * sysdeps/htl/pt-mutexattr-setpshared.c
4055 (pthread_mutexattr_setpshared): Likewise.
4056 * sysdeps/htl/pt-rwlockattr-setpshared.c
4057 (pthread_rwlockattr_setpshared): Likewise.
4058 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
4059 (pthread_mutexattr_setpshared): Likewise.
4060
4061 2019-01-02 Joseph Myers <joseph@codesourcery.com>
4062
4063 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
4064 constants to match with Linux 4.20.
4065
4066 * sysdeps/mips/mips32/libm-test-ulps: Update.
4067 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4068
4069 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
4070
4071 [BZ #24034]
4072 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
4073 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
4074 than __typeof (...) for the a_ptr variable.
4075
4076 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4077
4078 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
4079 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
4080 * libio/Makefile (tests): Add tst-sprintf-ub and
4081 tst-sprintf-chk-ub.
4082 (CFLAGS-tst-sprintf-ub.c): New variable.
4083 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
4084 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
4085 destination buffer and check for overflows in fortified mode.
4086 * libio/libioP.h (PRINTF_CHK): New macro.
4087 * libio/tst-sprintf-chk-ub.c: New file.
4088 * libio/tst-sprintf-ub.c: Likewise.
4089
4090 2019-01-02 Florian Weimer <fweimer@redhat.com>
4091
4092 [BZ #24018]
4093 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
4094 failure.
4095
4096 2019-01-02 Florian Weimer <fweimer@redhat.com>
4097
4098 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
4099
4100 2019-01-01 Joseph Myers <joseph@codesourcery.com>
4101
4102 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
4103 macro.
4104
4105 * sysdeps/unix/sysv/linux/netpacket/packet.h
4106 (PACKET_IGNORE_OUTGOING): New macro.
4107
4108 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
4109 macro.
4110
4111 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4112 version to 4.20.
4113 (riscv_flush_icache): New syscall.
4114
4115 * manual/texinfo.tex: Update to version 2018-12-28.17 with
4116 trailing whitespace removed.
4117 * scripts/config.guess: Update to version 2019-01-01.
4118 * scripts/config.sub: Update to version 2019-01-01.
4119 * scripts/move-if-change: Update from gnulib.
4120
4121 * NEWS: Update copyright dates.
4122 * catgets/gencat.c (print_version): Likewise.
4123 * csu/version.c (banner): Likewise.
4124 * debug/catchsegv.sh: Likewise.
4125 * debug/pcprofiledump.c (print_version): Likewise.
4126 * debug/xtrace.sh (do_version): Likewise.
4127 * elf/ldconfig.c (print_version): Likewise.
4128 * elf/ldd.bash.in: Likewise.
4129 * elf/pldd.c (print_version): Likewise.
4130 * elf/sotruss.sh: Likewise.
4131 * elf/sprof.c (print_version): Likewise.
4132 * iconv/iconv_prog.c (print_version): Likewise.
4133 * iconv/iconvconfig.c (print_version): Likewise.
4134 * locale/programs/locale.c (print_version): Likewise.
4135 * locale/programs/localedef.c (print_version): Likewise.
4136 * login/programs/pt_chown.c (print_version): Likewise.
4137 * malloc/memusage.sh (do_version): Likewise.
4138 * malloc/memusagestat.c (print_version): Likewise.
4139 * malloc/mtrace.pl: Likewise.
4140 * manual/libc.texinfo: Likewise.
4141 * nptl/version.c (banner): Likewise.
4142 * nscd/nscd.c (print_version): Likewise.
4143 * nss/getent.c (print_version): Likewise.
4144 * nss/makedb.c (print_version): Likewise.
4145 * posix/getconf.c (main): Likewise.
4146 * scripts/test-installation.pl: Likewise.
4147 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4148
4149 * All files with FSF copyright notices: Update copyright dates
4150 using scripts/update-copyrights.
4151 * locale/programs/charmap-kw.h: Regenerated.
4152 * locale/programs/locfile-kw.h: Likewise.
4153
4154 2018-12-31 Joseph Myers <joseph@codesourcery.com>
4155
4156 * timezone/zdump.c: Update from tzcode 2018i.
4157 * timezone/zic.c: Likewise.
4158
4159 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
4160
4161 regex: improve Gnulib port to AIX
4162 From the glibc point of view, this removes duplicate macro
4163 definitions and is obviously safe.
4164 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
4165 * posix/regex_internal.h:
4166 (__attribute__, __attribute_warn_unused_result__):
4167 Remove; already defined elsewhere.
4168
4169 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
4170
4171 [BZ #24027]
4172 * malloc/malloc.c (_int_realloc): Always call memcpy for the
4173 copying operation. (ncopies had the wrong type, resulting in an
4174 integer wraparound and too few elements being copied.)
4175
4176 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
4177
4178 [BZ #24022]
4179 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
4180 <asm/syscalls.h> exists with __has_include__ before including it.
4181
4182 2018-12-31 Joseph Myers <joseph@codesourcery.com>
4183
4184 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4185 version to 4.20.
4186
4187 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
4188
4189 * hurd/lookup-retry: Include <unistd.h>.
4190 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
4191 Release it on return. Handle "pid" magical lookup retry.
4192
4193 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4194
4195 [BZ #10496]
4196 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
4197 (t_fmt_ampm): Likewise.
4198 * localedata/locales/aa_ER (t_fmt): Likewise.
4199 (t_fmt_ampm): Likewise.
4200 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
4201 (t_fmt_ampm): Likewise.
4202 * localedata/locales/aa_ET (t_fmt): Likewise.
4203 (t_fmt_ampm): Likewise.
4204 * localedata/locales/am_ET (t_fmt): Likewise.
4205 (t_fmt_ampm): Likewise.
4206 * localedata/locales/byn_ER (t_fmt): Likewise.
4207 (t_fmt_ampm): Likewise.
4208 * localedata/locales/om_ET (t_fmt): Likewise.
4209 (t_fmt_ampm): Likewise.
4210 * localedata/locales/sid_ET (t_fmt): Likewise.
4211 (t_fmt_ampm): Likewise.
4212 * localedata/locales/so_DJ (t_fmt): Likewise.
4213 (t_fmt_ampm): Likewise.
4214 * localedata/locales/so_ET (t_fmt): Likewise.
4215 (t_fmt_ampm): Likewise.
4216 * localedata/locales/so_SO (t_fmt): Likewise.
4217 (t_fmt_ampm): Likewise.
4218 * localedata/locales/ti_ER (t_fmt): Likewise.
4219 (t_fmt_ampm): Likewise.
4220 * localedata/locales/ti_ET (t_fmt): Likewise.
4221 (t_fmt_ampm): Likewise.
4222 * localedata/locales/tig_ER (t_fmt): Likewise.
4223 (t_fmt_ampm): Likewise.
4224 * localedata/locales/wal_ET (t_fmt): Likewise.
4225 (t_fmt_ampm): Likewise.
4226
4227 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
4228 * localedata/locales/ar_IN (t_fmt): Likewise.
4229 * localedata/locales/bhb_IN (t_fmt): Likewise.
4230 * localedata/locales/bho_IN (t_fmt): Likewise.
4231 * localedata/locales/bi_VU (t_fmt): Likewise.
4232 * localedata/locales/bn_BD (t_fmt): Likewise.
4233 * localedata/locales/bn_IN (t_fmt): Likewise.
4234 * localedata/locales/brx_IN (t_fmt): Likewise.
4235 * localedata/locales/doi_IN (t_fmt): Likewise.
4236 * localedata/locales/en_HK (t_fmt): Likewise.
4237 (t_fmt_ampm): Likewise.
4238 * localedata/locales/en_IN (t_fmt): Likewise.
4239 * localedata/locales/en_PH (t_fmt): Likewise.
4240 * localedata/locales/gu_IN (t_fmt): Likewise.
4241 * localedata/locales/hi_IN (t_fmt): Likewise.
4242 * localedata/locales/hif_FJ (t_fmt): Likewise.
4243 * localedata/locales/hne_IN (t_fmt): Likewise.
4244 * localedata/locales/kn_IN (t_fmt): Likewise.
4245 * localedata/locales/kok_IN (t_fmt): Likewise.
4246 * localedata/locales/ks_IN (t_fmt): Likewise.
4247 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
4248 * localedata/locales/mag_IN (t_fmt): Likewise.
4249 * localedata/locales/mai_IN (t_fmt): Likewise.
4250 * localedata/locales/mjw_IN (t_fmt): Likewise.
4251 * localedata/locales/ml_IN (t_fmt): Likewise.
4252 * localedata/locales/mni_IN (t_fmt): Likewise.
4253 * localedata/locales/mr_IN (t_fmt): Likewise.
4254 * localedata/locales/ms_MY (t_fmt): Likewise.
4255 * localedata/locales/pa_IN (t_fmt): Likewise.
4256 * localedata/locales/raj_IN (t_fmt): Likewise.
4257 * localedata/locales/sa_IN (t_fmt): Likewise.
4258 * localedata/locales/sat_IN (t_fmt): Likewise.
4259 * localedata/locales/sd_IN (t_fmt): Likewise.
4260 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
4261 * localedata/locales/tcy_IN (t_fmt): Likewise.
4262 * localedata/locales/the_NP (t_fmt): Likewise.
4263 * localedata/locales/to_TO (t_fmt): Likewise.
4264 * localedata/locales/ur_IN (t_fmt): Likewise.
4265
4266 * localedata/locales/hif_FJ (d_t_fmt): Set to
4267 "%A %d %b %Y %I:%M:%S %p".
4268 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
4269
4270 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
4271 * localedata/locales/ar_BH (t_fmt): Likewise.
4272 * localedata/locales/ar_DZ (t_fmt): Likewise.
4273 * localedata/locales/ar_EG (t_fmt): Likewise.
4274 * localedata/locales/ar_IQ (t_fmt): Likewise.
4275 * localedata/locales/ar_JO (t_fmt): Likewise.
4276 * localedata/locales/ar_KW (t_fmt): Likewise.
4277 * localedata/locales/ar_LB (t_fmt): Likewise.
4278 * localedata/locales/ar_LY (t_fmt): Likewise.
4279 * localedata/locales/ar_OM (t_fmt): Likewise.
4280 * localedata/locales/ar_QA (t_fmt): Likewise.
4281 * localedata/locales/ar_SD (t_fmt): Likewise.
4282 * localedata/locales/ar_SS (t_fmt): Likewise.
4283 * localedata/locales/ar_SY (t_fmt): Likewise.
4284 * localedata/locales/ar_TN (t_fmt): Likewise.
4285 * localedata/locales/ar_YE (t_fmt): Likewise.
4286
4287 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
4288 (t_fmt_ampm): Likewise.
4289 * localedata/locales/gez_ET (t_fmt): Likewise.
4290 (t_fmt_ampm): Likewise.
4291
4292 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
4293 (t_fmt_ampm): Likewise.
4294 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
4295
4296 * localedata/locales/zh_HK (t_fmt):
4297 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
4298
4299 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
4300 because this locale does not use the 12-hour clock.
4301 (t_fmt): Set to "%Z %H:%M:%S".
4302 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
4303
4304 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
4305 because this locale does not use the 12-hour clock.
4306 (t_fmt): Set to "%H:%M:%S %Z".
4307 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
4308
4309 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
4310 because this locale does not use the 12-hour clock.
4311 (t_fmt): Set to "%T".
4312 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
4313 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
4314
4315 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
4316 because this locale does not use the 12-hour clock.
4317 (t_fmt): Set to "%H:%M:%S %Z".
4318 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
4319
4320 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
4321 because this locale does not use the 12-hour clock.
4322 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
4323 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
4324
4325 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4326
4327 [BZ #10496]
4328 [BZ #23724]
4329 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
4330 (t_fmt_ampm): Likewise.
4331 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
4332 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
4333 (d_fmt): Set to "%-d.%-m.%y".
4334
4335 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4336
4337 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
4338 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
4339 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
4340 Likewise.
4341 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
4342 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
4343 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
4344 function.
4345 * support/blob_repeat.c (check_mul_overflow_size_t,
4346 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
4347
4348 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
4349
4350 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
4351
4352 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
4353
4354 regex: simplify Gnulib port
4355 This simplifies the code, by removing stuff intended for porting
4356 to Gnulib but no longer needed there.
4357 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
4358 uses of libc_hidden_def, weak_alias.
4359 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
4360 _Restrict_ except for public-facing headers.
4361 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
4362 Remove; already defined elsewhere.
4363 * posix/regex.c, posix/regex_internal.h:
4364 Use __GNUC_PREREQ instead of rolling our own.
4365 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
4366
4367 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
4368
4369 * benchtests/bench-strlen.c (generic_strlen): New function.
4370 (memchr_strlen): New function.
4371
4372 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4373
4374 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
4375 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
4376 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
4377
4378 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4379
4380 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4381
4382 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4383
4384 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
4385 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
4386 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
4387 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
4388 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
4389 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
4390 <sysdeps/ieee754/flt-32/s_sincosf.c>.
4391
4392 2018-12-21 Joseph Myers <joseph@codesourcery.com>
4393
4394 [BZ #24023]
4395 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
4396 PLT reference in libc.so.
4397 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
4398 _Q_lltoq and _Q_qtod PLT references in libc.so.
4399
4400 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
4401
4402 * benchtests/bench-memchr.c: Cleanup defines.
4403 * benchtests/bench-memcmp.c: Likewise.
4404 * benchtests/bench-memset.c: Likewise.
4405 * benchtests/bench-memset-large.c: Likewise.
4406 * benchtests/bench-memset-walk.c: Likewise.
4407 * benchtests/bench-stpcpy.c: Likewise.
4408 * benchtests/bench-stpncpy.c: Likewise.
4409 * benchtests/bench-strcat.c: Likewise.
4410 * benchtests/bench-strchr.c: Likewise.
4411 * benchtests/bench-strcmp.c: Likewise.
4412 * benchtests/bench-strcpy.c: Likewise.
4413 * benchtests/bench-strcspn.c: Likewise.
4414 * benchtests/bench-string.h: Likewise.
4415 * benchtests/bench-strlen.c: Likewise.
4416 * benchtests/bench-strncat.c: Likewise.
4417 * benchtests/bench-strncmp.c: Likewise.
4418 * benchtests/bench-strncpy.c: Likewise.
4419 * benchtests/bench-strnlen.c: Likewise.
4420 * benchtests/bench-strpbrk.c: Likewise.
4421 * benchtests/bench-strrchr.c: Likewise.
4422 * benchtests/bench-strspn.c: Likewise.
4423
4424 2018-12-21 Joseph Myers <joseph@codesourcery.com>
4425
4426 * stdlib/longlong.h: Update from GCC.
4427
4428 [BZ #23993]
4429 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
4430 * configure: Regenerated.
4431 * manual/install.texi (Tools for Compilation): Update minimum GCC
4432 version.
4433 * INSTALL: Regenerated.
4434
4435 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
4436
4437 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
4438
4439 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
4440
4441 * malloc/malloc.c (mremap_chunk): Additional checks.
4442
4443 2018-12-21 Mao Han <han_mao@c-sky.com>
4444
4445 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
4446 * scripts/build-many-glibcs.py: Add C-SKY targets.
4447 * sysdeps/csky/Implies: New file.
4448 * sysdeps/csky/Makefile: Likewise.
4449 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
4450 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
4451 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
4452 * sysdeps/csky/abiv2/memcmp.S: Likewise.
4453 * sysdeps/csky/abiv2/memcpy.S: Likewise.
4454 * sysdeps/csky/abiv2/memmove.S: Likewise.
4455 * sysdeps/csky/abiv2/memset.S: Likewise.
4456 * sysdeps/csky/abiv2/setjmp.S: Likewise.
4457 * sysdeps/csky/abiv2/start.S: Likewise.
4458 * sysdeps/csky/abiv2/strcmp.S: Likewise.
4459 * sysdeps/csky/abiv2/strcpy.S: Likewise.
4460 * sysdeps/csky/abiv2/strlen.S: Likewise.
4461 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
4462 * sysdeps/csky/abort-instr.h: Likewise.
4463 * sysdeps/csky/atomic-machine.h: Likewise.
4464 * sysdeps/csky/bits/endian.h: Likewise.
4465 * sysdeps/csky/bits/fenv.h: Likewise.
4466 * sysdeps/csky/bits/link.h: Likewise.
4467 * sysdeps/csky/bits/setjmp.h: Likewise.
4468 * sysdeps/csky/bsd-_setjmp.S: Likewise.
4469 * sysdeps/csky/bsd-setjmp.S: Likewise.
4470 * sysdeps/csky/configure: Likewise.
4471 * sysdeps/csky/configure.ac: Likewise.
4472 * sysdeps/csky/dl-machine.h: Likewise.
4473 * sysdeps/csky/dl-procinfo.c: Likewise.
4474 * sysdeps/csky/dl-procinfo.h: Likewise.
4475 * sysdeps/csky/dl-sysdep.h: Likewise.
4476 * sysdeps/csky/dl-tls.h: Likewise.
4477 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
4478 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
4479 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
4480 * sysdeps/csky/fpu/fegetenv.c: Likewise.
4481 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
4482 * sysdeps/csky/fpu/fegetmode.c: Likewise.
4483 * sysdeps/csky/fpu/fegetround.c: Likewise.
4484 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
4485 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
4486 * sysdeps/csky/fpu/fenv_private.h: Likewise.
4487 * sysdeps/csky/fpu/fesetenv.c: Likewise.
4488 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
4489 * sysdeps/csky/fpu/fesetmode.c: Likewise.
4490 * sysdeps/csky/fpu/fesetround.c: Likewise.
4491 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
4492 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
4493 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
4494 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
4495 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
4496 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
4497 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
4498 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
4499 * sysdeps/csky/fpu_control.h: Likewise.
4500 * sysdeps/csky/gccframe.h: Likewise.
4501 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
4502 * sysdeps/csky/ldsodefs.h: Likewise.
4503 * sysdeps/csky/libc-tls.c: Likewise.
4504 * sysdeps/csky/linkmap.h: Likewise.
4505 * sysdeps/csky/machine-gmon.h: Likewise.
4506 * sysdeps/csky/memusage.h: Likewise.
4507 * sysdeps/csky/nofpu/Implies: Likewise.
4508 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
4509 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
4510 * sysdeps/csky/nptl/Makefile: Likewise.
4511 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
4512 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
4513 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
4514 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
4515 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
4516 * sysdeps/csky/nptl/tls.h: Likewise.
4517 * sysdeps/csky/preconfigure: Likewise.
4518 * sysdeps/csky/sfp-machine.h: Likewise.
4519 * sysdeps/csky/sotruss-lib.c: Likewise.
4520 * sysdeps/csky/stackinfo.h: Likewise.
4521 * sysdeps/csky/sysdep.h: Likewise.
4522 * sysdeps/csky/tininess.h: Likewise.
4523 * sysdeps/csky/tst-audit.h: Likewise.
4524 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
4525 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
4526 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
4527 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
4528 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4529 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
4530 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4531 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
4532 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
4533 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
4534 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
4535 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
4536 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
4537 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
4538 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
4539 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
4540 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
4541 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
4542 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
4543 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
4544 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
4545 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
4546 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
4547 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4548 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
4549 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
4550 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
4551 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
4552 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
4553 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
4554 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
4555 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
4556 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
4557 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
4558 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
4559 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
4560 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
4561 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
4562 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
4563 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
4564 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
4565 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
4566 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
4567 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
4568
4569 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
4570
4571 * include/time.h (__difftime64): Add.
4572 * time/difftime.c (subtract): convert to 64-bit time.
4573 * time/difftime.c (__difftime64): Add.
4574 * time/difftime.c (__difftime): Wrap around __difftime64.
4575
4576 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
4577
4578 * manual/examples/add.c: Remove redundant "if not".
4579 * manual/examples/argp-ex1.c: Likewise.
4580 * manual/examples/argp-ex2.c: Likewise.
4581 * manual/examples/argp-ex3.c: Likewise.
4582 * manual/examples/argp-ex4.c: Likewise.
4583 * manual/examples/atexit.c: Likewise.
4584 * manual/examples/db.c: Likewise.
4585 * manual/examples/dir.c: Likewise.
4586 * manual/examples/dir2.c: Likewise.
4587 * manual/examples/execinfo.c: Likewise.
4588 * manual/examples/filecli.c: Likewise.
4589 * manual/examples/filesrv.c: Likewise.
4590 * manual/examples/fmtmsgexpl.c: Likewise.
4591 * manual/examples/genpass.c: Likewise.
4592 * manual/examples/inetcli.c: Likewise.
4593 * manual/examples/inetsrv.c: Likewise.
4594 * manual/examples/isockad.c: Likewise.
4595 * manual/examples/longopt.c: Likewise.
4596 * manual/examples/memopen.c: Likewise.
4597 * manual/examples/memstrm.c: Likewise.
4598 * manual/examples/mkdirent.c: Likewise.
4599 * manual/examples/mkfsock.c: Likewise.
4600 * manual/examples/mkisock.c: Likewise.
4601 * manual/examples/mygetpass.c: Likewise.
4602 * manual/examples/pipe.c: Likewise.
4603 * manual/examples/popen.c: Likewise.
4604 * manual/examples/rprintf.c: Likewise.
4605 * manual/examples/search.c: Likewise.
4606 * manual/examples/select.c: Likewise.
4607 * manual/examples/setjmp.c: Likewise.
4608 * manual/examples/sigh1.c: Likewise.
4609 * manual/examples/sigusr.c: Likewise.
4610 * manual/examples/stpcpy.c: Likewise.
4611 * manual/examples/strdupa.c: Likewise.
4612 * manual/examples/strftim.c: Likewise.
4613 * manual/examples/subopt.c: Likewise.
4614 * manual/examples/swapcontext.c: Likewise.
4615 * manual/examples/termios.c: Likewise.
4616 * manual/examples/testopt.c: Likewise.
4617 * manual/examples/testpass.c: Likewise.
4618 * manual/examples/timeval_subtract.c: Likewise.
4619
4620 2018-12-19 Joseph Myers <joseph@codesourcery.com>
4621
4622 * sysdeps/x86/fpu/math_private.h: New file.
4623 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
4624
4625 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
4626 definition.
4627 (cosh): Likewise.
4628 (tanh): Likewise.
4629
4630 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4631
4632 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
4633 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
4634 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
4635 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
4636 fields.
4637 (_dl_show_auxv): Give a special treatment to
4638 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
4639 and AT_L3_CACHEGEOMETRY.
4640 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
4641 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
4642 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
4643 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
4644
4645 2018-12-19 Andreas Schwab <schwab@suse.de>
4646
4647 * nscd/connections.c (check_use): Don't abort on invalid len.
4648
4649 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
4650
4651 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
4652 values in the 64bit value cases.
4653
4654 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
4655
4656 * include/time.h
4657 (__ctime64_r): Add.
4658 * time/ctime_r.c
4659 (__ctime64_r): Add.
4660 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
4661
4662 * include/time.h
4663 (__ctime64): Add.
4664 * time/gmtime.c
4665 (__ctime64): Add.
4666 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
4667
4668 * include/time.h
4669 (__gmtime64_r): Add.
4670 * time/gmtime.c
4671 (__gmtime64_r): Add.
4672 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4673
4674 * include/time.h
4675 (__gmtime64): Add.
4676 * time/gmtime.c
4677 (__gmtime64): Add.
4678 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4679
4680 * include/time.h
4681 (__localtime64_r): Add.
4682 * time/localtime.c
4683 (__localtime64_r): Add.
4684 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
4685
4686 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4687
4688 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
4689 kernel_sigction definition.
4690
4691 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
4692
4693 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
4694
4695 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
4696 __syscall_rt_sigaction.
4697 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
4698 (kernel_sigaction): Use Linux generic defintion.
4699 (STUB): Define.
4700 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
4701 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
4702 (__syscall_rt_sigaction): Remove implementation.
4703 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
4704 hidden.
4705 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
4706 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
4707 INTERNAL_SYSCALL): Remove definitions.
4708 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
4709 action and signal set size.
4710 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
4711 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
4712
4713 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4714 James Clarke <jrtc27@jrtc27.com>
4715
4716 [BZ #23967]
4717 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
4718 Define if SA_RESTORER is defined.
4719 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
4720 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
4721 already defined.
4722 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
4723 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
4724 definitions.
4725 (HAS_SA_RESTORER): Define.
4726 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
4727 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
4728 (HAS_SA_RESTORER): Define.
4729 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
4730 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
4731 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
4732 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
4733 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4734
4735 2018-12-18 Joseph Myers <joseph@codesourcery.com>
4736
4737 * sysdeps/unix/sysv/linux/kernel-features.h
4738 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
4739 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4740 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
4741 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4742 (__ASSUME_ST_INO_64_BIT): Likewise.
4743 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4744 <kernel-features.h>.
4745 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4746 Remove conditional code.
4747 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4748 <kernel-features.h>.
4749 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4750 Remove conditional code.
4751 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
4752 <kernel-features.h>.
4753 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4754 Remove conditional code.
4755 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
4756 <kernel-features.h>.
4757 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
4758 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
4759
4760 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4761
4762 * sysdeps/s390/multiarch/ifunc-resolve.h
4763 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
4764 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
4765 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
4766 Delete macro definition.
4767 (s390_libc_ifunc_init): Rename to
4768 s390_libc_ifunc_expr_stfle_init.
4769 * sysdeps/s390/bzero: Use
4770 s390_libc_ifunc_expr_stfle_init instead of
4771 s390_libc_ifunc_init.
4772 * sysdeps/s390/memcmp.c: Likewise.
4773 * sysdeps/s390/memcpy.c: Likewise.
4774 * sysdeps/s390/mempcpy.c: Likewise.
4775 * sysdeps/s390/memset.c: Likewise.
4776
4777 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4778
4779 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
4780 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
4781
4782 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4783
4784 * sysdeps/s390/multiarch/Makefile
4785 (sysdep_routines): Remove wmemcmp variants.
4786 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
4787 * sysdeps/s390/multiarch/ifunc-impl-list.c
4788 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
4789 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
4790 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
4791 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
4792 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
4793 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
4794 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
4795 * sysdeps/s390/ifunc-wmemcmp.h: New file.
4796
4797 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4798
4799 * sysdeps/s390/multiarch/Makefile
4800 (sysdep_routines): Remove wmemset variants.
4801 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
4802 * sysdeps/s390/multiarch/ifunc-impl-list.c
4803 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
4804 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
4805 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
4806 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
4807 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
4808 * sysdeps/s390/multiarch/wmemset.c: Move to ...
4809 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
4810 * sysdeps/s390/ifunc-wmemset.h: New file.
4811
4812 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4813
4814 * sysdeps/s390/multiarch/Makefile
4815 (sysdep_routines): Remove wmemchr variants.
4816 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
4817 * sysdeps/s390/multiarch/ifunc-impl-list.c
4818 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
4819 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
4820 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
4821 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
4822 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
4823 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
4824 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
4825 * sysdeps/s390/ifunc-wmemchr.h: New file.
4826
4827 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4828
4829 * sysdeps/s390/multiarch/Makefile
4830 (sysdep_routines): Remove wcscspn variants.
4831 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
4832 * sysdeps/s390/multiarch/ifunc-impl-list.c
4833 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
4834 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
4835 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
4836 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
4837 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
4838 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
4839 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
4840 * sysdeps/s390/ifunc-wcscspn.h: New file.
4841
4842 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4843
4844 * sysdeps/s390/multiarch/Makefile
4845 (sysdep_routines): Remove wcspbrk variants.
4846 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
4847 * sysdeps/s390/multiarch/ifunc-impl-list.c
4848 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
4849 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
4850 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
4851 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
4852 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
4853 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
4854 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
4855 * sysdeps/s390/ifunc-wcspbrk.h: New file.
4856
4857 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4858
4859 * sysdeps/s390/multiarch/Makefile
4860 (sysdep_routines): Remove wcsspn variants.
4861 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
4862 * sysdeps/s390/multiarch/ifunc-impl-list.c
4863 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
4864 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
4865 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
4866 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
4867 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
4868 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
4869 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
4870 * sysdeps/s390/ifunc-wcsspn.h: New file.
4871
4872 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4873
4874 * sysdeps/s390/multiarch/Makefile
4875 (sysdep_routines): Remove wcsrchr variants.
4876 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
4877 * sysdeps/s390/multiarch/ifunc-impl-list.c
4878 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
4879 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
4880 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
4881 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
4882 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
4883 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
4884 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
4885 * sysdeps/s390/ifunc-wcsrchr.h: New file.
4886
4887 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4888
4889 * sysdeps/s390/multiarch/Makefile
4890 (sysdep_routines): Remove wcschrnul variants.
4891 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
4892 * sysdeps/s390/multiarch/ifunc-impl-list.c
4893 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
4894 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
4895 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
4896 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
4897 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
4898 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
4899 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
4900 * sysdeps/s390/ifunc-wcschrnul.h: New file.
4901
4902 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4903
4904 * sysdeps/s390/multiarch/Makefile
4905 (sysdep_routines): Remove wcschr variants.
4906 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
4907 * sysdeps/s390/multiarch/ifunc-impl-list.c
4908 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
4909 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
4910 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
4911 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
4912 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
4913 * sysdeps/s390/multiarch/wcschr.c: Move to ...
4914 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
4915 * sysdeps/s390/ifunc-wcschr.h: New file.
4916
4917 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4918
4919 * sysdeps/s390/multiarch/Makefile
4920 (sysdep_routines): Remove wcsncmp variants.
4921 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
4922 * sysdeps/s390/multiarch/ifunc-impl-list.c
4923 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
4924 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
4925 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
4926 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
4927 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
4928 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
4929 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
4930 * sysdeps/s390/ifunc-wcsncmp.h: New file.
4931
4932 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4933
4934 * sysdeps/s390/multiarch/Makefile
4935 (sysdep_routines): Remove wcscmp variants.
4936 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
4937 * sysdeps/s390/multiarch/ifunc-impl-list.c
4938 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
4939 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
4940 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
4941 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
4942 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
4943 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
4944 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
4945 * sysdeps/s390/ifunc-wcscmp.h: New file.
4946
4947 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4948
4949 * sysdeps/s390/multiarch/Makefile
4950 (sysdep_routines): Remove wcsncat variants.
4951 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
4952 * sysdeps/s390/multiarch/ifunc-impl-list.c
4953 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
4954 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
4955 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
4956 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
4957 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
4958 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
4959 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
4960 * sysdeps/s390/ifunc-wcsncat.h: New file.
4961
4962 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4963
4964 * sysdeps/s390/multiarch/Makefile
4965 (sysdep_routines): Remove wcscat variants.
4966 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
4967 * sysdeps/s390/multiarch/ifunc-impl-list.c
4968 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
4969 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
4970 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
4971 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
4972 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
4973 * sysdeps/s390/multiarch/wcscat.c: Move to ...
4974 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
4975 * sysdeps/s390/ifunc-wcscat.h: New file.
4976
4977 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4978
4979 * sysdeps/s390/multiarch/Makefile
4980 (sysdep_routines): Remove wcpncpy variants.
4981 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
4982 * sysdeps/s390/multiarch/ifunc-impl-list.c
4983 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
4984 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
4985 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
4986 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
4987 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
4988 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
4989 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
4990 * sysdeps/s390/ifunc-wcpncpy.h: New file.
4991
4992 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4993
4994 * sysdeps/s390/multiarch/Makefile
4995 (sysdep_routines): Remove wcsncpy variants.
4996 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
4997 * sysdeps/s390/multiarch/ifunc-impl-list.c
4998 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
4999 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
5000 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
5001 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
5002 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
5003 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
5004 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
5005 * sysdeps/s390/ifunc-wcsncpy.h: New file.
5006
5007 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5008
5009 * sysdeps/s390/multiarch/Makefile
5010 (sysdep_routines): Remove wcpcpy variants.
5011 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
5012 * sysdeps/s390/multiarch/ifunc-impl-list.c
5013 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
5014 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
5015 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
5016 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
5017 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
5018 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
5019 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
5020 * sysdeps/s390/ifunc-wcpcpy.h: New file.
5021
5022 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5023
5024 * sysdeps/s390/multiarch/Makefile
5025 (sysdep_routines): Remove wcscpy variants.
5026 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
5027 * sysdeps/s390/multiarch/ifunc-impl-list.c
5028 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
5029 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
5030 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
5031 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
5032 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
5033 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
5034 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
5035 * sysdeps/s390/ifunc-wcscpy.h: New file.
5036
5037 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5038
5039 * sysdeps/s390/multiarch/Makefile
5040 (sysdep_routines): Remove wcsnlen variants.
5041 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
5042 * sysdeps/s390/multiarch/ifunc-impl-list.c
5043 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
5044 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
5045 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
5046 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
5047 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
5048 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
5049 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
5050 * sysdeps/s390/ifunc-wcsnlen.h: New file.
5051
5052 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5053
5054 * sysdeps/s390/multiarch/Makefile
5055 (sysdep_routines): Remove wcslen variants.
5056 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
5057 * sysdeps/s390/multiarch/ifunc-impl-list.c
5058 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
5059 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
5060 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
5061 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
5062 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
5063 * sysdeps/s390/multiarch/wcslen.c: Move to ...
5064 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
5065 * sysdeps/s390/ifunc-wcslen.h: New file.
5066
5067 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5068
5069 * sysdeps/s390/multiarch/Makefile
5070 (sysdep_routines): Remove memrchr variants.
5071 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
5072 * sysdeps/s390/multiarch/ifunc-impl-list.c
5073 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
5074 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
5075 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
5076 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
5077 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
5078 * sysdeps/s390/multiarch/memrchr.c: Move to ...
5079 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
5080 * sysdeps/s390/ifunc-memrchr.h: New file.
5081
5082 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5083
5084 * sysdeps/s390/multiarch/Makefile
5085 (sysdep_routines): Remove memccpy variants.
5086 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
5087 * sysdeps/s390/multiarch/ifunc-impl-list.c
5088 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
5089 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
5090 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
5091 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
5092 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
5093 * sysdeps/s390/multiarch/memccpy.c: Move to ...
5094 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
5095 * sysdeps/s390/ifunc-memccpy.h: New file.
5096
5097 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5098
5099 * sysdeps/s390/multiarch/Makefile
5100 (sysdep_routines): Remove rawmemchr variants.
5101 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
5102 * sysdeps/s390/multiarch/ifunc-impl-list.c
5103 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
5104 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
5105 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
5106 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
5107 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
5108 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
5109 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
5110 * sysdeps/s390/ifunc-rawmemchr.h: New file.
5111
5112 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5113
5114 * sysdeps/s390/multiarch/Makefile
5115 (sysdep_routines): Remove memchr variants.
5116 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
5117 * sysdeps/s390/multiarch/ifunc-impl-list.c
5118 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
5119 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
5120 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
5121 * sysdeps/s390/multiarch/memchr.c: Move to ...
5122 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
5123 * sysdeps/s390/ifunc-memchr.h: New file.
5124 * sysdeps/s390/s390-64/memchr.S: Move to ...
5125 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
5126 for 31/64bit and ifunc handling.
5127 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
5128 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
5129 * sysdeps/s390/s390-32/memchr.S: Likewise.
5130
5131 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5132
5133 * sysdeps/s390/multiarch/Makefile
5134 (sysdep_routines): Remove strcspn variants.
5135 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
5136 * sysdeps/s390/multiarch/ifunc-impl-list.c
5137 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
5138 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
5139 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
5140 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
5141 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
5142 * sysdeps/s390/multiarch/strcspn.c: Move to ...
5143 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
5144 * sysdeps/s390/ifunc-strcspn.h: New file.
5145
5146 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5147
5148 * sysdeps/s390/multiarch/Makefile
5149 (sysdep_routines): Remove strpbrk variants.
5150 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
5151 * sysdeps/s390/multiarch/ifunc-impl-list.c
5152 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
5153 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
5154 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
5155 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
5156 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
5157 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
5158 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
5159 * sysdeps/s390/ifunc-strpbrk.h: New file.
5160
5161 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5162
5163 * sysdeps/s390/multiarch/Makefile
5164 (sysdep_routines): Remove strspn variants.
5165 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
5166 * sysdeps/s390/multiarch/ifunc-impl-list.c
5167 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
5168 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
5169 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
5170 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
5171 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
5172 * sysdeps/s390/multiarch/strspn.c: Move to ...
5173 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
5174 * sysdeps/s390/ifunc-strspn.h: New file.
5175
5176 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5177
5178 * sysdeps/s390/multiarch/Makefile
5179 (sysdep_routines): Remove strrchr variants.
5180 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
5181 * sysdeps/s390/multiarch/ifunc-impl-list.c
5182 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
5183 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
5184 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
5185 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
5186 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
5187 * sysdeps/s390/multiarch/strrchr.c: Move to ...
5188 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
5189 * sysdeps/s390/ifunc-strrchr.h: New file.
5190
5191 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5192
5193 * sysdeps/s390/multiarch/Makefile
5194 (sysdep_routines): Remove strchrnul variants.
5195 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
5196 * sysdeps/s390/multiarch/ifunc-impl-list.c
5197 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
5198 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
5199 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
5200 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
5201 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
5202 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
5203 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
5204 * sysdeps/s390/ifunc-strchrnul.h: New file.
5205
5206 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5207
5208 * sysdeps/s390/multiarch/Makefile
5209 (sysdep_routines): Remove strchr variants.
5210 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
5211 * sysdeps/s390/multiarch/ifunc-impl-list.c
5212 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
5213 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
5214 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
5215 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
5216 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
5217 * sysdeps/s390/multiarch/strchr.c: Move to ...
5218 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
5219 * sysdeps/s390/ifunc-strchr.h: New file.
5220
5221 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5222
5223 * sysdeps/s390/multiarch/Makefile
5224 (sysdep_routines): Remove strncmp variants.
5225 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
5226 * sysdeps/s390/multiarch/ifunc-impl-list.c
5227 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
5228 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
5229 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
5230 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
5231 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
5232 * sysdeps/s390/multiarch/strncmp.c: Move to ...
5233 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
5234 * sysdeps/s390/ifunc-strncmp.h: New file.
5235
5236 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5237
5238 * sysdeps/s390/multiarch/Makefile
5239 (sysdep_routines): Remove strcmp variants.
5240 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
5241 * sysdeps/s390/multiarch/ifunc-impl-list.c
5242 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
5243 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
5244 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
5245 * sysdeps/s390/multiarch/strcmp.c: Move to ...
5246 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
5247 * sysdeps/s390/ifunc-strcmp.h: New file.
5248 * sysdeps/s390/s390-64/strcmp.S: Move to ...
5249 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
5250 for 31/64bit and ifunc handling.
5251 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
5252 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5253 * sysdeps/s390/s390-32/strcmp.S: Likewise.
5254
5255 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5256
5257 * sysdeps/s390/multiarch/Makefile
5258 (sysdep_routines): Remove strncat variants.
5259 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
5260 * sysdeps/s390/multiarch/ifunc-impl-list.c
5261 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
5262 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
5263 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
5264 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
5265 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
5266 * sysdeps/s390/multiarch/strncat.c: Move to ...
5267 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
5268 * sysdeps/s390/ifunc-strncat.h: New file.
5269
5270 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5271
5272 * sysdeps/s390/multiarch/Makefile
5273 (sysdep_routines): Remove strcat variants.
5274 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
5275 * sysdeps/s390/multiarch/ifunc-impl-list.c
5276 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
5277 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
5278 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
5279 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
5280 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
5281 * sysdeps/s390/multiarch/strcat.c: Move to ...
5282 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
5283 * sysdeps/s390/ifunc-strcat.h: New file.
5284
5285 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5286
5287 * sysdeps/s390/multiarch/Makefile
5288 (sysdep_routines): Remove stpncpy variants.
5289 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
5290 * sysdeps/s390/multiarch/ifunc-impl-list.c
5291 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
5292 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
5293 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
5294 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
5295 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
5296 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
5297 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
5298 * sysdeps/s390/ifunc-stpncpy.h: New file.
5299
5300 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5301
5302 * sysdeps/s390/multiarch/Makefile
5303 (sysdep_routines): Remove strncpy variants.
5304 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
5305 * sysdeps/s390/multiarch/ifunc-impl-list.c
5306 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
5307 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
5308 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
5309 * sysdeps/s390/multiarch/strncpy.c: Move to ...
5310 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
5311 * sysdeps/s390/ifunc-strncpy.h: New file.
5312 * sysdeps/s390/s390-64/strncpy.S: Move to ...
5313 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
5314 and adjust ifunc handling.
5315 * sysdeps/s390/s390-32/strncpy.S: Move to ...
5316 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
5317 and adjust ifunc handling.
5318 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
5319 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5320
5321 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5322
5323 * sysdeps/s390/multiarch/Makefile
5324 (sysdep_routines): Remove stpcpy variants.
5325 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
5326 * sysdeps/s390/multiarch/ifunc-impl-list.c
5327 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
5328 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
5329 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
5330 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
5331 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
5332 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
5333 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
5334 * sysdeps/s390/ifunc-stpcpy.h: New file.
5335
5336 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5337
5338 * sysdeps/s390/multiarch/Makefile
5339 (sysdep_routines): Remove strcpy variants.
5340 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
5341 * sysdeps/s390/multiarch/ifunc-impl-list.c
5342 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
5343 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
5344 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
5345 * sysdeps/s390/multiarch/strcpy.c: Move to ...
5346 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
5347 * sysdeps/s390/ifunc-strcpy.h: New file.
5348 * sysdeps/s390/s390-64/strcpy.S: Move to ...
5349 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
5350 for 31/64bit and ifunc handling.
5351 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
5352 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
5353 * sysdeps/s390/s390-32/strcpy.S: Likewise.
5354
5355 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5356
5357 * sysdeps/s390/multiarch/Makefile
5358 (sysdep_routines): Remove strnlen variants.
5359 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
5360 * sysdeps/s390/multiarch/ifunc-impl-list.c
5361 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
5362 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
5363 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
5364 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
5365 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
5366 * sysdeps/s390/multiarch/strnlen.c: Move to ...
5367 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
5368 * sysdeps/s390/ifunc-strnlen.h: New file.
5369
5370 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5371
5372 * sysdeps/s390/multiarch/Makefile
5373 (sysdep_routines): Remove strlen variants.
5374 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
5375 * sysdeps/s390/multiarch/ifunc-impl-list.c
5376 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
5377 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
5378 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
5379 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
5380 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
5381 * sysdeps/s390/multiarch/strlen.c: Move to ...
5382 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
5383 * sysdeps/s390/ifunc-strlen.h: New file.
5384
5385 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5386
5387 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
5388 * sysdeps/s390/multiarch/ifunc-impl-list.c
5389 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
5390 * sysdeps/s390/ifunc-memmem.h: New file.
5391 * sysdeps/s390/memmem.c: Likewise.
5392 * sysdeps/s390/memmem-c.c: Likewise.
5393 * sysdeps/s390/memmem-vx.c: Likewise.
5394
5395 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5396
5397 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
5398 * sysdeps/s390/multiarch/ifunc-impl-list.c
5399 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
5400 * sysdeps/s390/ifunc-strstr.h: New file.
5401 * sysdeps/s390/strstr.c: Likewise.
5402 * sysdeps/s390/strstr-c.c: Likewise.
5403 * sysdeps/s390/strstr-vx.c: Likewise.
5404
5405 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5406
5407 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
5408 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
5409 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
5410 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
5411 New defines.
5412 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
5413 * sysdeps/s390/memmove-c.c: New file.
5414 * sysdeps/s390/memmove.c: Likewise.
5415 * sysdeps/s390/multiarch/ifunc-impl-list.c
5416 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
5417
5418 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5419
5420 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
5421 * sysdeps/s390/configure.ac: Add check for z13 support.
5422 * sysdeps/s390/configure: Regenerated.
5423
5424 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5425
5426 * sysdeps/s390/memcopy.h: New file.
5427
5428 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5429
5430 * sysdeps/s390/s390-32/bcopy.S: Remove.
5431 * sysdeps/s390/s390-64/bcopy.S: Likewise.
5432
5433 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5434
5435 * sysdeps/s390/ifunc-memcpy.h: New File.
5436 * sysdeps/s390/memcpy.S: Move to ...
5437 * sysdeps/s390/memcpy-z900.S ... here.
5438 Move implementations from memcpy-s390x.s to here.
5439 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
5440 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5441 Remove memcpy/mempcpy variants.
5442 * sysdeps/s390/Makefile (sysdep_routines):
5443 Add memcpy/mempcpy variants.
5444 * sysdeps/s390/multiarch/ifunc-impl-list.c
5445 (__libc_ifunc_impl_list): Adjust ifunc variants for
5446 memcpy and mempcpy.
5447 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
5448 to ...
5449 * sysdeps/s390/memcpy.c: ... here.
5450 Adjust ifunc variants for memcpy.
5451 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
5452 * sysdeps/s390/mempcpy.c: ... here.
5453 Adjust ifunc variants for mempcpy.
5454 * sysdeps/s390/mempcpy.S: Delete file.
5455
5456 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5457
5458 * sysdeps/s390/s390-64/memcpy.S: Move to ...
5459 * sysdeps/s390/memcpy.S: ... here.
5460 Adjust to be usable for 31/64bit.
5461 * sysdeps/s390/s390-32/memcpy.S: Delete File.
5462 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
5463 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
5464 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5465 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
5466 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
5467 Adjust to be usable for 31/64bit.
5468 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
5469 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
5470 * sysdeps/s390/multiarch/memcpy.c: ... here.
5471 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
5472
5473 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5474
5475 * sysdeps/s390/ifunc-memcmp.h: New File.
5476 * sysdeps/s390/memcmp.S: Move to ...
5477 * sysdeps/s390/memcmp-z900.S ... here.
5478 Move implementations from memcmp-s390x.s to here.
5479 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
5480 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5481 Remove memcmp variants.
5482 * sysdeps/s390/Makefile (sysdep_routines):
5483 Add memcmp variants.
5484 * sysdeps/s390/multiarch/ifunc-impl-list.c
5485 (__libc_ifunc_impl_list): Adjust ifunc variants for
5486 memcmp.
5487 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
5488 to ...
5489 * sysdeps/s390/memcmp.c: ... here.
5490 Adjust ifunc variants for memcmp.
5491
5492 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5493
5494 * sysdeps/s390/s390-64/memcmp.S: Move to ...
5495 * sysdeps/s390/memcmp.S: ... here.
5496 Adjust to be usable for 31/64bit.
5497 * sysdeps/s390/s390-32/memcmp.S: Delete File.
5498 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
5499 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5500 Remove memcmp.
5501 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5502 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
5503 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
5504 Adjust to be usable for 31/64bit.
5505 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
5506 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
5507 * sysdeps/s390/multiarch/memcmp.c: ... here.
5508 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
5509
5510 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5511
5512 * sysdeps/s390/s390-32/bzero.S: Delete file.
5513 * sysdeps/s390/s390-64/bzero.S: Likewise.
5514 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
5515 * sysdeps/s390/bzero.c: New file.
5516 * sysdeps/s390/memset-z900.S: Add bzero entry points.
5517 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
5518 * sysdeps/s390/multiarch/ifunc-impl-list.c
5519 (__libc_ifunc_impl_list): Add bzero ifunc variants.
5520
5521 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5522
5523 * sysdeps/s390/ifunc-memset.h: New File.
5524 * sysdeps/s390/memset.S: Move to ...
5525 * sysdeps/s390/memset-z900.S ... here.
5526 Move implementations from memset-s390x.s to here.
5527 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
5528 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5529 Remove memset variants.
5530 * sysdeps/s390/Makefile (sysdep_routines):
5531 Add memset variants.
5532 * sysdeps/s390/multiarch/ifunc-impl-list.c
5533 (__libc_ifunc_impl_list): Adjust ifunc variants for
5534 memset.
5535 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
5536 to ...
5537 * sysdeps/s390/memset.c: ... here.
5538 Adjust ifunc variants for memset.
5539
5540 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5541
5542 * sysdeps/s390/s390-64/memset.S: Move to ...
5543 * sysdeps/s390/memset.S: ... here.
5544 Adjust to be usable for 31/64bit.
5545 * sysdeps/s390/s390-32/memset.S: Delete File.
5546 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
5547 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5548 Remove memset.
5549 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5550 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
5551 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
5552 Adjust to be usable for 31/64bit.
5553 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
5554 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
5555 * sysdeps/s390/multiarch/memset.c: ... here.
5556 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
5557
5558 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5559
5560 * sysdeps/s390/multiarch/ifunc-resolve.h
5561 (s390_libc_ifunc_init, s390_libc_ifunc,
5562 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
5563
5564 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5565
5566 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
5567 * sysdeps/s390/configure.ac: Add check for z10 support.
5568 * sysdeps/s390/configure: Regenerated.
5569
5570 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
5571
5572 * sysdeps/i386/atomic-machine.h: Merged with ...
5573 * sysdeps/x86_64/atomic-machine.h: To ...
5574 * sysdeps/x86/atomic-machine.h: This. New file.
5575
5576 2018-12-18 Florian Weimer <fweimer@redhat.com>
5577
5578 Rewrite locale/gen-translit.pl in Python.
5579 * locale/Makefile (generated): Add C-translit.h.
5580 (before-compile): Add $(objpfx)C-translit.h.
5581 (C-translit.h): Move to $(objpfx). Create target directory.
5582 Build using Python script.
5583 * locale/gen-translit.py: New file.
5584 * locale/gen-translit.pl: Remove file.
5585 * locale/C-translit.h.in: Change comment character to '#' for
5586 easier parsing without a C preprocessor.
5587 * locale/C-translit.h: Remove generated file.
5588 * manual/install.texi (Tools for Compilation): Do not mention
5589 C-translit.h.
5590 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5591 Remove locale/C-translit.h.
5592 * scripts/update-copyrights: Likewise.
5593 * INSTALL: Regenerate.
5594
5595 2018-12-18 Florian Weimer <fweimer@redhat.com>
5596
5597 [BZ #23995]
5598 * localedata/locales/bi_VU: Remove executable bit from file.
5599
5600 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
5601
5602 * include/time.h
5603 (__localtime64): Add.
5604 * manual/maint.texi: Document Y2038 symbol handling.
5605 * time/localtime.c
5606 (__localtime64): Add.
5607 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
5608
5609 2018-12-17 Joseph Myers <joseph@codesourcery.com>
5610
5611 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
5612 Do not clobber r12.
5613
5614 * scripts/glibcextract.py (compare_macro_consts): Take parameters
5615 to allow extra macros from first or second sources.
5616 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
5617 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5618 (tests-special): Add $(objpfx)tst-mman-consts.out.
5619 ($(objpfx)tst-mman-consts.out): New makefile target.
5620
5621 2018-12-17 Mao Han <han_mao@c-sky.com>
5622
5623 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
5624 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
5625 without stat64 system call support.
5626 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
5627 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
5628 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5629 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
5630 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
5631 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
5632 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
5633 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
5634 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
5635 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
5636 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
5637
5638 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
5639
5640 regex: fix storage-exhaustion error
5641 [BZ #18040]
5642 * posix/regexec.c (get_subexp):
5643 Do not continue if storage is exhausted.
5644
5645 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
5646
5647 regex: fix heap-use-after-free error
5648 [BZ #18040]
5649 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
5650 https://debbugs.gnu.org/32592
5651 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
5652 call extend_buffers which reallocates the re_string_t internal buffer.
5653 Local variable 'buf' was not updated in such case, resulting in
5654 use-after-free.
5655 * posix/regexec.c (get_subexp): Update 'buf' after call to
5656 get_subexp_sub.
5657
5658 2018-12-15 Florian Weimer <fweimer@redhat.com>
5659
5660 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
5661 (minimum_stride_size): Use it.
5662 (support_blob_repeat_allocate): Likewise.
5663
5664 2018-12-14 Joseph Myers <joseph@codesourcery.com>
5665
5666 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
5667 definition.
5668 (acosh): Likewise.
5669 (atanh): Likewise.
5670
5671 2018-12-14 Florian Weimer <fweimer@redhat.com>
5672
5673 * manual/process.texi (Process Creation Concepts): Remove
5674 documentation of process (ID) lifetime. List more process
5675 creation functions. Reference Process Identification section.
5676 (Process Identification): Add information about process ID
5677 lifetime. Describe Linux thread/task IDs.
5678 * manual/signal.texi (Signaling Another Process): Mention that the
5679 signal is always sent to the process.
5680
5681 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5682
5683 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
5684 and tst-ldbl-efgcvt.
5685 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
5686 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
5687 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
5688 (fcvt_tests, output_error, output_r_error, do_test): Use the
5689 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
5690 select the type of floating-point variables and arguments; to
5691 produce extra tests for double and conversion specifiers for
5692 printf; and to set the names of called functions.
5693 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
5694 in tst-efgcvt-template.c.
5695 * misc/tst-ldbl-efgcvt.c: Likewise.
5696
5697 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
5698
5699 * nss/Makefile (tst-nss-test3.out): New rule.
5700
5701 2018-12-13 Joseph Myers <joseph@codesourcery.com>
5702
5703 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
5704 clobber sp.
5705
5706 2018-12-13 fanjinke <fanjinke@hygon.cn>
5707
5708 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
5709 "HygonGenuine".
5710
5711 2018-12-13 Andreas Schwab <schwab@suse.de>
5712
5713 [BZ #23861]
5714 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
5715 (__pthread_rwlock_rdlock_full): Update expected value for
5716 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
5717 * nptl/tst-rwlock-pwn.c: New file.
5718 * nptl/Makefile (tests): Add tst-rwlock-pwn.
5719
5720 2018-12-12 Joseph Myers <joseph@codesourcery.com>
5721
5722 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
5723 definition.
5724
5725 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5726
5727 * benchtests/scripts/compare_bench.py (do_compare): write to
5728 stderr in casestat is not present.
5729 * benchtests/scripts/compare_bench.py (plot_graphs): write to
5730 stderr in case timings field is not present. Also string showing
5731 the output filename goes into the stderr.
5732
5733 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5734
5735 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
5736 and ZeroDivisorError exceptions.
5737 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
5738 argument to loop through user provided statistics.
5739 * benchtests/scripts/compare_bench.py (main): Include the --stats
5740 argument.
5741
5742 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5743
5744 * benchtests/scripts/compare_bench.py (compare_runs): Continue
5745 instead of return.
5746
5747 2018-12-12 Florian Weimer <fweimer@redhat.com>
5748
5749 * sysdeps/posix/timespec_get.c: Add missing “any later version”
5750 clause to copyright header.
5751
5752 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5753
5754 [BZ #23614]
5755 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
5756 registers saved in the stack frame.
5757 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
5758 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
5759
5760 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5761
5762 * include/bits/monetary-ldbl.h: New file.
5763 * include/bits/printf-ldbl.h: Likewise.
5764 * include/bits/stdio-ldbl.h: Likewise.
5765 * include/bits/stdlib-ldbl.h: Likewise.
5766 * include/bits/syslog-ldbl.h: Likewise.
5767 * include/bits/wchar-ldbl.h: Likewise.
5768
5769 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5770
5771 * libio/libio.h: Remove redirection for _IO_vfprintf.
5772
5773 2018-12-11 Andreas Schwab <schwab@suse.de>
5774
5775 * Makerules: Remove all references to abilist-pattern.
5776 (update-all-abi): Simplify find expression.
5777
5778 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5779
5780 [BZ #23961]
5781 * math/auto-libm-test-in: Add new test case.
5782 * math/auto-libm-test-out-pow: Regenerated.
5783 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
5784
5785 2018-12-10 DJ Delorie <dj@redhat.com>
5786
5787 [BZ #23948]
5788 * support/test-container.c: Move postclean step to before we
5789 change namespaces.
5790
5791 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5792
5793 * scripts/gen-as-const.py (main): Handle --python option.
5794 * scripts/gen-py-const.awk: Remove.
5795 * Makerules (py-const-script): Use gen-as-const.py.
5796 ($(py-const)): Likewise.
5797 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
5798 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
5799 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
5800 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
5801 ~PTHREAD_MUTEX_NO_ELISION_NP.
5802 * manual/README.pretty-printers: Update reference to
5803 gen-py-const.awk.
5804
5805 * scripts/glibcextract.py: New file.
5806 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
5807 or tempfile. Import glibcexctract.
5808 (compute_c_consts): Remove. Moved to glibcextract.py.
5809 (gen_test): Update reference to compute_c_consts.
5810 (main): Likewise.
5811 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
5812 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
5813 * sysdeps/unix/sysv/linux/Makefile
5814 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
5815 Redirect stderr as well as stdout.
5816
5817 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
5818
5819 [BZ #19767]
5820 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
5821 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
5822 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
5823 ALWAYS_USE_VSYSCALL.
5824 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
5825 ALWAYS_USE_VSYSCALL.
5826 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
5827 ALWAYS_USE_VSYSCALL.
5828
5829 2018-12-10 Florian Weimer <fweimer@redhat.com>
5830
5831 [BZ #23972]
5832 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
5833 offset instead of count for clarity. Fix typo in comment.
5834 (__old_getdents64): Keep track of previous offset. Use it to call
5835 handle_overflow.
5836 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
5837 that d_off is never zero.
5838
5839 2018-12-10 Andreas Schwab <schwab@suse.de>
5840
5841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
5842 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
5843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
5844 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
5845 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
5846
5847 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5848
5849 * timezone/private.h: Update from tzcode 2018g.
5850 * timezone/tzfile.h: Likewise.
5851 * timezone/tzselect.ksh: Likewise.
5852 * timezone/zdump.c: Likewise.
5853 * timezone/zic.c: Likewise.
5854
5855 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5856
5857 [BZ #23490]
5858 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
5859 (do_test): Adjust buffer size and fix format.
5860
5861 2018-12-07 DJ Delorie <dj@redhat.com>
5862
5863 [BZ #23907]
5864 * malloc/tst-tcfree3.c: New.
5865 * malloc/Makefile: Add it.
5866
5867 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5868
5869 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
5870
5871 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5872
5873 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
5874 used as a mask for the mode argument of __vfscanf_internal and
5875 __vfwscanf_internal.
5876 * stdio-common/vfscanf-internal.c
5877 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
5878 (__strtof128_internal): Define to __wcstof128_internal.
5879 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
5880 __strtof128_internal or __wcstof128_internal when the format of
5881 long double is the same as _Float128.
5882
5883 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
5884
5885 * include/unistd.h (__confstr): Add prototype and hidden prototype.
5886 * posix/confstr.c (confstr): Rename to __confstr.
5887 (__confstr): Add hidden def.
5888 (confstr): Add weak alias for __confstr.
5889 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
5890 confstr.
5891
5892 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5893
5894 * NEWS: Mention getcpu.
5895 * include/sched.h (__getcpu): New libc_hidden_proto.
5896 * manual/resource.texi: Document getcpu.
5897 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
5898 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
5899 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
5900 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5901 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5902 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5903 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5904 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5905 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5906 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5907 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5908 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5909 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
5910 Likewise.
5911 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5912 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5913 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5915 Likewise.
5916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5917 Likewise.
5918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5919 Likewise.
5920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5921 Likewise.
5922 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
5923 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5924 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5925 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5926 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5927 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5928 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5929 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5930 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
5931 * sysdeps/unix/sysv/linux/getcpu.c: New file.
5932 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
5933 Also check getcpu.
5934
5935 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5936
5937 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
5938 functions.
5939 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
5940
5941 2018-12-07 Florian Weimer <fweimer@redhat.com>
5942
5943 [BZ #17405]
5944 * posix/Makefile (routines): Add spawn_faction_addfchdir.
5945 * posix/Versions (GLIBC_2.29): Export
5946 posix_spawn_file_actions_addfchdir_np.
5947 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
5948 * posix/spawn_faction_destroy.c
5949 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
5950 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
5951 and the field action.fchdir_action.
5952 * posix/tst-spawn-chdir.c (add_chdir): New function.
5953 (do_test): Add do_fchdir loop. Call add_chdir.
5954 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
5955 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5956 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5957 posix_spawn_file_actions_addfchdir_np.
5958 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5959 Likewise.
5960 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5961 Likewise.
5962 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5963 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5964 Likewise.
5965 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5966 Likewise.
5967 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5968 Likewise.
5969 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5970 Likewise.
5971 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5972 Likewise.
5973 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5974 Likewise.
5975 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5976 (GLIBC_2.29): Likewise.
5977 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5978 (GLIBC_2.29): Likewise.
5979 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5980 (GLIBC_2.29): Likewise.
5981 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5982 (GLIBC_2.29): Likewise.
5983 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5984 Likewise.
5985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5986 (GLIBC_2.29): Likewise.
5987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5988 (GLIBC_2.29): Likewise.
5989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5990 (GLIBC_2.29): Likewise.
5991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5992 (GLIBC_2.29): Likewise.
5993 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5994 Likewise.
5995 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5996 Likewise.
5997 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5998 Likewise.
5999 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6000 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6001 Likewise.
6002 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6003 Likewise.
6004 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6005 Likewise.
6006 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6007 Likewise.
6008
6009 2018-12-06 Joseph Myers <joseph@codesourcery.com>
6010
6011 * manual/texinfo.tex: Update to version 2018-09-21.20 with
6012 trailing whitespace removed.
6013 * scripts/config.guess: Update to version 2018-11-28.
6014 * scripts/config.sub: Update to version 2018-11-28.
6015 * scripts/install-sh: Update to version 2018-03-11.20.
6016 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
6017 * scripts/move-if-change: Update to version 2018-03-07 03:47.
6018
6019 2018-12-07 Florian Weimer <fweimer@redhat.com>
6020
6021 [BZ #23927]
6022 CVE-2018-19591
6023 * inet/tst-if_index-long.c: New file.
6024 * inet/Makefile (tests): Add tst-if_index-long.
6025
6026 2018-12-07 Florian Weimer <fweimer@redhat.com>
6027
6028 * support/check.h (support_record_failure_is_failed): Declare.
6029 * support/descriptors.h: New file.
6030 * support/support_descriptors.c: Likewise.
6031 * support/tst-support_descriptors.c: Likewise.
6032 * support/support_record_failure.c
6033 (support_record_failure_is_failed): New function.
6034 * support/Makefile (libsupport-routines): Add support_descriptors.
6035 (tests): Add tst-support_descriptors.
6036
6037 2018-12-05 Zack Weinberg <zackw@panix.com>
6038 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6039
6040 * stdio-common/vfprintf-internal.c
6041 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
6042 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
6043 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
6044 and __no_long_double.
6045 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
6046 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
6047 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
6048 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
6049 and __nldbl_*syslog* functions.
6050 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
6051 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
6052 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
6053 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
6054 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
6055 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
6056 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
6057 (__nldbl_vwprintf, __nldbl_wprintf):
6058 Directly call the appropriate __v*printf_internal routine, passing
6059 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
6060 variable names.
6061 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
6062 (__nldbl___printf_chk, __nldbl___snprintf_chk)
6063 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
6064 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
6065 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
6066 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6067 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
6068 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
6069 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
6070 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
6071 Likewise, and also pass PRINTF_FORTIFY when appropriate.
6072 (__nldbl_syslog, __nldbl_vsyslog):
6073 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
6074 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6075 appropriate.
6076 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6077 appropriate.
6078
6079 2018-12-05 Zack Weinberg <zackw@panix.com>
6080 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6081
6082 [BZ #11319]
6083 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
6084 Moved here from debug/vsprintf_chk.c.
6085 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
6086 and completion logic for the strfile to match exactly what
6087 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
6088 _IO_str_init_static_internal instead of maxlen-1.
6089 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6090 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
6091 __vsprintf_internal.
6092
6093 * debug/vsprintf_chk.c (__vsprintf_chk)
6094 * debug/sprintf_chk.c (__sprintf_chk):
6095 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
6096 'flags' argument is positive, and slen as maxlen. No need to lock
6097 the FILE and/or construct a temporary FILE. Minimize and normalize
6098 header inclusions and variable names. Do not libc_hidden_def anything.
6099
6100 * debug/asprintf_chk.c (__asprintf_chk)
6101 * debug/dprintf_chk.c (__dprintf_chk)
6102 * debug/fprintf_chk.c (__fprintf_chk)
6103 * debug/fwprintf_chk.c (__fwprintf_chk)
6104 * debug/printf_chk.c (__printf_chk)
6105 * debug/snprintf_chk.c (__snprintf_chk)
6106 * debug/swprintf_chk.c (__swprintf_chk)
6107 * debug/vasprintf_chk.c (__vasprintf_chk)
6108 * debug/vdprintf_chk.c (__vdprintf_chk)
6109 * debug/vfprintf_chk.c (__vfprintf_chk)
6110 * debug/vfwprintf_chk.c (__vfwprintf_chk)
6111 * debug/vprintf_chk.c (__vprintf_chk)
6112 * debug/vsnprintf_chk.c (__vsnprintf_chk)
6113 * debug/vswprintf_chk.c (__vswprintf_chk)
6114 * debug/vwprintf_chk.c (__vwprintf_chk)
6115 * debug/wprintf_chk.c (__wprintf_chk):
6116 Directly call the corresponding vxxprintf_internal function, passing
6117 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
6118 the FILE and/or construct a temporary FILE. Minimize and normalize
6119 header inclusions and variable names. Do not libc_hidden_def anything.
6120
6121 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
6122 __obstack_vprintf_internal.
6123 (__obstack_vprintf_chk): Convert into a wrapper that calls
6124 __obstack_vprintf_internal (these two functions already had the
6125 same code) and move to new file...
6126 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
6127 file.
6128 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
6129 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
6130 * debug/Makefile (routines): Add vobprintf_chk.
6131
6132 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6133 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6134 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
6135 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6136 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
6137 (__nldbl___obstack_vfprintf_chk):
6138 Directly call the corresponding vxxprintf_internal function,
6139 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
6140 duplicate comparison of slen with 0 or maxlen from the corresponding
6141 non-__nldbl function.
6142
6143 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
6144 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
6145 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
6146 Remove libc_hidden_proto.
6147
6148 * stdio-common/vfprintf-internal.c
6149 (__vfprintf_internal, __vfwprintf_internal):
6150 Do not check _IO_FLAGS2_FORTIFY.
6151 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
6152 * libio/libioP.h: Update prototype of __vsprintf_internal and add
6153 a comment explaining why it has the maxlen argument.
6154 (_IO_acquire_lock_clear_flags2_fct): Remove.
6155 (_IO_acquire_lock_clear_flags2): Remove.
6156 (_IO_release_lock): Remove conditional statement which will
6157 now never execute.
6158 (_IO_acquire_lock): Remove variable which is now unused.
6159 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6160 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6161
6162 * stdio-common/Makefile (tests): Add tst-bz11319 and
6163 tst-bz11319-fortify2.
6164 (CFLAGS-tst-bz11319-fortify2.c): New macro.
6165 * stdio-common/tst-bz11319-fortify2.c: New file.
6166 * stdio-common/tst-bz11319.c: Likewise.
6167
6168 2018-12-05 Zack Weinberg <zackw@panix.com>
6169 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6170
6171 * misc/syslog.c: Include libioP.h, not iolibio.h.
6172 (__vsyslog_internal): New function with the former body of
6173 __vsyslog_chk; takes mode_flags argument same as
6174 __v*printf_internal. Call __vfprintf_internal directly.
6175
6176 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
6177 Remove libc_hidden_def.
6178 (__syslog, __syslog_chk): Use __vsyslog_internal.
6179 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
6180
6181 * include/sys/syslog.h: Add multiple inclusion guard.
6182 Add prototype for __vsyslog_internal.
6183 Remove declaration and libc_hidden_proto for __vsyslog_chk.
6184
6185 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
6186 Use __vsyslog_internal.
6187
6188 2018-12-05 Zack Weinberg <zackw@panix.com>
6189 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6190
6191 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
6192 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
6193 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
6194 New functions.
6195 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
6196 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
6197
6198 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
6199 Include wctype.h here if COMPILE_WPRINTF is defined.
6200 Define __vfprintf_internal or __vfwprintf_internal, depending
6201 on COMPILE_WPRINTF.
6202 Temporarily, on entry to this function, update mode_flags
6203 according to the environmental settings corresponding to
6204 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
6205 Throughout, check mode_flags instead of __ldbl_is_dbl and
6206 _IO_FLAGS2_FORTIFY on the destination FILE.
6207 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
6208 Include vfprintf-internal.c. Don't include wctype.h.
6209 * stdio-common/vfprintf.c: New file. Just define __vfprintf
6210 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
6211 and vfprintf.
6212 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
6213 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
6214 and vfwprintf.
6215 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
6216
6217 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
6218 and add mode_flags argument; use __vfprintf_internal.
6219 (__vdprintf): New function. Alias vdprintf to this.
6220 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
6221 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
6222 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
6223 (__obstack_printf): Use __obstack_printf_internal.
6224 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
6225 public aliases __vsnprintf and vsnprintf.
6226 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
6227 called internally.
6228 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
6229 public aliases _IO_vsprintf and vsprintf.
6230 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
6231 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
6232 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
6233 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
6234 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
6235
6236 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
6237 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
6238 * stdio-common/fprintf.c, stdio-common/fxprintf.c
6239 * stdio-common/printf.c: Use __vfprintf_internal.
6240
6241 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
6242 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
6243 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
6244
6245 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
6246 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
6247 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
6248 __vfwprintf_internal.
6249
6250 * libio/libio.h: Remove libc_hidden_proto and declaration for
6251 _IO_vfprintf.
6252 Remove declaration of _IO_vfwprintf.
6253 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
6254 _IO_vsprintf.
6255 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
6256 _IO_obstack_printf.
6257 * include/stdio.h: Add prototype for __vasprintf.
6258 (__vsnprintf): Remove declaration, because there are no more
6259 internal calls.
6260 * include/wchar.h (__vfwprintf, __vswprintf): Remove
6261 declaration, because there are no more internal calls.
6262
6263 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
6264 __vsnprintf_internal, instead of _IO_vsnprintf.
6265 * argp/argp-help.c (__argp_error, __argp_failure): Use
6266 __vasprintf_internal, instead of _IO_vasprintf.
6267 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
6268 redefine, because there are no more internal calls.
6269
6270 2018-12-05 Zack Weinberg <zackw@panix.com>
6271 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6272
6273 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
6274 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
6275 Include libio/strfile.h instead of libioP.h.
6276 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
6277 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
6278 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
6279 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
6280 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
6281 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
6282 necessary. Do not set __no_long_double. Normalize variable names.
6283 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
6284 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
6285 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
6286 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
6287 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
6288 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
6289 Call __vfscanf_internal / __vfwscanf_internal directly, passing
6290 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
6291 Do not set __no_long_double. Normalize variable names.
6292
6293 2018-12-05 Zack Weinberg <zackw@panix.com>
6294 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6295
6296 * stdio-common/isoc99_scanf.c
6297 * stdio-common/isoc99_fscanf.c
6298 * stdio-common/isoc99_sscanf.c
6299 * stdio-common/isoc99_vscanf.c
6300 * stdio-common/isoc99_vfscanf.c
6301 * stdio-common/isoc99_vsscanf.c
6302 * wcsmbs/isoc99_wscanf.c
6303 * wcsmbs/isoc99_fwscanf.c
6304 * wcsmbs/isoc99_swscanf.c
6305 * wcsmbs/isoc99_vwscanf.c
6306 * wcsmbs/isoc99_vfwscanf.c
6307 * wcsmbs/isoc99_vswscanf.c:
6308 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
6309 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
6310 No need to lock and unlock the FILE passed to that function.
6311
6312 * stdio-common/vfscanf-internal.c
6313 (__vfscanf_internal, __vfwscanf_internal):
6314 Don't look at _IO_FLAGS2_SCANF_STD.
6315 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
6316 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
6317 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
6318
6319 2018-12-05 Zack Weinberg <zackw@panix.com>
6320 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6321
6322 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
6323 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
6324 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
6325 * libio/strfile.h: Add multiple inclusion guard.
6326 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
6327
6328 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
6329 consistency with the other version of this file.
6330 (ldbl_compat_symbol): New macro.
6331 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
6332 New macro.
6333
6334 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
6335 Define __vfscanf_internal or __vfwscanf_internal, depending on
6336 COMPILE_WSCANF; don't define any other public symbols.
6337 Remove errval and code to set errp.
6338 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
6339 as the mode_flags argument.
6340 (encode_error, conv_error, input_error): Don't set errval.
6341 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
6342 Include vfscanf-internal.c.
6343 * stdio-common/vfscanf.c: New file defining the public entry
6344 point vfscanf, which calls __vfscanf_internal.
6345 * stdio-common/vfwscanf.c: New file defining the public entry
6346 point vfwscanf, which calls __vfwscanf_internal.
6347
6348 * stdio-common/iovfscanf.c: New file.
6349 * stdio-common/iovfwscanf.c: Likewise.
6350
6351 * stdio-common/Makefile (routines): Add vfscanf-internal,
6352 vfwscanf-internal, iovfscanf, iovfwscanf.
6353 * stdio-common/Versions: Mention GLIBC_2.29, so that
6354 it can be used in SHLIB_COMPAT expressions.
6355 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
6356 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
6357 Call __vfscanf_internal, instead of _IO_vfscanf.
6358 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
6359 _IO_vfscanf.
6360 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
6361 _IO_vfwscanf.
6362
6363 * libio/iovsscanf.c: Clean up includes, when possible. Use
6364 _IO_strfile_read or _IO_strfile_readw, when needed. Call
6365 __vfscanf_internal or __vfwscanf_internal directly.
6366 * libio/iovswscanf.c: Likewise.
6367 * libio/swscanf.c: Likewise.
6368 * libio/vscanf.c: Likewise.
6369 * libio/vwscanf.c: Likewise.
6370 * libio/wscanf.c: Likewise.
6371 * stdio-common/isoc99_fscanf.c: Likewise.
6372 * stdio-common/isoc99_scanf.c: Likewise.
6373 * stdio-common/isoc99_sscanf.c: Likewise.
6374 * stdio-common/isoc99_vfscanf.c: Likewise.
6375 * stdio-common/isoc99_vscanf.c: Likewise.
6376 * stdio-common/isoc99_vsscanf.c: Likewise.
6377 * stdio-common/scanf.c: Likewise.
6378 * stdio-common/sscanf.c: Likewise.
6379 * wcsmbs/isoc99_fwscanf.c: Likewise.
6380 * wcsmbs/isoc99_swscanf.c: Likewise.
6381 * wcsmbs/isoc99_vfwscanf.c: Likewise.
6382 * wcsmbs/isoc99_vswscanf.c: Likewise.
6383 * wcsmbs/isoc99_vwscanf.c: Likewise.
6384 * wcsmbs/isoc99_wscanf.c: Likewise.
6385
6386 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
6387
6388 * include/time.h
6389 (__tz_compute): Replace time_t with __time64_t.
6390 (__tz_convert): Replace time_t* with __time64_t.
6391 (__offtime): Replace time_t* with __time64_t.
6392 * time/gmtime.c
6393 (__gmtime_r): Adjust call to __tz_convert.
6394 (gmtime): Likewise.
6395 * time/localtime.c
6396 (__localtime_r): Likewise.
6397 (localtime): Likewise.
6398 * time/offtime.c: Replace time_t with __time64_t.
6399 * time/tzset.c: Likewise.
6400
6401 2018-12-04 Joseph Myers <joseph@codesourcery.com>
6402
6403 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
6404 dynamic linker unless [$(run-built-tests) = yes].
6405
6406 2018-12-03 DJ Delorie <dj@delorie.com>
6407
6408 * support/test-container.c (check_for_unshare_hints): New.
6409 (main): Call it if unshare fails. Add support for "su" scriptlet
6410 command.
6411
6412 2018-12-03 Joseph Myers <joseph@codesourcery.com>
6413
6414 * scripts/gen-as-const.py (compute_c_consts): Take an argument
6415 'START' to indicate that start text should be output.
6416 (gen_test): Likewise.
6417 (main): Generate 'START' for first symbol or '--' line, or at end
6418 of input if not previously generated.
6419
6420 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
6421
6422 [BZ #19767]
6423 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
6424 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
6425 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
6426 ALWAYS_USE_VSYSCALL.
6427
6428 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6429
6430 [BZ #23913]
6431 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
6432 new_argv by one.
6433
6434 2018-12-03 Carlos O'Donell <carlos@redhat.com>
6435
6436 [BZ #23923]
6437 * locale/programs/localedef.c: Declare boolean hard_links default true.
6438 (options): Add --no-hard-links option.
6439 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
6440 * locale/programs/localedef.h: Declare prototype for hard_links.
6441 * locale/programs/locfile.c (write_locale_data): Don't use hard
6442 links if hard_links is false.
6443
6444 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
6445
6446 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
6447 cpu_features_basic.
6448 (__cache_sysconf): Likewise.
6449 (init_cacheinfo): Likewise.
6450 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
6451 populate COMMON_CPUID_INDEX_80000007 and
6452 COMMON_CPUID_INDEX_80000008.
6453 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
6454 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
6455 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
6456 (init_cpu_features): Use _Static_assert on
6457 index_arch_Fast_Unaligned_Load.
6458 __get_cpuid_registers and __get_arch_feature. Updated for
6459 cpu_features_basic. Set stepping in cpu_features.
6460 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
6461 (FEATURE_INDEX_2): New.
6462 (FEATURE_INDEX_MAX): Changed to enum.
6463 (COMMON_CPUID_INDEX_D_ECX_1): New.
6464 (COMMON_CPUID_INDEX_80000007): Likewise.
6465 (COMMON_CPUID_INDEX_80000008): Likewise.
6466 (cpuid_registers): Likewise.
6467 (cpu_features_basic): Likewise.
6468 (CPU_FEATURE_USABLE): Likewise.
6469 (bit_arch_XXX_Usable): Likewise.
6470 (cpu_features): Use cpuid_registers and cpu_features_basic.
6471 (bit_arch_XXX): Reweritten.
6472 (bit_cpu_XXX): Likewise.
6473 (index_cpu_XXX): Likewise.
6474 (reg_XXX): Likewise.
6475 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
6476 <support/check.h>.
6477 (CHECK_CPU_FEATURE): New.
6478 (CHECK_CPU_FEATURE_USABLE): Likewise.
6479 (cpu_kinds): Likewise.
6480 (do_test): Print vendor, family, model and stepping. Check
6481 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
6482 (TEST_FUNCTION): Removed.
6483 Include <support/test-driver.c> instead of
6484 "../../test-skeleton.c".
6485 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
6486 Check POPCNT instead of POPCOUNT.
6487 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
6488
6489 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6490
6491 * scripts/gen-as-const.py (main): Avoid emitting empty line when
6492 there is no element in `consts'.
6493
6494 2018-12-01 Florian Weimer <fweimer@redhat.com>
6495
6496 * support/support_capture_subprocess.c
6497 (support_capture_subprocess): Check that pipe descriptors have
6498 expected values. Close original pipe descriptors in subprocess.
6499
6500 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6501
6502 [BZ #23032]
6503 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
6504 attr with __pthread_default_barrierattr.
6505 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
6506 attr with __pthread_default_condattr.
6507 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
6508 attr with __pthread_default_mutexattr.
6509 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
6510 attr with __pthread_default_rwlockattr.
6511
6512 2018-12-01 Kemi Wang <kemi.wang@intel.com>
6513
6514 * manual/tunables.texi (POSIX Thread Tunables): New node.
6515 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
6516 * nptl/nptl-init.c: Include pthread_mutex_conf.h
6517 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
6518 __pthread_tunables_init.
6519 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
6520 (max_adaptive_count): Define.
6521 * nptl/pthread_mutex_conf.c: New file.
6522 * nptl/pthread_mutex_conf.h: New file.
6523 * sysdeps/generic/adaptive_spin_count.h: New file.
6524 * sysdeps/nptl/dl-tunables.list: New file.
6525 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
6526 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
6527 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
6528 Likewise.
6529
6530 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6531
6532 [BZ #20544]
6533 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
6534 * stdlib/on_exit.c (__on_exit): Likewise.
6535 * stdlib/Makefile (tests): Add tst-bz20544.
6536 * stdlib/tst-bz20544.c: New test.
6537
6538 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
6539
6540 [BZ #19767]
6541 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
6542 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
6543 New.
6544
6545 2018-11-30 Florian Weimer <fweimer@redhat.com>
6546
6547 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
6548 Extend error logging.
6549 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
6550 symbol.
6551
6552 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6553
6554 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
6555 __sigismember instead of sigismember.
6556 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
6557 cancel_handler): New definitions.
6558 (do_system): Use posix_spawn instead of fork and execl and remove
6559 reentracy code.
6560 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
6561 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
6562 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
6563 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6564 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6565 * sysdeps/unix/sysv/linux/system.c: Likewise.
6566
6567 [BZ #22834]
6568 [BZ #17490]
6569 * NEWS: Add new semantic for atfork with popen and system.
6570 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
6571 fork and execl.
6572
6573 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6574
6575 [BZ #23690]
6576 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
6577 modification order when accessing reloc_result->addr.
6578 * include/link.h (reloc_result): Add field init.
6579 * nptl/Makefile (tests): Add tst-audit-threads.
6580 (modules-names): Add tst-audit-threads-mod1 and
6581 tst-audit-threads-mod2.
6582 Add rules to build tst-audit-threads.
6583 * nptl/tst-audit-threads-mod1.c: New file.
6584 * nptl/tst-audit-threads-mod2.c: Likewise.
6585 * nptl/tst-audit-threads.c: Likewise.
6586 * nptl/tst-audit-threads.h: Likewise.
6587
6588 2018-11-30 Joseph Myers <joseph@codesourcery.com>
6589
6590 * scripts/gen-as-const.py: New file.
6591 * scripts/gen-as-const.awk: Remove.
6592 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
6593 gen-as-const.py.
6594 ($(objpfx)test-as-const-%.c): Likewise.
6595
6596 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6597
6598 * elf/dl-exception.c: Include <_itoa.h>.
6599
6600 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
6601
6602 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
6603 returned by __f_setlk.
6604
6605 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6606 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6607
6608 * elf/Makefile (tests-internal): Add tst-create_format1.
6609 * elf/dl-exception.c (_dl_exception_create_format): Support
6610 %x, %lx and %zx.
6611 * elf/tst-create_format1.c: New file.
6612
6613 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
6614
6615 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
6616 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
6617 gnulib.)
6618 * argp/argp-help.c (__argp_failure): Likewise.
6619
6620 2018-11-29 Mao Han <han_mao@c-sky.com>
6621
6622 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
6623 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
6624 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
6625 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
6626 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
6627 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
6628 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
6629 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
6630 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
6631 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
6632 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
6633 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
6634 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
6635 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
6636 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
6637 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
6638 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
6639 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
6640 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
6641 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
6642 (R_CKCORE_TLS_TPOFF32): New defines.
6643
6644 2018-11-29 Florian Weimer <fweimer@redhat.com>
6645
6646 * posix/Makefile (before-compile): Remove testcases.h and
6647 ptestcases.h.
6648 (generated): Add testcases.h and ptestcases.h.
6649 (testcases.h, ptestcases.h): Move to $(objpfx).
6650 (runtests.o): Add dependency on testcases.h.
6651 (runptests.o): Add dependency on ptestcases.h.
6652 * posix/testcases.h, posix/ptestcases.h: Remove files.
6653 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
6654 not touch posix/testcases.h and posix/ptestcases.h.
6655
6656 2018-11-28 Florian Weimer <fweimer@redhat.com>
6657
6658 support: Add signal support to support_capture_subprocess_check.
6659 * support/capture_subprocess.h (support_capture_subprocess_check):
6660 Adjust comment and rename parameter.
6661 * support/support_capture_subprocess_check.c
6662 (print_actual_status): New function.
6663 (support_capture_subprocess_check): Support negative
6664 status_or_signal. Call print_actual_status.
6665 * support/tst-support_capture_subprocess.c (do_test): Call
6666 support_capture_subprocess_check.
6667 * libio/tst-vtables-common.c (termination_status)
6668 (init_termination_status): Remove.
6669 (check_for_termination): Adjust support_capture_subprocess_check
6670 call.
6671 (do_test): Remove call to init_termination_status.
6672
6673 2018-11-28 Joseph Myers <joseph@codesourcery.com>
6674
6675 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
6676 source directory instead of a copy.
6677 (CommandList.create_copy_dir): Remove.
6678
6679 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
6680
6681 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6682
6683 2018-11-28 Florian Weimer <fweimer@redhat.com>
6684
6685 * support/support.h (support_quote_string): Do not use str
6686 parameter name.
6687
6688 2018-11-27 Joseph Myers <joseph@codesourcery.com>
6689
6690 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
6691 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
6692
6693 2018-11-27 Florian Weimer <fweimer@redhat.com>
6694
6695 * support/support.h (support_quote_string): Declare.
6696 * support/support_quote_string.c: New file.
6697 * support/tst-support_quote_string.c: Likewise.
6698 * support/Makefile (libsupport-routines): Add
6699 support_quote_string.
6700 (tests): Add tst-support_quote_string.
6701
6702 2018-11-27 Florian Weimer <fweimer@redhat.com>
6703
6704 [BZ #23927]
6705 CVE-2018-19591
6706 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
6707 descriptor leak in case of ENODEV error.
6708
6709 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
6710
6711 [BZ #19767]
6712 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
6713 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
6714 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
6715
6716 2018-11-26 Carlos O'Donell <carlos@redhat.com>
6717
6718 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
6719 Error for unknown lines.
6720
6721 2018-11-26 Joseph Myers <joseph@codesourcery.com>
6722
6723 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6724 Touch additional files.
6725
6726 2018-11-26 Florian Weimer <fweimer@redhat.com>
6727
6728 [BZ #23907]
6729 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
6730 double-frees.
6731
6732 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
6733
6734 [BZ #19767]
6735 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
6736 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
6737 SHARED. Include sysdep.h.
6738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
6739 ALWAYS_USE_VSYSCALL.
6740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
6741 ALWAYS_USE_VSYSCALL.
6742
6743 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
6744
6745 [BZ #19767]
6746 * nptl/Makefile (tests-static): Add tst-cond11-static.
6747 (tests): Likewise.
6748 * nptl/tst-cond11-static.c: New File.
6749 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
6750 tst-affinity-static.
6751 (tests): Likewise.
6752 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
6753 instead of SHARED.
6754 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
6755 (USE_VSYSCALL): Likewise.
6756 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
6757 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
6758 instead of SHARED.
6759 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
6760 SHARED.
6761 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
6762 New.
6763
6764 2018-11-23 Joseph Myers <joseph@codesourcery.com>
6765
6766 [BZ #23915]
6767 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6768 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
6769 Undefine.
6770
6771 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
6772
6773 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
6774 (tst-cet-legacy-1a-ARGS): New.
6775 ($(objpfx)tst-cet-legacy-1a): New target.
6776 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
6777
6778 2018-11-22 Joseph Myers <joseph@codesourcery.com>
6779
6780 * conform/conformtest.py (CompileSubTest.__init__): Set
6781 self.run_early to False.
6782 (ExecuteSubTest.__init__): Likewise.
6783 (HeaderTests.run): Try running all non-optional, non-XFAILed
6784 compilation tests in a single execution of the compiler.
6785
6786 * conform/conformtest.py (CompileSubTest): New class.
6787 (ExecuteSubTest): Likewise.
6788 (ElementTest.run): Rename to gen_subtests. Append tests to
6789 self.subtests instead of running them.
6790 (ConstantTest.run): Likewise.
6791 (SymbolTest.run): Likewise.
6792 (TypeTest.run): Likewise.
6793 (TagTest.run): Likewise.
6794 (FunctionTest.run): Likewise.
6795 (VariableTest.run): Likewise.
6796 (MacroFunctionTest.run): Likewise.
6797 (MacroStrTest.run): Likewise.
6798 (HeaderTests.handle_test_line): Generate subtests for tests.
6799 (HeaderTests.run): Run subtests for tests.
6800
6801 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6802
6803 * math/Versions (GLIBC_2.29): Add pow.
6804 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
6805 symbol.
6806 * math/w_pow.c: New file.
6807 * sysdeps/i386/fpu/w_pow.c: New file.
6808 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
6809 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
6810 and add necessary aliases.
6811 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
6812 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
6813 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6814 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6815 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6816 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6817 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6818 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6819 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6820 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6821 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6822 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6823 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6824 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6825 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6830 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6831 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6832 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6833 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6834 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6835 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6836 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6837 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
6838 __pow.
6839 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
6840 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
6841 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
6842
6843 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6844
6845 * math/Versions (GLIBC_2.29): Add log2.
6846 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
6847 symbol.
6848 * math/w_log2.c: New file.
6849 * sysdeps/i386/fpu/w_log2.c: New file.
6850 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
6851 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
6852 and add necessary aliases.
6853 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
6854 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
6855 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6856 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6857 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6858 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6859 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6860 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6861 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6862 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6863 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6864 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6865 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6866 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6867 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6872 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6873 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6874 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6875 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6876 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6877 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6878 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6879
6880 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6881
6882 * math/Versions (GLIBC_2.29): Add log.
6883 * math/w_log_compat.c (__log_compat): Change to versioned compat
6884 symbol.
6885 * math/w_log.c: New file.
6886 * sysdeps/i386/fpu/w_log.c: New file.
6887 * sysdeps/ia64/fpu/e_log.S: Update.
6888 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
6889 and add necessary aliases.
6890 * sysdeps/ieee754/dbl-64/w_log.c: New file.
6891 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
6892 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6893 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6894 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6895 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6896 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6897 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6898 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6899 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6900 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6901 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6902 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6903 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6904 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6909 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6910 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6911 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6912 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6913 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6914 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6915 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6916 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
6917 __log.
6918 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
6919 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
6920 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
6921 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
6922
6923 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6924
6925 * math/Versions (GLIBC_2.29): Add exp and exp2.
6926 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
6927 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
6928 * math/w_exp_compat.c (__exp_compat): Likewise.
6929 * math/w_exp.c: New file.
6930 * math/w_exp2.c: New file.
6931 * sysdeps/i386/fpu/w_exp.c: New file.
6932 * sysdeps/i386/fpu/w_exp2.c: New file.
6933 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
6934 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
6935 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
6936 and add necessary aliases.
6937 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
6938 and add necessary aliases.
6939 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
6940 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
6941 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
6942 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
6943 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6944 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6945 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6946 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6947 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6948 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6949 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6950 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6951 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6952 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6953 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6954 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6955 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6960 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6961 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6962 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6963 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6964 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6965 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6966 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6967 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
6968 (__ieee754_exp): Rename to __exp.
6969 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
6970 (__ieee754_exp): Rename to __exp.
6971 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
6972 (__ieee754_exp): Rename to __exp.
6973 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
6974 __exp.
6975 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
6976
6977 2018-11-20 DJ Delorie <dj@redhat.com>
6978
6979 * malloc/malloc.c (tcache_entry): Add key field.
6980 (tcache_put): Set it.
6981 (tcache_get): Likewise.
6982 (_int_free): Check for double free in tcache.
6983 * malloc/tst-tcfree1.c: New.
6984 * malloc/tst-tcfree2.c: New.
6985 * malloc/Makefile: Run the new tests.
6986 * manual/probes.texi: Document memory_tcache_double_free probe.
6987
6988 * dlfcn/dlerror.c (check_free): Prevent double frees.
6989
6990 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
6991
6992 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
6993
6994 2018-11-20 Joseph Myers <joseph@codesourcery.com>
6995
6996 * conform/conformtest.py (ElementTest.run): Use unique identifiers
6997 in tests. Use names for format arguments.
6998 (ConstantTest.run): Likewise.
6999 (SymbolTest.run): Likewise.
7000 (TypeTest.run): Likewise.
7001 (TagTest.run): Likewise.
7002 (FunctionTest.run): Likewise.
7003 (VariableTest.run): Likewise.
7004 (MacroFunctionTest.run): Likewise.
7005 (MacroStrTest.run): Likewise.
7006 (HeaderTests.__init__): Set self.num_tests.
7007 (HeaderTests.handle_test_line): Set test.num. Increment
7008 self.num_tests.
7009
7010 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7011
7012 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
7013 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
7014 SEEK_SET.
7015
7016 2018-11-19 Mao Han <han_mao@c-sky.com>
7017
7018 * scripts/config.guess: Update to version 2018-08-29.
7019 * scripts/config.sub: Update to version 2018-08-29.
7020
7021 2018-11-19 Florian Weimer <fweimer@redhat.com>
7022
7023 support: Print timestamps in timeout handler.
7024 * support/support_test_main.c (print_timestamp): New function.
7025 (signal_handler): Use it to print the termination time and the
7026 time of the last write to standard output.
7027
7028 2018-11-16 Zack Weinberg <zackw@panix.com>
7029 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7030
7031 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
7032 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
7033 argument.
7034 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
7035 and add flags argument. Check flags instead of __ldbl_is_dbl when
7036 deciding whether to set is_long_double.
7037 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
7038 passing zero for flags argument.
7039 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
7040
7041 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7042 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
7043 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
7044 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
7045 variable names. Remove libc_hidden_def/libc_hidden_proto from
7046 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
7047 longer called from within the library.
7048 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
7049 for __nldbl___vstrfmon_l, declare it explicitly.
7050
7051 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
7052
7053 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
7054
7055 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
7056 macros
7057 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
7058 F_SETLK64, F_SETLKW64, respectively.
7059 * sysdeps/mach/hurd/f_setlk.c: New file.
7060 * sysdeps/mach/hurd/f_setlk.h: New file.
7061 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
7062 f_setlk.
7063 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
7064 (__libc_fcntl): Move non-flock operations to...
7065 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
7066 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
7067
7068 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
7069
7070 mktime: DEBUG_MKTIME cleanup
7071 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
7072 And it’s no longer needed now that glibc and Gnulib both have
7073 their own testing mechanisms for mktime.
7074 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
7075
7076 mktime: fix non-EOVERFLOW errno handling
7077 [BZ#23789]
7078 mktime was not properly reporting failures when the underlying
7079 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
7080 them like EOVERFLOW failures, and set errno to EOVERFLOW.
7081 The problem could happen on non-glibc platforms, with Gnulib.
7082 * time/mktime.c (guess_time_tm): Remove, replacing with ...
7083 (tm_diff): ... this simpler function, which does not change errno.
7084 All callers changed to deal with errno themselves.
7085 (ranged_convert, __mktime_internal): Return failure immediately if
7086 the underlying function reports any failure other than EOVERFLOW.
7087 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
7088 gap code fails.
7089
7090 mktime: fix bug with Y2038 DST transition
7091 [BZ#23789]
7092 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
7093 mishandle a DST transition that jumps over the Y2038 boundary.
7094 No such DST transitions are known so this is only a theoretical
7095 bug, but we might as well do things right.
7096
7097 mktime: make more room for overflow
7098 [BZ#23789]
7099 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
7100 This is so that we can add tm_diff results to a previous guess,
7101 which will be useful in a later patch.
7102
7103 mktime: simplify offset guess
7104 [BZ#23789]
7105 * time/mktime.c (__mktime_internal): Omit excess precision.
7106
7107 mktime: new test for mktime failure
7108 [BZ#23789]
7109 Based on a test suggested by Albert Aribaud in:
7110 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
7111 * time/Makefile (tests): Add bug-mktime4.
7112 * time/bug-mktime4.c: New file.
7113
7114 mktime: fix EOVERFLOW bug
7115 [BZ#23789]
7116 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
7117 Include libc-config.h, not config.h, for __set_errno.
7118 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
7119
7120 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
7121
7122 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
7123 __attribute_copy__ to copy attributes from name. Drop static qualifier
7124 to avoid warnings about leaf attribute not having effect on static
7125 functions.
7126
7127 2018-11-13 Florian Weimer <fweimer@redhat.com>
7128
7129 * malloc/malloc.c (fastbin_push_entry): New function.
7130 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
7131 (REMOVE_FB): Remove macro.
7132 (_int_malloc): Use fastbin_pop_entry and reindent.
7133 (_int_free): Use fastbin_push_entry.
7134 (malloc_consolidate): Use atomic_exchange_acquire.
7135
7136 2018-11-13 Joseph Myers <joseph@codesourcery.com>
7137
7138 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
7139 alias attribute, not with strong_alias.
7140
7141 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
7142 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
7143 with additional parameter thread.
7144 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
7145 in terms of __hidden_ver2.
7146 (hidden_tls_def): New macro.
7147 (libc_hidden_tls_def): Likewise.
7148 (rtld_hidden_tls_def): Likewise.
7149 (libm_hidden_tls_def): Likewise.
7150 (libmvec_hidden_tls_def): Likewise.
7151 (libresolv_hidden_tls_def): Likewise.
7152 (librt_hidden_tls_def): Likewise.
7153 (libdl_hidden_tls_def): Likewise.
7154 (libnss_files_hidden_tls_def): Likewise.
7155 (libnsl_hidden_tls_def): Likewise.
7156 (libnss_nisplus_hidden_tls_def): Likewise.
7157 (libutil_hidden_tls_def): Likewise.
7158 (libutil_hidden_tls_def): Likweise.
7159 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
7160 libc_hidden_tls_def.
7161 (__sim_disabled_exceptions_thread): Likewise.
7162 (__sim_round_mode_thread): Likewise.
7163
7164 * sysdeps/sparc/sparc-ifunc.h [SHARED]
7165 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
7166 copy attributes from name.
7167
7168 2018-11-12 Joseph Myers <joseph@codesourcery.com>
7169
7170 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
7171 Use __attribute_copy__ to copy attributes from name.
7172
7173 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
7174 with __hidden_ver1 call.
7175 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
7176 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
7177 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
7178 (__cosf): Do not declare here.
7179 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
7180 (__sincosf): Do not declare here.
7181 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
7182 (__sinf): Do not declare here.
7183
7184 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
7185 (__BIG_ENDIAN): Likewise.
7186 (__BYTE_ORDER): Likewise.
7187 (strong_alias): Likewise.
7188 (_strong_alias): Likewise.
7189
7190 2018-11-12 Florian Weimer <fweimer@redhat.com>
7191
7192 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
7193 function. Move after the definition of in_smallbin_range. Do not
7194 use __builtin_expect for paths that lead to a noreturn function.
7195 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
7196 because it is unclear whether this is in fact an unlikely
7197 condition.
7198 (_int_malloc, _int_free): Adjust.
7199 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
7200 variables.
7201 * malloc/arena.c (heap_trim): Likewise.
7202
7203 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7204
7205 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
7206 it, free it if needed.
7207 (reauthenticate): Test and use ccwdir.
7208 (child_init_port): In non-resetids case, test and use ccwdir.
7209 (child_chdir): New nested function to set ccwdir.
7210 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
7211 * hurd/hurd/port.h (_hurd_port_move): New function.
7212 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
7213 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
7214 * hurd/Versions (_hurd_port_move): Export function.
7215 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
7216 symbol.
7217 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
7218 of dtablesize for allocating dtable_cloexec.
7219
7220 2018-11-09 Martin Sebor <msebor@redhat.com>
7221
7222 * include/libc-symbols.h (__attribute_copy__): Define macro unless
7223 it's already defined.
7224 (_strong_alias): Use __attribute_copy__.
7225 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
7226 * misc/sys/cdefs.h (__attribute_copy__): New macro.
7227 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
7228 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
7229 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
7230 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
7231 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
7232 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
7233 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
7234 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
7235 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
7236 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
7237 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
7238 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
7239 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
7240 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
7241 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
7242 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
7243 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
7244
7245 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7246
7247 * misc/tst-efgcvt.c: Include support/check.h and
7248 support/test-driver.c. Do not include test-skeleton.c.
7249 (error_count): Remove.
7250 (output_error): Replace increments to error_count with calls to
7251 support_record_failure.
7252 (output_r_error): Likewise.
7253 (special): Likewise.
7254 (do_test): Unconditionally return zero.
7255 (TEST_FUNCTION): Remove.
7256
7257 2018-11-09 Joseph Myers <joseph@codesourcery.com>
7258
7259 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
7260 not $(@D)/scratch.
7261 ($(linknamespace-header-tests)): Likewise.
7262
7263 * conform/conformtest.py: New file.
7264 * conform/conformtest.pl: Remove.
7265 * conform/GlibcConform.pm: Likewise.
7266 * conform/glibcconform.py (KEYWORDS_C90): New constant.
7267 (KEYWORDS_C99): Likewise.
7268 (KEYWORDS): Likewise.
7269 * conform/Makefile ($(conformtest-header-tests)): Use
7270 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
7271 option. Use --header instead of --headers.
7272 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
7273 function entries.
7274 * conform/data/spawn.h-data: Likewise.
7275 * conform/data/fcntl.h-data (openat): Add space after function
7276 name.
7277 * conform/data/wchar.h-data (wcscasecmp): Likewise.
7278 (wcscasecmp_l): Likewise.
7279 * conform/data/termios.h-data (c_cc): Add space after element
7280 name.
7281
7282 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7283
7284 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
7285 instead of manually comparing and reporting mismatching strings.
7286 * misc/tst-ldbl-error.c (do_one_test): Likewise.
7287 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
7288
7289 2018-11-08 Joseph Myers <joseph@codesourcery.com>
7290
7291 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
7292 __ASSUME_SOCKETCALL.
7293 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7294 (__ASSUME_SOCKETCALL): Remove.
7295 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7296 (__ASSUME_SOCKETCALL): Likewise.
7297 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7298 (__ASSUME_SOCKETCALL): Likewise.
7299 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7300 (__ASSUME_SOCKETCALL): Likewise.
7301 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7302 (__ASSUME_SOCKETCALL): Likewise.
7303 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7304 (__ASSUME_SOCKETCALL): Likewise.
7305 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7306 (__ASSUME_SOCKETCALL): Likewise.
7307
7308 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
7309
7310 [BZ #23509]
7311 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
7312 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
7313 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
7314 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
7315 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
7316 lc_unknown.
7317
7318 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
7319
7320 [BZ #17630]
7321 * resolv/tst-resolv-network.c: Add test for getnetbyname.
7322
7323 2018-11-07 Joseph Myers <joseph@codesourcery.com>
7324
7325 [BZ #23867]
7326 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7327 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7328 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7329 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7330
7331 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7332
7333 * support/support_test_compare_string.c
7334 (support_test_compare_string): Fix printf format.
7335
7336 2018-11-07 Florian Weimer <fweimer@redhat.com>
7337
7338 Implement TEST_COMPARE_STRING.
7339 * support/check.h (TEST_COMPARE_STRING): Define.
7340 (support_test_compare_string): Declare.
7341 * support/Makefile (libsupport-routines): Add
7342 support_test_compare_string.
7343 (tests): Add tst-test_compare_string.
7344 * support/support_test_compare_string.c: New file.
7345 * support/tst-test_compare_string.c: Likewise.
7346
7347 2018-11-07 Andreas Schwab <schwab@suse.de>
7348
7349 [BZ #23864]
7350 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
7351 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
7352 Undef.
7353
7354 2018-11-06 Joseph Myers <joseph@codesourcery.com>
7355
7356 [BZ #23862]
7357 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7358 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
7359 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
7360 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
7361 Likewise.
7362
7363 2018-11-06 Florian Weimer <fweimer@redhat.com>
7364
7365 [BZ #17405]
7366 * posix/Makefile (routines): Add spawn_faction_addchdir.
7367 (tests): Add tst-spawn-chdir.
7368 * posix/Versions (GLIBC_2.29): Add
7369 posix_spawn_file_actions_addchdir_np.
7370 * posix/spawn_faction_addchdir.c: New file.
7371 * posix/spawn_faction_destroy.c
7372 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
7373 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
7374 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
7375 chdir_action.
7376 * posix/tst-spawn-chdir.c: New file.
7377 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
7378 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7379 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7380 posix_spawn_file_actions_addchdir_np.
7381 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7382 Likewise.
7383 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7384 Likewise.
7385 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7386 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7387 Likewise.
7388 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7389 Likewise.
7390 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7391 Likewise.
7392 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7393 Likewise.
7394 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7395 Likewise.
7396 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7397 Likewise.
7398 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7399 (GLIBC_2.29): Likewise.
7400 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7401 (GLIBC_2.29): Likewise.
7402 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7403 (GLIBC_2.29): Likewise.
7404 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7405 (GLIBC_2.29): Likewise.
7406 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7407 Likewise.
7408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7409 (GLIBC_2.29): Likewise.
7410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7411 (GLIBC_2.29): Likewise.
7412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7413 (GLIBC_2.29): Likewise.
7414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7415 (GLIBC_2.29): Likewise.
7416 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7417 Likewise.
7418 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7419 Likewise.
7420 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7421 Likewise.
7422 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7423 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7424 Likewise.
7425 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7426 Likewise.
7427 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7428 Likewise.
7429 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7430 Likewise.
7431
7432 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7433
7434 * misc/Makefile (tests): Add tst-ldbl-error.
7435 * misc/tst-ldbl-error.c: New file.
7436
7437 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7438
7439 * misc/Makefile (tests): Add tst-ldbl-warn.
7440 * misc/tst-ldbl-warn.c: New file.
7441
7442 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7443
7444 * argp/Makefile (tests): Add tst-ldbl-argp.
7445 * argp/tst-ldbl-argp.c: New file.
7446
7447 2018-11-05 Arjun Shankar <arjun@redhat.com>
7448
7449 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
7450 __gconv_path_elem and call __gconv_get_path unconditionally.
7451
7452 2018-11-05 Andreas Schwab <schwab@suse.de>
7453
7454 [BZ #22927]
7455 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
7456 creating the first helper thread failed.
7457
7458 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7459
7460 * sysdeps/mach/hurd/msync.c: New file.
7461
7462 2018-11-02 Florian Weimer <fweimer@redhat.com>
7463
7464 * support/shell-container.c (copy_func): Call
7465 support_copy_file_range instead of copy_file_range to support
7466 cross-device copies.
7467
7468 2018-11-02 Florian Weimer <fweimer@redhat.com>
7469
7470 * support/test-container.c: Include <libc-pointer-arith.h> for
7471 ALIGN_UP.
7472
7473 2018-11-01 Zong Li <zong@andestech.com>
7474
7475 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
7476 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
7477 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
7478 (__FP_FRAC_SET_8): Add implementation for RV32 use.
7479
7480 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
7481 variable to avoid overlap arguments.
7482
7483 2018-11-01 Joseph Myers <joseph@codesourcery.com>
7484
7485 * posix/bug-regex22.c (main): Use puts with distinct error
7486 messages for unexpected success of re_compile_pattern, not printf
7487 with NULL argument to %s.
7488
7489 * stdio-common/bug22.c: Include <libc-diag.h>.
7490 (do_test): Disable -Wformat-overflow= warnings around fprintf
7491 calls outputting more than INT_MAX characters.
7492 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
7493 around printf call with NULL %s argument.
7494
7495 [BZ #23848]
7496 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
7497 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
7498 Undefine.
7499 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7500 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7501 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7502 (__ASSUME_SENDTO_SYSCALL): Likewise.
7503 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7504 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
7505 [!__arch64__].
7506 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7507 (__ASSUME_CONNECT_SYSCALL): Likewise.
7508 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7509 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7510 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
7511 Define.
7512 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
7513 Likewise.
7514 [__LINUX_KERNEL_VERSION >= 0x040400]
7515 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7516 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
7517 Remove.
7518 (listen): Likewise.
7519 (setsockopt): Likewise.
7520
7521 2018-11-01 Fredrik Noring <noring@nocrew.org>
7522
7523 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
7524 with the ISA override.
7525
7526 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
7527
7528 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
7529 #endif.
7530
7531 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7532
7533 * manual/errno.texi (EIEIO): Document how translators should
7534 translate the error message.
7535 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
7536 printing trailing whitespaces refused by git.
7537 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
7538 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7539 * hurd/Makefile (user-interfaces): Add pci.
7540
7541 2018-10-30 Joseph Myers <joseph@codesourcery.com>
7542
7543 * conform/linknamespace.py: New file.
7544 * conform/linknamespace.pl: Remove file.
7545 * conform/Makefile ($(linknamespace-header-tests)): Use
7546 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
7547 option.
7548
7549 2018-10-30 Florian Weimer <fweimer@redhat.com>
7550
7551 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
7552 memory leaks.
7553
7554 2018-10-30 Florian Weimer <fweimer@redhat.com>
7555
7556 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
7557
7558 2018-10-30 Florian Weimer <fweimer@redhat.com>
7559
7560 * stdlib/tst-strtod-overflow.c (do_test): Switch to
7561 support_blob_repeat.
7562
7563 2018-10-30 Florian Weimer <fweimer@redhat.com>
7564
7565 Avoid spurious test failures in stdlib/test-bz22786.
7566 * support/Makefile (libsupport-routines): Add blob_repeat.
7567 (tests): Add tst-support_blob_repeat.
7568 * support/blob_repeat.h: New file.
7569 * support/blob_repeat.c: Likewise.
7570 * support/tst-support_blob_repeat.c: Likewise.
7571 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
7572 support_blob_repeat_allocate.
7573
7574 2018-10-30 Andreas Schwab <schwab@suse.de>
7575
7576 [BZ #23125]
7577 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
7578 Don't use tail call.
7579 * elf/tst-unwind-main.c: New file.
7580 * elf/Makefile (tests): Add tst-unwind-main.
7581 (CFLAGS-tst-unwind-main.c): Define.
7582
7583 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
7584
7585 [BZ #23791]
7586 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
7587 n_cs_precedes to 0.
7588 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
7589
7590 2018-10-29 Joseph Myers <joseph@codesourcery.com>
7591
7592 * conform/glibcconform.py: Do not import shutil.
7593 (list_exported_functions): Use tempfile.TemporaryDirectory instead
7594 of mkdtemp.
7595
7596 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
7597 critic_missing for versions before 3.4.
7598 * configure: Regenerated.
7599 * manual/install.texi (Tools for Compilation): Document
7600 requirement for Python to build glibc.
7601 * INSTALL: Regenerated.
7602 * Rules [PYTHON]: Make code unconditional.
7603 * benchtests/Makefile [PYTHON]: Likewise.
7604 * conform/Makefile [PYTHON]: Likewise.
7605 * manual/Makefile [PYTHON]: Likewise.
7606 * math/Makefile [PYTHON]: Likewise.
7607
7608 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7609
7610 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
7611 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
7612 answer to interrupt_operation, return EIEIO instead of EINTR.
7613 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
7614 _hurd_intr_rpc_msg_about_to global point to start of controlled
7615 assembly snippet. Make it check canceled flag.
7616 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
7617 the _hurd_intr_rpc_msg_about_to point.
7618 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
7619 issue, remove cancel flag check.
7620
7621 2018-10-26 Joseph Myers <joseph@codesourcery.com>
7622
7623 * scripts/build-many-glibcs.py: Remove compatibility for missing
7624 os.cpu_count and re.fullmatch.
7625
7626 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
7627
7628 [BZ #23822]
7629 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
7630 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
7631 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
7632
7633 2018-10-25 Joseph Myers <joseph@codesourcery.com>
7634
7635 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
7636 macro.
7637
7638 2018-10-25 Florian Weimer <fweimer@redhat.com>
7639
7640 [BZ #23562]
7641 [BZ #23821]
7642 XFAIL siginfo_t si_band conform test on sparc64.
7643 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
7644 (__SI_BAND_TYPE): Only override long int default type on sparc64.
7645 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7646 (conformtest-xfail-conds): Add sparc64-linux.
7647 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
7648 sparc64.
7649 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
7650
7651 2018-10-25 Joseph Myers <joseph@codesourcery.com>
7652
7653 * elf/elf.h (NT_MIPS_DSP): New macro.
7654 (NT_MIPS_FP_MODE): Likewise.
7655
7656 2018-10-25 Zong Li <zong@andestech.com>
7657
7658 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
7659 name by adding the file extension (.so).
7660
7661 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
7662
7663 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
7664 (test-xfail-ISO11/threads.h/linknamespace,
7665 test-xfail-ISO11/threads.h/conform): Add.
7666
7667 2018-10-24 Joseph Myers <joseph@codesourcery.com>
7668
7669 * math/gen-libm-test.py: Import os.
7670 (ALL_FLOATS_MANUAL): New constant.
7671 (ALL_FLOATS_SUFFIX): Likewise.
7672 (Ulps.all_functions): New function.
7673 (real_all_ulps): Likewise.
7674 (generate_err_table_sub): Likewise.
7675 (generate_err_table): Likewise.
7676 (main): Handle -s and -m options.
7677 * manual/libm-err-tab.pl: Remove.
7678 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
7679 instead of libm-err-tab.pl.
7680 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
7681 != no].
7682 * manual/install.texi (Tools for Compilation): Document
7683 requirement for Python to build manual.
7684 * INSTALL: Regenerated.
7685
7686 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
7687
7688 * bits/time64.h: New file.
7689 * include/time.h: Replace internal_time_t with __time64_t.
7690 * posix/bits/types (__time64_t): Add.
7691 * stdlib/Makefile: Add bits/time64.h to includes.
7692 * time/tzfile.c: Replace internal_time_t with __time64_t.
7693
7694 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7695
7696 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
7697 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
7698 __posix_spawn_file_actions_init, __posix_spawnattr_init,
7699 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
7700 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
7701 prototype.
7702 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
7703 * posix/spawn_faction_addclose.c
7704 (__posix_spawn_file_actions_addclose): Add hidden definition.
7705 * posix/spawn_faction_adddup2.c
7706 (__posix_spawn_file_actions_adddup2): Likewise.
7707 * posix/spawn_faction_destroy.c
7708 (__posix_spawn_file_actions_destroy): Likewise.
7709 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
7710 Likewise.
7711 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
7712 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
7713 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
7714 Likewise.
7715 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
7716 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
7717 Likewise.
7718
7719 2018-10-24 Andreas Schwab <schwab@suse.de>
7720
7721 [BZ #18093]
7722 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
7723 format cache.
7724 * elf/cache.c (print_cache): Likewise.
7725
7726 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
7727
7728 * bits/timesize.h: New file.
7729 * stdlib/Makefile (headers): Add bits/timesize.h.
7730 * sysdeps/unix/sysv/linux/bits/msq-pad.h
7731 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
7732 * sysdeps/unix/sysv/linux/bits/sem-pad.h
7733 (__SEM_PAD_AFTER_TIME): Likewise.
7734 * sysdeps/unix/sysv/linux/bits/shm-pad.h
7735 (__SHM_PAD_AFTER_TIME): Likewise.
7736 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
7737 (__MSQ_PAD_BEFORE_TIME): Likewise.
7738 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
7739 (__SEM_PAD_BEFORE_TIME): Likewise.
7740 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
7741 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7742 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
7743 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
7744 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
7745 (__MSQ_PAD_BEFORE_TIME): Likewise.
7746 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
7747 (__SEM_PAD_BEFORE_TIME): Likewise.
7748 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
7749 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7750 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
7751 (__MSQ_PAD_BEFORE_TIME): Likewise.
7752 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
7753 (__SEM_PAD_BEFORE_TIME): Likewise.
7754 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
7755 (__SHM_PAD_BEFORE_TIME): Likewise.
7756 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
7757 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7758 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
7759
7760 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
7761
7762 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
7763 USE_RDTSCP is defined.
7764 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
7765 USE_RDTSCP is defined.
7766
7767 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7768
7769 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
7770 defined.
7771
7772 [BZ #23709]
7773 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
7774 independently of other flags.
7775
7776 2018-10-23 Florian Weimer <fweimer@redhat.com>
7777
7778 * time/tst-mktime2.c (N_STRINGS): Remove.
7779 (set_timezone): New function.
7780 (spring_forward_gap): Call it. Use FAIL_EXIT1.
7781 (mktime_test1): Report localtime failure and check errno value.
7782 Use TEST_COMPARE.
7783 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
7784 (do_test): Remove alarm call. Use set_timezone and array_length.
7785
7786 2018-10-23 Andreas Schwab <schwab@suse.de>
7787
7788 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
7789 (__start_context): Use END instead of PSEUDO_END.
7790
7791 2018-10-22 Joseph Myers <joseph@codesourcery.com>
7792
7793 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7794 version to 4.19.
7795
7796 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7797 version to 4.19.
7798
7799 [BZ #23793]
7800 * wcsmbs/c32rtomb.c: New file.
7801 * wcsmbs/mbrtoc32.c: Likewise.
7802 * wcsmbs/tst-c32-state.c: Likewise.
7803 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
7804 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
7805 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
7806 (tests): Add tst-c32-state.
7807 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
7808 $(gen-locales).
7809
7810 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
7811
7812 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
7813 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
7814
7815 2018-10-19 Joseph Myers <joseph@codesourcery.com>
7816
7817 [BZ #23794]
7818 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
7819 pair and return 0 in that case, and use saved character to
7820 interpret following character.
7821 * wcsmbs/tst-c16-surrogate.c: New file.
7822 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
7823 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
7824 Depend on $(gen-locales)
7825
7826 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
7827
7828 [BZ #23562]
7829 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
7830 (struct siginfo_t): Use correct type for si_band.
7831
7832 2018-10-19 Florian Weimer <fweimer@redhat.com>
7833
7834 [BZ #23689]
7835 * resource/bits/types/struct_rusage.h (struct rusage): Update
7836 comment on struct. Remove extraneous field comment.
7837
7838 2018-10-18 David S. Miller <davem@davemloft.net>
7839
7840 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
7841 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
7842 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
7843 sysdep_routines in subdir elf.
7844 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
7845 version for __vdso_clock_gettime.
7846 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
7847 Define.
7848 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7849 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7850
7851 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
7852
7853 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
7854
7855 * sysdeps/i386/init-arch.h: Removed.
7856 * sysdeps/i386/i586/init-arch.h: Likewise.
7857 * sysdeps/i386/i686/init-arch.h: Likewise.
7858 * sysdeps/i386/i686/hp-timing.h: Likewise.
7859 * sysdeps/x86_64/hp-timing.h: Likewise.
7860 * sysdeps/i386/isa.h: New file.
7861 * sysdeps/i386/i586/isa.h: Likewise.
7862 * sysdeps/i386/i686/isa.h: Likewise.
7863 * sysdeps/x86_64/isa.h: Likewise.
7864 * sysdeps/x86/hp-timing.h: New file.
7865 * sysdeps/x86/init-arch.h: Include <isa.h>.
7866
7867 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7868
7869 * math/libm-test-pow.inc (pow_test_data): Do not allow
7870 divide-by-zero exception for pow(+/- 0, -Inf).
7871
7872 2018-10-17 Zack Weinberg <zackw@panix.com>
7873
7874 * manual/job.texi (Job Control is Optional): Remove node, as
7875 job control has not been optional in quite some time.
7876 (Job Control): Mention briefly that systems older than
7877 POSIX.1-2001 might not support job control.
7878 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
7879 defined on systems conforming to POSIX.1-2001.
7880
7881 2018-10-17 Arjun Shankar <arjun@redhat.com>
7882
7883 [BZ #22062]
7884 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
7885 indentation.
7886 * (__gconv_read_conf): Mark function static.
7887 * (once): New static variable.
7888 * (__gconv_load_conf): New function.
7889 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
7890 * iconv/gconv_db.c (once): Remove static variable.
7891 * (__gconv_compare_alias): Use __gconv_load_conf instead of
7892 __gconv_read_conf.
7893 * (__gconv_find_transform): Likewise.
7894 * iconv/tst-iconv-mt.c: New test.
7895 * iconv/Makefile: Add tst-iconv_mt.
7896
7897 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7898
7899 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7900 bits/shm-pad.h.
7901 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
7902 (shmatt_t): Define as __syscall_ulong_t.
7903 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
7904 and [__SHM_PAD_AFTER_TIME].
7905 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
7906 Define shm_segsz and associated padding based on
7907 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
7908 Use __syscall_ulong_t instead of unsigned long int.
7909 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
7910 unsigned long int.
7911 [__USE_MISC] (struct shm_info): Likewise.
7912 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
7913 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
7914 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
7915 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
7916 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
7917 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7918 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
7919 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
7920 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7921 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7922 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7923
7924 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7925 bits/shmlba.h.
7926 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
7927 (SHMLBA): Remove macro.
7928 (__getpagesize): Remove function declaration.
7929 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
7930 <bits/shmlba.h>.
7931 (SHMLBA): Remove macro.
7932 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
7933 <bits/shmlba.h>.
7934 (SHMLBA): Remove macro.
7935 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
7936 <bits/shmlba.h>.
7937 (SHMLBA): Remove macro.
7938 (__getpagesize): Remove function declaration.
7939 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
7940 <bits/shmlba.h>.
7941 (SHMLBA): Remove macro.
7942 (__getshmlba): Remove function declaration.
7943 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
7944 (SHMLBA): Remove macro.
7945 (__getpagesize): Remove function declaration.
7946 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
7947 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
7948 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7949 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
7950 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
7951 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
7952 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
7953 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
7954 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
7955 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
7956
7957 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
7958
7959 [BZ #23275]
7960 * nptl/tst-mutex10.c: New File.
7961 * nptl/Makefile (tests): Add tst-mutex10.
7962 (tst-mutex10-ENV): New variable.
7963 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
7964 Ensure that elision path is used if elision is available.
7965 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
7966 Likewise.
7967 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
7968 Likewise.
7969 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
7970 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
7971 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
7972 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
7973 Likewise.
7974 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
7975 (__pthread_mutex_cond_lock_adjust): Likewise.
7976 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7977 Likewise.
7978 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
7979 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7980 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7981 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
7982 Add comments.
7983 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7984 Use atomic_load_relaxed and atomic_store_relaxed.
7985 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
7986 Use atomic_store_relaxed.
7987
7988 2018-10-17 Andreas Schwab <schwab@suse.de>
7989
7990 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
7991 * crypt/badsalttest.c (TIMEOUT): Likewise.
7992 * crypt/sha256c-test.c (TIMEOUT): Likewise.
7993 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
7994 * io/test-lfs.c (TIMEOUT): Likewise.
7995 * libio/tst-atime.c (TIMEOUT): Likewise.
7996 * localedata/tst-leaks.c (TIMEOUT): Likewise.
7997 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
7998 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
7999 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
8000 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
8001 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
8002 * nptl/tst-cond11.c (TIMEOUT): Likewise.
8003 * nptl/tst-cond14.c (TIMEOUT): Likewise.
8004 * nptl/tst-cond15.c (TIMEOUT): Likewise.
8005 * nptl/tst-cond24.c (TIMEOUT): Likewise.
8006 * nptl/tst-cond25.c (TIMEOUT): Likewise.
8007 * nptl/tst-kill2.c (TIMEOUT): Likewise.
8008 * nptl/tst-kill3.c (TIMEOUT): Likewise.
8009 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
8010 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
8011 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
8012 * nptl/tst-once2.c (TIMEOUT): Likewise.
8013 * nptl/tst-once3.c (TIMEOUT): Likewise.
8014 * nptl/tst-once4.c (TIMEOUT): Likewise.
8015 * nptl/tst-robust8.c (TIMEOUT): Likewise.
8016 * nptl/tst-robust9.c (TIMEOUT): Likewise.
8017 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
8018 * nptl/tst-sem14.c (TIMEOUT): Likewise.
8019 * nptl/tst-sem6.c (TIMEOUT): Likewise.
8020 * nptl/tst-signal3.c (TIMEOUT): Likewise.
8021 * nptl/tst-spin4.c (TIMEOUT): Likewise.
8022 * nptl/tst-tls3.c (TIMEOUT): Likewise.
8023 * nptl/tst-tls4.c (TIMEOUT): Likewise.
8024 * posix/tst-chmod.c (TIMEOUT): Likewise.
8025 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
8026 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
8027 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
8028 * posix/tst-regex2.c (TIMEOUT): Likewise.
8029 * posix/tst-waitid.c (TIMEOUT): Likewise.
8030 * rt/tst-aio.c (TIMEOUT): Likewise.
8031 * rt/tst-aio10.c (TIMEOUT): Likewise.
8032 * rt/tst-aio4.c (TIMEOUT): Likewise.
8033 * rt/tst-aio5.c (TIMEOUT): Likewise.
8034 * rt/tst-aio6.c (TIMEOUT): Likewise.
8035 * rt/tst-aio64.c (TIMEOUT): Likewise.
8036 * rt/tst-aio7.c (TIMEOUT): Likewise.
8037 * rt/tst-aio9.c (TIMEOUT): Likewise.
8038 * rt/tst-clock.c (TIMEOUT): Likewise.
8039 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
8040 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
8041 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
8042 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
8043 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
8044 * rt/tst-timer4.c (TIMEOUT): Likewise.
8045 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
8046 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
8047 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
8048 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
8049 * time/tst-ftime.c (TIMEOUT): Likewise.
8050 * timezone/tst-tzset.c (TIMEOUT): Likewise.
8051
8052 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
8053
8054 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
8055 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
8056 for thunderX2.
8057
8058 2018-10-15 Joseph Myers <joseph@codesourcery.com>
8059
8060 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8061 bits/sem-pad.h.
8062 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
8063 instead of <bits/wordsize.h>.
8064 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
8065 and [__SEM_PAD_AFTER_TIME].
8066 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
8067 __syscall_ulong_t instead of unsigned long int.
8068 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
8069 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
8070 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
8071 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
8072 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
8073 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
8074 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
8075 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
8076 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8077 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8078 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8079
8080 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
8081
8082 regex: simplify by using intprops.h
8083 [BZ#23744]
8084 * posix/regex_internal.h [_LIBC]: Include intprops.h.
8085 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
8086 intprops.h defines them.
8087
8088 regex: __builtin_expect → __glibc_unlikely
8089 [BZ#23744]
8090 This refactoring was prompted by a problem when the regex code is
8091 used as part of Gnulib and when the builder’s compiler does not grok
8092 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
8093 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
8094 Although this refactoring does not fix the problem directly,
8095 we might as well have Gawk use the now-preferred glibc style for when
8096 __builtin_expect is unavailable.
8097 * posix/regex_internal.h (BE): Remove.
8098 All uses replaced by __glibc_unlikely or __glibc_likely.
8099
8100 2018-10-11 Joseph Myers <joseph@codesourcery.com>
8101
8102 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8103 bits/msq-pad.h.
8104 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
8105 instead of <bits/wordsize.h>.
8106 (msgqnum_t): Define as __syscall_ulong_t.
8107 (msglen_t): Likewise.
8108 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
8109 and [__MSQ_PAD_AFTER_TIME].
8110 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
8111 __syscall_ulong_t instead of unsigned long int.
8112 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
8113 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
8114 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
8115 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
8116 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
8117 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
8118 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
8119 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
8120 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8121 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8122 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8123
8124 2018-10-10 Joseph Myers <joseph@codesourcery.com>
8125
8126 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
8127 (struct shmid_ds): Condition padding after time fields on
8128 [__WORDSIZE == 32].
8129 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
8130 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
8131 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8132
8133 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
8134 (struct semid_ds): Condition padding after time fields on
8135 [__WORDSIZE == 32].
8136 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
8137 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
8138 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
8139 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8140
8141 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
8142 (struct msqid_ds): Condition padding after time fields on
8143 [__WORDSIZE == 32].
8144 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
8145 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
8146 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
8147 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8148
8149 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8150
8151 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
8152
8153 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8154
8155 * libio/tst-readline.c (TIMEOUT): Define.
8156
8157 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
8158
8159 mktime fix for Gnulib + coreutils
8160 [BZ#23745]
8161 This fix affects only Gnulib. Problem discovered when
8162 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
8163 * time/mktime.c:
8164 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
8165 Do not define since it is not used. Defining an unused static
8166 function prompts a warning from GCC when Coreutils is configured
8167 with --enable-gcc-warnings.
8168
8169 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8170
8171 * benchtests/scripts/compare_bench.py (main): set float type on
8172 threshold argument.
8173
8174 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
8175
8176 [BZ #23740]
8177 * localedata/locales/kl_GL (mon): Update, the relative case.
8178 (alt_mon): Add, fill with month names in the nominative case.
8179 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
8180 (d_fmt): Set to "%b %d %Y".
8181
8182 2018-10-04 Joseph Myers <joseph@codesourcery.com>
8183
8184 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
8185 <bits/mman-linux.h>.
8186 (PROT_READ): Don't define here.
8187 (PROT_WRITE): Likewise.
8188 (PROT_EXEC): Likewise.
8189 (PROT_NONE): Likewise.
8190 (PROT_GROWSDOWN): Likewise.
8191 (PROT_GROWSUP): Likewise.
8192 (MAP_SHARED): Likewise.
8193 (MAP_PRIVATE): Likewise.
8194 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
8195 [__USE_MISC] (MAP_FILE): Likewise.
8196 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
8197 [__USE_MISC] (MAP_ANON): Likewise.
8198 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
8199 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
8200 (MCL_CURRENT): Likewise.
8201 (MCL_FUTURE): Likewise.
8202 (MCL_ONFAULT): Likewise.
8203 [__USE_MISC] (MADV_NORMAL): Likewise.
8204 [__USE_MISC] (MADV_RANDOM): Likewise.
8205 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
8206 [__USE_MISC] (MADV_WILLNEED): Likewise.
8207 [__USE_MISC] (MADV_DONTNEED): Likewise.
8208 [__USE_MISC] (MADV_FREE): Likewise.
8209 [__USE_MISC] (MADV_REMOVE): Likewise.
8210 [__USE_MISC] (MADV_DONTFORK): Likewise.
8211 [__USE_MISC] (MADV_DOFORK): Likewise.
8212 [__USE_MISC] (MADV_HWPOISON): Likewise.
8213 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
8214 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
8215 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
8216 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
8217 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
8218 (__MAP_ANONYMOUS): New macro.
8219 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
8220 <bits/mman-linux.h> inclusion.
8221 (MAP_FIXED): Likewise.
8222 (MS_SYNC): Likewise.
8223 (MS_ASYNC): Likewise.
8224 (MS_INVALIDATE): Likewise.
8225 [__USE_MISC] (MADV_MERGEABLE): Likewise.
8226 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
8227 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
8228 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
8229 [__USE_MISC] (MADV_DONTDUMP): Likewise.
8230 [__USE_MISC] (MADV_DODUMP): Likewise.
8231 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
8232 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8233
8234 [BZ #23735]
8235 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
8236 Define.
8237 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
8238 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
8239 Add test-nldbl-redirect.
8240 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
8241 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
8242 $(objpfx)libnldbl_nonshared.a.
8243
8244 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
8245
8246 * support/support.h (support_objdir_elf_ldso): New variable.
8247 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
8248 * support/Makefile (CFLAGS-support_paths.c): Add definition
8249 for OBJDIR_ELF_LDSO_PATH.
8250 * support/test-container.c (main): Search for the ld.so
8251 which is also used by the testsuite.
8252
8253 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
8254
8255 [BZ #20209]
8256 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
8257 should be "sap" rather than "sab".
8258 (day): Fix spelling of Sunday, should be "sapaat" rather than
8259 "sabaat".
8260
8261 2018-10-02 Joseph Myers <joseph@codesourcery.com>
8262
8263 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8264
8265 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
8266
8267 [BZ #19444]
8268 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
8269 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
8270 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
8271
8272 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8273
8274 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
8275
8276 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
8277
8278 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
8279 Add -mrtm.
8280 (CFLAGS-elision-unlock.c): Likewise.
8281 (CFLAGS-elision-timed.c): Likewise.
8282 (CFLAGS-elision-trylock.c): Likewise.
8283 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
8284
8285 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8286
8287 [BZ #21037]
8288 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
8289 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
8290 new fd_to_filename interface.
8291 * libio/freopen64.c (freopen64): Likewise.
8292 * libio/tst-memstream.h: New file.
8293 * libio/tst-memstream4.c: Likewise.
8294 * libio/tst-wmemstream4.c: Likewise.
8295 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
8296 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
8297 and remove internal dynamic allocation.
8298
8299 2018-10-01 Joseph Myers <joseph@codesourcery.com>
8300
8301 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
8302 (MREMAP_MAYMOVE): Do not define here.
8303 [__USE_GNU] (MREMAP_FIXED): Likewise.
8304 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
8305 (MREMAP_MAYMOVE): Define here instead.
8306 [__USE_GNU] (MREMAP_FIXED): Likewise.
8307 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
8308 (MREMAP_MAYMOVE): Remove.
8309 [__USE_GNU] (MREMAP_FIXED): Likewise.
8310
8311 2018-09-28 Joseph Myers <joseph@codesourcery.com>
8312
8313 * math/fromfp.h: Do not include <math_private.h>.
8314 * math/s_cacosh_template.c: Likewise.
8315 * math/s_casin_template.c: Likewise.
8316 * math/s_casinh_template.c: Likewise.
8317 * math/s_ccos_template.c: Likewise.
8318 * math/s_cproj_template.c: Likewise.
8319 * math/s_fdim_template.c: Likewise.
8320 * math/s_fmaxmag_template.c: Likewise.
8321 * math/s_fminmag_template.c: Likewise.
8322 * math/s_iseqsig_template.c: Likewise.
8323 * math/s_ldexp_template.c: Likewise.
8324 * math/s_nextdown_template.c: Likewise.
8325 * math/w_log1p_template.c: Likewise.
8326 * math/w_scalbln_template.c: Likewise.
8327 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8328 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8329 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8330 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8331 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
8332 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
8333 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
8334 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
8335 * sysdeps/i386/fpu/s_atanl.c: Likewise.
8336 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
8337 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
8338 * sysdeps/i386/fpu/s_fdim.c: Likewise.
8339 * sysdeps/i386/fpu/s_logbl.c: Likewise.
8340 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8341 * sysdeps/i386/fpu/s_significandl.c: Likewise.
8342 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
8343 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
8344 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8345 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8346 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8347 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8348 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8349 * sysdeps/ieee754/k_standardf.c: Likewise.
8350 * sysdeps/ieee754/k_standardl.c: Likewise.
8351 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8352 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8353 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
8354 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8355 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8356 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8357 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8358 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8359 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8360 * sysdeps/ieee754/s_signgam.c: Likewise.
8361 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8362 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
8363 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
8364 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8365 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8366 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8367 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8368 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8369 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8370 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8371 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8372 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8373 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8374 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8375 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8376 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8377 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8378 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8379 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8380 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8381 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8382 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8383 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8384 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8385 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8386 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8387 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8388 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8389 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8390 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8391 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8392 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8393 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8394 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8395 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8396 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8397 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
8398 <math_private.h>.
8399 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8400
8401 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
8402
8403 [BZ #23716]
8404 * sysdeps/i386/dl-cet.c: Removed.
8405 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
8406 prototype.
8407 (_dl_runtime_profile_shstk): Likewise.
8408 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
8409 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
8410
8411 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8412
8413 [BZ #23579]
8414 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
8415 do_test_with_invalid_iov): New tests.
8416 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
8417 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
8418 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
8419 errno is ENOSYS.
8420 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
8421 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
8422 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
8423
8424 2018-09-27 Joseph Myers <joseph@codesourcery.com>
8425
8426 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8427 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
8428 (MATH_REDIRECT_BINARY_ARGS): New macro.
8429 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8430 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
8431 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
8432 header inclusion.
8433 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
8434 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8435 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
8436 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8437 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8438 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8439 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8441 Likewise.
8442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
8443 Likewise.
8444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
8446 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
8447 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
8448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
8449 Likewise.
8450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
8451 Likewise.
8452 * sysdeps/generic/math_private_calls.h
8453 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
8454 Do not declare and define as an inline function.
8455 * math/divtc3.c (__divtc3): Use copysign functions instead of
8456 __copysign variants.
8457 * math/multc3.c (__multc3): Likewise.
8458 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
8459 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
8460 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8461 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8462 Likewise.
8463 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8464 (__ieee754_yn): Likewise.
8465 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8466 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
8467 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8468 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8469 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
8470 (__sin): Likewise.
8471 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
8472 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8473 Likewise.
8474 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8475 Likewise.
8476 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8477 Likewise.
8478 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8479 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8480 Likewise.
8481 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8482 (__ieee754_ynf): Likewise.
8483 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8484 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8485 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8486 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8487 Likewise.
8488 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8489 (__ieee754_ynl): Likewise.
8490 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8491 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8492 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8493 Likewise.
8494 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8495 (__ieee754_ynl): Likewise.
8496 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
8497 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8498 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8499 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8500 Likewise.
8501 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8502 (__ieee754_ynl)
8503 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
8504 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8505 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
8506 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8507 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8508
8509 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8510 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
8511 using MATH_REDIRECT.
8512 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
8513 header inclusion.
8514 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
8515 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8516 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8517 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
8518 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8519 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8520 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
8522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
8523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
8524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
8525 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8526 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8527 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8528 (round): Redirect to __round.
8529 (__roundl): Call round instead of __round.
8530 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
8531 Remove macro.
8532 [_ARCH_PWR5X] (__roundf): Likewise.
8533 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
8534 functions instead of __round variants.
8535 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8536 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8537 Likewise.
8538 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8539 Likewise.
8540 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8541 Likewise.
8542 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8543 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
8544 __lroundl.
8545 (__ieee754_expl): Call roundl instead of __roundl.
8546
8547 2018-09-27 Andreas Schwab <schwab@suse.de>
8548
8549 [BZ #23717]
8550 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
8551 (do_test): Make st1 static.
8552
8553 2018-09-26 Andreas Schwab <schwab@suse.de>
8554
8555 [BZ #23707]
8556 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
8557 * elf/Makefile (tests): Add tst-unwind-ctor.
8558 (modules-names): Add tst-unwind-ctor-lib.
8559 ($(objpfx)tst-unwind-ctor): Depend on
8560 $(objpfx)tst-unwind-ctor-lib.so.
8561
8562 2018-09-26 Joseph Myers <joseph@codesourcery.com>
8563
8564 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
8565 file. Most contents moved from ....
8566 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
8567 and include <bits/mman-map-flags-generic.h>.
8568 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8569 (sysdep_headers): Add bits/mman-map-flags-generic.h.
8570 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
8571 <bits/mman-map-flags-generic.h>.
8572 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
8573 macros defined in <bits/mman-map-flags-generic.h>.
8574 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
8575 <bits/mman-map-flags-generic.h>.
8576 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
8577 defined in <bits/mman-map-flags-generic.h>.
8578
8579 2018-09-26 Andreas Schwab <schwab@suse.de>
8580
8581 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
8582 output.
8583
8584 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
8585 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8586 Fangrui Song <maskray@google.com>
8587
8588 [BZ #20480]
8589 * config.make.in (have-textrel_ifunc): New define.
8590 * configure.ac: Add check if linker supports textrel relocation with
8591 ifunc.
8592 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
8593 tst-ifunc-textrel.
8594 (CFLAGS-tst-ifunc-textrel.c): New rule.
8595 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
8596 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
8597 * elf/tst-ifunc-textrel.c: New file.
8598
8599 2018-09-25 Joseph Myers <joseph@codesourcery.com>
8600
8601 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8602 <bits/procfs-prregset.h>.
8603 (prgregset_t): Define using __prgregset_t.
8604 (prfpregset_t): Define using __prfpregset_t.
8605 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8606 (sysdep_headers): Add bits/procfs-prregset.h.
8607 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
8608 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
8609 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
8610 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
8611
8612 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8613 <bits/procfs-id.h> and <bits/procfs-extra.h>.
8614 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
8615 pr_uid and pr_gid.
8616 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8617 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
8618 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
8619 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
8620 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
8621 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
8622 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
8623 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
8624 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
8625 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
8626 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
8627 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
8628 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
8629 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
8630 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
8631 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
8632 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
8633 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
8634 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
8635 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
8636 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
8637 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
8638 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8639 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
8640
8641 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
8642 AArch64 version. Include <bits/procfs.h>.
8643 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8644 (sysdep_headers): Add bits/procfs.h.
8645 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
8646 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
8647 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
8648 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
8649 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
8650 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
8651 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
8652 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
8653 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
8654 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
8655 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
8656 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
8657 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
8658 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
8659 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
8660 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8661 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
8662
8663 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8664
8665 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
8666 Use libsupport.
8667
8668 2018-09-25 Arjun Shankar <arjun@redhat.com>
8669
8670 * iconv/gconv_int.h (__gconv_path_elem): Remove.
8671 (__gconv_max_path_elem_len): Likewise.
8672 (__gconv_nmodules): Likewise.
8673 (__gconv_get_path): Likewise.
8674 (path_elem): Move to ...
8675 * iconv/gconv_conf.c: ... here.
8676 (__gconv_get_path): Mark function static.
8677 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
8678 * iconv/gconv_open.c: ... here.
8679
8680 2018-09-24 Andreas Schwab <schwab@suse.de>
8681
8682 * scripts/haveversions.awk: New file.
8683 * Makerules ($(common-objpfx)Versions.def)
8684 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8685 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8686 Move rules ...
8687 * Makeconfig ($(common-objpfx)Versions.def)
8688 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8689 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8690 ... here.
8691 ($(common-objpfx)Versions.mk): New rule. Include it.
8692 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
8693 Emit error if build-obsolete-nsl = yes.
8694 * manual/install.texi (Configuring and compiling): Describe
8695 --enable-obsolete-nsl as unavaiable after version 2.28.
8696 * INSTALL: Regenerate.
8697
8698 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8699
8700 * NEWS: Add note about new TLE support on powerpc64le.
8701 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
8702 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
8703 __ununsed1.
8704 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
8705 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
8706 * sysdeps/powerpc/powerpc32/sysdep.h,
8707 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
8708 ABORT_TRANSACTION): Remove macros.
8709 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
8710 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
8711 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
8712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
8713 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8714 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
8715 usage.
8716 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
8717
8718 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
8719
8720 [BZ #10425]
8721 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
8722 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
8723 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
8724 which is the same as in it_IT.
8725 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
8726 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
8727
8728 2018-09-20 Joseph Myers <joseph@codesourcery.com>
8729
8730 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8731 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
8732 using MATH_REDIRECT.
8733 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
8734 header inclusion.
8735 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
8736 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8737 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
8738 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8739 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8740 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
8742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
8743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
8744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
8745 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8746 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8747 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8748 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8749 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
8750 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
8751 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
8752 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8753 (ceil): Redirect to __ceil.
8754 (floor): Redirect to __floor.
8755 (trunc): Redirect to __trunc.
8756 (__truncl): Call trunc instead of __trunc.
8757 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
8758 Remove macro.
8759 [_ARCH_PWR5X] (__truncf): Likewise.
8760 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
8761 trunc functions instead of __trunc variants.
8762 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8763 Likewise.
8764 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8765 Likewise.
8766 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8767 Likewise.
8768 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8769 Likewise.
8770
8771 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
8772 [__i586__ || __pentium__].
8773 [__i486__]: Handle explicitly.
8774 (HAS_CPUID): Define to 1 if above macros are undefined.
8775 (HAS_I586): Likewise.
8776 (HAS_I686): Likewise.
8777
8778 2018-09-20 Florian Weimer <fweimer@redhat.com>
8779
8780 * misc/tst-gethostid.c: New file.
8781 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
8782 (tst-gethostid): Link with -ldl.
8783
8784 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
8785
8786 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
8787 value from gethostbyname_r.
8788
8789 2018-09-19 Carlos O'Donell <carlos@redhat.com>
8790
8791 * stdlib/tst-setcontext9.c (f1): Rename to...
8792 (f1a): ... this.
8793 (f1b): New function implementing lower half of f1 in alternate stack.
8794
8795 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
8796
8797 Fix mktime localtime offset confusion
8798 [BZ #23603]
8799 * include/time.h (__mktime_internal): The localtime offset is now
8800 of type long int instead of time_t. This is the longstanding type
8801 in glibc, and it is more than enough to represent difference
8802 between localtime and gmtime even if it is 32 bits and time_t is
8803 64. Changing it now will let us avoid an unnecessary change when
8804 time_t is widened to 64 bits on 32-bit platforms.
8805 * time/mktime-internal.h (mktime_offset_t): Now long int.
8806
8807 Merge mktime, timegm from upstream Gnulib
8808 [BZ #23603][BZ #16346]
8809 This fixes some obscure problems with integer overflow.
8810 Although it looks scary, it is almost all a byte-for-byte copy
8811 from Gnulib, and the Gnulib code has been tested reasonably well.
8812 * include/intprops.h: New file, copied from Gnulib.
8813 * include/verify.h, time/mktime-internal.h:
8814 New tiny files, simplified from Gnulib.
8815 * time/mktime.c: Copy from Gnulib. This has the following changes:
8816 Do not include config.h if DEBUG_MKTIME is nonzero.
8817 Include stdbool.h, intprops.h, verify.h.
8818 Include string.h only if needed.
8819 Include stdlib.h on MS-Windows.
8820 Include mktime-internal.h.
8821 (DEBUG_MKTIME): Default to 0, and simplify later uses.
8822 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
8823 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
8824 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
8825 simplify later conditionals; default the others to zero. Use
8826 these conditionals to express only the code needed on the current
8827 platform. In uses of these conditionals, explicitly spell out how
8828 _LIBC affects things, so it’s easier to review from a glibc
8829 viewpoint.
8830 (WRAPV): Remove; no longer needed now that we have
8831 systematic overflow checking.
8832 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
8833 compartmentalize tzset issues. Move system-dependent tzsettish
8834 code here from mktime.
8835 (verify): Remove; now done by verify.h. All uses changed.
8836 (long_int): Use a more-conservative definition, to avoid
8837 integer overflow.
8838 (SHR): Remove, replacing with ...
8839 (shr): New function, which means we needn’t worry about side
8840 effects in args, and conversion analysis is simpler.
8841 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
8842 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
8843 (time_t_avg, time_t_add_ok): Remove.
8844 (mktime_min, mktime_max): New constants.
8845 (leapyear, isdst_differ): Use bool for booleans.
8846 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
8847 Use long_int, not time_t, for mktime differences.
8848 (long_int_avg): New function, replacing time_t_avg.
8849 INT_ADD_WRAPV replaces time_t_add_ok.
8850 (guess_time_tm): 6th arg is now long_int, not time_t const *.
8851 All uses changed.
8852 (convert_time): New function.
8853 (ranged_convert): Use it.
8854 (__mktime_internal): Last arg now points to mktime_offset_t, not
8855 time_t. All uses changed. This is a no-op on glibc, where
8856 mktime_offset_t is always time_t. Use int, not time_t, for UTC
8857 offset guess. Directly check for integer overflow instead of
8858 using a heuristic that works only 99.9...% of the time.
8859 Access *OFFSET only once, to avoid an unlikely race if the
8860 compiler delays a load and if this cascades into a signed integer
8861 overflow.
8862 (mktime): Move tzsettish code to my_tzset, and move
8863 localtime_offset to within mktime so that it doesn’t
8864 need a separate ifdef.
8865 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
8866 instead of localtime.
8867 * time/timegm.c: Copy from Gnulib. This has the following changes:
8868 Include mktime-internal.h.
8869 [!_LIBC]: Include config.h and time.h. Do not include
8870 timegm.h or time_r.h. Make __mktime_internal a macro,
8871 and include mktime-internal.h to get its declaration.
8872 (timegm): Temporary is now mktime_offset_t, not time_t.
8873 This affects only Gnulib.
8874
8875 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
8876
8877 [BZ #23637]
8878 * string/test-strstr.c (pr23637): New function.
8879 (test_main): Add tests with longer needles.
8880 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
8881 * string/strstr.c (AVAILABLE): Likewise.
8882
8883 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8884
8885 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
8886
8887 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8888
8889 * NEWS: Mention pow improvements.
8890 * math/Makefile (type-double-routines): Add e_pow_log_data.
8891 * sysdeps/generic/math_private.h (__exp1): Remove.
8892 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
8893 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
8894 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
8895 contraction.
8896 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
8897 (exp_inline): Remove.
8898 (__ieee754_exp): Only single double input is handled.
8899 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
8900 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
8901 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
8902 (__pow_log_data): Define.
8903 * sysdeps/ieee754/dbl-64/upow.h: Remove.
8904 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
8905 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
8906 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
8907 contraction.
8908 (CFLAGS-e_pow-fma4.c): Likewise.
8909
8910 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
8911
8912 Simplify tzfile fstat failure code
8913 [BZ #21716]
8914 * time/tzfile.c (__tzfile_read): Simplify slightly.
8915
8916 Fix tzfile low-memory assertion failure
8917 [BZ #21716]
8918 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
8919 when registering time zone abbreviations.
8920
8921 2018-09-18 Joseph Myers <joseph@codesourcery.com>
8922
8923 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
8924 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
8925 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8926 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
8927 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
8928 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
8929 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
8930 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8931 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8932
8933 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
8934 __ceil.
8935 (__ceill): Call ceil instead of __ceil.
8936 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
8937 __floor.
8938 (__floorl): Call floor instead of __floor.
8939
8940 2018-09-17 Joseph Myers <joseph@codesourcery.com>
8941
8942 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8943 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
8944 using MATH_REDIRECT.
8945 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
8946 header inclusion.
8947 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
8948 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8949 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8950 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
8951 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8952 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8953 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8954 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
8955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
8956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
8957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
8958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
8959 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8960 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8961 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8962 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8963 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
8964 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
8965 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
8966 Remove macro.
8967 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
8968 functions instead of __ceil variants.
8969 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8970 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8971 Likewise.
8972 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8973 Likewise.
8974 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8975 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8976 Likewise.
8977 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8978 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8979
8980 [BZ #21286]
8981 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
8982 constant.
8983 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
8984 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
8985 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
8986 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
8987 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
8988 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
8989 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
8990 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
8991 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
8992 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
8993 (ILL_BADIADDR): Remove constant.
8994 (TRAP_BRANCH): Likewise.
8995 (TRAP_HWBKPT): Likewise.
8996
8997 2018-09-14 Joseph Myers <joseph@codesourcery.com>
8998
8999 [BZ #23656]
9000 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
9001 Remove [_MIPS_SIM = _ABIN32] conditional case.
9002 (struct elf_prpsinfo): Likewise.
9003
9004 [BZ #23649]
9005 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
9006 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
9007 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
9008 Likewise.
9009 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
9010 elf_prpsinfo): Likewise.
9011 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
9012 elf_prpsinfo): Likewise.
9013 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
9014 Likewise.
9015
9016 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9017 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
9018 using MATH_REDIRECT.
9019 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
9020 header inclusion.
9021 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
9022 * sysdeps/alpha/fpu/s_rint.c: Likewise.
9023 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
9024 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9025 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9026 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9027 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
9028 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9029 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9030 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9031 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
9032 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
9033 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
9034 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
9035 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
9036 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9037 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9038 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
9039 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
9041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
9042 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
9043 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
9044 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
9045 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
9046 * sysdeps/x86_64/fpu/math_private.h: Remove file.
9047 * math/e_scalb.c (invalid_fn): Use rint functions instead of
9048 __rint variants.
9049 * math/e_scalbf.c (invalid_fn): Likewise.
9050 * math/e_scalbl.c (invalid_fn): Likewise.
9051 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9052 Likewise.
9053 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9054 Likewise.
9055 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9056 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
9057 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9058 Likewise.
9059 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9060 Likewise.
9061 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9062 Likewise.
9063 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
9064 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
9065
9066 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9067 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
9068 New macro.
9069 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9070 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
9071 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9072 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
9073 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9074 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
9075 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9076 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
9077 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9078 && !NO_MATH_REDIRECT] (floor): Likewise.
9079 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
9080 header inclusion.
9081 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
9082 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9083 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9084 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
9085 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9086 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9087 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9088 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
9089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
9090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
9091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
9092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
9093 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9094 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9095 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
9096 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
9097 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
9098 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
9099 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
9100 Remove macro.
9101 [_ARCH_PWR5X] (__floorf): Likewise.
9102 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
9103 inline function.
9104 [__SSE4_1__] (__floorf): Likewise.
9105 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
9106 instead of __floor variants.
9107 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
9108 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
9109 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
9110 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
9111 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
9112 * math/w_tgamma_compat.c (__tgamma): Likewise.
9113 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
9114 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
9115 * math/w_tgammal_compat.c (__tgammal): Likewise.
9116 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
9117 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9118 Likewise.
9119 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9120 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
9121 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9122 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9123 Likewise.
9124 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9125 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
9126 Likewise.
9127 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9128 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
9129 Likewise.
9130 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9131 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
9132 Likewise.
9133 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9134 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9135 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
9136 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
9137 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9138 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9139
9140 2018-09-12 Joseph Myers <joseph@codesourcery.com>
9141
9142 * elf/Makefile (modules-names-tests): New variable.
9143
9144 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9145
9146 * NEWS: Mention log2 improvements.
9147 * math/Makefile (type-double-routines): Add e_log2_data.
9148 * sysdeps/i386/fpu/e_log2_data.c: New file.
9149 * sysdeps/ia64/fpu/e_log2_data.c: New file.
9150 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
9151 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
9152 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
9153 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
9154 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
9155
9156 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9157
9158 * NEWS: Mention log improvement.
9159 * math/Makefile (type-double-routines): Add e_log_data.
9160 * sysdeps/i386/fpu/e_log_data.c: New file.
9161 * sysdeps/ia64/fpu/e_log_data.c: New file.
9162 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
9163 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
9164 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
9165 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
9166 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
9167 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
9168
9169 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
9170 Xuepeng Guo <xuepeng.guo@intel.com>
9171
9172 [BZ #23606]
9173 * sysdeps/i386/start.S: Include <sysdep.h>
9174 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
9175 enabled. Add cfi_undefined (eip).
9176
9177 2018-09-11 Joseph Myers <joseph@codesourcery.com>
9178
9179 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
9180 (MOVQ): Likewise.
9181 (EXTRACT_WORDS64): Likewise.
9182 (INSERT_WORDS64): Likewise.
9183 (GET_FLOAT_WORD): Likewise.
9184 (SET_FLOAT_WORD): Likewise.
9185
9186 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
9187 argument.
9188 (Config.build_gcc): Use --disable-libsanitizer for first GCC
9189 build, but not for second build if --full-gcc. Use
9190 --enable-languages=all for second build if --full-gcc.
9191 (get_parser): Add --full-gcc option.
9192 (main): Update call to Context.
9193
9194 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
9195
9196 [BZ #10797]
9197 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
9198 Single Quotation Mark).
9199 (thousands_sep): Likewise.
9200 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
9201 * localedata/locales/it_IT (thousands_sep): Use ".".
9202 (grouping): Use "3;3".
9203
9204 2018-09-10 Joseph Myers <joseph@codesourcery.com>
9205
9206 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9207 x86_64 and i686 configs using --enable-obsolete-rpc
9208 --enable-obsolete-nsl.
9209
9210 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
9211
9212 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9213
9214 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
9215
9216 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
9217 Increment size of new_argv by one.
9218
9219 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
9220
9221 [BZ #17426]
9222 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
9223 * localedata/locales/ar_IN (d_fmt): Likewise.
9224 * localedata/locales/bhb_IN (d_fmt): Likewise.
9225 * localedata/locales/bho_IN (d_fmt): Likewise.
9226 * localedata/locales/bn_BD (d_fmt): Likewise.
9227 * localedata/locales/bn_IN (d_fmt): Likewise.
9228 * localedata/locales/doi_IN (d_fmt): Likewise.
9229 * localedata/locales/gu_IN (d_fmt): Likewise.
9230 * localedata/locales/hi_IN (d_fmt): Likewise.
9231 * localedata/locales/hne_IN (d_fmt): Likewise.
9232 * localedata/locales/kn_IN (d_fmt): Likewise.
9233 * localedata/locales/mag_IN (d_fmt): Likewise.
9234 * localedata/locales/mai_IN (d_fmt): Likewise.
9235 * localedata/locales/mjw_IN (d_fmt): Likewise.
9236 * localedata/locales/ml_IN (d_fmt): Likewise.
9237 * localedata/locales/mni_IN (d_fmt): Likewise.
9238 * localedata/locales/mr_IN (d_fmt): Likewise.
9239 * localedata/locales/pa_IN (d_fmt): Likewise.
9240 * localedata/locales/raj_IN (d_fmt): Likewise.
9241 * localedata/locales/sat_IN (d_fmt): Likewise.
9242 * localedata/locales/sd_IN (d_fmt): Likewise.
9243 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
9244 * localedata/locales/ta_IN (d_fmt): Likewise.
9245 * localedata/locales/ta_LK (d_fmt): Likewise.
9246 * localedata/locales/tcy_IN (d_fmt): Likewise.
9247 * localedata/locales/ur_IN (d_fmt): Likewise.
9248
9249 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
9250 * localedata/locales/ks_IN (d_fmt): Likewise.
9251 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
9252
9253 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
9254 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
9255 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
9256 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
9257
9258 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
9259
9260 * NEWS: Mention exp and exp2 improvements.
9261 * math/Makefile (libm-support): Remove t_exp.
9262 (type-double-routines): Add math_err and e_exp_data.
9263 * sysdeps/aarch64/libm-test-ulps: Update.
9264 * sysdeps/arm/libm-test-ulps: Update.
9265 * sysdeps/i386/fpu/e_exp_data.c: New file.
9266 * sysdeps/i386/fpu/math_err.c: New file.
9267 * sysdeps/i386/fpu/t_exp.c: Remove.
9268 * sysdeps/ia64/fpu/e_exp_data.c: New file.
9269 * sysdeps/ia64/fpu/math_err.c: New file.
9270 * sysdeps/ia64/fpu/t_exp.c: Remove.
9271 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
9272 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
9273 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
9274 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
9275 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
9276 * sysdeps/ieee754/dbl-64/math_config.h: New file.
9277 * sysdeps/ieee754/dbl-64/math_err.c: New file.
9278 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
9279 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
9280 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
9281 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
9282 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
9283 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
9284 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
9285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9286 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9287
9288 2018-09-05 Joseph Myers <joseph@codesourcery.com>
9289
9290 * sysdeps/alpha/fpu/math_private.h: Remove.
9291
9292 * sysdeps/generic/math_private.h
9293 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
9294 Move this inline function ....
9295 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
9296 * include/math.h [!_ISOMAC]: To here....
9297
9298 2018-09-04 Joseph Myers <joseph@codesourcery.com>
9299
9300 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
9301 code ....
9302 [!FE_HAVE_ROUNDING_MODES]: And this code ....
9303 * include/fenv.h [!_ISOMAC]: ... to here.
9304 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
9305 (feraiseexcept): Likewise.
9306 * math/fromfp.h: Do not include <fenv_private.h>.
9307 * math/s_cexp_template.c: Likewise.
9308 * math/s_csin_template.c: Likewise.
9309 * math/s_csinh_template.c: Likewise.
9310 * math/s_ctan_template.c: Likewise.
9311 * math/s_ctanh_template.c: Likewise.
9312 * math/s_iseqsig_template.c: Likewise.
9313 * math/w_acos_compat.c: Likewise.
9314 * math/w_acosf_compat.c: Likewise.
9315 * math/w_acosl_compat.c: Likewise.
9316 * math/w_asin_compat.c: Likewise.
9317 * math/w_asinf_compat.c: Likewise.
9318 * math/w_asinl_compat.c: Likewise.
9319 * math/w_j0_compat.c: Likewise.
9320 * math/w_j0f_compat.c: Likewise.
9321 * math/w_j0l_compat.c: Likewise.
9322 * math/w_j1_compat.c: Likewise.
9323 * math/w_j1f_compat.c: Likewise.
9324 * math/w_j1l_compat.c: Likewise.
9325 * math/w_jn_compat.c: Likewise.
9326 * math/w_jnf_compat.c: Likewise.
9327 * math/w_log10_compat.c: Likewise.
9328 * math/w_log10f_compat.c: Likewise.
9329 * math/w_log10l_compat.c: Likewise.
9330 * math/w_log2_compat.c: Likewise.
9331 * math/w_log2f_compat.c: Likewise.
9332 * math/w_log2l_compat.c: Likewise.
9333 * math/w_log_compat.c: Likewise.
9334 * math/w_logf_compat.c: Likewise.
9335 * math/w_logl_compat.c: Likewise.
9336 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9337 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9338 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9339 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9340 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9341 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9342 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9343 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9344 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9345 * sysdeps/ieee754/k_standardl.c: Likewise.
9346 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9347 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9348 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9349 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9350 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9351 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9352 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9353 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9354 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9355 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9356 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9357 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9358 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9359 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9360 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9361 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9362 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9363 * math/w_ilogb_template.c: Include <fenv.h> instead of
9364 <fenv_private.h>.
9365 * math/w_llogb_template.c: Likewise.
9366 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9367 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9368
9369 2018-09-03 Joseph Myers <joseph@codesourcery.com>
9370
9371 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
9372 * math/fromfp.h: Include <fenv_private.h>.
9373 * math/math-narrow.h: Likewise.
9374 * math/s_cexp_template.c: Likewise.
9375 * math/s_csin_template.c: Likewise.
9376 * math/s_csinh_template.c: Likewise.
9377 * math/s_ctan_template.c: Likewise.
9378 * math/s_ctanh_template.c: Likewise.
9379 * math/s_iseqsig_template.c: Likewise.
9380 * math/w_acos_compat.c: Likewise.
9381 * math/w_acosf_compat.c: Likewise.
9382 * math/w_acosl_compat.c: Likewise.
9383 * math/w_asin_compat.c: Likewise.
9384 * math/w_asinf_compat.c: Likewise.
9385 * math/w_asinl_compat.c: Likewise.
9386 * math/w_ilogb_template.c: Likewise.
9387 * math/w_j0_compat.c: Likewise.
9388 * math/w_j0f_compat.c: Likewise.
9389 * math/w_j0l_compat.c: Likewise.
9390 * math/w_j1_compat.c: Likewise.
9391 * math/w_j1f_compat.c: Likewise.
9392 * math/w_j1l_compat.c: Likewise.
9393 * math/w_jn_compat.c: Likewise.
9394 * math/w_jnf_compat.c: Likewise.
9395 * math/w_llogb_template.c: Likewise.
9396 * math/w_log10_compat.c: Likewise.
9397 * math/w_log10f_compat.c: Likewise.
9398 * math/w_log10l_compat.c: Likewise.
9399 * math/w_log2_compat.c: Likewise.
9400 * math/w_log2f_compat.c: Likewise.
9401 * math/w_log2l_compat.c: Likewise.
9402 * math/w_log_compat.c: Likewise.
9403 * math/w_logf_compat.c: Likewise.
9404 * math/w_logl_compat.c: Likewise.
9405 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9406 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9407 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9408 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9409 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9410 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9411 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9412 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9413 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9414 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9415 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9416 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9417 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
9418 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
9419 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9420 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9421 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9422 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9423 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9424 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9425 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9426 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9427 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9428 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9429 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9430 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9431 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9432 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
9433 * sysdeps/ieee754/float128/float128_private.h: Likewise.
9434 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9435 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9436 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9437 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9438 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9439 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9440 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9441 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9442 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9443 * sysdeps/ieee754/k_standardl.c: Likewise.
9444 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9445 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9446 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9447 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9448 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9449 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9450 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9451 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9452 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9453 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9454 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9455 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9456 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9457 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9458 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9459 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9460 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9461 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
9462 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9463 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9464 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9465 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9466 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9467 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9468 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9469 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9470 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9471 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9472 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
9473 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9474 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9475 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9476 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9477 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9478 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9479 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9480 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9481 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9482 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9483 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9484 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9485 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9486 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9487 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9488 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9489 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9490 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9491 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9492 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9493 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9494 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9495 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9496 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9497 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9498 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9499 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9500 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9501 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9502 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9503 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9504 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9505 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9506 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9507 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9508 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9509 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9510 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9511 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9512 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9513 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9514 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9515
9516 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9517
9518 [BZ #20271]
9519 * include/stdio.h (__libc_fatal): Mention newline in comment.
9520 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
9521 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
9522 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9523 * nss/nsswitch.c (__nss_next2): Likewise.
9524 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
9525 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
9526 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
9527 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9528 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
9529 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
9530 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
9531 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
9532 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
9533 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
9534 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
9535 * sysdeps/unix/sysv/linux/netlink_assert_response.c
9536 (__netlink_assert_response): Likewise.
9537
9538 2018-08-31 Joseph Myers <joseph@codesourcery.com>
9539
9540 * conform/glibcconform.py: New file.
9541 * conform/list-header-symbols.py: Likewise.
9542 * conform/list-header-symbols.pl: Remove.
9543 * conform/Makefile (tests-special): Only add linknamespace tests
9544 if [PYTHON].
9545 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
9546
9547 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
9548
9549 [BZ #23597]
9550 * support/Makefile (libsupport-routines): Add
9551 support_copy_file_range and xcopy_file_range.
9552 * support/support.h: Include <sys/types.h>.
9553 (support_copy_file_range): New prototype.
9554 * support/support_copy_file_range.c: New file. Copied and
9555 modified from io/copy_file_range-compat.c.
9556 * support/test-container.c (copy_one_file): Call xcopy_file_rang
9557 instead of copy_file_range.
9558 * support/xcopy_file_range.c: New file.
9559 * support/xunistd.h (xcopy_file_range): New prototype.
9560
9561 2018-08-30 Carlos O'Donell <carlos@redhat.com>
9562
9563 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
9564 xpthread_create and xpthread_join.
9565
9566 2018-08-30 Florian Weimer <fweimer@redhat.com>
9567
9568 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
9569
9570 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
9571
9572 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
9573 if malloc fails.
9574
9575 2018-08-29 Joseph Myers <joseph@codesourcery.com>
9576
9577 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
9578 and minus_oflow as non-finite.
9579
9580 2018-08-28 Joseph Myers <joseph@codesourcery.com>
9581
9582 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
9583 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
9584 moved to fenv_private.h except for ...
9585 (TOINT_INTRINSICS): Kept in math_private.h.
9586 (roundtoint): Likewise.
9587 (converttoint): Likewise.
9588 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
9589 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9590 * sysdeps/arm/math_private.h: Remove.
9591 * sysdeps/generic/fenv_private.h: New file. Contents moved from
9592 ....
9593 * sysdeps/generic/math_private.h: ... this file. Include
9594 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
9595 Include <fenv_private.h>. Remove functions and macros moved to
9596 fenv_private.h.
9597 * sysdeps/i386/fpu/math_private.h: Remove.
9598 * sysdeps/mips/math_private.h: Move to ....
9599 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
9600 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
9601 [__mips_hard_float] conditional. Include next <fenv_private.h>.
9602 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
9603 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9604 * sysdeps/powerpc/fpu/math_private.h: Do not include
9605 <fenv_private.h>.
9606 * sysdeps/riscv/rvf/math_private.h: Move to ....
9607 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
9608 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
9609 <fenv_private.h>.
9610 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
9611 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9612 * sysdeps/sparc/fpu/math_private.h: Remove.
9613 * sysdeps/i386/fpu/fenv_private.h: Move to ....
9614 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
9615 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
9616 <fenv_private.h>.
9617 * sysdeps/x86_64/fpu/math_private.h: Do not include
9618 <sysdeps/i386/fpu/fenv_private.h>.
9619
9620 2018-08-28 Florian Weimer <fweimer@redhat.com>
9621
9622 [BZ #23578]
9623 * posix/tst-regcomp-truncated.c: New file.
9624 * posix/Makefile (tests): Add it.
9625 (tst-regcomp-truncated.out): Depend on generated locales.
9626
9627 2018-08-28 Florian Weimer <fweimer@redhat.com>
9628
9629 * support/test-container.c (main): Treat unshare failure with
9630 EPERM as an unsupported test.
9631
9632 2018-08-28 Florian Weimer <fweimer@redhat.com>
9633
9634 [BZ #23520]
9635 nscd: Fix use-after-free in addgetnetgrentX and its callers.
9636 * nscd/netgroupcache.c
9637 (addgetnetgrentX): Add tofreep parameter. Do not free
9638 heap-allocated buffer.
9639 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
9640 (addgetnetgrentX_ignore): New function.
9641 (addgetnetgrent): Call it.
9642 (readdgetnetgrent): Likewise.
9643
9644 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9645
9646 * string/memmem.c: Use memcmp for first match.
9647
9648 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
9649
9650 [BZ #17426]
9651 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
9652
9653 2018-08-27 DJ Delorie <dj@redhat.com>
9654
9655 * support/Makefile (others): Don't list programs explicitly as a
9656 dependency of "others".
9657
9658 2018-08-27 Joseph Myers <joseph@codesourcery.com>
9659
9660 * sysdeps/generic/math-tests-trap-force.h: New file.
9661 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
9662 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
9663 * sysdeps/powerpc/math-tests.h: Remove file.
9664 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
9665
9666 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
9667 Torvald Riegel <triegel@redhat.com>
9668
9669 [BZ #23538]
9670 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
9671 Update r to include the set wake-request flag if waiters are
9672 remaining after spinning.
9673
9674 2018-08-27 Joseph Myers <joseph@codesourcery.com>
9675
9676 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
9677
9678 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
9679
9680 [BZ #23578]
9681 regex: fix uninitialized memory access
9682 I introduced this bug into gnulib in commit
9683 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
9684 eventually it was merged into glibc. The bug was found by
9685 project-repo <bugs@feusi.co> and reported here:
9686 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
9687 Diagnosis and draft fix reported by Assaf Gordon here:
9688 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
9689 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
9690 * posix/regex_internal.c (build_wcs_upper_buffer):
9691 Fix bug when mbrtowc returns 0.
9692
9693 2018-08-24 Carlos O'Donell <carlos@redhat.com>
9694
9695 * po/be.po: Update translation.
9696
9697 2018-08-24 DJ Delorie <dj@delorie.com>
9698
9699 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
9700 $(libunwind).
9701
9702 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9703
9704 [BZ #23400]
9705 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
9706 create temporary files in source tree.
9707
9708 2018-08-24 Joseph Myers <joseph@codesourcery.com>
9709
9710 * sysdeps/generic/math-tests-trap.h: New file.
9711 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
9712 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
9713 * sysdeps/aarch64/math-tests.h: Remove file.
9714 * sysdeps/arm/math-tests.h: Likewise.
9715 * sysdeps/riscv/math-tests.h: Likewise.
9716 * sysdeps/aarch64/math-tests-trap.h: New file.
9717 * sysdeps/arm/math-tests-trap.h: Likewise.
9718 * sysdeps/riscv/math-tests-trap.h: Likewise.
9719
9720 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
9721
9722 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
9723 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
9724 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
9725 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
9726 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
9727 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
9728 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9729 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
9730 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
9731 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9732 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9733 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9734 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9735 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
9736 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
9737 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
9738 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9739 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9740
9741 2018-08-23 Joseph Myers <joseph@codesourcery.com>
9742
9743 * sysdeps/generic/math-tests-exceptions.h: New file.
9744 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
9745 (EXCEPTION_TESTS_float): Do not define here.
9746 (EXCEPTION_TESTS_double): Likewise.
9747 (EXCEPTION_TESTS_long_double): Likewise.
9748 (EXCEPTION_TESTS_float128): Likewise.
9749 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
9750 Likewise.
9751 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
9752 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
9753 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
9754 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
9755 * sysdeps/mips/math-tests.h: Likewise.
9756 * sysdeps/nios2/math-tests.h: Likewise.
9757 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9758 (EXCEPTION_TESTS_float): Do not define here.
9759 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
9760 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
9761 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
9762
9763 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9764
9765 * NEWS: Move optimized sinf entry to 2.29.
9766
9767 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9768
9769 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
9770
9771 2018-08-22 DJ Delorie <dj@redhat.com>
9772
9773 * Makefile (testroot.pristine): New rules to initialize the
9774 test-in-container "testroot".
9775 * Makerules (all-testsuite): Add tests-container.
9776 * Rules (tests-expected): Add tests-container.
9777 (binaries-all-tests): Likewise.
9778 (tests-container): New, run these tests in the testroot container.
9779 * support/Makefile (others): Add *-container, support_paths.c,
9780 xmkdirp, and links-dso-program.
9781 * support/links-dso-program-c.c: New.
9782 * support/links-dso-program.cc: New.
9783 * support/test-container.c: New.
9784 * support/shell-container.c: New.
9785 * support/echo-container.c: New.
9786 * support/true-container.c: New.
9787 * support/xmkdirp.c: New.
9788 * support/xsymlink.c: New.
9789 * support/support_paths.c: New.
9790 * support/support.h: Add support paths prototypes.
9791 * support/xunistd.h: Add xmkdirp () and xsymlink ().
9792
9793 * nss/tst-nss-test3.c: Convert to test-in-container.
9794 * nss/tst-nss-test3.root/: New.
9795
9796 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
9797
9798 regex: port Gnulib code to z/OS POSIX environment
9799 Problem reported by Arnold Robbins in:
9800 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
9801 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
9802 Undef.
9803
9804 2018-08-22 Joseph Myers <joseph@codesourcery.com>
9805
9806 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
9807 (ROUNDING_TESTS_double): Remove.
9808 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
9809 (ROUNDING_TESTS_double): Remove.
9810 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
9811 (ROUNDING_TESTS_double): Remove.
9812 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
9813 (ROUNDING_TESTS_float): Remove.
9814 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
9815 (ROUNDING_TESTS_float): Remove.
9816 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
9817 (ROUNDING_TESTS_float): Remove.
9818 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
9819 !TEST_MATHVEC here.
9820 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9821 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9822
9823 * sysdeps/generic/math-tests-rounding.h: New file.
9824 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
9825 (ROUNDING_TESTS_float): Do not define here.
9826 (ROUNDING_TESTS_double): Likewise.
9827 (ROUNDING_TESTS_long_double): Likewise.
9828 (ROUNDING_TESTS_float128): Likewise.
9829 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
9830 (ROUNDING_TESTS_double): Undefine before defining.
9831 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
9832 (ROUNDING_TESTS_double): Undefine before defining.
9833 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
9834 (ROUNDING_TESTS_double): Undefine before defining.
9835 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
9836 (ROUNDING_TESTS_float): Undefine before defining.
9837 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
9838 (ROUNDING_TESTS_float): Undefine before defining.
9839 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
9840 (ROUNDING_TESTS_float): Undefine before defining.
9841 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
9842 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
9843 not define here.
9844 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
9845 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
9846 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
9847 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9848 (ROUNDING_TESTS_float): Do not define here.
9849 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
9850 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
9851 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
9852 (ROUNDING_TESTS_float): Likewise.
9853 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
9854 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
9855 * sysdeps/mips/math-tests.h [__mips_soft_float]
9856 (ROUNDING_TESTS_float): Likewise.
9857 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
9858 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
9859 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
9860 (ROUNDING_TESTS_double): Likewise.
9861 (ROUNDING_TESTS_long_double): Likewise.
9862
9863 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
9864
9865 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
9866 (PF_XDP): New macro.
9867 (AF_XDP): New macro.
9868 (SOL_XDP): New macro.
9869
9870 2018-08-21 Joseph Myers <joseph@codesourcery.com>
9871
9872 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
9873 (TCP_INQ): Likewise.
9874 (TCP_CM_INQ): Likewise.
9875 (TCP_REPAIR_ON): Likewise.
9876 (TCP_REPAIR_OFF): Likewise.
9877 (TCP_REPAIR_OFF_NO_WP): Likewise.
9878 (struct tcp_zerocopy_receive): New type.
9879
9880 2018-08-21 Florian Weimer <fweimer@redhat.com>
9881
9882 * support/support.h (support_descriptor_supports_holes): Declare.
9883 * support/Makefile (libsupport-routines): Add
9884 support_descriptor_supports_holes.
9885 * support/support_descriptor_supports_holes.c: New file.
9886 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
9887 and stop testing if holes are not supported.
9888 * io/test-lfs.c (do_prepare): Likewise.
9889 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
9890 Likewise.
9891 * timezone/tst-tzset.c (create_tz_file): Likewise.
9892 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
9893 variable.
9894 (do_prepare): Set it.
9895 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
9896
9897 2018-08-21 Florian Weimer <fweimer@redhat.com>
9898
9899 [BZ #17248]
9900 * Makeconfig (+cflags): Do not sort (and deduplicate).
9901
9902 2018-08-21 Florian Weimer <fweimer@redhat.com>
9903
9904 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
9905 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
9906
9907 2018-08-20 Florian Weimer <fweimer@redhat.com>
9908
9909 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
9910 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
9911
9912 2018-08-20 Joseph Myers <joseph@codesourcery.com>
9913
9914 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
9915 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
9916 and ssi_arch members.
9917
9918 * elf/elf.c (NT_VMCOREDD): New macro.
9919 (AT_MINSIGSTKSZ): Likewise.
9920
9921 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9922
9923 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9924 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
9925 s_cosf-ppc64 and s_cosf-power8.
9926 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
9927 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9928 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9929 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
9931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
9932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
9933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
9934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
9936 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
9937 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
9938
9939 2018-08-17 Florian Weimer <fweimer@redhat.com>
9940
9941 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9942
9943 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
9944
9945 * malloc/malloc.c (_int_malloc): Additional binning code checks.
9946
9947 2018-08-16 Florian Weimer <fweimer@redhat.com>
9948
9949 * configure.ac: Add --with-nonshared-cflags option.
9950 * config.make.in (extra-nonshared-cflags): Set variable.
9951 * Makeconfig (CFLAGS-.oS): Use it.
9952 * manual/install.texi (Configuring and compiling): Document
9953 --with-nonshared-cflags.
9954 * configure: Regenerate.
9955 * INSTALL: Likewise.
9956
9957 2018-08-16 Florian Weimer <fweimer@redhat.com>
9958
9959 * Makeconfig (ASFLAGS): Always append required assembler flags.
9960
9961 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
9962
9963 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
9964 (malloc_consolidate): Likewise.
9965
9966 2018-08-16 Pochang Chen <johnchen902@gmail.com>
9967
9968 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
9969
9970 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
9971
9972 * benchtests/bench-strlen.c (do_test): Allocate buffers before
9973 every strlen call.
9974
9975 * benchtests/bench-strlen.c: Print performance numbers in json.
9976
9977 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9978
9979 * sysdeps/powerpc/powerpc64/multiarch/Makefile
9980 (sysdep_routines): Build strcmp-power9 and strncmp-power9
9981 only for little endian.
9982 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9983 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
9984 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
9985 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
9986 Add check for little endian.
9987 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
9988 (__strcmp_power9): Add check for little endian.
9989 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
9990 Add check for little endian.
9991 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
9992 (__strncmp_power9): Add check for little endian.
9993 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
9994 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
9995 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
9996 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
9997 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
9998
9999 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
10000
10001 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
10002 [!STRLEN](STRLEN): Set to __strlen.
10003 * sysdeps/aarch64/multiarch/strlen.c: New file.
10004 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
10005 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
10006 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
10007 (__libc_ifunc_impl_list): Add strlen.
10008 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
10009 strlen_generic and strlen_asimd.
10010
10011 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10012
10013 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
10014 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
10015 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10016
10017 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10018
10019 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
10020
10021 2018-08-14 Florian Weimer <fweimer@redhat.com>
10022
10023 [BZ #23519]
10024 * include/stdio.h (__vfxprintf): Declare.
10025 * stdio-common/fxprintf.c (__vfxprintf): New function.
10026 (__fxprintf): Call it.
10027 * misc/err.c (convert_and_print): Remove function.
10028 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
10029 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
10030 * misc/Makefile (tests): Add tst-warn-wide.
10031 * misc/tst-warn-wide.c: New file.
10032
10033 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
10034 Szabolcs Nagy <szabolcs.nagy@arm.com>
10035
10036 * NEWS: Mention sinf, cosf, sincosf.
10037 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
10038 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
10039 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
10040 constants rather than including generic sincosf.h.
10041 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
10042 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
10043 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
10044 (reduced_cos): Remove.
10045 (sinf_poly): New function.
10046 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
10047
10048 2018-08-14 Florian Weimer <fweimer@redhat.com>
10049
10050 [BZ #23521]
10051 [BZ #23522]
10052 * nss/nss_files/files-alias.c (get_next_alias): During :include:
10053 processing, bail out if no room, and close the stream before
10054 returning ERANGE.
10055 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
10056 (tst-nss-files-alias-leak): Link with libdl.
10057 (tst-nss-files-alias-leak.out): Depend on nss_files.
10058
10059 * nss/tst-nss-files-alias-leak.c: New file.
10060
10061 2018-08-14 Florian Weimer <fweimer@redhat.com>
10062
10063 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
10064 server_user, stat_user.
10065
10066 2018-08-13 Joseph Myers <joseph@codesourcery.com>
10067
10068 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10069 version to 4.18.
10070 (io_pgetevents): New syscall.
10071 (rseq): Likewise.
10072
10073 * manual/install.texi (Configuring and compiling): Do not list
10074 tools used for testing pretty printers here.
10075 (Tools for Compilation): List Python, PExpect and GDB here.
10076 Update descriptions of uses of Perl and Python.
10077 * INSTALL: Regenerate.
10078
10079 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10080 version to 4.18.
10081
10082 2018-08-13 Florian Weimer <fweimer@redhat.com>
10083
10084 * misc/error.c (error): Add missing va_end call.
10085 (error_at_line): Likewise.
10086
10087 2018-08-13 Florian Weimer <fweimer@redhat.com>
10088
10089 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
10090
10091 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10092
10093 * benchtests/scripts/benchout.schema.json (properties): Add
10094 new properties.
10095
10096 * benchtests/bench-skeleton.c (main): Add duration and
10097 iterations attributes.
10098
10099 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
10100
10101 regex: Gnulib unibyte RRI uses bytes not chars
10102 Adjust the non-glibc code to agree with what Gawk needs for
10103 rational range interpretation (RRI) for regular expression ranges.
10104 In unibyte locales, Gawk wants ranges to use the underlying byte
10105 rather than the character code point. This change does not affect
10106 glibc proper.
10107 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
10108 In unibyte locales, use the byte value rather than
10109 running it through btowc.
10110
10111 2018-08-10 Joseph Myers <joseph@codesourcery.com>
10112
10113 * sysdeps/generic/math-tests-snan.h: New file.
10114 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
10115 (SNAN_TESTS_float): Do not define here.
10116 (SNAN_TESTS_double): Likewise.
10117 (SNAN_TESTS_long_double): Likewise.
10118 (SNAN_TESTS_float128): Likewise.
10119 * sysdeps/i386/fpu/math-tests-snan.h: New file.
10120 * sysdeps/i386/fpu/math-tests.h: Remove file.
10121 * sysdeps/ia64/math-tests-snan.h: New file.
10122 * sysdeps/ia64/math-tests.h: Remove file.
10123 * sysdeps/x86/math-tests.h: Likewise.
10124 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
10125
10126 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10127 Szabolcs Nagy <szabolcs.nagy@arm.com>
10128
10129 * math/Makefile: Add s_sincosf_data.c.
10130 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
10131 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
10132 (sincosf_poly): Likewise.
10133 (reduce_small): Likewise.
10134 (reduce_large): Likewise.
10135 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
10136 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
10137 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
10138 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
10139
10140 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10141 Szabolcs Nagy <szabolcs.nagy@arm.com>
10142
10143 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
10144 (converttoint): Use lround.
10145 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
10146 document the semantics when TOINT_INTRINSICS is set.
10147 (converttoint): Likewise.
10148 (TOINT_RINT): Remove.
10149 (TOINT_SHIFT): Remove.
10150 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
10151 path.
10152
10153 2018-08-10 Florian Weimer <fweimer@redhat.com>
10154
10155 [BZ #23497]
10156 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
10157 function.
10158 (__old_getdents64): Use getdents64. Convert entries without
10159 moving them.
10160 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
10161 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
10162 tst-readdir64-compat.
10163
10164 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10165
10166 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
10167 Fix unwind.
10168
10169 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10170
10171 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
10172 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
10173 code to s390x-mcount.h and #include it.
10174 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
10175 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10176 (__fentry__): Add.
10177
10178 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10179
10180 * stdlib/Versions: Remove __fentry__.
10181 * sysdeps/i386/Versions: Add __fentry__.
10182 * sysdeps/x86_64/Versions: Add __fentry__.
10183
10184 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10185
10186 * sysdeps/s390/Makefile: Register the new tests.
10187 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
10188 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
10189 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
10190 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
10191 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
10192 * sysdeps/s390/tst-dl-runtime.c: New file.
10193
10194 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10195
10196 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10197 Do not clobber R0.
10198
10199 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10200
10201 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10202 Do not clobber R0.
10203
10204 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10205
10206 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10207 Do not clobber R0.
10208
10209 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10210
10211 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10212 Do not clobber R0.
10213
10214 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10215
10216 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10217 Use symbolic offsets for stack variables.
10218
10219 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10220
10221 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10222 Use symbolic offsets for stack variables.
10223
10224 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10225
10226 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10227 Use symbolic offsets for stack variables.
10228
10229 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10230
10231 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10232 Use symbolic offsets for stack variables.
10233
10234 2018-08-09 Joseph Myers <joseph@codesourcery.com>
10235
10236 * math/gen-libm-test.py: New file.
10237 * math/gen-libm-test.pl: Remove.
10238 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
10239 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
10240 gen-libm-test.pl.
10241 ($(libm-test-c-noauto-obj)): Likewise.
10242 ($(libm-test-c-auto-obj)): Likewise.
10243 ($(libm-test-c-narrow-obj)): Likewise.
10244 (regen-ulps): Likewise.
10245 * math/README.libm-test: Update references to gen-libm-test.pl.
10246 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
10247 referencing gen-libm-test.pl.
10248 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
10249 * math/libm-test-support.c: Likewise.
10250 * math/libm-test-support.h: Likewise.
10251 * sysdeps/generic/libm-test-ulps: Likewise.
10252
10253 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
10254
10255 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
10256 Fix value.
10257
10258 2018-08-08 Joseph Myers <joseph@codesourcery.com>
10259
10260 * math/libm-test-nextdown.inc (do_test): Move comment to ....
10261 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
10262
10263 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10264
10265 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
10266 symbols.
10267 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
10268 __pthread_setspecific): Add hidden proto.
10269 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
10270 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
10271
10272 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10273
10274 * benchtests/bench-string.h (buf1_size, buf2_size): New
10275 variables.
10276 (init_sizes): New function.
10277 (test_init): Use it.
10278 (alloc_buf, exit_error): New functions.
10279 (alloc_bufs): Use ALLOC_BUF.
10280 (realloc_bufs): Remove.
10281 * benchtests/bench-memcmp.c (do_test): Adjust.
10282 * benchtests/bench-memset-large.c (do_test): Likewise.
10283 * benchtests/bench-memset-walk.c (do_test): Likewise.
10284 * benchtests/bench-memset.c (do_test): Likewise.
10285 * benchtests/bench-strncmp.c (do_test): Likewise.
10286
10287 2018-08-06 Andreas Schwab <schwab@suse.de>
10288
10289 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
10290 of CONST_THREAD_AREA.
10291
10292 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
10293
10294 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
10295 (STATE_SAVE_MASK): Likewise.
10296 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
10297 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
10298 (STATE_SAVE_MASK): Likewise.
10299 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
10300 instead of <cpu-features.h>.
10301
10302 2018-08-03 DJ Delorie <dj@redhat.com>
10303
10304 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
10305 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
10306
10307 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
10308
10309 2018-08-03 Joseph Myers <joseph@codesourcery.com>
10310
10311 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
10312 after TEST_* calls.
10313 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
10314 * math/libm-test-logb.inc (logb_test_data): Likewise.
10315
10316 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
10317
10318 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
10319 * string/strstr.c (AVAILABLE): Likewise.
10320
10321 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10322
10323 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
10324 <init-arch.h>.
10325 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
10326 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
10327 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
10328
10329 2018-08-03 Carlos O'Donell <carlos@redhat.com>
10330
10331 * po/be.po: Update translation.
10332
10333 * po/be.po: Update translation.
10334
10335 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10336
10337 * sysdeps/x86/cpu-features-offsets.sym
10338 (rtld_global_ro_offsetof): Removed.
10339 (CPU_FEATURES_SIZE): Likewise.
10340 (CPUID_OFFSET): Likewise.
10341 (CPUID_SIZE): Likewise.
10342 (CPUID_EAX_OFFSET): Likewise.
10343 (CPUID_EBX_OFFSET): Likewise.
10344 (CPUID_ECX_OFFSET): Likewise.
10345 (CPUID_EDX_OFFSET): Likewise.
10346 (FAMILY_OFFSET): Likewise.
10347 (MODEL_OFFSET): Likewise.
10348 (FEATURE_OFFSET): Likewise.
10349 (FEATURE_SIZ): Likewise.
10350 (COMMON_CPUID_INDEX_1): Likewise.
10351 (COMMON_CPUID_INDEX_7): Likewise.
10352 (FEATURE_INDEX_1): Likewise.
10353 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
10354
10355 2018-08-02 Carlos O'Donell <carlos@redhat.com>
10356
10357 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
10358 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
10359 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
10360 (install-locales): Depend on install-locale-archive.
10361 (install-locale-archive): Define.
10362 (install-locale-files): Define.
10363 (build-one-locale): Define macro.
10364 * manual/install.texi (Running make install): Document.
10365 * manual/INSTALL: Regenerate.
10366
10367 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10368
10369 * benchtests/scripts/compare_strings.py: Import traceback.
10370 (parse_file): Pretty-print error.
10371
10372 * NEWS: Mention the change.
10373 * elf/dl-tunables.list: Rename tune namespace to cpu.
10374 * sysdeps/powerpc/dl-tunables.list: Likewise.
10375 * sysdeps/x86/dl-tunables.list: Likewise.
10376 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
10377 cpu.name.
10378 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
10379 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
10380 * manual/README.tunables: Likewise.
10381 * manual/tunables.texi: Likewise.
10382 * sysdeps/powerpc/cpu-features.c: Likewise.
10383 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
10384 (init_cpu_features): Likewise.
10385 * sysdeps/x86/cpu-features.c: Likewise.
10386 * sysdeps/x86/cpu-features.h: Likewise.
10387 * sysdeps/x86/cpu-tunables.c: Likewise.
10388 * sysdeps/x86_64/Makefile: Likewise.
10389 * sysdeps/x86/dl-cet.c: Likewise.
10390
10391 2018-08-02 Joseph Myers <joseph@codesourcery.com>
10392
10393 [BZ #23479]
10394 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
10395 [__mips_hard_float].
10396 (FE_UNDERFLOW): Likewise.
10397 (FE_OVERFLOW): Likewise.
10398 (FE_DIVBYZERO): Likewise.
10399 (FE_INVALID): Likewise.
10400 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
10401 (FE_TOWARDZERO): Define only if [__mips_hard_float].
10402 (FE_UPWARD): Likewise.
10403 (FE_DOWNWARD): Likewise.
10404 (__FE_UNDEFINED): Define if [!__mips_hard_float]
10405 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
10406 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
10407 [__mips_hard_float].
10408 (FP_ROUNDMODE): Likewise.
10409 (FP_RND_NEAREST): Likewise.
10410 (FP_RND_ZERO): Likewise.
10411 (FP_RND_PINF): Likewise.
10412 (FP_RND_MINF): Likewise.
10413 (FP_EX_INVALID): Likewise.
10414 (FP_EX_OVERFLOW): Likewise.
10415 (FP_EX_UNDERFLOW): Likewise.
10416 (FP_EX_DIVZERO): Likewise.
10417 (FP_EX_INEXACT): Likewise.
10418 (FP_INIT_ROUNDMODE): Likewise.
10419 * sysdeps/mips/nofpu/fesetenv.c: New file.
10420 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
10421
10422 2018-08-01 Joseph Myers <joseph@codesourcery.com>
10423
10424 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
10425 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
10426 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
10427 conditional on [FE_UPWARD].
10428
10429 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
10430
10431 regex: fix memory leak in Gnulib
10432 Problem and fix reported by Assaf Gordon in:
10433 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
10434 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
10435 range_ends members too, as they are defined in 'struct
10436 re_charset_t' even if not _LIBC. This affects only Gnulib.
10437
10438 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
10439
10440 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
10441 ...
10442 (get_common_indices): This.
10443 (init_cpu_features): Updated.
10444
10445 2018-08-01 Joseph Myers <joseph@codesourcery.com>
10446
10447 * sysdeps/generic/math-tests-snan-payload.h: New file.
10448 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
10449 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
10450 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
10451 * sysdeps/generic/math-tests.h: Include
10452 <math-tests-snan-payload.h>.
10453 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10454 * sysdeps/hppa/math-tests.h: Remove file.
10455 * sysdeps/mips/math-tests.h [!__mips_nan2008]
10456 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10457 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
10458 Likewise.
10459
10460 * sysdeps/generic/math-tests-snan-cast.h: New file.
10461 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
10462 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
10463 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
10464 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
10465
10466 2018-08-01 Carlos O'Donel <carlos@redhat.com>
10467
10468 * version.h (RELEASE): Set to "development".
10469 (VERSION): Set to "2.28.9000".
10470 * NEWS (2.29): New section.
10471
10472 * version.h (RELEASE): Set to "stable".
10473 (VERSION): Set to "2.28".
10474 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
10475 * NEWS: Add the list of bugs fixed in 2.28.
10476
10477 * po/ca.po: Update to latest version.
10478 * po/cs.po: Likewise
10479 * po/da.po: Likewise
10480 * po/el.po: Likewise
10481 * po/eo.po: Likewise
10482 * po/es.po: Likewise
10483 * po/fi.po: Likewise
10484 * po/fr.po: Likewise
10485 * po/gl.po: Likewise
10486 * po/hu.po: Likewise
10487 * po/ia.po: Likewise
10488 * po/id.po: Likewise
10489 * po/it.po: Likewise
10490 * po/ja.po: Likewise
10491 * po/ko.po: Likewise
10492 * po/lt.po: Likewise
10493 * po/nb.po: Likewise
10494 * po/nl.po: Likewise
10495 * po/pt_BR.po: Likewise
10496 * po/ru.po: Likewise
10497 * po/rw.po: Likewise
10498 * po/sk.po: Likewise
10499 * po/sl.po: Likewise
10500 * po/tr.po: Likewise
10501 * po/zh_CN.po: Likewise
10502 * po/zh_TW.po: Likewise
10503
10504 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10505
10506 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
10507 initialization...
10508 (init): ... before initializing libpthread.
10509
10510 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
10511 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
10512 (__mach_setup_tls): ... new function.
10513 (mach_setup_tls): New alias.
10514 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
10515 __mach_setup_thread.
10516 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
10517 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
10518 * mach/Versions [libc] (mach_setup_tls): Add symbol.
10519 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
10520
10521 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10522
10523 * manual/install.texi: Update versions.
10524 * INSTALL: Regenerate.
10525
10526 * manual/contrib.texi (Contributors): Update contributions.
10527
10528 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10529
10530 * po/be.po: Update translations.
10531
10532 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10533
10534 * sysdeps/sh/libm-test-ulps: Update.
10535
10536 2018-07-30 Carlos O'Donell <carlos@redhat.com>
10537
10538 * po/bg.po: Update translations.
10539 * po/de.po: Likewise.
10540 * po/hr.po: Likewise.
10541 * po/pt_BR.po: Likewise.
10542 * po/sv.po: Likewise.
10543 * po/vi.po: Likewise.
10544
10545 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10546
10547 [BZ #23467]
10548 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10549 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
10550 (CFLAGS-tst-cet-property-1.o): New.
10551 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
10552 ($(objpfx)tst-cet-property-2): Likewise.
10553 ($(objpfx)tst-cet-property-2.out): Likewise.
10554 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
10555 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
10556 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
10557 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
10558 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
10559
10560 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10561
10562 [BZ #23458]
10563 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
10564
10565 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10566
10567 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
10568 __sbrk): Do not set attribute_hidden.
10569 * sysdeps/mach/hurd/not-errno.h: New file.
10570 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10571 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
10572
10573 2018-07-27 Carlos O'Donell <carlos@redhat.com>
10574
10575 * po/uk.po: Update translations.
10576 * po/cs.po: Likewise.
10577 * po/pl.po: Likewise.
10578
10579 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
10580
10581 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
10582 parse beyond the note end.
10583
10584 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10585
10586 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
10587 kernel does not support OFD locks.
10588 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
10589
10590 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10591
10592 * sysdeps/mach/hurd/Versions (libc): Make __access and
10593 __access_noerrno external so they can override the ld symbols.
10594 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
10595 __writev, __open64, __access_noerrno extern so they can be overrided.
10596 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
10597 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10598
10599 2018-07-26 Carlos O'Donell <carlos@redhat.com>
10600
10601 * po/libc.pot: Regenerate.
10602
10603 2018-07-26 Joseph Myers <joseph@codesourcery.com>
10604
10605 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
10606
10607 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10608
10609 [BZ #23459]
10610 * sysdeps/x86/cpu-features.c (get_extended_indices): New
10611 function.
10612 (init_cpu_features): Call get_extended_indices for both Intel
10613 and AMD CPUs.
10614 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
10615 Remove "for AMD" comment.
10616
10617 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10618
10619 [BZ # 23456]
10620 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
10621 COMMON_CPUID_INDEX_80000001.
10622
10623 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
10624
10625 * string/tst-xbzero-opt.c (use_test_buffer): New function.
10626 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
10627
10628 2018-07-26 Florian Weimer <fweimer@redhat.com>
10629
10630 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
10631 aliases for symbols not in the implementation namespace.
10632
10633 2018-07-25 Carlos O'Donell <carlos@redhat.com>
10634
10635 [BZ #23393]
10636 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
10637 lowercase in LATIN script.
10638 * localedata/Makefile (test-input): Add en_US.UTF-8.
10639 * localedata/en_US.UTF-8.in: New file.
10640 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
10641 and restore old tests.
10642 * posix/tst-regexloc.c (do_test): Add back range expression test.
10643
10644 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10645
10646 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
10647
10648 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10649
10650 * nptl/threads.h: Move to ...
10651 * sysdeps/nptl/threads.h: ... here.
10652 * sysdeps/hurd/stdc-predef.h: New file.
10653
10654 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10655
10656 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10657 tst-cet-setcontext-1 if CET is enabled.
10658 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
10659 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
10660
10661 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10662
10663 * include/threads.h: Move to ...
10664 * sysdeps/nptl/threads.h: ... here.
10665 * sysdeps/htl/threads.h: New file.
10666 * conform/Makefile (linknamespace-libs-ISO11): Use
10667 static-thread-library instead of linking libpthread.
10668 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
10669
10670 2018-07-25 Florian Weimer <fweimer@redhat.com>
10671
10672 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
10673 nanoseconds into seconds.
10674 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
10675 (do_test): Likewise.
10676 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
10677 (do_test): Likewise. Avoid nanosecond overflow and spurious
10678 timeouts due to system load.
10679 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
10680 (child_wait): Increment it.
10681 (do_test): Wait as long as necessary until all expected threads
10682 have arrived.
10683
10684 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
10685 H.J. Lu <hongjiu.lu@intel.com>
10686
10687 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
10688 __ssp.
10689 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
10690 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
10691 (__push___start_context): New.
10692 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
10693 <asm/prctl.h>.
10694 (__getcontext): Record the current shadow stack base. Save the
10695 caller's shadow stack pointer and base.
10696 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
10697 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
10698 (__push___start_context): New prototype.
10699 (__makecontext): Call __push___start_context to allocate a new
10700 shadow stack, push __start_context onto the new stack as well
10701 as the new shadow stack.
10702 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
10703 <asm/prctl.h>.
10704 (__setcontext): Restore the target shadow stack.
10705 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
10706 <asm/prctl.h>.
10707 (__swapcontext): Record the current shadow stack base. Save
10708 the caller's shadow stack pointer and base. Restore the target
10709 shadow stack.
10710 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10711 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
10712 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
10713
10714 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10715
10716 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
10717 tst-setcontext8 and tst-setcontext9.
10718 * stdlib/tst-setcontext6.c: New file.
10719 * stdlib/tst-setcontext7.c: Likewise.
10720 * stdlib/tst-setcontext8.c: Likewise.
10721 * stdlib/tst-setcontext9.c: Likewise.
10722
10723 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10724
10725 * stdlib/Makefile ((tests): Add tst-setcontext5.
10726 * stdlib/tst-setcontext5.c: New file.
10727
10728 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10729
10730 * stdlib/Makefile (tests): Add tst-setcontext4.
10731 * stdlib/tst-setcontext4.c: New file.
10732
10733 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10734
10735 * stdlib/Makefile (tests): Add tst-swapcontext1.
10736 * stdlib/tst-swapcontext1.c: New test.
10737
10738 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10739
10740 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
10741 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
10742 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
10743 and tst-cet-legacy-4c.
10744 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
10745 and tst-cet-legacy-mod-4.
10746 (CFLAGS-tst-cet-legacy-2.c): New.
10747 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
10748 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
10749 (CFLAGS-tst-cet-legacy-3.c): Likewise.
10750 (CFLAGS-tst-cet-legacy-4.c): Likewise.
10751 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
10752 ($(objpfx)tst-cet-legacy-1): Likewise.
10753 ($(objpfx)tst-cet-legacy-2): Likewise.
10754 ($(objpfx)tst-cet-legacy-2.out): Likewise.
10755 ($(objpfx)tst-cet-legacy-2a): Likewise.
10756 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
10757 ($(objpfx)tst-cet-legacy-4): Likewise.
10758 ($(objpfx)tst-cet-legacy-4.out): Likewise.
10759 ($(objpfx)tst-cet-legacy-4a): Likewise.
10760 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
10761 (tst-cet-legacy-4a-ENV): Likewise.
10762 ($(objpfx)tst-cet-legacy-4b): Likewise.
10763 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
10764 (tst-cet-legacy-4b-ENV): Likewise.
10765 ($(objpfx)tst-cet-legacy-4c): Likewise.
10766 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
10767 (tst-cet-legacy-4c-ENV): Likewise.
10768 * sysdeps/x86/tst-cet-legacy-1.c: New file.
10769 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
10770 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
10771 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
10772 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
10773 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
10774 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
10775 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
10776 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
10777 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
10778 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
10779
10780 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10781
10782 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10783 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10784 with ssp_base.
10785 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10786 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10787 with ssp_base.
10788
10789 2018-07-25 Andreas Schwab <schwab@suse.de>
10790
10791 [BZ #23442]
10792 * locale/weightwc.h (findidx): Handle the case where usrc is a
10793 prefix of cp but one character too short.
10794
10795 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10796
10797 * NEWS: Add ISO C threads addition.
10798
10799 2018-07-24 Florian Weimer <fweimer@redhat.com>
10800
10801 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10802 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
10803 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
10804 4.13.
10805
10806 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10807
10808 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
10809 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
10810 <sys/prctl.h> and <asm/prctl.h>.
10811 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
10812 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
10813 and <asm/prctl.h>.
10814 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
10815 ARCH_CET_LEGACY_BITMAP.
10816 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
10817 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
10818 * sysdeps/x86/libc-start.c: Include <startup.h>.
10819
10820 2018-07-24 Florian Weimer <fweimer@redhat.com>
10821
10822 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
10823 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
10824
10825 2018-07-24 Rical Jasan <rj@2c3t.io>
10826 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10827 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10828
10829 [BZ #14092]
10830 * manual/debug.texi: Update adjacent chapter name.
10831 * manual/probes.texi: Likewise.
10832 * manual/threads.texi (ISO C Threads): New section.
10833 (POSIX Threads): Convert to a section.
10834
10835 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10836 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10837
10838 [BZ# 14092]
10839 * nptl/Makefile (tests): Add new test files.
10840 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
10841 * nptl/tst-cnd-basic.c: Likewise.
10842 * nptl/tst-cnd-broadcast.c: Likewise.
10843 * nptl/tst-cnd-timedwait.c: Likewise.
10844 * nptl/tst-mtx-basic.c: Likewise.
10845 * nptl/tst-mtx-recursive.c: Likewise.
10846 * nptl/tst-mtx-timedlock.c: Likewise.
10847 * nptl/tst-mtx-trylock.c: Likewise.
10848 * nptl/tst-thrd-basic.c: Likewise.
10849 * nptl/tst-thrd-detach.c: Likewise.
10850 * nptl/tst-thrd-sleep.c: Likewise.
10851 * nptl/tst-tss-basic.c: Likewise.
10852
10853 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10854
10855 [BZ #14092]
10856 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10857 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
10858 symbols.
10859 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10860 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10861 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10862 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10863 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10864 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10865 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10866 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10867 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10868 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10869 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10870 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10872 Likewise.
10873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10874 Likewise.
10875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
10876 Likewise.
10877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10878 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10879 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10880 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10881 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10882 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10883 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10884 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10885 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10886 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
10887 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
10888 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
10889 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
10890 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
10891 Likewise.
10892 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10893 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10894 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10895 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
10896 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
10897 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
10898 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
10899 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
10900 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
10901 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
10902 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
10903 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
10904 ikewise.
10905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
10906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10907 Likewise.
10908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10909 Likewise.
10910 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
10911 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
10912 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
10913 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
10914 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
10915 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
10916 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
10917 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
10918
10919 [BZ #14092]
10920 * conform/data/threads.h-data (thread_local): New macro.
10921 (TSS_DTOR_ITERATIONS): Likewise.
10922 (tss_t): New type.
10923 (tss_dtor_t): Likewise.
10924 (tss_create): New function.
10925 (tss_get): Likewise.
10926 (tss_set): Likewise.
10927 (tss_delete): Likewise.
10928 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
10929 tss_get, and tss_set objects.
10930 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10931 * nptl/tss_create.c: New file.
10932 * nptl/tss_delete.c: Likewise.
10933 * nptl/tss_get.c: Likewise.
10934 * nptl/tss_set.c: Likewise.
10935 * sysdeps/nptl/threads.h (thread_local): New define.
10936 (TSS_DTOR_ITERATIONS): Likewise.
10937 (tss_t): New typedef.
10938 (tss_dtor_t): Likewise.
10939 (tss_create): New prototype.
10940 (tss_get): Likewise.
10941 (tss_set): Likewise.
10942 (tss_delete): Likewise.
10943
10944 [BZ #14092]
10945 * conform/data/threads.h-data (cnd_t): New type.
10946 (cnd_init): New function.
10947 (cnd_signal): Likewise.
10948 (cnd_broadcast): Likewise.
10949 (cnd_wait): Likewise.
10950 (cnd_timedwait): Likewise.
10951 (cnd_destroy): Likewise.
10952 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
10953 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
10954 object.
10955 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10956 * nptl/cnd_broadcast.c: New file.
10957 * nptl/cnd_destroy.c: Likewise.
10958 * nptl/cnd_init.c: Likewise.
10959 * nptl/cnd_signal.c: Likewise.
10960 * nptl/cnd_timedwait.c: Likewise.
10961 * nptl/cnd_wait.c: Likewise.
10962 * sysdeps/nptl/threads.h (cnd_t): New type.
10963 (cnd_init): New prototype.
10964 (cnd_signa): Likewise.
10965 (cnd_broadcast): Likewise.
10966 (cnd_wait): Likewise.
10967 (cnd_timedwait): Likewise.
10968 (cnd_destroy): Likewise.
10969
10970 [BZ #14092]
10971 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
10972 (once_flag): New type.
10973 (call_once): New function.
10974 * nptl/Makefile (libpthread-routines): Add call_once object.
10975 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
10976 * nptl/call_once.c: New file.
10977 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
10978 (once_flag): New type.
10979 (call_once): New prototype.
10980
10981 [BZ #14092]
10982 * conform/data/threads.h-data (mtx_plain): New constant.
10983 (mtx_recursive): Likewise.
10984 (mtx_timed): Likewise.
10985 (mtx_t): New type.
10986 (mtx_init): New function.
10987 (mtx_lock): Likewise.
10988 (mtx_timedlock): Likewise.
10989 (mtx_trylock): Likewise.
10990 (mtx_unlock): Likewise.
10991 (mtx_destroy): Likewise.
10992 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
10993 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
10994 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
10995 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
10996 * nptl/mtx_destroy.c: New file.
10997 * nptl/mtx_init.c: Likewise.
10998 * nptl/mtx_lock.c: Likewise.
10999 * nptl/mtx_timedlock.c: Likewise.
11000 * nptl/mtx_trylock.c: Likewise.
11001 * nptl/mtx_unlock.c: Likewise.
11002 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
11003 (mtx_recursive): Likewise.
11004 (mtx_timed): Likewise.
11005 (mtx_t): New type.
11006 (mtx_init): New prototype.
11007 (mtx_lock): Likewise.
11008 (mtx_timedlock): Likewise.
11009 (mtx_trylock): Likewise.
11010 (mtx_unlock): Likewise.
11011 (mtx_destroy): Likewise.
11012
11013 [BZ #14092]
11014 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
11015 (linknamespace-libs-ISO11): Add libpthread.a.
11016 * conform/data/threads.h-data: New file: add C11 thrd_* types and
11017 functions.
11018 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
11019 * nptl/Makefile (headers): Add threads.h.
11020 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
11021 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
11022 thrd_yield.
11023 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
11024 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
11025 thrd_join, thrd_sleep, and thrd_yield symbols.
11026 * nptl/descr.h (struct pthread): Add c11 field.
11027 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
11028 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
11029 routine with expected function prototype.
11030 (__pthread_create_2_1): Add C11 threads check based on attribute
11031 value.
11032 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
11033 * nptl/thrd_create.c: New file.
11034 * nptl/thrd_current.c: Likewise.
11035 * nptl/thrd_detach.c: Likewise.
11036 * nptl/thrd_equal.c: Likewise.
11037 * nptl/thrd_exit.c: Likewise.
11038 * nptl/thrd_join.c: Likewise.
11039 * nptl/thrd_priv.h: Likewise.
11040 * nptl/thrd_sleep.c: Likewise.
11041 * nptl/thrd_yield.c: Likewise.
11042 * include/threads.h: Likewise.
11043
11044 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11045
11046 * bits/indirect-return.h: New file.
11047 * misc/sys/cdefs.h (__glibc_has_attribute): New.
11048 * sysdeps/x86/bits/indirect-return.h: Likewise.
11049 * stdlib/Makefile (headers): Add bits/indirect-return.h.
11050 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
11051 (swapcontext): Add __INDIRECT_RETURN.
11052 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
11053 (prepare_test_buffer): Use it.
11054
11055 2018-07-24 Andreas Schwab <schwab@suse.de>
11056
11057 [BZ #23448]
11058 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
11059 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
11060
11061 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11062
11063 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
11064 Redefine if shadow stack is enabled.
11065 (SYSCALL_ERROR_LABEL): Likewise.
11066 (__vfork): Pop shadow stack and jump back to to caller directly
11067 when shadow stack is in use.
11068 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
11069 Redefine if shadow stack is enabled.
11070 (SYSCALL_ERROR_LABEL): Likewise.
11071 (__vfork): Pop shadow stack and jump back to to caller directly
11072 when shadow stack is in use.
11073
11074 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11075
11076 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
11077 enabled.
11078 (foo): Likewise.
11079 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
11080 (foo): Likewise.
11081
11082 2018-07-20 Joseph Myers <joseph@codesourcery.com>
11083
11084 * scripts/build-many-glibcs.py (Context.checkout): Default
11085 binutils version to 2.31 branch.
11086
11087 2018-07-20 Zong Li <zong@andestech.com>
11088
11089 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
11090 URL of gcc's tarball.
11091
11092 2018-07-20 Florian Weimer <fweimer@redhat.com>
11093
11094 [BZ #23396]
11095 * posix/regcomp.c (build_equiv_class): When comparing weights, do
11096 not compare an extra byte after the end of the weights.
11097
11098 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
11099
11100 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
11101 to 1.
11102 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
11103 hidden prototypes.
11104 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
11105 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
11106 * scripts/check-execstack.awk: Consider `xfail' variable containing a
11107 list of libraries whose stack executability is expected.
11108 * elf/Makefile ($(objpfx)check-execstack.out): Pass
11109 $(check-execstack-xfail) to check-execstack.awk through `xfail'
11110 variable.
11111 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
11112 libc.so libpthread.so.
11113
11114 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
11115
11116 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
11117 SOCK_NONBLOCK.
11118 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
11119 and SOCK_NONBLOCK.
11120 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
11121 implement __pipe2.
11122 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
11123
11124 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11125
11126 * benchtests/scripts/compare_bench.py (__main__): use the argparse
11127 library to improve command line parsing.
11128 (__main__): make schema file as optional parameter (--schema),
11129 defaulting to benchtests/scripts/benchout.schema.json.
11130 (main): move out of the parsing stuff to __main_  and leave it
11131 only as caller of main comparison functions.
11132
11133 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
11134
11135 * NEWS: Add a note for Intel CET status.
11136 * manual/install.texi: Likewise.
11137 * INSTALL: Regenerated.
11138
11139 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
11140
11141 [BZ #23140]
11142 * localedata/locales/oc_FR (mon): Rename to...
11143 (alt_mon): This, then update October (typo fix).
11144 (mon): New content (genitive case, month names preceded by
11145 "de" or "d’").
11146
11147 [BZ #23422]
11148 * localedata/locales/oc_FR (abday): Update all items.
11149 (day): Update Wednesday and Saturday (typo fixes).
11150 (abmon): Update all items, except May.
11151 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
11152 (LC_IDENTIFICATION): Bump the revision number and date.
11153 Keep the "category" entries in alphabetic order.
11154 (LC_ADDRESS): Remove no longer needed comment.
11155 (LC_COLLATE): Use “copy "ca_ES"”.
11156 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
11157 "name_mrs".
11158
11159 2018-07-18 Joseph Myers <joseph@codesourcery.com>
11160
11161 * grp/tst_fgetgrent.c: Include <unistd.h>.
11162 (main): Use mkstemp instead of tmpnam.
11163 * io/test-utime.c (main): Likewise.
11164 * posix/annexc.c (macrofile): Change to modifiable array.
11165 (main): Remove macrofile here.
11166 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11167 macrofile here.
11168 (check_header): Do not remove macrofile here.
11169 * posix/bug-getopt1.c: Include <stdlib.h>.
11170 (do_test): Use mkstemp instead of tmpnam.
11171 * posix/bug-getopt2.c: Include <stdlib.h>.
11172 (do_test): Use mkstemp instead of tmpnam.
11173 * posix/bug-getopt3.c: Include <stdlib.h>.
11174 (do_test): Use mkstemp instead of tmpnam.
11175 * posix/bug-getopt4.c: Include <stdlib.h>.
11176 (do_test): Use mkstemp instead of tmpnam.
11177 * posix/bug-getopt5.c: Include <stdlib.h>.
11178 (do_test): Use mkstemp instead of tmpnam.
11179 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
11180 (main): Use mkstemp instead of tmpnam.
11181 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
11182 (main): Use mkstemp instead of tmpnam.
11183 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
11184 (main): use mkstemp instead of tmpnam.
11185 * stdlib/isomac.c (macrofile): Change to modifiable array.
11186 (main): Remove macrofile here.
11187 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11188 macrofile here.
11189 (check_header): Do not remove macrofile here.
11190
11191 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11192
11193 * manual/tunables.texi: Document glibc.tune.x86_ibt and
11194 glibc.tune.x86_shstk.
11195
11196 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11197
11198 * NEWS: Mention --enable-cet.
11199 * manual/install.texi: Document --enable-cet.
11200 * INSTALL: Regenerated.
11201
11202 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11203
11204 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
11205 Add _CET_NOTRACK before indirect jump to jump table.
11206
11207 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11208
11209 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
11210 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11211 to jump table.
11212
11213 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11214
11215 * sysdeps/i386/i686/multiarch/strcat-sse2.S
11216 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11217 to jump table.
11218
11219 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11220
11221 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
11222 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11223 to jump table.
11224
11225 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11226
11227 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
11228 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11229 to jump table.
11230
11231 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11232
11233 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
11234 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11235 to jump table.
11236 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
11237
11238 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11239
11240 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
11241 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11242 to jump table.
11243
11244 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11245
11246 * sysdeps/i386/i686/multiarch/memset-sse2.S
11247 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11248 to jump table.
11249
11250 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11251
11252 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
11253 indirect jump to jump table.
11254
11255 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11256
11257 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
11258 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11259 to jump table.
11260 (MEMCPY): Likewise.
11261
11262 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11263
11264 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
11265 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11266 to jump table.
11267 (MEMCPY): Likewise.
11268
11269 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11270
11271 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11272 _CET_NOTRACK before indirect jump to jump table.
11273
11274 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11275
11276 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
11277 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11278 to jump table.
11279
11280 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11281
11282 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
11283 indirect jump to jump table.
11284
11285 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
11286
11287 [BZ #22241]
11288 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
11289 (LOCALES): Likewise.
11290 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
11291 * localedata/locales/sah_RU: New file.
11292 * localedata/sah_RU.UTF-8.in: New file.
11293
11294 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11295
11296 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
11297 "sysdep.h".
11298 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11299 _CET_ENDBR to indirect jump targets and adjust jump destination
11300 for _CET_ENDBR.
11301 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
11302 "sysdep.h".
11303 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11304 _CET_ENDBR to indirect jump targets and adjust jump destination
11305 for _CET_ENDBR.
11306 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
11307 "sysdep.h".
11308 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
11309 _CET_ENDBR to indirect jump targets and adjust jump destination
11310 for _CET_ENDBR.
11311
11312 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11313
11314 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11315 _CET_ENDBR.
11316
11317 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11318
11319 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
11320 _CET_ENDBR.
11321 (_dl_tlsdesc_undefweak): Likewise.
11322 (_dl_tlsdesc_dynamic): Likewise.
11323 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
11324 (_dl_tlsdesc_resolve_rel): Likewise.
11325 (_dl_tlsdesc_resolve_rela): Likewise.
11326 (_dl_tlsdesc_resolve_hold): Likewise.
11327 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
11328 (_dl_tlsdesc_undefweak): Likewise.
11329 (_dl_tlsdesc_dynamic): Likewise.
11330 (_dl_tlsdesc_resolve_rela): Likewise.
11331 (_dl_tlsdesc_resolve_hold): Likewise.
11332
11333 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11334
11335 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
11336 (_fini): Likewise.
11337 * sysdeps/x86_64/crti.S (_init): Likewise.
11338 (_fini): Likewise.
11339
11340 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
11341
11342 [BZ #23140]
11343 * localedata/locales/os_RU (mon): Rename to...
11344 (alt_mon): This.
11345 (mon): Import from CLDR (genitive case).
11346
11347 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11348
11349 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
11350 cet-tunables.h> when CET is enabled.
11351
11352 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
11353
11354 [BZ #21598]
11355 * configure.ac: Add --enable-cet.
11356 * configure: Regenerated.
11357 * elf/Makefille (all-built-dso): Add a comment.
11358 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
11359 Include <dl-prop.h>.
11360 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
11361 segment.
11362 * elf/dl-open.c: Include <dl-prop.h>.
11363 (dl_open_worker): Call _dl_open_check.
11364 * elf/rtld.c: Include <dl-prop.h>.
11365 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
11366 _rtld_main_check.
11367 * sysdeps/generic/dl-prop.h: New file.
11368 * sysdeps/i386/dl-cet.c: Likewise.
11369 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
11370 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
11371 * sysdeps/x86/cet-tunables.h: Likewise.
11372 * sysdeps/x86/check-cet.awk: Likewise.
11373 * sysdeps/x86/configure: Likewise.
11374 * sysdeps/x86/configure.ac: Likewise.
11375 * sysdeps/x86/dl-cet.c: Likewise.
11376 * sysdeps/x86/dl-procruntime.c: Likewise.
11377 * sysdeps/x86/dl-prop.h: Likewise.
11378 * sysdeps/x86/libc-start.h: Likewise.
11379 * sysdeps/x86/link_map.h: Likewise.
11380 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
11381 _CET_ENDBR.
11382 (_dl_runtime_profile): Likewise.
11383 (_dl_runtime_resolve_shstk): New.
11384 (_dl_runtime_profile_shstk): Likewise.
11385 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
11386 if CET is enabled.
11387 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
11388 (CFLAGS-.os): Likewise.
11389 (CFLAGS-.op): Likewise.
11390 (CFLAGS-.oS): Likewise.
11391 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
11392 is enabled.
11393 (tests-special): Add $(objpfx)check-cet.out.
11394 (cet-built-dso): New.
11395 (+$(cet-built-dso:=.note)): Likewise.
11396 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
11397 ($(objpfx)check-cet.out): New.
11398 (generated): Add check-cet.out.
11399 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
11400 <cet-tunables.h>.
11401 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
11402 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11403 (init_cpu_features): Call get_cet_status to check CET status
11404 and update dl_x86_feature_1 with CET status. Call
11405 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
11406 (set_x86_shstk). Disable and lock CET in libc.a.
11407 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
11408 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
11409 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11410 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
11411 (_CET_ENDBR): Define if not defined.
11412 (ENTRY): Add _CET_ENDBR.
11413 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
11414 x86_shstk.
11415 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
11416 _CET_ENDBR.
11417 (_dl_runtime_profile): Likewise.
11418
11419 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
11420
11421 [BZ #21895]
11422 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
11423 restore r2 on longjmp.
11424 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
11425 test list.
11426 Added rules to build test tst-setjmp-bug21895-static.
11427 Added module setjmp-bug21895 and rules to build a shared object from it.
11428 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
11429 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
11430
11431 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
11432
11433 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
11434 * benchtests/bench-strstr.c: Likewise.
11435 * string/memmem.c (FASTSEARCH): Define.
11436 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
11437 Add support for FASTSEARCH.
11438 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
11439 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
11440 (FASTSEARCH): Define.
11441 * string/test-strcasestr.c: Rename __strnlen to strnlen.
11442 * string/test-strstr.c: Likewise.
11443
11444 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
11445
11446 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
11447 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
11448
11449 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
11450 H.J. Lu <hongjiu.lu@intel.com>
11451
11452 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
11453 (__longjmp): Restore shadow stack pointer if shadow stack is
11454 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11455 isn't defined for __longjmp_cancel.
11456 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
11457 (_setjmp): Save shadow stack pointer if shadow stack is enabled
11458 and SHADOW_STACK_POINTER_OFFSET is defined.
11459 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
11460 (setjmp): Save shadow stack pointer if shadow stack is enabled
11461 and SHADOW_STACK_POINTER_OFFSET is defined.
11462 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
11463 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11464 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11465 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
11466 <jmp_buf-ssp.h>.
11467 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11468 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11469 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
11470 Remove jmp_buf-ssp.sym.
11471 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11472 <jmp_buf-ssp.h>.
11473 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11474 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11475 * sysdeps/x86/Makefile (gen-as-const-headers): Add
11476 jmp_buf-ssp.sym.
11477 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
11478 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
11479 (__longjmp): Restore shadow stack pointer if shadow stack is
11480 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11481 isn't defined for __longjmp_cancel.
11482 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
11483 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11484 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11485
11486 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
11487
11488 [BZ #22563]
11489 * nptl/pthread_create.c: Include <tls-setup.h>.
11490 (__pthread_create_2_1): Call tls_setup_tcbhead.
11491 * sysdeps/generic/tls-setup.h: New file.
11492 * sysdeps/x86/nptl/tls-setup.h: Likewise.
11493 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
11494 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
11495 Likewise.
11496 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
11497 to feature_1.
11498 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11499 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
11500 (X86_FEATURE_1_SHSTK): Likewise.
11501 (CET_ENABLED): Likewise.
11502 (IBT_ENABLED): Likewise.
11503 (SHSTK_ENABLED): Likewise.
11504
11505 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
11506
11507 [BZ #23208]
11508 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
11509 (LOCALES): Likewise.
11510 * localedata/dsb_DE.UTF-8.in: New file.
11511 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
11512
11513 2018-07-12 Florian Weimer <fweimer@redhat.com>
11514
11515 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
11516 __mprotect, not mprotect.
11517
11518 2018-07-11 Florian Weimer <fweimer@redhat.com>
11519
11520 * io/Makefile (headers): Add bits/statx.h.
11521
11522 2018-07-10 Mike FABIAN <mfabian@redhat.com>
11523
11524 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
11525 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
11526 and headers.
11527 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
11528 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
11529 for utf8_gen.py
11530
11531 2018-07-10 Florian Weimer <fweimer@redhat.com>
11532
11533 * io/Makefile (routines): Add statx.
11534 (tests-internal): Add tst-statx.
11535 * io/Versions (GLIBC_2.28): Export statx.
11536 * io/bits/statx.h: New file.
11537 * io/sys/stat.h [__USE_GNU]: Include it.
11538 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
11539 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
11540 Define.
11541 * io/statx.c: New file.
11542 * io/statx_generic.: Likewise.
11543 * io/tst-statx.: Likewise.
11544 * include/bits/statx.h: Likewise.
11545 * sysdeps/unix/sysv/linux/kernel-features.h
11546 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
11547 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11548 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
11549 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
11550 Undefine.
11551 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11552 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
11553 * sysdeps/unix/sysv/linux/statx.c: New file.
11554 * manual/filesys.texi: Note that statx is undocumented.
11555 * sysdeps/**/libc*.abilist: Update.
11556
11557 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11558
11559 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
11560 a kernel issue which lead to test failure in some cases.
11561
11562 2018-07-10 Florian Weimer <fweimer@redhat.com>
11563
11564 [BZ #23036]
11565 * posix/regexec.c (check_node_accept_bytes): When comparing
11566 weights, do not compare an extra byte after the end of the
11567 weights.
11568
11569 2018-07-10 Florian Weimer <fweimer@redhat.com>
11570
11571 * libio/readline.c: Fix copyright year.
11572 * libio/tst-readline.c Likewise.
11573 * nss/tst-nss-files-hosts-getent.c: Likewise.
11574
11575 2018-07-06 Florian Weimer <fweimer@redhat.com>
11576
11577 [BZ #18991]
11578 * nss/nss_files/files-XXX.c (internal_getent): Use
11579 __libc_readline_unlocked. Seek back to the start of the line if
11580 parsing failes with ERANGE.
11581 (get_contents_ret, get_contents): Remove.
11582 * nss/tst-nss-files-hosts-getent.c: New file.
11583 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
11584 (tst-nss-files-hosts-getent): Link with -ldl.
11585
11586 2018-07-06 Florian Weimer <fweimer@redhat.com>
11587
11588 * include/stdio.h (__libc_readline_unlocked): Declare.
11589 (__ftello64, __fseeko64): Declare aliases.
11590 * libio/readline.c: New file.
11591 * libio/tst-readline.c: Likewise.
11592 (routines): Add readline.
11593 (tests-internal): Add tst-readlime.
11594 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
11595 __libc_readline_unlocked.
11596 * libio/fseeko.c (__fseeko): Rename from fseeko.
11597 (fseeko): Add alias.
11598 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
11599 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
11600 (fseeko64): Add alias.
11601 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
11602 * libio/ftello64.c (__ftello64): Rename from ftello64.
11603 (ftello64): Add alias.
11604
11605 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11606
11607 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
11608 HWCAP_ATOMICS.
11609
11610 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11611
11612 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
11613 Use dl_hwcap without masking.
11614 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
11615 Remove HWCAP_CPUID.
11616
11617 2018-07-06 Florian Weimer <fweimer@redhat.com>
11618
11619 * conform/conformtest.pl (checknamespace): Escape literal braces
11620 in regular expressions.
11621
11622 2018-07-06 Amit Pawar <amit.pawar@amd.com>
11623
11624 * sysdeps/x86/cpu-features.c (get_common_indeces):
11625 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
11626 * sysdeps/x86/cpu-features.c (init_cpu_features):
11627 AVX_Fast_Unaligned_Load is disabled for Excavator core.
11628
11629 2018-07-05 Florian Weimer <fweimer@redhat.com>
11630
11631 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
11632 protector.
11633 (CFLAGS-elf-init.oS): Likewise.
11634
11635 2018-07-05 Florian Weimer <fweimer@redhat.com>
11636 Carlos O'Donell <carlos@redhat.com>
11637
11638 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
11639 $(no-stack-protector). stack_chk_fail_local.c can be compiled
11640 with stack protector enabled because there is no risk of infinite
11641 recursion.
11642
11643 2018-07-05 Maciej W. Rozycki <macro@mips.com>
11644
11645 [BZ #19818]
11646 [BZ #23307]
11647 * libc-abis (ABSOLUTE): New ABI.
11648 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
11649 * NEWS: Mention the new ABI.
11650
11651 2018-07-05 Florian Weimer <fweimer@redhat.com>
11652
11653 [BZ # 17662]
11654 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
11655 (RENAME_WHITEOUT): Define.
11656 [__USE_GNU] (renameat2): Declare.
11657 * stdio-common/Makefile (routines): Add renameat2.
11658 (tests): Add tst-renameat2.
11659 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
11660 * stdio-common/renameat2.c: New file.
11661 * stdio-common/tst-renameat2.c: Likewise.
11662 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
11663 * manual/filesys.texi (Temporary Files): Note that renameat2 is
11664 undocumented.
11665 * sysdeps/unix/sysv/linux/kernel-features.h
11666 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
11667 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11668 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11669 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11670 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11671 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11672 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
11673 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11674 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
11675 * include/stdio.h (__renameat): Add alias for renameat.
11676 * stdio-common/renameat.c (__renameat): Rename from renameat.
11677 Add hidden definition and alias.
11678 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11679 * sysdeps/mach/hurd/renameat.c: Likewise.
11680 * sysdeps/**/libc*.abilist: Add renameat2.
11681
11682 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11683
11684 * posix/bug-regex33.c: Fix build after regex sync.
11685
11686 2018-07-04 Carlos O'Donell <carlos@redhat.com>
11687
11688 [BZ #23164]
11689 * localedata/tst-langinfo-setlocale.c: New file.
11690 * localedata/tst-langinfo-setlocale-static.c: New file.
11691 * localedata/tst-langinfo-newlocale.c: New file.
11692 * localedata/tst-langinfo-newlocale-static.c: New file.
11693 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
11694 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
11695 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
11696 (tests-static): Remove tst-langinfo-static. Add
11697 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
11698 (tests-special): Remove $(objpfx)tst-langinfo.out,
11699 $(objpfx)tst-langinfo-static.out. Add
11700 $(objpfx)tst-langinfo-setlocale.out,
11701 $(objpfx)tst-langinfo-newlocale.out,
11702 $(objpfx)tst-langinfo-setlocale-static.out,
11703 $(objpfx)tst-langinfo-newlocale-static.out.
11704 ($(objpfx)tst-langinfo.out): Remove.
11705 ($(objpfx)tst-langinfo-static.out): Remove.
11706 ($(objpfx)tst-langinfo-newlocale.out): New target.
11707 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
11708 (test-xfail-tst-langinfo-newlocale-static): Add.
11709 ($(objpfx)tst-langinfo-setlocale.out): New target.
11710 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
11711 * localedata/tst-langinfo.c: Call test_locale.
11712 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
11713 data.
11714
11715 2018-07-04 Florian Weimer <fweimer@redhat.com>
11716
11717 testrun.sh: Implement --tool=strace, --tool=valgrind
11718 * Makefile (testrun-script): Define variable.
11719 (testrun.sh): Use variable.
11720 * manual/install.texi (Tools for Compilation): make 4.0 or later
11721 is required.
11722 * configure.ac: Check for make 4.0 or later.
11723 * INSTALL: Regenerate.
11724 * configure: Likewise.
11725
11726 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11727
11728 [BZ #23233]
11729 [BZ #21163]
11730 [BZ #18986]
11731 [BZ #13762]
11732 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
11733 * posix/PCRE.tests: Remove invalid test.
11734 * posix/bug-regex28.c: Fix expected values for used syntax.
11735 * posix/bug-regex37.c: New file.
11736 * posix/bug-regex38.c: Likewise.
11737 * posix/regcomp.c: Sync with gnulib.
11738 * posix/regex.c: Likewise.
11739 * posix/regex.h: Likewise.
11740 * posix/regex_internal.c: Likewise.
11741 * posix/regex_internal.h: Likewise.
11742 * posix/regexec.c: Likewise.
11743
11744 2018-06-26 Mike FABIAN <mfabian@redhat.com>
11745
11746 [BZ #23308]
11747 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
11748 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
11749 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
11750 * localedata/unicode-gen/PropList.txt: likewise.
11751 * localedata/unicode-gen/UnicodeData.txt: likewise.
11752 * localedata/charmaps/UTF-8: Regenerate.
11753 * localedata/locales/i18n_ctype: likewise.
11754 * localedata/locales/tr_TR: likewise.
11755 * localedata/locales/translit_circle: likewise.
11756 * localedata/locales/translit_cjk_compat: likewise.
11757 * localedata/locales/translit_combining: likewise.
11758 * localedata/locales/translit_compat: likewise.
11759 * localedata/locales/translit_font: likewise.
11760 * localedata/locales/translit_fraction: likewise.
11761
11762 2018-07-03 Florian Weimer <fweimer@redhat.com>
11763
11764 [BZ #23363]
11765 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
11766 * stdio-common/tst-printf.sh: Adjust expected output.
11767 * LICENSES: Update.
11768
11769 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11770
11771 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
11772 symbol.
11773
11774 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11775
11776 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
11777 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
11778 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
11779 * stdio-common/tst-printfsz-islongdouble.c: New file.
11780 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
11781 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
11782 [subdir == stdio-common] (routines): Add ieee128-printf_size.
11783 [subdir == stdio-common] (tests-internal): Add
11784 test-printf-size-ieee128, and test-printf-size-ibm128.
11785 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
11786 (CFLAGS-test-printf-size-ibm128.c): New variables.
11787 [subdir == stdio-common] (tests-special): Add
11788 $(objpfx)test-printf-size-ieee128.out and
11789 $(objpfx)test-printf-size-ibm128.out.
11790 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
11791 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
11792 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
11793 __printf_sizeieee128.
11794 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
11795 New file.
11796 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
11797 Likewise.
11798 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
11799 Likewise.
11800
11801 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11802
11803 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
11804 (exp2f_inline): Likewise.
11805 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
11806 (__math_uflowf): Likewise.
11807 (__math_may_uflowf): Likewise.
11808 (__math_divzerof): Likewise.
11809 (__math_invalidf): Likewise.
11810 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
11811 (__math_oflowf): Likewise.
11812 (__math_uflowf): Likewise.
11813 (__math_may_uflowf): Likewise.
11814 (__math_divzerof): Likewise.
11815 (__math_invalidf): Likewise.
11816
11817 2018-06-29 DJ Delorie <dj@redhat.com>
11818 Carlos O'Donell <carlos@redhat.com>
11819
11820 [BZ #23329]
11821 * include/libc-symbols.h: Comment the freeres framework.
11822 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
11823 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
11824 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
11825 * dlfcn/dlerror.c: Include libc-symbols.h
11826 (__dlerror_main_freeres): New function.
11827 * dlfcn/dlfreeres.c: New file.
11828 * dlfcn/sdlfreeres.c: New file.
11829 * include/dlfcn.h: Declare __dlerror_main_freeres.
11830 * malloc/set-freeres.c: Declare __libdl_freeres, and
11831 __libpthread_freeres.
11832 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
11833 the releavant libraries are loaded.
11834 * malloc/thread-freeres.c: Add comments.
11835 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
11836 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
11837 * nptl/allocatestack.c (__nptl_free_stacks): New function.
11838 (__free_stacks): Rename to...
11839 (free_stacks): ...this. Mark static.
11840 (queue_stack): Call free_stacks.
11841 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
11842 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
11843 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
11844 ptr_freeres element from struct.
11845 (pthread_functions): Remove .ptr_freeres from struct initializer.
11846 [SHARED] (nptl_freeres): Remove.
11847 * nptl/nptlfreeres.c: New file.
11848 * nptl/pthreadP.h
11849 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
11850 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
11851 attribute_hidden.
11852 (__free_stacks): Rename to...
11853 (__nptl_stacks_freeres): ...this.
11854 (__shm_directory_freeres): Declare.
11855 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
11856 (__nptl_unwind_freeres): ...this.
11857 * resolv/res-close.c: Add comment.
11858 * resolv/resolv_conf.c: Include libc-symbols.h.
11859 * string/strerror_l.c: Include libc-symbols.h.
11860 * sunrpc/rpc_thread.c: Include libc-symbols.h.
11861 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
11862 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
11863 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
11864
11865 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11866
11867 * stdlib/tst-strfmon_l.c: Add tests for long double.
11868
11869 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
11870
11871 [BZ #23208]
11872 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
11873 * localedata/locales/dsb_DE: New file.
11874
11875 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11876
11877 [BZ #23140]
11878 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
11879 genitive case).
11880 (alt_mon): New entry, import from CLDR (nominative case).
11881
11882 2018-06-29 Sylvain Lesage <severo@rednegra.net>
11883
11884 [BZ #22996]
11885 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
11886
11887 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
11888
11889 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11890 Use vector registers.
11891
11892 * sysdeps/aarch64/multiarch/memmove_falkor.S
11893 (__memcpy_falkor): Use vector registers.
11894
11895 2018-06-29 Martin Sebor <msebor@redhat.com>
11896
11897 * manual/stdio.texi (Customizing Printf): Mention interaction
11898 with GCC built-ins.
11899
11900 2018-06-29 Maciej W. Rozycki <macro@mips.com>
11901
11902 [BZ #23307]
11903 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
11904 `st_value' is 0 if `st_shndx' is SHN_ABS.
11905 * elf/tst-absolute-zero.c: New file.
11906 * elf/tst-absolute-zero-lib.c: New file.
11907 * elf/tst-absolute-zero-lib.lds: New file.
11908 * elf/Makefile (tests): Add `tst-absolute-zero'.
11909 (modules-names): Add `tst-absolute-zero-lib'.
11910 (LDLIBS-tst-absolute-zero-lib.so): New variable.
11911 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
11912 ($(objpfx)tst-absolute-zero: New dependency.
11913
11914 2018-06-29 Zack Weinberg <zackw@panix.com>
11915
11916 * configure.ac: New command-line option --disable-crypt.
11917 Force --disable-nss-crypt when --disable-crypt is given, with a
11918 warning if it was explicitly enabled.
11919 * configure: Regenerate.
11920 * config.make.in: New boolean substitution variable $(build-crypt).
11921 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
11922 when $(build-crypt).
11923 * manual/install.texi: Document --disable-crypt.
11924 * INSTALL: Regenerate.
11925
11926 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
11927 which is never set.
11928 * conform/Makefile: Only include libcrypt.a in
11929 linknamespace-libs-xsi and linknamespace-libs-XPG4
11930 when $(build-crypt).
11931 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
11932 USE_CRYPT to 1 when $(build-crypt).
11933 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
11934 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
11935 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
11936
11937 2018-06-29 Zack Weinberg <zackw@panix.com>
11938
11939 * crypt/crypt.h, posix/unistd.h: Update comments and
11940 prototypes for crypt and crypt_r.
11941
11942 * manual/crypt.texi (Cryptographic Functions): New initial
11943 exposition.
11944 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
11945 (Unpredictable Bytes): Improve initial exposition. Clarify error
11946 behavior of getentropy and getrandom.
11947 * manual/examples/genpass.c: Generate a salt using getentropy
11948 instead of the current time. Use hash $5$ (SHA-2-256).
11949 * manual/examples/testpass.c: Demonstrate validation against
11950 hashes generated with three different one-way functions.
11951
11952 * manual/intro.texi: crypt.texi does not need an overview
11953 anymore.
11954
11955 * manual/nss.texi, manual/memory.texi, manual/socket.texi
11956 * manual/terminal.texi: Consistently refer to "passphrases"
11957 * instead of "passwords", and to the "user database" instead
11958 * of the "password database".
11959 * manual/users.texi: Similarly. Add notes about how actual
11960 passphrase hashes are now stored in the shadow database.
11961 Remove 20-year-old junk todo note.
11962
11963 2018-06-29 Zack Weinberg <zackw@panix.com>
11964
11965 * manual/crypt.texi: Use a normal top-level @node declaration.
11966 Move most of the introductory text to the 'crypt' section.
11967 Move the example programs below the @deftypefun for 'crypt_r'.
11968 Move the 'getpass' section...
11969 * manual/terminal.texi: ...here.
11970
11971 2018-06-29 Zack Weinberg <zackw@panix.com>
11972 Florian Weimer <fweimer@redhat.com>
11973
11974 * posix/unistd.h: Do not declare encrypt.
11975 (_XOPEN_CRYPT): Remove macro definition.
11976 (crypt): Declare only for _USE_MISC.
11977 * stdlib/stdlib.h: Do not declare setkey.
11978 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
11979 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
11980
11981 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
11982 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
11983 into compat symbols. Don't define initial_perm if it's not
11984 going to be used.
11985 * crypt/cert.c: Link explicitly with the expected versions for
11986 setkey and encrypt. If they are not available at all, mark
11987 the test as unsupported.
11988
11989 * sunrpc/des_crypt.c: Unconditionally block linkage with
11990 cbc_crypt and ecb_crypt for new binaries.
11991 * sunrpc/des_soft.c: Unconditionally block linkage with
11992 des_setparity for new binaries.
11993
11994 * manual/crypt.texi: Remove the entire "DES Encryption"
11995 section. Also remove the paragraph talking about FIPS 140-2
11996 from the introduction.
11997 * manual/string.texi (strfry, memfrob): Revise. Recommend use
11998 of libgcrypt for "real" encryption, not DES.
11999 * manual/conf.texi (Constants for Sysconf): Mention that
12000 _XOPEN_CRYPT is no longer impelemented.
12001
12002 * conform/data/unistd.h-data: Remove crypt function declaration.
12003
12004 2018-06-29 Florian Weimer <fweimer@redhat.com>
12005
12006 [BZ #23351]
12007 * malloc/hooks.c: Update comments on restoring of dumped heaps.
12008 (disallow_malloc_check): Remove variable.
12009 (__malloc_check_init): Adjust.
12010 (malloc_set_state): Update comment.
12011 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
12012 declarations.
12013
12014 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12015
12016 [BZ #23140]
12017 * localedata/locales/ast_ES (mon): Rename to...
12018 (alt_mon): This.
12019 (mon): Import from CLDR (genitive case).
12020
12021 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
12022 Jakub Sitnicki <jkbs@redhat.com>
12023
12024 [BZ #21812]
12025 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
12026 on NLM_F_DUMP_INTR.
12027
12028 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
12029
12030 * manual/llio.texi: Remove spurious space.
12031
12032 2018-06-28 Florian Weimer <fweimer@redhat.com>
12033
12034 [BZ #23349]
12035 * time/bits/types/struct_timespec.h: Change header inclusion guard to
12036 _STRUCT_TIMESPEC.
12037
12038 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12039
12040 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
12041 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
12042 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
12043 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
12044 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
12045 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
12046 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
12047
12048 2018-06-27 Maciej W. Rozycki <macro@mips.com>
12049
12050 [BZ #23266]
12051 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
12052 Copy and null-terminate entries that are not terminated, in
12053 addition to empty ones.
12054
12055 2018-06-27 Florian Weimer <fweimer@redhat.com>
12056
12057 [BZ #18023]
12058 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
12059 (extend_alloca_account): Remove.
12060 * manual/stdio.texi (Variable Arguments Output): Update comment.
12061
12062 2018-06-27 Joseph Myers <joseph@codesourcery.com>
12063
12064 * nptl/sockperf.c: Remove file.
12065
12066 2018-06-27 Florian Weimer <fweimer@redhat.com>
12067
12068 [BZ #18023]
12069 * elf/dl-deps.c (_dl_map_object_deps): Use struct
12070 scratch_buffer instead of extend_alloca.
12071
12072 2018-06-27 Florian Weimer <fweimer@redhat.com>
12073
12074 [BZ #18023]
12075 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
12076 scratch_buffer instead of extend_alloca. Update comments.
12077
12078 2018-06-27 Florian Weimer <fweimer@redhat.com>
12079
12080 [BZ #18023]
12081 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
12082 instead of extend_alloca.
12083
12084 2018-06-26 Joseph Myers <joseph@codesourcery.com>
12085
12086 [BZ #13888]
12087 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
12088 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
12089 /tmp.
12090 * scripts/test-installation.pl: Put temporary files in build
12091 directory, not /tmp.
12092 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
12093 (CFLAGS-bug4.c): Likewise.
12094 (CFLAGS-bug5.c): Likewise.
12095 (CFLAGS-test-fseek.c): Likewise.
12096 (CFLAGS-test-popen.c): Likewise.
12097 (CFLAGS-test_rdwr.c): Likewise.
12098 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
12099 /tmp.
12100 * stdio-common/bug4.c (main): Likewise.
12101 * stdio-common/bug5.c (main): Likewise.
12102 * stdio-common/test-fseek.c (TESTFILE): Likewise.
12103 * stdio-common/test-popen.c (do_test): Likewise.
12104 * stdio-common/test_rdwr.c (main): Likewise.
12105
12106 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
12107
12108 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
12109 (sem_open): Set sem.newsem.pad to zero for valgrind.
12110
12111 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12112
12113 [BZ #20251]
12114 * NEWS: Mention fcntl64 addition.
12115 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
12116 * login/utmp_file.c: Likewise.
12117 * sysdeps/posix/fdopendir.c: Likewise.
12118 * sysdeps/posix/opendir.c: Likewise.
12119 * sysdeps/unix/pt-fcntl.c: Likewise.
12120 * include/fcntl.h (__libc_fcntl64, __fcntl64,
12121 __fcntl64_nocancel_adjusted): New prototype.
12122 (__fcntl_nocancel_adjusted): Remove prototype.
12123 * io/Makefile (routines): Add fcntl64.
12124 (CFLAGS-fcntl64.c): New rule.
12125 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
12126 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
12127 * io/fcntl.h (fcntl64): Add prototype and redirect if
12128 __USE_FILE_OFFSET64 is defined.
12129 * io/fcntl64.c: New file.
12130 * manual/llio.text: Add a note for which commands fcntl acts a
12131 cancellation point.
12132 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
12133 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
12134 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
12135 New symbols.
12136 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
12137 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
12138 non-LFS case.
12139 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
12140 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
12141 to __fcntl64_nocancel.
12142 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
12143 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
12144 to __fcntl64_nocancel.
12145 * sysdeps/generic/not-cancel.h: Likewise.
12146 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
12147 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
12148 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12149 (fcntl64): New symbol.
12150 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12151 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12152 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12155 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12156 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12157 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12158 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12159 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12160 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
12161 fcntl64): Likewise.
12162 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12163 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
12164 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12165 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12166 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12167 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12168 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12169 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12170 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12172 Likewise.
12173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12174 Likewise.
12175 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12176 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12177 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12178
12179 2018-06-26 Florian Weimer <fweimer@redhat.com>
12180
12181 Run thread shutdown functions in an explicit order.
12182 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
12183 definition.
12184 (__libc_thread_freeres): Call thread shutdown functions
12185 explicitly.
12186 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
12187 * include/string.h (__strerror_thread_freeres): Declare.
12188 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
12189 arena_thread_freeres. No longer static. Remove thread shutdown
12190 hook registration.
12191 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
12192 Declare.
12193 * resolv/res-close.c (__res_thread_freeres): Renamed from
12194 res_thread_freeres. No longer static. Remove thread shutdown
12195 hook registration.
12196 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
12197 * resolv/resolv_conf.c (freeres): Remove incorrect section
12198 attribute and use libc_freeres_fn.
12199 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
12200 strerror_thread_freeres. No longer static. Remove thread
12201 shutdown hook registration.
12202 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
12203 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
12204 shutdown hook registration.
12205 * Makerules (shlib.lds): Do not provide section boundary symbols
12206 for __libc_thread_subfreeres.
12207 * manual/memory.texi (Basic Allocation): Update comment.
12208
12209 2018-06-26 Florian Weimer <fweimer@redhat.com>
12210
12211 Remove always-defined _RPC_THREAD_SAFE_ macro.
12212 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
12213 Do not define _RPC_THREAD_SAFE_.
12214 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
12215 conditional.
12216 * sunrpc/clnt_perr.c: Likewise.
12217 * sunrpc/clnt_raw.c: Likewise.
12218 * sunrpc/clnt_simp.c: Likewise.
12219 * sunrpc/key_call.c: Likewise.
12220 * sunrpc/rpc_common.c: Likewise.
12221 * sunrpc/rpc_main.c: Likewise.
12222 * sunrpc/rpc_thread.c: Likewise.
12223 * sunrpc/svc.c: Likewise.
12224 * sunrpc/svc_raw.c: Likewise.
12225 * sunrpc/svc_simple.c: Likewise.
12226 * sumrpc/svcauth_des.c: Likewise.
12227
12228 2018-06-26 Florian Weimer <fweimer@redhat.com>
12229
12230 * libio/Makefile (tests-internal): Add tst-vtables,
12231 tst-vtables-interposed.
12232 * libio/tst-vtables.c: New file.
12233 * libio/tst-vtables-common.c: Likewise.
12234 * libio/tst-vtables-interposed.c: Likewise.
12235
12236 2018-06-26 Florian Weimer <fweimer@redhat.com>
12237
12238 * support/support_test_main.c (support_test_main): Only call
12239 setvbuf if not disables.
12240 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
12241 * support/test-driver.h (struct test_config): Add no_setvbuf member.
12242
12243 2018-06-26 Florian Weimer <fweimer@redhat.com>
12244
12245 [BZ #23313]
12246 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
12247
12248 2018-06-25 Florian Weimer <fweimer@redhat.com>
12249
12250 [BZ #18023]
12251 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12252 Use struct scratch_buffer instead of extend_alloca.
12253
12254 2018-06-25 Florian Weimer <fweimer@redhat.com>
12255
12256 [BZ #18023]
12257 * nss/getent.c (initgroups_keys): Use dynarray instead of
12258 extend_alloca.
12259
12260 2018-06-25 Florian Weimer <fweimer@redhat.com>
12261
12262 [BZ #18023]
12263 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
12264 Use struct scratch_buffer instead of extend_alloca.
12265
12266 2018-06-25 Florian Weimer <fweimer@redhat.com>
12267
12268 [BZ #18023]
12269 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
12270 back to malloc directly, without stack allocations.
12271
12272 2018-06-25 Florian Weimer <fweimer@redhat.com>
12273
12274 [BZ #18023]
12275 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
12276 of extend_alloca.
12277
12278 2018-06-25 Florian Weimer <fweimer@redhat.com>
12279
12280 [BZ #18023]
12281 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
12282 of extend_alloca.
12283 * nscd/hstcache.c (addhstbyX): Likewise.
12284 * nscd/pwdcache.c (addpwbyX): Likewise.
12285 * nscd/servicescache.c (addservbyX): Likewise.
12286
12287 2018-06-25 Florian Weimer <fweimer@redhat.com>
12288
12289 [BZ #18023]
12290 * nscd/connections.c (read_cmdline): New function.
12291 (restart): Use it. Update comment.
12292
12293 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12294
12295 [BZ #23140]
12296 * localedata/locales/csb_PL (mon): Rename to...
12297 (alt_mon): This.
12298 (abmon): Rename to...
12299 (ab_alt_mon): This.
12300 (mon): Add with proper genitive forms, copy from Wikipedia.
12301 (abmon): Likewise.
12302
12303 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12304
12305 [BZ #19485]
12306 * localedata/locales/csb_PL (mon): Fix typos:
12307 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
12308 (yesstr): Add, value is "jo".
12309 (nostr): Add, value is "nié".
12310
12311 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12312
12313 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
12314 all log1p and significand functions on m680x0.
12315 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
12316 of s_significand.c..
12317 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12318 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
12319 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
12320 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
12321 s_log1p.c and include it..
12322
12323 2018-06-21 Vincent Chen <vincentc@andestech.com>
12324
12325 * elf/elf.h (R_NDS32_NONE): New define.
12326 (R_NDS32_32_RELA): Likewise.
12327 (R_NDS32_COPY): Likewise.
12328 (R_NDS32_GLOB_DAT): Likewise.
12329 (R_NDS32_JUMP_SLOT): Likewise.
12330 (R_NDS32_RELATIVE): Likewise.
12331 (R_NDS32_TLS_TPOFF): Likewise.
12332 (R_NDS32_TLS_DESC): Likewise.
12333
12334 2018-06-21 Mark Wielaard <mark@klomp.org>
12335
12336 * elf/elf.h (R_BPF_MAP_FD): Removed.
12337 (R_BPF_64_64, R_BPF_64_32): New.
12338
12339 2018-06-21 Florian Weimer <fweimer@redhat.com>
12340
12341 [BZ #23253]
12342 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
12343 Renamed from libc_feholdsetround_ctx.
12344 (default_libc_feresetround_ctx): Renamed from
12345 libc_feresetround_ctx.
12346 (default_libc_feholdsetround_noex_ctx): Renamed from
12347 libc_feholdsetround_noex_ctx.
12348 (default_libc_feresetround_noex_ctx): Renamed from
12349 libc_feresetround_noex_ctx.
12350 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
12351 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
12352 forwardning to the old implementations under the new names.
12353 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
12354 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
12355 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
12356 (libc_feresetround_ctx): Forward to default implements for i386
12357 and MATH_SET_BOTH_ROUNDING_MODES.
12358 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
12359 Add -DMATH_SET_BOTH_ROUNDING_MODES.
12360
12361 2018-06-20 Joseph Myers <joseph@codesourcery.com>
12362
12363 * string/tst-cmp.c: Include <libc-diag.h>.
12364 (strncmp_max): Disable -Wstringop-overflow= around call to
12365 strncmp.
12366 (strncasecmp_max): Disable -Wstringop-overflow= around call to
12367 strncasecmp.
12368
12369 * string/bug-strpbrk1.c: Include <libc-diag.h>.
12370 (main): Disable -Wunused-value around call to strpbrk.
12371 * string/bug-strspn1.c: Include <libc-diag.h>.
12372 (main): Disable -Wunused-value around call to strspn.
12373
12374 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12375 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12376
12377 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
12378 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
12379
12380 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12381
12382 * math/Makefile (libm-calls): Move s_significandF to...
12383 (gen-libm-calls): ... here.
12384 * math/s_significand_template.c: New file.
12385 * math/s_significand.c: Removed.
12386 * math/s_significandf.c: Removed.
12387 * math/s_significandl.c: Removed.
12388 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
12389 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
12390
12391 * math/e_exp2_template.c (declare_mgen_finite_alias,
12392 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
12393 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
12394 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
12395
12396 2018-06-20 Florian Weimer <fweimer@redhat.com>
12397
12398 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
12399
12400 2018-06-19 Joseph Myers <joseph@codesourcery.com>
12401
12402 [BZ #23280]
12403 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
12404 floating-point number to strtod functions rather than possibly
12405 negating result of those functions.
12406 * stdio-common/tst-scanf-round.c: New file.
12407 * stdio-common/Makefile (tests): Add tst-scanf-round.
12408 ($(objpfx)tst-scanf-round): Depend on $(libm).
12409
12410 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12411
12412 * sysdeps/mach/hurd/localplt.data: Move to...
12413 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
12414 R_386_GLOB_DAT like on Linux i386.
12415
12416 2018-06-18 Joseph Myers <joseph@codesourcery.com>
12417
12418 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
12419 (SHM_STAT_ANY): New macro.
12420 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
12421 (SHM_STAT_ANY): Likewise.
12422 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
12423 (SHM_STAT_ANY): Likewise.
12424 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
12425 (SHM_STAT_ANY): Likewise.
12426 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
12427 (SHM_STAT_ANY): Likewise.
12428 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
12429 (SHM_STAT_ANY): Likewise.
12430 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
12431 (SHM_STAT_ANY): Likewise.
12432 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
12433 (SHM_STAT_ANY): Likewise.
12434 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
12435 (SHM_STAT_ANY): Likewise.
12436 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
12437 (SHM_STAT_ANY): Likewise.
12438 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
12439 (SHM_STAT_ANY): Likewise.
12440 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
12441 (SHM_STAT_ANY): Likewise.
12442
12443 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
12444 (SEM_STAT_ANY): New macro.
12445 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
12446 (SEM_STAT_ANY): Likewise.
12447 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
12448 (SEM_STAT_ANY): Likewise.
12449 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
12450 (SEM_STAT_ANY): Likewise.
12451 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
12452 (SEM_STAT_ANY): Likewise.
12453 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
12454 (SEM_STAT_ANY): Likewise.
12455 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
12456 (SEM_STAT_ANY): Likewise.
12457 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
12458 (SEM_STAT_ANY): Likewise.
12459 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
12460 (SEM_STAT_ANY): Likewise.
12461 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
12462 (SEM_STAT_ANY): Likewise.
12463
12464 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
12465 (MSG_STAT_ANY): New macro.
12466 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
12467 (MSG_STAT_ANY): Likewise.
12468 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
12469 (MSG_STAT_ANY): Likewise.
12470 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
12471 (MSG_STAT_ANY): Likewise.
12472 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
12473 (MSG_STAT_ANY): Likewise.
12474 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
12475 (MSG_STAT_ANY): Likewise.
12476 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
12477 (MSG_STAT_ANY): Likewise.
12478 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
12479 (MSG_STAT_ANY): Likewise.
12480 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
12481 (MSG_STAT_ANY): Likewise.
12482 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
12483 (MSG_STAT_ANY): Likewise.
12484
12485 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12486 (MAP_TYPE): Change value to 0x2b.
12487
12488 2018-06-18 Florian Weimer <fweimer@redhat.com>
12489
12490 [BZ #15722]
12491 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
12492 socket with SOCK_CLOEXEC.
12493
12494 2018-06-18 Joseph Myers <joseph@codesourcery.com>
12495
12496 [BZ #23303]
12497 * sysdeps/powerpc/powerpc64/le/Makefile
12498 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
12499 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
12500 (gnulib-tests): Also add $(f128-loader-link) for
12501 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
12502
12503 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
12504
12505 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
12506 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
12507 of sendfile.
12508 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
12509 (sendfile64): New strong alias.
12510 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
12511 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
12512 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
12513 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
12514 attribute.
12515 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
12516 ___pthread_get_cleanup_stack.
12517 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
12518 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
12519 * mach/shortcut.awk: Make syscall stubs include
12520 <mach-shortcuts-hidden.h> and add hidden definition.
12521 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
12522 (__mach_msg): Add hidden prototype.
12523 * mach/msg.c: Include <mach.h>.
12524 (__mach_msg): Add hidden definition.
12525 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
12526 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
12527 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
12528 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
12529 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
12530 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
12531 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
12532 prototype and definition.
12533 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
12534 hidden target for _hurd_self_sigstate.
12535
12536 2018-06-15 Joseph Myers <joseph@codesourcery.com>
12537
12538 [BZ #23007]
12539 * stdlib/tst-strtod-nan-sign-main.c: New file.
12540 * stdlib/tst-strtod-nan-sign.c: Likewise.
12541 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
12542 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
12543 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
12544 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
12545 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
12546
12547 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
12548
12549 [BZ #23007]
12550 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
12551 appropriate sign.
12552
12553 2018-06-14 Florian Weimer <fweimer@redhat.com>
12554
12555 [BZ #23290]
12556 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
12557 that the result stays within the ISO-8859-1 range.
12558 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
12559 characters are defined in IBM273.
12560
12561 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
12562
12563 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
12564 __mach_task_self): Remove attribute_hidden.
12565
12566 2018-06-14 Joseph Myers <joseph@codesourcery.com>
12567
12568 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
12569 ignore -Wrestrict for one test.
12570
12571 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
12572 Szabolcs Nagy <szabolcs.nagy@arm.com>
12573
12574 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
12575
12576 2018-06-14 Florian Weimer <fweimer@redhat.com>
12577
12578 * scripts/update-abilist.sh: Accept empty list of files to patch.
12579
12580 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
12581
12582 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
12583 test-xfail-check-abi-libmachuser): Add.
12584 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
12585 __libc_read and __libc_write to __read and __write.
12586 * sysdeps/hurd/include/hurd/port.h: New file.
12587 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
12588 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
12589 __thread_switch, __evc_wait): Move declarations to...
12590 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
12591 attribute_hidden.
12592 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
12593 use PLT to call _hurd_self_sigstate.
12594
12595 2018-06-13 Joseph Myers <joseph@codesourcery.com>
12596
12597 [BZ #23279]
12598 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
12599 MAX_EXP as overflowing.
12600 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
12601 overflow flag.
12602 (round_str): Output also whether result overflows in each rounding
12603 mode.
12604 * stdlib/tst-strtod-round-data: Add more tests.
12605 * stdlib/tst-strtod-round-data.h: Regenerated.
12606 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
12607 (TEST): Handle extra arguments for overflow flags.
12608 (struct test_overflow): New type.
12609 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
12610 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
12611 (test_in_one_mode): Take argument with overflow information.
12612 (do_test): Update calls to test_in_one_mode.
12613
12614 2018-06-12 Carlos O'Donell <carlos@redhat.com>
12615
12616 * elf/dl-load (_dl_dst_substitute): Correct comment.
12617 (_dl_dst_count): Likewise.
12618
12619 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
12620 lll_futex_timed_wait.
12621
12622 2018-06-12 Joseph Myers <joseph@codesourcery.com>
12623
12624 [BZ #23277]
12625 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
12626 attribute.
12627 * math/test-nan-const.c: New file.
12628 * math/Makefile (tests): Add test-nan-const.
12629 (CFLAGS-test-nan-const.c): New variable.
12630
12631 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12632
12633 * benchtests/scripts/compare_strings.py (process_results): Add
12634 funcs argument. Compare only functions which are selected.
12635 (main): Check if base function is among selected functions.
12636 Pass selected functions to process_results.
12637 (__main__): Add -f/--functions argument.
12638
12639 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
12640 Hongbo Zhang <hongbo.zhang@linaro.org>
12641
12642 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
12643 __memcpy_falkor for phecda core.
12644 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
12645 __memmove_falkor for phecda core.
12646 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
12647 __memset_falkor for phecda core.
12648 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
12649 for phecda core.
12650 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
12651 macro to identify phecda core.
12652
12653 2018-06-12 Carlos O'Donell <carlos@redhat.com>
12654 Andreas Schwab <schwab@suse.de>
12655 Dmitry V. Levin <ldv@altlinux.org>
12656 Florian Weimer <fweimer@redhat.com>
12657
12658 [BZ #23102]
12659 [BZ #21942]
12660 [BZ #18018]
12661 [BZ #23259]
12662 CVE-2011-0536
12663 * elf/dl-dst.h: Remove DL_DST_COUNT.
12664 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
12665 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
12666 (is_dst): Comment. Support ELF gABI.
12667 (_dl_dst_count): Comment. Simplify and count DSTs.
12668 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
12669 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
12670 locals.
12671
12672 2018-06-12 Zack Weinberg <zackw@panix.com>
12673
12674 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
12675 * sysdeps/unix/sysv/linux/dl-sysdep.c
12676 Include not-cancel.h. Use __close_nocancel instead of __close,
12677 __open64_nocancel instead of __open, __read_nocancel instead of
12678 __libc_read, and __write_nocancel instead of __libc_write.
12679
12680 * csu/check_fds.c (check_one_fd)
12681 * sysdeps/posix/fdopendir.c (__fdopendir)
12682 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
12683 instead of __fcntl and/or __libc_fcntl.
12684
12685 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
12686 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
12687 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
12688 Use __open64_nocancel instead of __open_nocancel.
12689
12690 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
12691 hidden_proto declarations to the end and issue them if either
12692 IS_IN(libc) or IS_IN(rtld).
12693 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
12694 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
12695 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
12696 read_nocancel, waitpid_nocancel, write_nocancel.
12697
12698 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
12699 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
12700 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
12701
12702 * nptl/pt-fcntl.c: New file.
12703 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
12704 (libpthread-routines): Add pt-fcntl.
12705 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
12706 (__libc_fcntl): Remove attribute_hidden.
12707 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
12708 __fcntl_nocancel_adjusted, not fcntl_common.
12709 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
12710 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
12711 to fcntl_nocancel.c.
12712 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
12713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
12714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12715 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
12716
12717 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
12718 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
12719 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
12720 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
12721 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
12722 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
12723 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
12724 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
12725 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
12726 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
12727 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
12728 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
12729 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
12730 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
12731 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
12732 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
12733 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
12734 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
12735 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
12736 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
12737
12738 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
12739 libpthread-routines.
12740 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
12741 defines nothing.
12742
12743 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
12744 __libc_read, and __write instead of __libc_write. Define
12745 __open64 in addition to __open.
12746
12747 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12748
12749 [BZ #23250]
12750 [BZ #10686]
12751 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
12752 to _private_tm[3] and add __glibc_reserved2.
12753 Add _Static_assert of offset of __private_ss == 0x30.
12754 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
12755 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
12756
12757 2018-06-12 Florian Weimer <fweimer@redhat.com>
12758
12759 x86: Make strncmp usable from rtld.
12760 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
12761 __strncmp_ia32 if in libc (and not in rtld).
12762 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
12763 strncmp if not in libc (and not to __strncmp_sse2).
12764
12765 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
12766
12767 [BZ #23140]
12768 * localedata/locales/gd_GB (mon): Rename to...
12769 (alt_mon): This.
12770 (mon): Import from CLDR (genitive case).
12771 * localedata/locales/hsb_DE (mon): Rename to...
12772 (alt_mon): This.
12773 (mon): Import from CLDR (genitive case).
12774 * localedata/locales/wa_BE (mon): Rename to...
12775 (alt_mon): This.
12776 (mon): Add, fill with the proper genitive forms, but CLDR data
12777 is incomplete; completed according to the comments in this file.
12778 (d_t_fmt): Do not use "di" before the month name, no longer needed.
12779
12780 * localedata/locales/wa_BE (country_name): Reword
12781 "Beljike" -> "Beldjike".
12782
12783 2018-06-11 Joseph Myers <joseph@codesourcery.com>
12784
12785 [BZ #23272]
12786 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
12787 cases of non-finite arguments.
12788 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12789
12790 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
12791
12792 [BZ #23174]
12793 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
12794
12795 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12796
12797 [BZ #23264]
12798 * include/unistd.h (__execvpex): New prototype.
12799 * posix/Makefile (tests): Add tst-spawn4.
12800 (tests-internal): Add tst-spawn4-compat.
12801 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
12802 * posix/tst-spawn4-compat.c: New file.
12803 * posix/tst-spawn4.c: Likewise.
12804 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
12805 binaries as shell scripts.
12806 * sysdeps/posix/spawni.c (__spawni): Likewise.
12807
12808 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
12809
12810 [BZ #23145]
12811 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
12812 ($(all-built-dso:=.dynsym): New target.
12813 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
12814 ($(objpfx)check-initfini.out): New target.
12815 (generated): Add check-initfini.out.
12816 * scripts/check-initfini.awk: New file.
12817 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
12818 (_fini): Likewise.
12819 * sysdeps/alpha/crti.S (_init): Mark as hidden.
12820 (_fini): Likewise.
12821 * sysdeps/arm/crti.S (_init): Mark as hidden.
12822 (_fini): Likewise.
12823 * sysdeps/hppa/crti.S (_init): Mark as hidden.
12824 (_fini): Likewise.
12825 * sysdeps/i386/crti.S (_init): Mark as hidden.
12826 (_fini): Likewise.
12827 * sysdeps/ia64/crti.S (_init): Mark as hidden.
12828 (_fini): Likewise.
12829 * sysdeps/m68k/crti.S (_init): Mark as hidden.
12830 (_fini): Likewise.
12831 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
12832 (_fini): Likewise.
12833 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
12834 (_fini): Likewise.
12835 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
12836 (_fini): Likewise.
12837 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
12838 (_fini): Likewise.
12839 * sysdeps/nios2/crti.S (_init): Mark as hidden.
12840 (_fini): Likewise.
12841 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
12842 (_fini): Likewise.
12843 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
12844 (_fini): Likewise.
12845 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
12846 (_fini): Likewise.
12847 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
12848 (_fini): Likewise.
12849 * sysdeps/sh/crti.S (_init): Mark as hidden.
12850 (_fini): Likewise.
12851 * sysdeps/sparc/crti.S (_init): Mark as hidden.
12852 (_fini): Likewise.
12853 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
12854 (_fini): Likewise.
12855
12856 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12857
12858 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
12859 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
12860 and TF redirection to KFtype and KF only when the default
12861 long double type is not the IEEE 128-bit floating point type.
12862
12863 2018-06-05 Joseph Myers <joseph@codesourcery.com>
12864
12865 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
12866 macro.
12867 (HWCAP_USCAT): Likewise.
12868 (HWCAP_ILRCPC): Likewise.
12869 (HWCAP_FLAGM): Likewise.
12870 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12871 Increase to 28.
12872 (_dl_aarch64_cap_flags): Add new flag names.
12873
12874 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
12875 (MAP_FIXED_NOREPLACE): New macro.
12876 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
12877 (MAP_FIXED_NOREPLACE): Likewise.
12878 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
12879 (MAP_FIXED_NOREPLACE): Likewise.
12880 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12881 (MAP_FIXED_NOREPLACE): Likewise.
12882 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
12883 (MAP_FIXED_NOREPLACE): Likewise.
12884 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
12885 (MAP_FIXED_NOREPLACE): Likewise.
12886 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
12887 (MAP_FIXED_NOREPLACE): Likewise.
12888 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
12889 (MAP_FIXED_NOREPLACE): Likewise.
12890 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
12891 (MAP_FIXED_NOREPLACE): Likewise.
12892 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
12893 (MAP_FIXED_NOREPLACE): Likewise.
12894 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
12895 (MAP_FIXED_NOREPLACE): Likewise.
12896 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
12897 (MAP_FIXED_NOREPLACE): Likewise.
12898 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
12899 (MAP_FIXED_NOREPLACE): Likewise.
12900 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
12901 (MAP_FIXED_NOREPLACE): Likewise.
12902 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
12903 (MAP_FIXED_NOREPLACE): Likewise.
12904
12905 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12906 version to 4.17.
12907
12908 2018-06-04 Joseph Myers <joseph@codesourcery.com>
12909
12910 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12911 version to 4.17
12912
12913 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12914
12915 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
12916 int.
12917 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
12918
12919 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12920
12921 * benchtests/scripts/compare_string.py: (process_results) Catch
12922 exception in non-existent base_func and catch exception in
12923 non-existent attribute.
12924 (parse_file) Catch exception if input file does not exist.
12925
12926 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12927
12928 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
12929 options to avoid diff calculation and omit header, respectively.
12930 (main): process --no-diff and --no-header
12931
12932 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12933 H.J. Lu <hongjiu.lu@intel.com>
12934
12935 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12936 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
12937 wcsncmp-sse2.
12938 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12939 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
12940 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
12941 and __wcsncmp_sse2.
12942 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
12943 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
12944 AVX unaligned load is fast and vzeroupper is preferred.
12945 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
12946 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
12947 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
12948 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
12949 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
12950 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
12951 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
12952 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
12953 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
12954 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
12955 is undefined.
12956
12957 2018-06-01 Florian Weimer <fweimer@redhat.com>
12958
12959 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
12960 configuring with --disable-multi-arch, building with
12961 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
12962 Haswell-era CPU.
12963
12964 2018-06-01 Florian Weimer <fweimer@redhat.com>
12965
12966 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
12967 results from building with “-march=x86-64 -mtune=generic
12968 -mfpmath=sse” and running on a Haswell-era CPU.
12969
12970 2018-06-01 Joseph Myers <joseph@codesourcery.com>
12971
12972 [BZ #18473]
12973 * soft-fp/sqrttf2.c: Remove file.
12974 * soft-fp/sqrtdf2.c: Move to ....
12975 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
12976 <shlib-compat.h>.
12977 (__sqrtdf2): Make conditional on
12978 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12979 symbol.
12980 * soft-fp/sqrtsf2.c: Move to ....
12981 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
12982 <shlib-compat.h>.
12983 (__sqrtsf2): Make conditional on
12984 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12985 symbol.
12986 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
12987 (gcc-double-routines): Remove sqrtdf2.
12988 (gcc-quad-routines): Remove sqrttf2.
12989 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12990 Do not filter out sqrtsf2 and sqrtdf2.
12991 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12992 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
12993
12994 2018-06-01 Florian Weimer <fweimer@redhat.com>
12995
12996 * sysdeps/generic/libcidn.abilist: Remove file.
12997
12998 2018-06-01 Florian Weimer <fweimer@redhat.com>
12999
13000 [BZ #23236]
13001 * libio/strfile.h (struct _IO_str_fields): Rename members to
13002 discourage their use and add comment.
13003 (_IO_STR_DYNAMIC): Remove unused macro.
13004 * libio/strops.c (_IO_str_init_static_internal): Do not use
13005 callback pointers. Call malloc and free.
13006 (_IO_str_overflow): Do not use callback pointers. Call malloc
13007 and free.
13008 (enlarge_userbuf): Likewise.
13009 (_IO_str_finish): Call free.
13010 * libio/wstrops.c (_IO_wstr_init_static): Initialize
13011 _allocate_buffer_unused.
13012 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
13013 and free.
13014 (enlarge_userbuf): Likewise.
13015 (_IO_wstr_finish): Call free.
13016 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
13017 _allocate_buffer_unused, _free_buffer_unused.
13018 * libio/memstream.c (__open_memstream): Likewise.
13019 * libio/vasprintf.c (_IO_vasprintf): Likewise.
13020 * libio/wmemstream.c (open_wmemstream): Likewise.
13021
13022 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13023
13024 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
13025 AMD Ryzen 7 1800X.
13026
13027 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13028
13029 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
13030 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
13031 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
13032 New file.
13033 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
13034 Likewise.
13035 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
13036
13037 2018-05-29 Florian Weimer <fweimer@redhat.com>
13038
13039 * support/Makefile (libsupport-routines): Add
13040 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
13041 xpthread_barrierattr_setpshared.
13042 * support/xpthread_barrierattr_destroy.c: New file.
13043 * support/xpthread_barrierattr_init.c: Likewise.
13044 * support/xpthread_barrierattr_setpshared.c: Likewise.
13045
13046 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
13047
13048 [BZ #23206]
13049 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
13050 _r_debug and update DT_DEBUG for debugger.
13051
13052 2018-05-29 Florian Weimer <fweimer@redhat.com>
13053
13054 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
13055 (tst-strtod5i.out): Likewise.
13056
13057 2018-05-25 Joseph Myers <joseph@codesourcery.com>
13058
13059 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
13060 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
13061 (sparc64-quad-routines): New variable. Moved from ....
13062 [$(subdir) = soft-fp] (sysdep_routines): Add
13063 $(sparc64-quad-routines). Moved from ....
13064 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
13065 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
13066 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
13067 moved from ....
13068 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
13069 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
13070 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
13071 * sysdeps/sparc/sparc64/qp_add.c: ... here.
13072 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
13073 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
13074 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
13075 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
13076 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
13077 * sysdeps/sparc/sparc64/qp_div.c: ... here.
13078 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
13079 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
13080 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
13081 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
13082 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
13083 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
13084 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
13085 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
13086 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
13087 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
13088 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
13089 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
13090 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
13091 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
13092 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
13093 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
13094 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
13095 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
13096 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
13097 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
13098 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
13099 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
13100 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
13101 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
13102 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
13103 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
13104 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
13105 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
13106 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
13107 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
13108 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
13109 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
13110 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
13111 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
13112 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
13113 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
13114 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
13115 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
13116 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
13117 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
13118 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
13119 * sysdeps/sparc/sparc64/qp_util.c: ... here.
13120 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
13121 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
13122 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
13123 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
13124 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
13125 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
13126
13127 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
13128 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
13129 (sparc32-quad-routines): New variable. Moved from ....
13130 [$(subdir) = soft-fp] (sysdep_routines): Add
13131 $(sparc32-quad-routines). Moved from ....
13132 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
13133 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
13134 moved from ....
13135 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
13136 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
13137 * sysdeps/sparc/sparc32/q_add.c: ... here.
13138 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
13139 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
13140 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
13141 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
13142 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
13143 * sysdeps/sparc/sparc32/q_div.c: ... here.
13144 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
13145 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
13146 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
13147 * sysdeps/sparc/sparc32/q_feq.c: ... here.
13148 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
13149 * sysdeps/sparc/sparc32/q_fge.c: ... here.
13150 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
13151 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
13152 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
13153 * sysdeps/sparc/sparc32/q_fle.c: ... here.
13154 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
13155 * sysdeps/sparc/sparc32/q_flt.c: ... here.
13156 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
13157 * sysdeps/sparc/sparc32/q_fne.c: ... here.
13158 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
13159 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
13160 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
13161 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
13162 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
13163 * sysdeps/sparc/sparc32/q_mul.c: ... here.
13164 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
13165 * sysdeps/sparc/sparc32/q_neg.c: ... here.
13166 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
13167 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
13168 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
13169 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
13170 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
13171 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
13172 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
13173 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
13174 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
13175 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
13176 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
13177 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
13178 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
13179 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
13180 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
13181 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
13182 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
13183 * sysdeps/sparc/sparc32/q_sub.c: ... here.
13184 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
13185 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
13186 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
13187 * sysdeps/sparc/sparc32/q_util.c: ... here.
13188 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
13189 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
13190 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
13191 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
13192
13193 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13194 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13195
13196 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
13197 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
13198 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
13199 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
13200
13201 2018-05-24 Joseph Myers <joseph@codesourcery.com>
13202
13203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
13204 powerpc/soft-fp.
13205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13206 Likewise.
13207 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
13208 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
13209
13210 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13211
13212 [BZ #23171]
13213 * math/math.h [C++] (iseqsig): Fix parameter type for the long
13214 double version.
13215
13216 2018-05-23 Joseph Myers <joseph@codesourcery.com>
13217
13218 * sysdeps/sh/Implies: Remove sh/soft-fp.
13219 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
13220 * sysdeps/sh/sfp-machine.h: ... here.
13221
13222 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13223
13224 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13225 (__mempcpy_erms): Skip zero length.
13226 (__memmove_erms): Likewise.
13227 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13228 (__memset_erms): Likewise.
13229
13230 2018-05-23 Joseph Myers <joseph@codesourcery.com>
13231
13232 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
13233 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13234 Add functions moved from ....
13235 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
13236 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
13237 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
13238 from ....
13239 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
13240 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
13241 * sysdeps/alpha/e_sqrtl.c: ... here.
13242 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
13243 * sysdeps/alpha/local-soft-fp.h: ... here.
13244 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
13245 * sysdeps/alpha/ots_add.c: ... here.
13246 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
13247 * sysdeps/alpha/ots_cmp.c: ... here.
13248 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
13249 * sysdeps/alpha/ots_cmpe.c: ... here.
13250 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
13251 * sysdeps/alpha/ots_cvtqux.c: ... here.
13252 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
13253 * sysdeps/alpha/ots_cvtqx.c: ... here.
13254 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
13255 * sysdeps/alpha/ots_cvttx.c: ... here.
13256 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
13257 * sysdeps/alpha/ots_cvtxq.c: ... here.
13258 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
13259 * sysdeps/alpha/ots_cvtxt.c: ... here.
13260 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
13261 * sysdeps/alpha/ots_div.c: ... here.
13262 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
13263 * sysdeps/alpha/ots_mul.c: ... here.
13264 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
13265 * sysdeps/alpha/ots_nintxq.c: ... here.
13266 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
13267 * sysdeps/alpha/ots_sub.c: ... here.
13268 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
13269 * sysdeps/alpha/sfp-machine.h: ... here.
13270
13271 2018-05-23 Florian Weimer <fweimer@redhat.com>
13272
13273 [BZ #19728]
13274 [BZ #19729]
13275 [BZ #22247]
13276 CVE-2016-6261
13277 CVE-2016-6263
13278 CVE-2017-14062
13279 Switch to extern IDNA implementation (libidn2).
13280 * libidn: Remove subdirectory.
13281 * LICENSES: Do not mention licensing conditions for the removed
13282 libidn code.
13283 * config.h.in (HAVE_LIBIDN): Remove.
13284 * include/dlfcn.h (__libc_dlopen): Update comment.
13285 * include/idna.h: Remove file.
13286 * inet/Makefile (routines): Add idna.
13287 (tests-static, tests-internal): Add tst-idna_name_classify.
13288 (LOCALES): Generate locales for tests.
13289 (tst-idna_name_classify.out): Depend on generated locales.
13290 * inet/idna_name_classify.c: New file.
13291 * inet/tst-idna_name_classify.c: Likewise.
13292 * inet/net-internal.h (__idna_to_dns_encoding)
13293 (__idna_from_dns_encoding): Declare.
13294 * inet/net-internal.h (enum idna_name_classification): Define.
13295 (__idna_name_classify): Declare.
13296 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
13297 __idna_from_dns_encoding.
13298 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
13299 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
13300 name as a fallback in case of encoding errors.
13301 (getnameinfo): Use DEPRECATED_NI_IDN.
13302 * inet/idna.c: New file.
13303 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
13304 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
13305 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
13306 (modules-names): Add tst-no-libidn2.
13307 (extra-test-objs): Add tst-no-libidn2.os.
13308 (LDFLAGS-tst-no-libidn2.so): Set soname.
13309 (LOCALES): Set, and generate locales.
13310 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
13311 (tst-resolv-ai_idn-latin1): Likewise.
13312 (tst-resolv-ai_idn-nolibidn2): Likewise.
13313 (tst-resolv-ai_idn.out): Depend on locales.
13314 (tst-resolv-ai_idn-latin1.out): Depend on locales.
13315 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
13316 tst-no-libidn2.so.
13317 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
13318 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
13319 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
13320 * resolv/tst-resolv-ai_idn.c: New file.
13321 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
13322 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
13323 * resolv/tst-no-libidn2.c: Likewise.
13324 * support/support_format_addrinfo.c (format_ai_flags): Do not
13325 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
13326 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
13327 (gaih_inet): Call __idna_to_dns_encoding and
13328 __idna_from_dns_encoding, and use the original (punycode) name if
13329 __idna_from_dns_encoding fails due to an encoding error.
13330 (getaddrinfo): Use DEPRECATED_AI_IDN.
13331 * sysdeps/unix/inet/Subdirs (libidn): Remove.
13332 * sysdeps/unix/inet/configure: Remove file.
13333 * sysdeps/unix/inet/configure.ac: Likewise.
13334
13335 2018-05-23 Florian Weimer <fweimer@redhat.com>
13336
13337 Implement allocate_once.
13338 * include/allocate_once.h: New file.
13339 * misc/allocate_once.c: Likewise.
13340 * misc/tst-allocate_once.c: Likewise.
13341 * misc/Makefile (routines): Add allocate_once.
13342 (tests-internal): Add tst-allocate_once.
13343 (generated): Add tst-allocate_once.mtrace,
13344 tst-allocate_once-mem.out.
13345 (tests-special): Add tst-allocate_once-mem.out.
13346 (tst-allocate_once-ENV): Set MALLOC_TRACE.
13347 (tst-allocate_once-mem.out): Call mtrace.
13348 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
13349
13350 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13351
13352 [BZ #23196]
13353 * string/test-memcpy.c (do_test1): New function.
13354 (test_main): Call it.
13355
13356 2018-05-23 Andreas Schwab <schwab@suse.de>
13357
13358 [BZ #23196]
13359 CVE-2018-11237
13360 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
13361 (L(preloop_large)): Save initial destination pointer in %r11 and
13362 use it instead of %rax after the loop.
13363 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
13364
13365 2018-05-22 Joseph Myers <joseph@codesourcery.com>
13366
13367 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
13368 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
13369 -I../soft-fp. Moved from ....
13370 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
13371 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
13372 * sysdeps/aarch64/e_sqrtl.c: ... here.
13373 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
13374 * sysdeps/aarch64/sfp-machine.h: ... here.
13375
13376 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
13377 -Wmaybe-uninitialized around access to fq[0].
13378 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13379 Likewise.
13380
13381 [BZ #18471]
13382 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
13383 aliases for non-libc case of versioned symbols.
13384 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
13385 (llseek): Define as compat symbol if
13386 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
13387 with link warning.
13388 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
13389 Make into a compat symbol, disabled for minimum symbol version
13390 GLIBC_2.28 and later.
13391 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
13392
13393 2018-05-22 Florian Weimer <fweimer@redhat.com>
13394
13395 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
13396 not add -mpreferred-stack-boundary=4.
13397 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
13398 (stack-align-test-flags): Likewise.
13399 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
13400 Likewise.
13401 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
13402 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
13403 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
13404 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
13405 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
13406 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
13407 (CFLAGS-tst-align2.c): Likewise.
13408
13409 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13410
13411 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
13412 (index_arch_Prefer_FSRM): Likewise.
13413 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
13414 Also check Prefer_FSRM.
13415 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
13416 Also return OPTIMIZE (erms) for Prefer_FSRM.
13417
13418 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13419
13420 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
13421 (index_cpu_FSRM): Likewise.
13422 (reg_FSRM): Likewise.
13423
13424 2018-05-18 Joseph Myers <joseph@codesourcery.com>
13425
13426 * math/gen-tgmath-tests.py: Import sys.
13427 (Tests.__init__): Initialize macros_seen.
13428 (Tests.add_tests): Add macro to macros_seen. Only generate tests
13429 if requested to do so for this macro.
13430 (Tests.add_all_tests): Take argument for macro for which to
13431 generate tests.
13432 (Tests.check_macro_list): New function.
13433 (main): Handle check-list argument and argument specifying macro
13434 for which to generate tests.
13435 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
13436 [PYTHON] (tgmath3-macro-tests): Likewise.
13437 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
13438 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
13439 not test-tgmath3.c.
13440 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
13441 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
13442 to CFLAGS.
13443 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
13444 [PYTHON] ($(foreach
13445 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
13446 rule.
13447 [PYTHON] (tests-special): Add
13448 $(objpfx)test-tgmath3-macro-list.out.
13449 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
13450
13451 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
13452 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
13453 later.
13454
13455 [BZ #22639]
13456 * time/tzset.c (SECSPERDAY): Cast to time_t.
13457 * time/tst-y2039.c: New file.
13458 * time/Makefile (tests): Add tst-y2039.
13459
13460 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13461
13462 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13463 (PREFETCH_ONE_SET): Remove duplicate line.
13464
13465 2018-05-17 Florian Weimer <fweimer@redhat.com>
13466
13467 * sysdeps/generic/math-type-macros-double.h: Include
13468 <math-nan-payload-double.h> after <libm-alias-double.h>.
13469 * sysdeps/generic/math-type-macros-float.h: Include
13470 <math-nan-payload-float.h> after <libm-alias-float.h>.
13471 * sysdeps/generic/math-type-macros-float128.h: Include
13472 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
13473 * sysdeps/generic/math-type-macros-ldouble.h: Include
13474 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
13475
13476 2018-05-17 Andreas Schwab <schwab@suse.de>
13477
13478 * resolv/res_send.c (__res_context_send): Don't set errno when
13479 returing error after malloc failure.
13480
13481 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
13482
13483 * nptl/allocatestack.c (allocate_stack): Remove the
13484 !__ASSUME_PRIVATE_FUTEX paths.
13485 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
13486 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13487 Likewise.
13488 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
13489 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13490 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13491 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13492 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
13493 !__ASSUME_PRIVATE_FUTEX path.
13494 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
13495 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
13496 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13497 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
13498 !__ASSUME_PRIVATE_FUTEX macros.
13499 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13500 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13501 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13502 * sysdeps/unix/sysv/linux/kernel-features.h
13503 (__ASSUME_PRIVATE_FUTEX): Removed.
13504
13505 2018-05-17 Joseph Myers <joseph@codesourcery.com>
13506
13507 * math/Makefile (libm-narrow-fns): Add div.
13508 (libm-test-funcs-narrow): Likewise.
13509 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
13510 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
13511 * math/gen-auto-libm-tests.c (test_functions): Add div.
13512 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
13513 (NARROW_DIV_ROUND_TO_ODD): Likewise.
13514 (NARROW_DIV_TRIVIAL): Likewise.
13515 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
13516 macro.
13517 (__ddivl): Likewise.
13518 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
13519 ddiv.
13520 (CFLAGS-nldbl-ddiv.c): New variable.
13521 (CFLAGS-nldbl-fdiv.c): Likewise.
13522 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13523 __nldbl_ddivl.
13524 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
13525 prototype.
13526 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
13527 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
13528 * math/auto-libm-test-in: Add tests of div.
13529 * math/auto-libm-test-out-narrow-div: New generated file.
13530 * math/libm-test-narrow-div.inc: New file.
13531 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
13532 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
13533 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
13534 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
13535 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
13536 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
13537 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
13538 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
13539 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
13540 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
13541 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
13542 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
13543 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
13544 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
13545 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
13546 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
13547 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
13548 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
13549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13550 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13551 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13552 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13553 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13554 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13555 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13556 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13557 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13558 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13559 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13560 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13561 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13562 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13567 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13568 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13569 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13570 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13571 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13572 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13573 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13574 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13575
13576 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13577
13578 [BZ #23178]
13579 * nscd/nscd-client.h (sendfileall): Remove prototype.
13580 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
13581 (handle_request): Use writeall instead of sendfileall.
13582 * nscd/aicache.c (addhstaiX): Likewise.
13583 * nscd/grpcache.c (cache_addgr): Likewise.
13584 * nscd/hstcache.c (cache_addhst): Likewise.
13585 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13586 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
13587 * nscd/pwdcache.c (cache_addpw): Likewise.
13588 * nscd/servicescache.c (cache_addserv): Likewise.
13589 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
13590 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
13591 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
13592 Remove define.
13593
13594 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
13595
13596 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
13597 Include <string/strncat.c>.
13598 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
13599 alias.
13600 (__GI___strncat): New hidden alias.
13601
13602 2018-05-16 Joseph Myers <joseph@codesourcery.com>
13603
13604 * sysdeps/mips/mips32/libm-test-ulps: Update.
13605 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13606
13607 2018-05-16 Florian Weimer <fweimer@redhat.com>
13608
13609 * support/Makefile (libsupport-routines): Add support_quote_blob,
13610 support_test_compare_blob.
13611 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
13612 * support/check.h (TEST_COMPARE_BLOB): Define.
13613 (support_test_compare_blob): Declare.
13614 * support/support.h (support_quote_blob): Declare.
13615 * support/support_quote_blob.c: New file.
13616 * support/support_test_compare_blob.c: Likewise.
13617 * support/tst-support_quote_blob.c: Likewise.
13618 * support/tst-test_compare_blob.c: Likewise.
13619
13620 2018-05-16 Florian Weimer <fweimer@redhat.com>
13621
13622 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
13623 of <strtod_nan_double.h>.
13624 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
13625 instead of SET_MANTISSA.
13626 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
13627 of include <strtod_nan_float.h>.
13628 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
13629 instead of <strtod_nan_ldouble.h>.
13630 * stdlib/strtod_nan_double.h: Move to ...
13631 * sysdeps/generic/math-nan-payload-double.h: ... here.
13632 (FLOAT): Remove definition.
13633 (SET_MANTISSA): Rename to ...
13634 (SET_NAN_PAYLOAD): ... this.
13635 * stdlib/strtod_nan_float.h: Move to ...
13636 * sysdeps/generic/math-nan-payload-float.h: ... here.
13637 (FLOAT): Remove definition.
13638 (SET_MANTISSA): Rename to ...
13639 (SET_NAN_PAYLOAD): ... this.
13640 * sysdeps/generic/math-type-macros-double.h: Include
13641 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
13642 instead of <math-svid-compat.h>.
13643 * sysdeps/generic/math-type-macros-float.h: Include
13644 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
13645 instead of <math-svid-compat.h>.
13646 * sysdeps/generic/math-type-macros-float128.h: Include
13647 <math-nan-payload-float128.h>.
13648 * sysdeps/generic/math-type-macros-ldouble.h: Include
13649 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
13650 instead of <math-svid-compat.h>.
13651 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
13652 check for definition.
13653 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
13654 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
13655 Include <ieee754_float128.h>.
13656 (FLOAT): Remove definition.
13657 (SET_MANTISSA): Rename to ...
13658 (SET_NAN_PAYLOAD): ... this.
13659 * sysdeps/ieee754/float128/strtof128_nan.c: Include
13660 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
13661 Do not include <float128_private.h>.
13662 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
13663 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
13664 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
13665 (FLOAT): Remove definition.
13666 (SET_MANTISSA): Rename to ...
13667 (SET_NAN_PAYLOAD): ... this.
13668 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
13669 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
13670 (FLOAT): Remove definition.
13671 (SET_MANTISSA): Rename to ...
13672 (SET_NAN_PAYLOAD): ... this.
13673 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
13674 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
13675 (FLOAT): Remove definition.
13676 (SET_MANTISSA): Rename to ...
13677 (SET_NAN_PAYLOAD): ... this.
13678 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
13679 of "../stdlib/strtod_nan_double.h".
13680 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
13681 of "../stdlib/strtod_nan_float.h".
13682 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
13683 instead of "../stdlib/strtod_nan_ldouble.h".
13684 * manual/arith.texi (Parsing of Floats): Adjust comment.
13685
13686 2018-05-16 Joseph Myers <joseph@codesourcery.com>
13687
13688 * math/Makefile (libm-narrow-fns): Add mul.
13689 (libm-test-funcs-narrow): Likewise.
13690 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
13691 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
13692 * math/gen-auto-libm-tests.c (test_functions): Add mul.
13693 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
13694 (NARROW_MUL_ROUND_TO_ODD): Likewise.
13695 (NARROW_MUL_TRIVIAL): Likewise.
13696 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
13697 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
13698 macro.
13699 (__dmull): Likewise.
13700 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
13701 dmul.
13702 (CFLAGS-nldbl-dmul.c): New variable.
13703 (CFLAGS-nldbl-fmul.c): Likewise.
13704 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13705 __nldbl_dmull.
13706 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
13707 prototype.
13708 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
13709 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
13710 * math/auto-libm-test-in: Add tests of mul.
13711 * math/auto-libm-test-out-narrow-mul: New generated file.
13712 * math/libm-test-narrow-mul.inc: New file.
13713 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
13714 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
13715 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
13716 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
13717 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
13718 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
13719 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
13720 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
13721 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
13722 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
13723 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
13724 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
13725 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
13726 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
13727 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
13728 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
13729 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
13730 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
13731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13732 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13733 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13734 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13735 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13736 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13737 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13738 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13739 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13740 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13741 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13742 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13743 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13744 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13749 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13750 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13751 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13752 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13753 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13754 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13755 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13756 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13757
13758 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13759
13760 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13761 with *%eax in call.
13762
13763 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13764
13765 * sysdeps/i386/ldsodefs.h: Removed.
13766 * sysdeps/x86_64/ldsodefs.h: Moved to ...
13767 * sysdeps/x86/ldsodefs.h: This.
13768 (La_i86_regs): New.
13769 (La_i86_retval): Likewise.
13770 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
13771 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
13772
13773 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13774
13775 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
13776 unnecessary testl.
13777
13778 2018-05-13 Alan Modra <amodra@gmail.com>
13779
13780 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
13781 R_PARISC_TLS_DTPOFF32 reloc addend.
13782
13783 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13784
13785 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
13786 * math/math.h: Restrict the prototype definition for the functions
13787 issignaling(_Float128) and iszero(_Float128); and template
13788 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
13789 __HAVE_FLOAT128_UNLIKE_LDBL.
13790 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
13791 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
13792 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
13793 __f128() constants; define the type _Float128 as long double;
13794 and reuse long double in __CFLOAT128.
13795
13796 2018-05-11 Joseph Myers <joseph@codesourcery.com>
13797
13798 * sysdeps/generic/math_private.h: Do not include
13799 <math-barriers.h>.
13800 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
13801 <math_private.h>.
13802 * math/fromfp.h: Include <math-barriers.h>.
13803 * math/math-narrow.h: Likewise.
13804 * math/s_nextafter.c: Likewise.
13805 * math/s_nexttowardf.c: Likewise.
13806 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
13807 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
13808 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
13809 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
13810 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13811 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13812 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13813 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13814 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13815 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13816 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13817 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13818 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13819 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13820 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13821 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13822 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13823 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13824 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13825 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13826 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13827 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13828 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13829 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13830 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13831 * sysdeps/ieee754/k_standardl.c: Likewise.
13832 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13833 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13834 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13835 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13836 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13837 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13838 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13839 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13840 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13841 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13842 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13843 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13844 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13845 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13846 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13847 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13848 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13849 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13850 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13851 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13852 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
13853 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
13854
13855 2018-05-11 Florian Weimer <fweimer@redhat.com>
13856
13857 Use 64-bit epoch values in the time zone file parser.
13858 * include/time.h (internal_time_t): Define.
13859 (__tzfile_compute): Use it.
13860 * time/tzfile.c (struct leap): Use internal_time_t for epoch
13861 member.
13862 (transitions): Switch to internal_time_t.
13863 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
13864 types.
13865 (__tzfile_compute): Use internal_time_t for timer argument. Check
13866 for truncation before calling __offtime.
13867
13868 2018-05-11 Florian Weimer <fweimer@redhat.com>
13869
13870 [BZ #23166]
13871 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
13872 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
13873 Likewise.
13874 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
13875 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
13876 export without --enable-obsolete-rpc.
13877 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
13878 symbol. This should not have been exported, ever.
13879
13880 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
13881
13882 [BZ #23152]
13883 * localedata/locales/gd_GB (abmon): Fix typo in May:
13884 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
13885
13886 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13887
13888 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13889 Use multiple registers to copy data in loop tail.
13890
13891 * sysdeps/aarch64/multiarch/memmove_falkor.S
13892 (__memmove_falkor): Use multiple registers to move data in
13893 loop tail.
13894
13895 2018-05-10 Joseph Myers <joseph@codesourcery.com>
13896
13897 * math/math-underflow.h: New file.
13898 * sysdeps/generic/math_private.h: Do not include <float.h>.
13899 (fabs_tg): Remove macro. Moved to math-underflow.h.
13900 (min_of_type_f): Likewise.
13901 (min_of_type_): Likewise.
13902 (min_of_type_l): Likewise.
13903 (min_of_type_f128): Likewise.
13904 (min_of_type): Likewise.
13905 (math_check_force_underflow): Likewise.
13906 (math_check_force_underflow_nonneg): Likewise.
13907 (math_check_force_underflow_complex): Likewise.
13908 * math/e_exp2_template.c: Include <math-underflow.h>.
13909 * math/k_casinh_template.c: Likewise.
13910 * math/s_catan_template.c: Likewise.
13911 * math/s_catanh_template.c: Likewise.
13912 * math/s_ccosh_template.c: Likewise.
13913 * math/s_cexp_template.c: Likewise.
13914 * math/s_clog10_template.c: Likewise.
13915 * math/s_clog_template.c: Likewise.
13916 * math/s_csin_template.c: Likewise.
13917 * math/s_csinh_template.c: Likewise.
13918 * math/s_csqrt_template.c: Likewise.
13919 * math/s_ctan_template.c: Likewise.
13920 * math/s_ctanh_template.c: Likewise.
13921 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13922 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13923 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13924 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13925 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13926 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13927 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13928 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13929 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13930 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13931 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13932 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13933 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13934 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13935 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13936 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13937 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13938 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13939 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13940 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13941 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13942 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13943 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13944 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13945 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13946 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13947 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13948 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13949 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13950 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13951 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13952 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13953 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13954 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13955 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13956 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13957 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13958 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13959 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13960 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13961 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13962 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13963 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13964 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13965 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13966 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13967 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13968 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13969 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13970 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13971 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13972 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13973 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13974 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13975 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13976 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13977 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13978 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13979 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13980 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13981 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13982 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13983 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13984 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13985 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13986 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13987 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13988 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13989 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13990 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13991 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13992 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13993 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13994 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
13995 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13996 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13997 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13998 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13999 * sysdeps/x86/fpu/powl_helper.c: Likewise.
14000 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
14001 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
14002 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14003 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
14004 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
14005
14006 2018-05-09 Joseph Myers <joseph@codesourcery.com>
14007
14008 * sysdeps/generic/math-barriers.h: New file.
14009 * sysdeps/generic/math_private.h [!math_opt_barrier]
14010 (math_opt_barrier): Move to math-barriers.h.
14011 [!math_opt_barrier] (math_force_eval): Likewise.
14012 * sysdeps/aarch64/fpu/math-barriers.h: New file.
14013 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
14014 math-barriers.h.
14015 (math_force_eval): Likewise.
14016 * sysdeps/alpha/fpu/math-barriers.h: New file.
14017 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
14018 math-barriers.h.
14019 (math_force_eval): Likewise.
14020 * sysdeps/x86/fpu/math-barriers.h: New file.
14021 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
14022 math-barriers.h.
14023 (math_force_eval): Likewise.
14024 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
14025 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
14026 multiple-include guard for rename.
14027 * sysdeps/powerpc/fpu/math-barriers.h: New file.
14028 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
14029 math-barriers.h.
14030 (math_force_eval): Likewise.
14031
14032 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14033
14034 [BZ #22786]
14035 CVE-2018-11236
14036 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
14037 computation.
14038 * stdlib/Makefile (test-bz22786): New test.
14039 * stdlib/test-bz22786.c: New test.
14040
14041 2018-05-09 Joseph Myers <joseph@codesourcery.com>
14042
14043 * include/math-narrow-eval.h: New file. Contents moved from ....
14044 * sysdeps/generic/math_private.h: ... here.
14045 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
14046 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14047 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
14048 * stdlib/strtod_l.c: Likewise.
14049 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14050 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14051 * sysdeps/i386/fpu/s_fdim.c: Likewise.
14052 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14053 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14054 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14055 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14056 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14057 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14058 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14059 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14060 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
14061 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14062 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14063 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14064 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14065 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14066 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14067 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14068 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14069 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14070 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14071 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14072 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14073 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14074 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14075 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14076 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14077 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14078
14079 2018-05-08 Andreas Schwab <schwab@suse.de>
14080
14081 * sysdeps/nptl/internaltypes.h: Fix comment.
14082
14083 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
14084
14085 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14086 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
14087 hidden.
14088
14089 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14090
14091 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
14092 of I into loop header.
14093 * benchtests/bench-memmove-walk.c
14094 (test_main): Likewise.
14095
14096 2018-05-07 Alexandre Oliva <oliva@gnu.org>
14097
14098 Revert:
14099 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14100 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14101
14102 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14103
14104 [BZ #20419]
14105 * elf/dl-load.c (open_verify): Fix stack overflow.
14106 * elf/Makefile (tst-big-note): New test.
14107 * elf/tst-big-note-lib.S: New.
14108 * elf/tst-big-note.c: New.
14109
14110 2018-05-04 Joseph Myers <joseph@codesourcery.com>
14111
14112 * scripts/abilist.awk: Ignore absolute symbols.
14113 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
14114 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
14115 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
14116 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
14117 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
14118 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
14119 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14120 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
14121 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
14122 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
14123 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
14124 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
14125 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
14126 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
14127 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
14128 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
14129 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
14130 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
14131 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14132 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
14133 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14134 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
14135 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
14136 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
14137 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
14138 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
14139 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
14140 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
14141 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14142 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
14143 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
14144 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14145 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
14146 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14147 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
14148 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
14149 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
14150 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
14151 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
14152 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
14153 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
14154 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14155 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
14156 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
14157 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14158 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
14159 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14160 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
14161 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
14162 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
14163 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
14164 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
14165 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
14166 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
14167 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14168 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
14169 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
14170 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14171 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
14172 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14173 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
14174 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
14175 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
14176 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
14177 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
14178 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
14179 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
14180 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14181 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
14182 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
14183 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14184 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
14185 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14186 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
14187 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
14188 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
14189 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
14190 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
14191 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
14192 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
14193 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14194 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
14195 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
14196 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14197 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
14198 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14199 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
14200 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
14201 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
14202 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
14203 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
14204 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14205 Likewise.
14206 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
14207 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14208 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
14209 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
14210 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14211 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
14212 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14213 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
14214 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
14215 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
14216 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
14217 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
14218 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14219 Likewise.
14220 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
14221 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14222 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
14223 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
14224 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14225 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
14226 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14227 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
14228 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
14229 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
14230 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
14231 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
14232 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
14233 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
14234 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14235 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
14236 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
14237 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14238 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
14239 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14240 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
14241 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
14242 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
14243 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
14244 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14245 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
14246 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14247 Likewise.
14248 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
14249 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
14250 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
14251 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
14252 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14253 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
14254 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
14255 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
14256 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
14257 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
14258 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
14259 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
14260 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
14261 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14262 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
14263 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
14264 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
14265 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
14266 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14267 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14268 Likewise.
14269 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
14270 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
14271 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
14272 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14273 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
14274 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14275 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
14276 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
14277 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
14278 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
14279 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14280 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
14281 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
14282 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14283 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
14284 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
14285 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
14286 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
14287 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14288 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
14289 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
14290 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14291 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
14292 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14293 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
14294 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
14295 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
14296 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
14297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
14298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
14300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14301 Likewise.
14302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
14303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
14304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
14305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
14306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14307 Likewise.
14308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
14309 Likewise.
14310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
14311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14312 Likewise.
14313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
14314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14315 Likewise.
14316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14317 Likewise.
14318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14321 Likewise.
14322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14323 Likewise.
14324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
14325 Likewise.
14326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
14327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14330 Likewise.
14331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
14332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
14333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
14334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
14337 Likewise.
14338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
14339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14340 Likewise.
14341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14342 Likewise.
14343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14344 Likewise.
14345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
14346 Likewise.
14347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
14348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
14349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14350 Likewise.
14351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14352 Likewise.
14353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14354 Likewise.
14355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
14356 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
14357 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
14358 Likewise.
14359 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
14360 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14361 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
14362 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
14363 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14364 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
14365 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14366 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
14367 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
14368 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
14369 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
14370 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
14371 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
14372 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14373 Likewise.
14374 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14375 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
14376 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
14377 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14378 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
14379 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14380 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
14381 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
14382 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
14383 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
14384 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
14385 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14386 Likewise.
14387 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14388 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
14389 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
14390 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14391 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
14392 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14393 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
14394 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
14395 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
14396 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
14397 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
14398 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
14399 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
14400 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14401 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
14402 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
14403 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14404 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
14405 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14406 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
14407 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
14408 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
14409 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
14410 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
14411 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14412 Likewise.
14413 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
14414 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14415 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
14416 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
14417 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14418 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
14419 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14420 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
14421 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
14422 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
14423 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
14424 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
14425 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14426 Likewise.
14427 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
14428 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14429 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
14430 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
14431 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14432 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
14433 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14434 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
14435 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
14436 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
14437 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
14438 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
14439 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
14440 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
14441 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14442 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
14443 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
14444 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14445 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
14446 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14447 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
14448 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
14449 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
14450 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
14451 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
14452 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
14453 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
14454 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
14455 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14456 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
14457 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
14458 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14459 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
14460 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14461 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
14462 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
14463 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
14464 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
14465
14466 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
14467
14468 [BZ #23137]
14469 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
14470 Use atomic_load_acquire to load __tid.
14471
14472 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14473
14474 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
14475 Restore the pointer into %rdx, after syscall and use %rdx,
14476 instead of %rsi, to restore context.
14477
14478 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14479
14480 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
14481 Pop the pointer into %rdx after syscall and use %rdx, instead
14482 of %rsi, to restore context.
14483
14484 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14485
14486 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
14487 handlers after setjmp.
14488 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
14489 defined.
14490 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
14491 <libc-pointer-arith.h>.
14492 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
14493 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
14494 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
14495 _JUMP_BUF_SIGSET_BITS_PER_WORD.
14496 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
14497 * sysdeps/x86/__longjmp_cancel.S: New file.
14498 * sysdeps/x86/longjmp.c: Likewise.
14499 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
14500
14501 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14502
14503 * NEWS: Add ustat.h deprecation entry.
14504 * bits/ustat.h: Remove file.
14505 * misc/sys/ustat.h: Likewise.
14506 * misc/ustat.h: Likewise.
14507 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
14508 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
14509 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
14510 compatibility mode.
14511 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
14512 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
14513 generic Linux implementation.
14514
14515 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14516
14517 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
14518 * math/w_expl_compat.c: Likewise.
14519 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
14520
14521 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14522
14523 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14524
14525 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14526
14527 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
14528 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
14529 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
14530 Remove.
14531 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
14532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14533 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14534 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
14535 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
14536 and SYSCALL_LL64.
14537
14538 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14539
14540 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
14541
14542 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
14543 * math/w_asin_template.c: Likewise.
14544 * math/w_atanh_template.c: Likewise.
14545
14546 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14547
14548 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
14549 to powerpc/powerpc64/be for big-endian.
14550 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
14551 little-endian.
14552
14553 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
14554 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
14555 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
14556 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
14557 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14558 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
14559 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
14560 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
14561 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
14562 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14563 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
14564 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
14565 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
14566 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
14567 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
14568 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
14569 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
14570 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
14571 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
14572 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
14573 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
14574 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14575 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
14576 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
14577 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
14578 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14579 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
14580 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
14581 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
14582 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14583 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14584 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14585
14586 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
14587 adjusted to imply powerpc64 and older processors on powerpc64/be.
14588 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
14589 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
14590 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
14591 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
14592 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
14593 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
14594 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
14595 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
14596 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
14597 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
14598 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
14599 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
14600 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
14601 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
14602 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
14603 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
14604 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
14605 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
14606 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
14607 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
14608 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
14609 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
14610 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
14611 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
14612 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
14613 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
14614 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
14615 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
14616 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
14617 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
14618 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
14619
14620 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
14621 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
14622 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
14623 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
14624
14625 * sysdeps/powerpc/powerpc64/be/Implies: New file.
14626 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
14627 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
14628 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
14629
14630 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
14631 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
14632 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
14633 * sysdeps/powerpc/powerpc64le/configure: Likewise.
14634 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
14635 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
14636 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
14637 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
14638 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
14639 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
14640 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
14641
14642 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
14643 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
14644 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
14645 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
14646 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
14647 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
14648 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
14649 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
14650 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
14651 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
14652 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
14653
14654 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
14655 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
14656 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
14657 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
14658 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
14659 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
14660 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
14661 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
14662 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
14663 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
14664 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
14665 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
14666
14667 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
14668 and adjusted to imply olders processors.
14669 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
14670 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
14671 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
14672 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
14673 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
14674 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
14675 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
14676 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
14677 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
14678 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
14679 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
14680
14681 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
14682 powerpc64/le.
14683 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
14684 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
14685
14686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
14687 powerpc64le.
14688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
14689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
14690
14691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
14692 powerpc64/be.
14693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
14695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
14696
14697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
14698 powerpc64 and adjusted.
14699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
14700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
14701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
14702 Likewise.
14703
14704 2018-04-27 Joseph Myers <joseph@codesourcery.com>
14705
14706 * sysdeps/tile: Remove.
14707 * sysdeps/unix/sysv/linux/tile: Likewise.
14708 * README (tilegx-*-linux-gnu): Remove from list of supported
14709 configurations.
14710 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
14711 contribution of support for generic Linux kernel syscall
14712 interface.
14713 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
14714 tilegx configurations.
14715 (Config.install_linux_headers): Do not handle tile.
14716 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
14717 in comment.
14718 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
14719 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
14720 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14721 conditional undefine and redefine.
14722 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
14723 in comment.
14724 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14725 conditional undefine and redefine.
14726
14727 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
14728
14729 * signal/tst-sigaction.c: New file to test BZ #23069.
14730 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
14731
14732 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14733
14734 [BZ #22766]
14735 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
14736 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
14737 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
14738 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
14739
14740 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14741
14742 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
14743 _DIRENT_MATCHES_DIRENT64 is not defined.
14744 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
14745 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
14746 is defined.
14747 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
14748 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
14749
14750 2018-04-25 Joseph Myers <joseph@codesourcery.com>
14751
14752 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
14753 version to GCC 8 branch.
14754
14755 2018-04-24 Joseph Myers <joseph@codesourcery.com>
14756
14757 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
14758 (check_no_hidden): Use type of original function when declaring
14759 alias.
14760
14761 * sysdeps/unix/sysv/linux/sys/ptrace.h
14762 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
14763 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
14764 (struct __ptrace_seccomp_metadata): New type.
14765 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14766 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14767 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
14768 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14769 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
14770 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14771 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14772 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14773 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14774 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14775 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14776 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14777 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
14778 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14779 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
14780 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14781
14782 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14783
14784 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
14785 defined.
14786 * dirent/versionsort.c (versionsort): Likewise.
14787 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
14788 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
14789 * dirent/versionsort64.c (versionsort64): Likewise.
14790 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
14791 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
14792 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
14793 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
14794 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
14795 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
14796 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
14797 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
14798 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
14799 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
14800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
14801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
14802 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
14803 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
14804
14805 2018-04-23 Joseph Myers <joseph@codesourcery.com>
14806
14807 * elf/elf.h (NT_PPC_PKEY): New macro.
14808
14809 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
14810
14811 [BZ #23094]
14812 * localedata/locales/hr_HR: fix thousands_sep and
14813 mon_thousands_sep
14814
14815 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14816
14817 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
14818 (XTABS): Define to TAB3.
14819
14820 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14821
14822 * sysdeps/hppa/fpu/libm-test-ulps: Update.
14823
14824 * dirent/scandir-tail-common.c: New file.
14825 * dirent/scandir-tail.c: Use scandir-tail-common.c.
14826 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
14827 * dirent/scandir.c: Use scandir-tail-common.c.
14828 * dirent/scandirat.c: Likewise.
14829 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
14830 * dirent/scandir64.c (scandir64): Always build and alias to scandir
14831 if _DIRENT_MATCHES_DIRENT64 is defined.
14832 * dirent/scandirat64.c (scandirat64): Likewise.
14833 * include/dirent.h (__scandir_tail): Only define iff
14834 _DIRENT_MATCHES_DIRENT64 is not defined.
14835 (__scandir64_tail): Define regardless.
14836 (__scandirat, scandirat64): Remove libc_hidden_proto.
14837 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
14838 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
14839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
14840 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
14841 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14842 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
14843 * sysdeps/unix/sysv/linux/scandir64.c: New file.
14844
14845 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14846
14847 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
14848 New macro.
14849 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14850 Increase to 24.
14851 (_dl_aarch64_cap_flags): Add asimdfhm.
14852
14853 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
14854
14855 * sysdeps/nios2/libm-test-ulps: Update.
14856
14857 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14858
14859 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
14860 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
14861
14862 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
14863 requirements.
14864 (_DIRENT_MATCHES_DIRENT64): Undef
14865 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
14866 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
14867 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
14868 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
14869 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
14870 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
14871 use getdents64 syscalls as base.
14872 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
14873 symbol if required.
14874 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
14875 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
14876 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
14877 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
14878 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
14879 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
14880 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
14881 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
14882 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14883 (__get_clockfreq_via_proc_openprom): Use __getdents64.
14884 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
14885
14886 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14887
14888 * scripts/test_printers_common.py (init_test): Disable lock elision.
14889
14890 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14891
14892 * math/test-tgmath.c (count_double, count_float,
14893 count_ldouble, count_cdouble, count_cfloat,
14894 count_cldouble): Use volatile int.
14895
14896 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
14897
14898 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
14899 (conformtest-xfail-conds): Add i386-gnu.
14900 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
14901 i386-gnu.
14902 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
14903 ipc_perm.cuid, ipc_perm.cgid): Likewise.
14904 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
14905 msqid_ds.msg_lrpid): Likewise.
14906 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
14907 Likewise.
14908 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
14909 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
14910 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
14911 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
14912 unsigned int.
14913 (struct statvfs64): Likewise.
14914 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
14915 Likewise.
14916 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
14917 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
14918 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
14919 instead of wait_queue.
14920 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
14921 instead of vm_area_struct.
14922 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
14923 struct sched_param definition to it.
14924 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14925 * bits/types/struct_sched_param.h: New file.
14926 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
14927 <bits/types/struct_sched_param.h> instead of <sched.h>.
14928 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
14929 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
14930 generic version but include <bits/pthreadtypes.h> to make struct
14931 sigevent's sigev_notify_attributes field a pthread_attr_t*.
14932 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
14933 non-compliant.
14934 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
14935 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
14936 [__USE_XOPEN] (OFDEL): New macro.
14937 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
14938 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
14939 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
14940 prototypes.
14941 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
14942 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
14943 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
14944 non-compliant.
14945 * sysdeps/i386/sys/ucontext.h: Likewise.
14946 * sysdeps/m68k/sys/ucontext.h: Likewise.
14947 * sysdeps/mips/sys/ucontext.h: Likewise.
14948 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
14949 * sysdeps/mach/hurd/i386/Makefile
14950 (test-xfail-POSIX/fcntl.h/conform): Add.
14951 (test-xfail-POSIX/signal.h/conform): Add.
14952 (test-xfail-POSIX/semaphore.h/conform): Add.
14953 (test-xfail-POSIX/regex.h/conform): Add.
14954 (test-xfail-POSIX/aio.h/conform): Add.
14955 (test-xfail-POSIX/mqueue.h/conform): Add.
14956 (test-xfail-POSIX/sys/types.h/conform): Add.
14957 (test-xfail-UNIX98/fcntl.h/conform): Add.
14958 (test-xfail-UNIX98/netdb.h/conform): Add.
14959 (test-xfail-UNIX98/signal.h/conform): Add.
14960 (test-xfail-UNIX98/semaphore.h/conform): Add.
14961 (test-xfail-UNIX98/regex.h/conform): Add.
14962 (test-xfail-UNIX98/aio.h/conform): Add.
14963 (test-xfail-UNIX98/ftw.h/conform): Add.
14964 (test-xfail-UNIX98/mqueue.h/conform): Add.
14965 (test-xfail-UNIX98/netinet/in.h/conform): Add.
14966 (test-xfail-UNIX98/sys/wait.h/conform): Add.
14967 (test-xfail-UNIX98/sys/sem.h/conform): Add.
14968 (test-xfail-UNIX98/sys/uio.h/conform): Add.
14969 (test-xfail-UNIX98/sys/socket.h/conform): Add.
14970 (test-xfail-UNIX98/sys/types.h/conform): Add.
14971 (test-xfail-UNIX98/stdlib.h/conform): Add.
14972 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
14973 (test-xfail-POSIX2008/fcntl.h/conform): Add.
14974 (test-xfail-POSIX2008/netdb.h/conform): Add.
14975 (test-xfail-POSIX2008/signal.h/conform): Add.
14976 (test-xfail-POSIX2008/semaphore.h/conform): Add.
14977 (test-xfail-POSIX2008/regex.h/conform): Add.
14978 (test-xfail-POSIX2008/aio.h/conform): Add.
14979 (test-xfail-POSIX2008/mqueue.h/conform): Add.
14980 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
14981 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
14982 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
14983 (test-xfail-POSIX2008/sys/types.h/conform): Add.
14984 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
14985 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
14986 (test-xfail-XOPEN2K/netdb.h/conform): Add.
14987 (test-xfail-XOPEN2K/signal.h/conform): Add.
14988 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
14989 (test-xfail-XOPEN2K/regex.h/conform): Add.
14990 (test-xfail-XOPEN2K/aio.h/conform): Add.
14991 (test-xfail-XOPEN2K/ftw.h/conform): Add.
14992 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
14993 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
14994 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
14995 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
14996 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
14997 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
14998 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
14999 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
15000 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
15001 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
15002 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
15003 (test-xfail-XOPEN2K8/signal.h/conform): Add.
15004 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
15005 (test-xfail-XOPEN2K8/regex.h/conform): Add.
15006 (test-xfail-XOPEN2K8/aio.h/conform): Add.
15007 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
15008 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
15009 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
15010 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
15011 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
15012 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
15013 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
15014 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
15015 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
15016 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
15017 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
15018 i386-gnu.
15019 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
15020 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
15021
15022 2018-04-18 Joseph Myers <joseph@codesourcery.com>
15023
15024 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
15025 --enable-obsolete for powerpc-linux-gnuspe.
15026
15027 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15028
15029 * conform/data/sys/un.h-data: Allow sun_ prefix.
15030 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
15031 prototypes.
15032 * sysdeps/mach/include/mach.h: Likewise.
15033 * sysdeps/mach/include/mach/mig_support.h: Likewise.
15034 * sysdeps/mach/include/mach_error.h: Likewise.
15035
15036 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15037
15038 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
15039 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
15040 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
15041 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
15042
15043 2018-04-16 Andreas Schwab <schwab@suse.de>
15044
15045 [BZ #19527]
15046 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
15047
15048 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15049
15050 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
15051 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
15052
15053 2018-04-12 DJ Delorie <dj@redhat.com>
15054
15055 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15056 version to 4.16.
15057
15058 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15059
15060 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
15061 (struct kernel_sigaction): Use the same definition on 31bit as is used
15062 on 64bit.
15063
15064 2018-04-09 Florian Weimer <fweimer@redhat.com>
15065
15066 [BZ #23037]
15067 * resolv/res_send.c (send_dg): Use designated initializers instead
15068 of assignment to zero-initialize other fields of struct mmsghdr.
15069
15070 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15071
15072 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
15073 __READDIR_ALIAS): Undefine after usage.
15074 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
15075 __READDIR_R_ALIAS): Likewise.
15076 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
15077 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
15078 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
15079 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
15080 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
15081 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
15082 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15083 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15084 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
15085 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
15086 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
15087 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
15088 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15089 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
15090 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
15091 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
15092 * sysdeps/unix/sysv/linux/readdir.c: New file.
15093 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
15094 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
15095 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
15096
15097 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
15098
15099 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
15100
15101 * manual/charset.texi (Converting a Character): Fix typo.
15102
15103 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15104
15105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15106
15107 * sysdeps/arm/libm-test-ulps: Update.
15108
15109 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
15110 as base implementation.
15111 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15112 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15113 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15114 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15115 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15116 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
15117 remove unrequired definitions and update comments.
15118 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
15119 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
15120 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
15121 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
15122 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
15123 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
15124 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
15125 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
15126 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
15127 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
15128 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
15129 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15130 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15131 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
15132 and RESET_SA_RESTORER hooks.
15133
15134 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
15135
15136 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15137
15138 2018-04-05 Florian Weimer <fweimer@redhat.com>
15139
15140 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
15141 integer overflow, memory leak on error, and indeterminate errno
15142 value. Add a null wide character to terminate the result string.
15143 * manual/charset.texi (Converting a Character): Mention embedded
15144 null bytes in the mbrtowc input string. Explain what happens in
15145 the -2 result case. Do not claim that mbrtowc is simple or
15146 obvious to use. Adjust the description of the code example. Use
15147 @code, not @var, for concrete variables.
15148
15149 2018-04-05 Florian Weimer <fweimer@redhat.com>
15150
15151 * manual/examples/mbstouwcs.c: New file.
15152 * manual/charset.texi (Converting a Character): Include it.
15153
15154 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15155
15156 * include/dirent.h (dirfd): Add hidden proto.
15157 * dirent/dirfd.c (dirfd): Add hidden def.
15158 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
15159 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
15160
15161 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15162
15163 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
15164 sin, cos and sincos to 1 ULP.
15165
15166 2018-04-04 Maciej W. Rozycki <macro@mips.com>
15167
15168 [BZ #19818]
15169 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
15170 symbols.
15171 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
15172 * elf/tst-absolute-sym.c: New file.
15173 * elf/tst-absolute-sym-lib.c: New file.
15174 * elf/tst-absolute-sym-lib.lds: New file.
15175 * elf/Makefile (tests): Add `tst-absolute-sym'.
15176 (modules-names): Add `tst-absolute-sym-lib'.
15177 (LDLIBS-tst-absolute-sym-lib.so): New variable.
15178 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
15179 ($(objpfx)tst-absolute-sym): New dependency.
15180
15181 [BZ #19818]
15182 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
15183 parameter.
15184 (SYMBOL_ADDRESS): New macro.
15185 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
15186 SYMBOL_ADDRESS for symbol address calculation.
15187 * elf/dl-runtime.c (_dl_fixup): Likewise.
15188 (_dl_profile_fixup): Likewise.
15189 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
15190 * elf/rtld.c (dl_main): Likewise.
15191 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
15192 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
15193 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
15194 (elf_machine_rela): Likewise.
15195 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
15196 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
15197 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15198 (elf_machine_rela): Likewise.
15199 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15200 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
15201 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
15202 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
15203 Likewise.
15204 (elf_machine_reloc): Likewise.
15205 (elf_machine_got_rel): Likewise.
15206 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
15207 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
15208 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15209 Likewise.
15210 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15211 Likewise.
15212 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
15213 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15214 Likewise.
15215 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15216 Likewise.
15217 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15218 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15219 Likewise.
15220 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15221 Likewise.
15222 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
15223 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15224
15225 2018-04-04 Zack Weinberg <zackw@panix.com>
15226
15227 * sysdeps/generic/internal-signals.h: Include signal.h,
15228 sigsetops.h, and stdbool.h.
15229 (__libc_signal_block_all): Actually block all signals.
15230 (__libc_signal_block_app): Likewise.
15231 (__libc_signal_restore_set): Actually restore the signal mask.
15232
15233 2018-04-04 Florian Weimer <fweimer@redhat.com>
15234
15235 inet: Actually build and run tst-deadline.
15236 * inet/Makefile (tests-internal): Add tst-deadline and do not
15237 overwrite the variable.
15238 (tests-static-internal): Remove variable.
15239
15240 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
15241
15242 [BZ #22947]
15243 * bits/uio-ext.h (RWF_APPEND): New.
15244 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
15245 * manual/llio.texi: Document RWF_APPEND.
15246 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
15247 (RWF_SUPPORTED): Add RWF_APPEND.
15248
15249 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15250
15251 [BZ #22391]
15252 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
15253 check for internal nptl signals.
15254 * nptl/sigaction.c (__sigaction): Likewise.
15255 * signal/sigaddset.c (sigaddset): Likewise.
15256 * signal/sigdelset.c (sigdelset): Likewise.
15257 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15258 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
15259 value.
15260 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
15261 to filter out internal nptl signals.
15262 * signal/tst-sigset.c (do_test): Check ech signal indidually and
15263 also check realtime signals using standard macros.
15264 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
15265 __is_internal_signal, __libc_signal_block_all,
15266 __libc_signal_block_app, __libc_signal_restore_set): New functions.
15267 * sysdeps/nptl/sigfillset.c: Remove file.
15268 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
15269 Change return to bool.
15270 (__clear_internal_signals): Remove SIGTIMER clean since it is
15271 equal to SIGCANEL on Linux.
15272 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
15273 signal set was constructed using standard functions.
15274
15275 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15276
15277 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
15278 ifname is too long.
15279 * hurd/hurdsig.c (interrupted_reply_port_location): Use
15280 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
15281 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
15282 hidden def.
15283 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
15284 * signal/sigaddset.c: Include <sigsetopts.h>.
15285 * signal/sigdelset.c: Likewise.
15286
15287 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15288
15289 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
15290 (__cos): Likewise.
15291 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
15292 logic as sin and cos.
15293
15294 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15295
15296 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
15297 inputs. Return correct sign.
15298 (do_sincos): Remove small input check before do_sin, let do_sin set
15299 the sign.
15300 (__sin): Likewise.
15301 (__cos): Likewise.
15302
15303 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15304
15305 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
15306 (do_cos_slow): Likewise.
15307 (do_sin_slow): Likewise.
15308 (reduce_and_compute): Likewise.
15309 (slow): Likewise.
15310 (slow1): Likewise.
15311 (slow2): Likewise.
15312 (sloww): Likewise.
15313 (sloww1): Likewise.
15314 (sloww2): Likewise.
15315 (bslow): Likewise.
15316 (bslow1): Likewise.
15317 (bslow2): Likewise.
15318 (cslow2): Likewise.
15319
15320 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15321
15322 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
15323 (do_cos): Remove corp parameter and calculations.
15324 (do_sin): Likewise.
15325 (do_sincos): Remove cor variable.
15326 (__sin): Use do_sincos for huge inputs.
15327 (__cos): Likewise.
15328 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15329 (reduce_and_compute_sincos): Remove unused function.
15330
15331 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15332
15333 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
15334 reduce_sincos, improve accuracy to 136 bits.
15335 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
15336 (__sin): Use improved reduction and simplified do_sincos calculation.
15337 (__cos): Likewise.
15338 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15339
15340 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15341
15342 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
15343 (do_sincos_2): Likewise.
15344 (__sin): Remove middle range reduction case.
15345 (__cos): Likewise.
15346 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
15347 reduction case.
15348
15349 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15350
15351 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
15352 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
15353 inputs.
15354 (__cos): Likewise.
15355 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
15356
15357 2018-04-03 Joseph Myers <joseph@codesourcery.com>
15358
15359 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15360 version to 4.16
15361
15362 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15363
15364 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
15365 Remove definitions.
15366 (opendir_oflags): Use O_DIRECTORY regardless.
15367 (__opendir, __opendirat): Remove need_isdir_precheck usage.
15368 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
15369
15370 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15371
15372 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
15373 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
15374 macros.
15375 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
15376 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
15377 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
15378 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
15379 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
15380 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
15381
15382 * htl/Makefile: Bump licence to LGPL 2.1+.
15383 * htl/alloca_cutoff.c: Likewise.
15384 * htl/cthreads-compat.c: Likewise.
15385 * htl/lockfile.c: Likewise.
15386 * htl/pt-alloc.c: Likewise.
15387 * htl/pt-cancel.c: Likewise.
15388 * htl/pt-cleanup.c: Likewise.
15389 * htl/pt-create.c: Likewise.
15390 * htl/pt-dealloc.c: Likewise.
15391 * htl/pt-detach.c: Likewise.
15392 * htl/pt-exit.c: Likewise.
15393 * htl/pt-getattr.c: Likewise.
15394 * htl/pt-initialize.c: Likewise.
15395 * htl/pt-internal.h: Likewise.
15396 * htl/pt-join.c: Likewise.
15397 * htl/pt-self.c: Likewise.
15398 * htl/pt-setcancelstate.c: Likewise.
15399 * htl/pt-setcanceltype.c: Likewise.
15400 * htl/pt-sigmask.c: Likewise.
15401 * htl/pt-spin-inlines.c: Likewise.
15402 * htl/pt-testcancel.c: Likewise.
15403 * htl/pt-yield.c: Likewise.
15404 * htl/tests/test-1.c: Likewise.
15405 * htl/tests/test-10.c: Likewise.
15406 * htl/tests/test-11.c: Likewise.
15407 * htl/tests/test-12.c: Likewise.
15408 * htl/tests/test-13.c: Likewise.
15409 * htl/tests/test-14.c: Likewise.
15410 * htl/tests/test-15.c: Likewise.
15411 * htl/tests/test-16.c: Likewise.
15412 * htl/tests/test-17.c: Likewise.
15413 * htl/tests/test-2.c: Likewise.
15414 * htl/tests/test-3.c: Likewise.
15415 * htl/tests/test-4.c: Likewise.
15416 * htl/tests/test-5.c: Likewise.
15417 * htl/tests/test-6.c: Likewise.
15418 * htl/tests/test-7.c: Likewise.
15419 * htl/tests/test-8.c: Likewise.
15420 * htl/tests/test-9.c: Likewise.
15421 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
15422 * sysdeps/htl/bits/cancelation.h: Likewise.
15423 * sysdeps/htl/bits/pthread-np.h: Likewise.
15424 * sysdeps/htl/bits/pthread.h: Likewise.
15425 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
15426 * sysdeps/htl/bits/semaphore.h: Likewise.
15427 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
15428 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
15429 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
15430 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
15431 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
15432 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
15433 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
15434 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
15435 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
15436 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
15437 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
15438 * sysdeps/htl/old_pt-atfork.c: Likewise.
15439 * sysdeps/htl/pt-atfork.c: Likewise.
15440 * sysdeps/htl/pt-attr-destroy.c: Likewise.
15441 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
15442 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
15443 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
15444 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
15445 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
15446 * sysdeps/htl/pt-attr-getscope.c: Likewise.
15447 * sysdeps/htl/pt-attr-getstack.c: Likewise.
15448 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
15449 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
15450 * sysdeps/htl/pt-attr-init.c: Likewise.
15451 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
15452 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
15453 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
15454 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
15455 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
15456 * sysdeps/htl/pt-attr-setscope.c: Likewise.
15457 * sysdeps/htl/pt-attr-setstack.c: Likewise.
15458 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
15459 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
15460 * sysdeps/htl/pt-attr.c: Likewise.
15461 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
15462 * sysdeps/htl/pt-barrier-init.c: Likewise.
15463 * sysdeps/htl/pt-barrier-wait.c: Likewise.
15464 * sysdeps/htl/pt-barrier.c: Likewise.
15465 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
15466 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
15467 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
15468 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
15469 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
15470 * sysdeps/htl/pt-cond-destroy.c: Likewise.
15471 * sysdeps/htl/pt-cond-init.c: Likewise.
15472 * sysdeps/htl/pt-cond-signal.c: Likewise.
15473 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
15474 * sysdeps/htl/pt-cond-wait.c: Likewise.
15475 * sysdeps/htl/pt-cond.c: Likewise.
15476 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
15477 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
15478 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
15479 * sysdeps/htl/pt-condattr-init.c: Likewise.
15480 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
15481 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
15482 * sysdeps/htl/pt-destroy-specific.c: Likewise.
15483 * sysdeps/htl/pt-equal.c: Likewise.
15484 * sysdeps/htl/pt-getconcurrency.c: Likewise.
15485 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
15486 * sysdeps/htl/pt-getschedparam.c: Likewise.
15487 * sysdeps/htl/pt-getspecific.c: Likewise.
15488 * sysdeps/htl/pt-init-specific.c: Likewise.
15489 * sysdeps/htl/pt-key-create.c: Likewise.
15490 * sysdeps/htl/pt-key-delete.c: Likewise.
15491 * sysdeps/htl/pt-key.h: Likewise.
15492 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
15493 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
15494 * sysdeps/htl/pt-mutex-init.c: Likewise.
15495 * sysdeps/htl/pt-mutex-lock.c: Likewise.
15496 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
15497 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
15498 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
15499 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
15500 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
15501 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
15502 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
15503 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
15504 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
15505 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
15506 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
15507 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
15508 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
15509 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
15510 * sysdeps/htl/pt-mutexattr.c: Likewise.
15511 * sysdeps/htl/pt-once.c: Likewise.
15512 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
15513 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
15514 * sysdeps/htl/pt-rwlock-init.c: Likewise.
15515 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
15516 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
15517 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
15518 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
15519 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
15520 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
15521 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
15522 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
15523 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
15524 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
15525 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
15526 * sysdeps/htl/pt-setconcurrency.c: Likewise.
15527 * sysdeps/htl/pt-setschedparam.c: Likewise.
15528 * sysdeps/htl/pt-setschedprio.c: Likewise.
15529 * sysdeps/htl/pt-setspecific.c: Likewise.
15530 * sysdeps/htl/pt-spin.c: Likewise.
15531 * sysdeps/htl/pt-startup.c: Likewise.
15532 * sysdeps/htl/pthread.h: Likewise.
15533 * sysdeps/htl/sem-close.c: Likewise.
15534 * sysdeps/htl/sem-destroy.c: Likewise.
15535 * sysdeps/htl/sem-getvalue.c: Likewise.
15536 * sysdeps/htl/sem-init.c: Likewise.
15537 * sysdeps/htl/sem-open.c: Likewise.
15538 * sysdeps/htl/sem-post.c: Likewise.
15539 * sysdeps/htl/sem-timedwait.c: Likewise.
15540 * sysdeps/htl/sem-trywait.c: Likewise.
15541 * sysdeps/htl/sem-unlink.c: Likewise.
15542 * sysdeps/htl/sem-wait.c: Likewise.
15543 * sysdeps/hurd/htl/pt-kill.c: Likewise.
15544 * sysdeps/i386/htl/pt-machdep.h: Likewise.
15545 * sysdeps/mach/htl/pt-block.c: Likewise.
15546 * sysdeps/mach/htl/pt-spin.c: Likewise.
15547 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
15548 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
15549 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
15550 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
15551 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
15552 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
15553 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
15554 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
15555 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
15556 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
15557 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
15558 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
15559 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
15560 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
15561 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
15562 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
15563 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
15564 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
15565 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
15566 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
15567 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
15568 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
15569 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
15570 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
15571 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
15572 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
15573 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
15574 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
15575 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
15576 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
15577 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
15578 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
15579 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
15580 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
15581 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
15582 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
15583 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
15584 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
15585 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
15586 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
15587 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
15588 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
15589 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
15590
15591 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
15592 * README: Remove the mention of out-of-tree patches needed for
15593 GNU/Hurd.
15594
15595 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
15596 (UTIME_NOW, UTIME_OMIT): Define macros.
15597
15598 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
15599 instead of pthread_detach.
15600 (__cthread_fork): Call __pthread_create instead of pthread_create.
15601 (__cthread_keycreate): Call __pthread_key_create instead of
15602 pthread_key_create.
15603 (__cthread_getspecific): Call __pthread_getspecific instead of
15604 pthread_getspecific.
15605 (__cthread_setspecific): Call __pthread_setspecific instead of
15606 pthread_setspecific.
15607 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
15608 __pthread_mutex_unlock instead of pthread_mutex_lock and
15609 pthread_mutex_unlock.
15610 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
15611 ___pthread_get_cleanup_stack.
15612 (__pthread_get_cleanup_stack): New strong alias.
15613 * htl/pt-create.c: Include <pthreadP.h>.
15614 (entry_point): Call __pthread_exit instead of pthread_exit.
15615 (pthread_create): Rename to __pthread_create.
15616 (pthread_create): New strong alias.
15617 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
15618 (pthread_detach): New strong alias.
15619 (__pthread_detach): Call __pthread_cond_broadcast instead of
15620 pthread_cond_broadcast.
15621 * htl/pt-exit.c: Include <pthreadP.h>.
15622 (__pthread_exit): Call __pthread_setcancelstate and
15623 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
15624 __pthread_get_cleanup_stack.
15625 * htl/pt-testcancel.c: Include <pthreadP.h>.
15626 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
15627 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
15628 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
15629 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
15630 pthread_attr_getstacksize.
15631 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
15632 Rename to __pthread_attr_getstackaddr.
15633 (pthread_attr_getstackaddr): New strong alias.
15634 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
15635 Rename to __pthread_attr_getstacksize.
15636 (pthread_attr_getstacksize): New strong alias.
15637 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
15638 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
15639 (pthread_attr_setstack): New strong alias.
15640 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
15641 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
15642 pthread_attr_getstacksize, pthread_attr_setstacksize and
15643 pthread_attr_setstackaddr.
15644 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
15645 Rename to __pthread_attr_setstackaddr.
15646 (pthread_attr_setstackaddr): New strong alias.
15647 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
15648 Rename to __pthread_attr_setstacksize.
15649 (pthread_attr_setstacksize): New strong alias.
15650 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
15651 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
15652 pthread_exit.
15653 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
15654 (__pthread_key_create): New hidden def.
15655 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
15656 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
15657 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
15658 __pthread_exit, __pthread_key_create, __pthread_getspecific,
15659 __pthread_setspecific, __pthread_setcancelstate,
15660 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
15661 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
15662 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
15663 declarations.
15664 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
15665 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
15666 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
15667 (pthread_attr_setstackaddr): New strong alias.
15668 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
15669 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
15670 (pthread_attr_setstacksize): New strong alias.
15671 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
15672 (call_exit): Call __pthread_exit instead of pthread_exit.
15673 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
15674 (_pthread_mutex_init): New hidden definition.
15675 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
15676 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
15677 instead of pthread_attr_init and pthread_attr_setstack.
15678
15679 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
15680 __vm_deallocate instead of vm_allocate and vm_deallocate.
15681 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
15682 setenv.
15683 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
15684 of geteuid.
15685 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
15686 strdup.
15687 * hurd/siginfo.c: Include <libioP.h>.
15688 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
15689 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
15690 munmap.
15691 * mach/devstream.c: Include <libioP.h>.
15692 (dealloc_ref): Call __mach_port_deallocate instead of
15693 mach_port_deallocate.
15694 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
15695 Call __mach_port_deallocate instead of mach_port_deallocate.
15696 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
15697 pathconf.
15698 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
15699 munmap.
15700 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
15701 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
15702 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
15703 of munmap.
15704 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
15705 of close.
15706 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
15707 instead of sysconf.
15708 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
15709 __clock_gettime instead of clock_gettime.
15710 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
15711 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
15712 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
15713 * sysdeps/unix/bsd/stty.c (stty): Likewise.
15714 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
15715 tcgetattr.
15716 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
15717 __clock_gettime and __nanosleep instead of clock_gettime and
15718 nanosleep.
15719 * hurd/catch-signal.c (hurd_catch_signal): Rename to
15720 __hurd_catch_signal.
15721 (hurd_catch_signal): New strong alias.
15722 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
15723 __hurd_catch_signal instead of hurd_catch_signal.
15724 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
15725 * hurd/hurdexec.c (_hurd_init): Add hidden def.
15726 * hurd/hurdinit.c (_hurd_init): Add hidden def.
15727 * hurd/hurdsig.c: Include <mach/mig_support.h>.
15728 (_hurd_thread_sigstate): Add hidden def.
15729 (_hurd_internal_post_signal): Use __mutex_unlock instead of
15730 mutex_unlock.
15731 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
15732 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
15733 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
15734 __hurd_file_name_path_lookup.
15735 (hurd_file_name_path_lookup): New strong alias.
15736 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
15737 hurd_file_name_path_lookup.
15738 * mach/errstring.c (mach_error_type): Add hidden def.
15739 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
15740 * mach/mutex-init.c (__mutex_init): Add hidden def.
15741 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
15742 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
15743 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
15744 * sysdeps/mach/hurd/getcwd.c
15745 (_hurd_canonicalize_directory_name_internal): Rename to
15746 __hurd_canonicalize_directory_name_internal.
15747 (_hurd_canonicalize_directory_name_internal): New strong alias.
15748 (__canonicalize_directory_name_internal, __getcwd): Call
15749 __hurd_canonicalize_directory_name_internal instead of
15750 _hurd_canonicalize_directory_name_internal.
15751 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
15752 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
15753 hidden defs.
15754 * sysdeps/hurd/include/hurd.h: New file.
15755 * sysdeps/hurd/include/hurd/fd.h: New file.
15756 * sysdeps/hurd/include/hurd/signal.h: New file.
15757 * sysdeps/mach/include/lock-intern.h: New file.
15758 * sysdeps/mach/include/mach.h: New file.
15759 * sysdeps/mach/include/mach/mig_support.h: New file.
15760 * sysdeps/mach/include/mach_error.h: New file.
15761 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
15762 prototype.
15763 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
15764 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
15765 _HEADER_H_HIDDEN_DEF macro.
15766 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
15767 _hurd_fd_error_signal): Add hidden prototype.
15768 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
15769 hidden def.
15770 * libio/iolibio.h (_IO_puts): New hidden prototype.
15771 * libio/ioputs.c (_IO_puts): New hidden def.
15772 * sysdeps/mach/hurd/localplt.data: New file.
15773
15774 2018-04-02 Agustina Arzille <avarzille@riseup.net>
15775 Amos Jeffries <squid3@treenet.co.nz>
15776 David Michael <fedora.dm0@gmail.com>
15777 Marco Gerards <marco@gnu.org>
15778 Marcus Brinkmann <marcus@gnu.org>
15779 Neal H. Walfield <neal@gnu.org>
15780 Pino Toscano <toscano.pino@tiscali.it>
15781 Richard Braun <rbraun@sceen.net>
15782 Roland McGrath <roland@gnu.org>
15783 Samuel Thibault <samuel.thibault@ens-lyon.org>
15784 Thomas DiModica <ricinwich@yahoo.com>
15785 Thomas Schwinge <tschwinge@gnu.org>
15786
15787 * htl: New directory.
15788 * sysdeps/htl: New directory.
15789 * sysdeps/hurd/htl: New directory.
15790 * sysdeps/i386/htl: New directory.
15791 * sysdeps/mach/htl: New directory.
15792 * sysdeps/mach/hurd/htl: New directory.
15793 * sysdeps/mach/hurd/i386/htl: New directory.
15794 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
15795 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
15796 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
15797
15798 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15799
15800 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
15801 signals in thread created for runing timers.
15802
15803 2018-04-01 Florian Weimer <fweimer@redhat.com>
15804
15805 * support/support_format_addrinfo.c (support_format_addrinfo):
15806 Include unknown error number in formatted result.
15807
15808 2018-03-29 Florian Weimer <fweimer@redhat.com>
15809
15810 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
15811 capture SIGBUS.
15812
15813 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15814
15815 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
15816 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
15817 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15818 (__ASSUME_CLONE_BACKWARDS): Define.
15819
15820 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
15821
15822 [BZ #23024]
15823 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
15824 early when linux sentinel value is set.
15825
15826 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15827
15828 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
15829
15830 2018-03-27 Andreas Schwab <schwab@suse.de>
15831
15832 [BZ #23005]
15833 * resolv/res_send.c (__res_context_send): Return ENOMEM if
15834 allocation of private copy of nsaddr_list fails.
15835
15836 2018-03-26 Joseph Myers <joseph@codesourcery.com>
15837
15838 [BZ #16552]
15839 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
15840 * sysdeps/unix/sysv/linux/umount.c: ... here.
15841 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
15842 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
15843 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
15844 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
15845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
15846 * sysdeps/unix/sysv/linux/umount.S: Likewise.
15847 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
15848
15849 2018-03-26 Andreas Schwab <schwab@suse.de>
15850
15851 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
15852 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
15853 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
15854 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
15855 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
15856 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
15857 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
15858 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
15859 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
15860 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
15861 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
15862 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
15863 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
15864 (R_RISCV_NUM): Define.
15865
15866 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15867
15868 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
15869 TLS declaration of errno.
15870 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
15871 __libc_setup_tls.
15872 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
15873 (ARCH_SETUP_TLS): Likewise.
15874 * sysdeps/mach/hurd/libc-start.h: New file copied from
15875 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
15876 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
15877 instead of __libc_setup_tls.
15878 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
15879 __libc_setup_tls before initializing libpthread and running _hurd_init
15880 which starts the signal thread.
15881 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
15882 Declare function.
15883 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15884
15885 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
15886
15887 [BZ #22998]
15888 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
15889 after it is defined.
15890
15891 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
15892 Max Horn <max@quendi.de>
15893
15894 [BZ #22644]
15895 CVE-2017-18269
15896 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
15897 branch conditions.
15898 * string/test-memmove.c (do_test2): New testcase.
15899
15900 2018-03-22 Joseph Myers <joseph@codesourcery.com>
15901
15902 * sysdeps/generic/frame.h: Remove file.
15903 * sysdeps/arm/frame.h: Likewise.
15904 * sysdeps/hppa/frame.h: Likewise.
15905 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
15906 macro.
15907 (GET_FRAME): Likewise.
15908 (GET_STACK): Likewise.
15909 (CALL_SIGHANDLER): Likewise.
15910 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
15911 Likewise.
15912 (GET_FRAME): Likewise.
15913 (GET_STACK): Likewise.
15914 (CALL_SIGHANDLER): Likewise.
15915 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
15916 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15917 (GET_FRAME): Likewise.
15918 (GET_STACK): Likewise.
15919 (CALL_SIGHANDLER): Likewise.
15920 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
15921 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15922 (GET_FRAME): Likewise.
15923 (GET_STACK): Likewise.
15924 (ADVANCE_STACK_FRAME): Likewise.
15925 (CALL_SIGHANDLER): Likewise.
15926 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
15927 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15928 (GET_FRAME): Likewise.
15929 (GET_STACK): Likewise.
15930 (CALL_SIGHANDLER): Likewise.
15931 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
15932 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15933 (GET_FRAME): Likewise.
15934 (GET_STACK): Likewise.
15935 (CALL_SIGHANDLER): Likewise.
15936 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
15937 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15938 (GET_FRAME): Likewise.
15939 (GET_STACK): Likewise.
15940 (CALL_SIGHANDLER): Likewise.
15941 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
15942 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15943 (GET_FRAME): Likewise.
15944 (GET_STACK): Likewise.
15945 (CALL_SIGHANDLER): Likewise.
15946 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
15947 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15948 (GET_FRAME): Likewise.
15949 (GET_STACK): Likewise.
15950 (CALL_SIGHANDLER): Likewise.
15951 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
15952 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15953 (GET_FRAME): Likewise.
15954 (GET_STACK): Likewise.
15955 (CALL_SIGHANDLER): Likewise.
15956 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
15957 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15958 (GET_FRAME): Likewise.
15959 (GET_STACK): Likewise.
15960 (CALL_SIGHANDLER): Likewise.
15961 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
15962 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15963 (GET_FRAME): Likewise.
15964 (GET_STACK): Likewise.
15965 (CALL_SIGHANDLER): Likewise.
15966 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
15967 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15968 (GET_FRAME): Likewise.
15969 (GET_STACK): Likewise.
15970 (CALL_SIGHANDLER): Likewise.
15971 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
15972 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15973 (FIRST_FRAME_POINTER): Likewise.
15974 (ADVANCE_STACK_FRAME): Likewise.
15975 (GET_STACK): Likewise.
15976 (GET_FRAME): Likewise.
15977 (CALL_SIGHANDLER): Likewise.
15978 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
15979 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15980 (ADVANCE_STACK_FRAME): Likewise.
15981 (GET_STACK): Likewise.
15982 (GET_FRAME): Likewise.
15983 (CALL_SIGHANDLER): Likewise.
15984 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
15985 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15986 (GET_FRAME): Likewise.
15987 (GET_STACK): Likewise.
15988 (CALL_SIGHANDLER): Likewise.
15989 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
15990 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15991 (GET_FRAME): Likewise.
15992 (GET_STACK): Likewise.
15993 (CALL_SIGHANDLER): Likewise.
15994
15995 2018-03-21 Joseph Myers <joseph@codesourcery.com>
15996
15997 * sysdeps/x86_64/backtrace.c: Move to ....
15998 * debug/backtrace.c: ... here.
15999 * sysdeps/aarch64/backtrace.c: Remove file.
16000 * sysdeps/alpha/backtrace.c: Likewise.
16001 * sysdeps/hppa/backtrace.c: Likewise.
16002 * sysdeps/ia64/backtrace.c: Likewise.
16003 * sysdeps/mips/backtrace.c: Likewise.
16004 * sysdeps/nios2/backtrace.c: Likewise.
16005 * sysdeps/riscv/backtrace.c: Likewise.
16006 * sysdeps/sh/backtrace.c: Likewise.
16007 * sysdeps/tile/backtrace.c: Likewise.
16008
16009 2018-03-20 Joseph Myers <joseph@codesourcery.com>
16010
16011 [BZ #22987]
16012 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
16013 function.
16014 (fdimf): Likewise.
16015 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
16016
16017 [BZ #17343]
16018 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
16019 possibly overflowing computations.
16020
16021 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16022
16023 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
16024 values from Linux-specific section now that it is in the GNU section.
16025 * sysdeps/gnu/errlist.c: Regenerate.
16026
16027 2018-03-20 Joseph Myers <joseph@codesourcery.com>
16028
16029 * math/Makefile (libm-narrow-fns): Add sub.
16030 (libm-test-funcs-narrow): Likewise.
16031 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
16032 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
16033 * math/gen-auto-libm-tests.c (test_functions): Add sub.
16034 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
16035 (NARROW_SUB_ROUND_TO_ODD): Likewise.
16036 (NARROW_SUB_TRIVIAL): Likewise.
16037 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
16038 macro.
16039 (__dsubl): Likewise.
16040 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
16041 dsub.
16042 (CFLAGS-nldbl-dsub.c): New variable.
16043 (CFLAGS-nldbl-fsub.c): Likewise.
16044 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16045 __nldbl_dsubl.
16046 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
16047 prototype.
16048 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
16049 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
16050 * math/auto-libm-test-in: Add tests of sub.
16051 * math/auto-libm-test-out-narrow-sub: New generated file.
16052 * math/libm-test-narrow-sub.inc: New file.
16053 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16054 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
16055 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
16056 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
16057 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
16058 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
16059 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
16060 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
16061 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
16062 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
16063 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
16064 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
16065 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
16066 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
16067 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
16068 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
16069 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
16070 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
16071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16072 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16073 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16074 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16075 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16076 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16077 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16078 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16079 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16080 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16081 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16082 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16083 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16084 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16089 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16090 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16091 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16092 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16093 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16094 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16095 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16096 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16097 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16098 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16099
16100 2018-03-19 Joseph Myers <joseph@codesourcery.com>
16101
16102 [BZ #20079]
16103 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
16104
16105 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
16106
16107 * benchtests/bench-timing.h (attribute_hidden): Undefine.
16108
16109 2018-03-18 Richard Braun <rbraun@sceen.net>
16110
16111 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
16112 thread reference.
16113
16114 2018-03-18 Agustina Arzille <avarzille@riseup.net>
16115
16116 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
16117 (__libc_cleanup_fct): Define function.
16118 (__libc_cleanup_region_start, __libc_cleanup_region_end,
16119 __libc_cleanup_end): Rewrite implementation using
16120 __attribute__ ((__cleanup__)).
16121 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
16122 * hurd/Makefile (routines): Add hurdlock.
16123 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
16124 interface.
16125 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
16126 * hurd/hurdpid.c: Include <lowlevellock.h>
16127 (_S_msg_proc_newids): Use lll_wait to synchronize.
16128 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
16129 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
16130 * mach/Makefile (lock-headers): Remove machine-lock.h.
16131 * mach/lock-intern.h: Include <lowlevellock.h> instead of
16132 <machine-lock.h>.
16133 (__spin_lock_t): New type.
16134 (__SPIN_LOCK_INITIALIZER): New macro.
16135 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
16136 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
16137 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
16138 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
16139 (__mutex_init): Initialize with lll.
16140 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
16141 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
16142 needing lll.
16143 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16144 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
16145 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
16146 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
16147 (__setpgid): Use lll for synchronization.
16148 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
16149 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
16150 instead of <cthreads.h>.
16151 (_IO_lock_inexpensive): New macro
16152 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
16153 (__libc_lock_self0): New declaration.
16154 (__libc_lock_owner_self): New macro.
16155 (__libc_key_t): Remove type.
16156 (_LIBC_LOCK_INITIALIZER): New macro.
16157 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
16158 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
16159 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
16160 __libc_lock_define_initialized_recursive,
16161 __rtld_lock_define_initialized_recursive,
16162 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
16163 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
16164 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
16165 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
16166 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
16167 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
16168 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
16169 New macros.
16170 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
16171 * hurd/hurdlock.c: New file.
16172 * hurd/hurdlock.h: New file.
16173 * mach/lowlevellock.h: New file
16174
16175 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16176
16177 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
16178 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
16179 when opening a symlink with O_NOFOLLOW.
16180 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
16181 path when flags contains O_NOFOLLOW.
16182 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
16183 if flags contains O_DIRECTORY and the result is a directory.
16184 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
16185 oneself when the pointer given in D is nul (as set by ext2fs).
16186 * sysdeps/mach/hurd/mlockall.c: New file.
16187 * sysdeps/mach/hurd/munlockall.c: New file.
16188
16189 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16190
16191 * hurd/hurdsig.c: Include <pthread.h>.
16192 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
16193 get the signal thread stack layout.
16194 * hurd/Makefile (headers): Remove threadvar.h.
16195 (inline-headers): Remove threadvar.h.
16196 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
16197 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
16198 __hurd_threadvar_max, __hurd_errno_location.
16199 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
16200 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
16201 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
16202 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
16203 unless TLS is not initialized yet, in which case we do not need a
16204 critical section yet anyway.
16205 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
16206 <machine-sp.h>.
16207 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
16208 declarations.
16209 (__hurd_threadvar_index): Remove enum.
16210 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
16211 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
16212 inlines.
16213 (__hurd_reply_port0): New variable declaration.
16214 (__hurd_local_reply_port): New macro.
16215 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
16216 (interrupted_reply_port_location): Add thread_t parameter. Use it
16217 with THREAD_TCB to access thread-local variables.
16218 (_hurdsig_abort_rpcs): Pass ss->thread to
16219 interrupted_reply_port_location.
16220 (_hurd_internal_post_signal): Likewise.
16221 (_hurdsig_init): Use presence of cthread_fork instead of
16222 __hurd_threadvar_stack_mask to start signal thread by hand.
16223 Remove signal thread threadvar initialization.
16224 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
16225 * hurd/sigunwind.c: Include <hurd/threadvar.h>
16226 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
16227 of threadvar.
16228 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
16229 __libc_lock_self0.
16230 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
16231 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
16232 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
16233 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
16234 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
16235 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
16236 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
16237 define variables.
16238 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
16239 <hurd/threadvar.h>.
16240 [IS_IN(rtld)] (rtld_errno): New variable.
16241 [IS_IN(rtld)] (__errno_location): New weak function.
16242 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
16243 * sysdeps/mach/hurd/errno.c: Remove file.
16244 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
16245 (__fork): Remove THREADVAR_SPACE macro and its use.
16246 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
16247 variable.
16248 (init): Do not initialize threadvar.
16249 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
16250 symbol.
16251 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
16252 __hurd_local_reply_port instead of threadvar.
16253 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
16254 _hurd_sigstate fields.
16255 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
16256 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
16257 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
16258 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
16259 instead of threadvar.
16260 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
16261 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
16262 (use_threadvar, global_reply_port): Remove variables.
16263 (__hurd_reply_port0): New variable.
16264 (__mig_get_reply_port): Use __hurd_local_reply_port and
16265 __hurd_reply_port0 instead of threadvar.
16266 (__mig_dealloc_reply_port): Likewise.
16267 (__mig_init): Do not initialize threadvar.
16268 * sysdeps/mach/hurd/profil.c: Fix comment.
16269 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
16270 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
16271 cthread_keycreate, cthread_getspecific, cthread_setspecific to
16272 __cthread_fork, __cthread_detach, __pthread_getattr_np,
16273 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
16274 __cthread_setspecific.
16275 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
16276 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
16277 __cthread_t instead of cthread_fork, cthread_detach,
16278 pthread_getattr_np, pthread_attr_getstack.
16279 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
16280 __cthread_keycreate.
16281 (cthread_getspecific): Rename to __cthread_getspecific.
16282 (cthread_setspecific): Rename to __cthread_setspecific.
16283 (__libc_getspecific): Use __cthread_getspecific instead of
16284 cthread_getspecific.
16285 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
16286 __cthread_keycreate instead of cthread_keycreate.
16287 (__libc_setspecific): Use __cthread_setspecific instead of
16288 cthread_setspecific.
16289 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
16290 Likewise.
16291 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
16292 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
16293 testing whether it is defined.
16294
16295 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16296
16297 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
16298 Define macro.
16299 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
16300 * sysdeps/mach/i386/thread_state.h
16301 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
16302 i386_THREAD_STATE.
16303 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
16304 i386_THREAD_STATE.
16305 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
16306
16307 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
16308 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
16309
16310 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
16311 macros.
16312 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
16313 descriptor instead of creating a new one.
16314 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
16315
16316 * mach/setup-thread.c: Include <ldsodefs.h>.
16317 (__mach_setup_thread): Call _dl_allocate_tls, pass
16318 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
16319 MACHINE_THREAD_STATE_FLAVOR, before getting
16320 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
16321 MACHINE_THREAD_STATE_FLAVOR with the result.
16322 * hurd/hurdfault.c (_hurdsig_fault_init): Call
16323 MACHINE_THREAD_STATE_FIX_NEW.
16324 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
16325 too. Add original thread parameter.
16326
16327 2018-03-16 Joseph Myers <joseph@codesourcery.com>
16328
16329 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
16330 Remove inline function.
16331
16332 * sysdeps/i386/fpu/libm-test-ulps: Update.
16333 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
16334
16335 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
16336
16337 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
16338 commit.
16339
16340 2018-03-15 Joseph Myers <joseph@codesourcery.com>
16341
16342 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
16343 (__sincos_code): Remove define and undefine.
16344 [__FAST_MATH__] (__sincos): Remove inline function.
16345 [__FAST_MATH__] (__sincosf): Remove inline function.
16346 [__FAST_MATH__] (__sincosl): Remove inline function.
16347 (__atan2l): Remove inline functions.
16348 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
16349 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
16350 function.
16351 (floor): Remove inline function.
16352 (ceil): Likewise.
16353 [__FAST_MATH__] (__ldexp_code): Remove macro.
16354 [__FAST_MATH__] (ldexp): Remove inline function.
16355 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
16356 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
16357 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
16358 [__USE_ISOC99] (__lrint_code): Remove macro.
16359 [__USE_ISOC99] (__llrint_code): Likewise.
16360 [__USE_ISOC99] (lrintf): Remove inline function.
16361 [__USE_ISOC99] (lrint): Likewise.
16362 [__USE_ISOC99] (lrintl): Likewise.
16363 [__USE_ISOC99] (llrint): Likewise.
16364 [__USE_ISOC99] (llrintf): Likewise.
16365 [__USE_ISOC99] (llrintl): Likewise.
16366
16367 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16368
16369 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
16370 (__ieee754_sqrtf): Remove.
16371 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
16372 (__ieee754_sqrtf): Remove.
16373 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
16374 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16375 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
16376 (__ieee754_sqrtf): Remove.
16377 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
16378 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
16379 (sqrtf): Remove.
16380 (sqrtl): Remove.
16381 (__ieee754_sqrt): Remove.
16382 (__ieee754_sqrtf): Remove.
16383 (__ieee754_sqrtl): Remove.
16384 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16385 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
16386 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
16387 (__ieee754_sqrtf): Remove.
16388 (__ieee754_sqrtl): Remove.
16389
16390 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16391
16392 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
16393 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16394 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16395 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
16396 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
16397 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16398 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16399 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16400 Likewise.
16401 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
16402 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
16403 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16404 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16405 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
16406 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
16407 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16408 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
16409 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16410 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16411 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
16412 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16413 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
16414 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
16415 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
16416 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16417 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16418 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16419 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
16420 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
16421 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16422 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16423 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
16424 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
16425 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
16426 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
16427 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16428 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16429 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
16430 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16431 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16432 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
16433 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16434 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
16435 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16436 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16437 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
16438 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
16439 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
16440 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
16441
16442 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16443
16444 * include/math.h (sqrt): Declare with asm redirect.
16445 (sqrtf): Likewise.
16446 (sqrtl): Likewise.
16447 (sqrtf128): Likewise.
16448 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
16449 nonlib and libnldbl with -fmath-errno.
16450 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
16451 * math/w_sqrt_template.c: Likewise.
16452 * math/w_sqrtf_compat.c: Likewise.
16453 * math/w_sqrtl_compat.c: Likewise.
16454 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
16455 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
16456 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
16457 complex.h.
16458
16459 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16460
16461 * benchtests/Makefile: Define _ISOMAC.
16462 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
16463 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
16464 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
16465 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
16466 * benchtests/bench-timing.h: Define attribute_hidden.
16467
16468 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
16469
16470 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
16471 mov + lsr.
16472
16473 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16474
16475 [BZ #22963]
16476 * localedata/locales/cs_CZ (mon): Rename to...
16477 (alt_mon): This.
16478 (mon): Import from CLDR (genitive case).
16479
16480 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16481
16482 [BZ #22937]
16483 * localedata/locales/el_CY (abmon): Rename to...
16484 (ab_alt_mon): This.
16485 (abmon): Import from CLDR (abbreviated genitive case).
16486 * localedata/locales/el_GR (abmon): Rename to...
16487 (ab_alt_mon): This.
16488 (abmon): Import from CLDR (abbreviated genitive case).
16489
16490 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16491
16492 [BZ #22932]
16493 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
16494
16495 2018-03-15 Robert Buj <robert.buj@gmail.com>
16496
16497 [BZ #22848]
16498 * localedata/locales/ca_ES (abmon): Rename to...
16499 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16500 (mon): Rename to...
16501 (alt_mon): This.
16502 (abmon): Import from CLDR (genitive case, month names preceded by
16503 "de" or "d’").
16504 (mon): Likewise.
16505 (abday): Synchronize with CLDR.
16506 (d_t_fmt): Likewise.
16507 (d_fmt): Likewise.
16508 (am_pm): Likewise.
16509
16510 (LC_TIME): Improve indentation.
16511 (LC_TELEPHONE): Likewise.
16512 (LC_NAME): Likewise.
16513 (LC_ADDRESS): Likewise.
16514
16515 2018-03-14 Joseph Myers <joseph@codesourcery.com>
16516
16517 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
16518 (lrintf): Remove definitions used only with old GCC.
16519 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
16520 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
16521 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
16522 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
16523 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
16524 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
16525 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
16526 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
16527 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
16528 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
16529 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
16530 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
16531 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
16532 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
16533 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
16534 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
16535 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
16536 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
16537 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
16538 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
16539 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
16540 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
16541 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
16542 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
16543 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
16544 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
16545 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
16546 [__FAST_MATH__] (__M_SQRT2): Remove macro.
16547
16548 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
16549
16550 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
16551 instruction to unbreak builds with binutils 2.26 and older.
16552
16553 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
16554
16555 * sysdeps/aarch64/strncmp.S (count): New macro.
16556 (strncmp): Store misaligned length in SRC1 in COUNT.
16557 (mutual_align): Adjust.
16558 (misaligned8): Load dword at a time when it is safe.
16559
16560 2018-03-12 Zack Weinberg <zackw@panix.com>
16561
16562 [BZ #1190]
16563 [BZ #19476]
16564 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
16565 if the _IO_EOF_SEEN bit is already set; update commentary.
16566 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
16567 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16568
16569 * support/support_openpty.c, support/tty.h: New files.
16570 * support/Makefile (libsupport-routines): Add support_openpty.
16571
16572 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
16573 New test cases.
16574 * libio/Makefile (tests): Add tst-fgetc-after-eof.
16575 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
16576
16577 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
16578
16579 * po/pt_BR.po: Update translations.
16580
16581 2018-03-12 David Michael <fedora.dm0@gmail.com>
16582
16583 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
16584 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
16585 get a port to the startup server.
16586
16587 2018-03-11 Zack Weinberg <zackw@panix.com>
16588
16589 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
16590 before nldbl-compat.h.
16591
16592 2018-03-10 Zack Weinberg <zackw@panix.com>
16593
16594 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
16595 math.h or math_private.h.
16596
16597 * sysdeps/alpha/fpu/s_isnan.c
16598 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
16599 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
16600 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
16601 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
16602 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
16603 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
16604 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
16605 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
16606 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
16607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
16608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
16609 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
16610 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
16611 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
16612 Include math_private.h.
16613
16614 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
16615 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
16616 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
16617 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
16618 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
16619 * sysdeps/powerpc/power7/fpu/s_logb.c:
16620 Include math.h and math_private.h.
16621
16622 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
16623 uses of $at in .set noat / .set at.
16624
16625 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
16626
16627 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
16628 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
16629 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
16630 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
16631 Likewise.
16632
16633 2018-03-09 Florian Weimer <fweimer@redhat.com>
16634
16635 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
16636 in comment.
16637
16638 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
16639
16640 [BZ #22919]
16641 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
16642 Add nop before __startcontext, add explaining comments.
16643
16644 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16645
16646 [BZ #22926]
16647 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
16648 empty for __SPE__.
16649 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
16650 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
16651 Do not build hardware transactional code for __SPE__.
16652 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16653 (__lll_trylock_elision): Likewise.
16654 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16655 (__lll_unlock_elision): Likewise.
16656
16657 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
16658 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
16659 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16660 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
16661 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
16662 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
16663 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
16664 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
16665 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
16666 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
16667 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
16668 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
16669 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
16670 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
16671 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
16672 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
16673 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
16674 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
16675 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
16676 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
16677 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
16678 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16679 (__ASSUME_CLONE_BACKWARDS): Define.
16680 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
16681 __clone2 if __NR_clone2 is defined.
16682 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16683 (__ASSUME_CLONE_BACKWARDS): Likewise.
16684 * sysdeps/unix/sysv/linux/i386/kernel-features.h
16685 (__ASSUME_CLONE_BACKWARDS): Likewise.
16686 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16687 (__ASSUME_CLONE2): Likewise.
16688 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16689 (__ASSUME_CLONE_BACKWARDS3): Likewise.
16690 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
16691 variants and the define architecture can use.
16692 (__ASSUME_CLONE_DEFAULT): Define as default.
16693 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16694 (__ASSUME_CLONE_BACKWARDS): Likewise.
16695 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16696 (__ASSUME_CLONE_BACKWARDS): Likewise.
16697 * sysdeps/unix/sysv/linux/s390/kernel-features.h
16698 (__ASSUME_CLONE_BACKWARDS2): Likewise.
16699
16700 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
16701
16702 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
16703
16704 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
16705 time.
16706
16707 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
16708 (do_test_limit): Likewise.
16709
16710 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
16711 for every implementation.
16712 (do_test): Likewise.
16713
16714 * benchtests/bench-strncmp.c: Convert output to json.
16715
16716 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16717
16718 * io/futimens.c: Add missing start-of-file descriptive comment.
16719 * io/utime.c: Likewise.
16720 * misc/futimesat.c: Likewise.
16721 * misc/utimes.c: Likewise.
16722 * sysdeps/mach/hurd/futimesat.c: Likewise.
16723 * sysdeps/mach/hurd/utimes.c: Likewise.
16724 * sysdeps/posix/utime.c: Likewise.
16725 * sysdeps/posix/utimes.c: Likewise.
16726 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
16727 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16728 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
16729 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
16730
16731 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16732
16733 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
16734 hurd_futimes.
16735 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
16736 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
16737 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
16738 (__futimens): Move implementation to...
16739 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
16740 utime_tvalue_from_tspec): ... new helper functions.
16741 (hurd_futimens): New function.
16742 * sysdeps/mach/hurd/futimesat.c: New file.
16743 * sysdeps/mach/hurd/utimensat.c: New file.
16744
16745 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
16746
16747 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
16748 UTIME_OMIT): New macros.
16749 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
16750 before reverting to converting time spec to time value and calling
16751 __file_utimes.
16752 * sysdeps/mach/hurd/utime-helper.c: New file.
16753 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
16754 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
16755 reverting to utime_tvalue_from_tval and __file_utimes.
16756 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
16757 (__lutimes): Just call hurd_futimens after lookup.
16758 * sysdeps/mach/hurd/utimes.c: Likewise.
16759
16760 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16761
16762 * bits/sigaction.h: Add include guard.
16763 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
16764 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
16765 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
16766 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
16767 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
16768 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
16769 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
16770 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
16771 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
16772
16773 2018-03-05 Joseph Myers <joseph@codesourcery.com>
16774
16775 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
16776 -Wmaybe-uninitialized for -Os.
16777 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
16778 this disabling.
16779
16780 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16781
16782 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
16783 __INO_T_MATCHES_INO64_T is defined.
16784 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
16785 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
16786 of definition.
16787 * dirent/alphasort64.c: Likewise.
16788 * dirent/scandir.c: Likewise.
16789 * dirent/scandir64-tail.c: Likewise.
16790 * dirent/scandir64.c: Likewise.
16791 * dirent/scandirat.c: Likewise.
16792 * dirent/scandirat64.c: Likewise.
16793 * dirent/versionsort.c: Likewise.
16794 * dirent/versionsort64.c: Likewise.
16795 * include/dirent.h: Likewise.
16796
16797 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
16798 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
16799 for socketpair endpoint.
16800 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
16801 WRITE_BUFFER_SIZE as buffer size for sending socket.
16802 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
16803 issue on system where send is implemented with sendto syscall.
16804 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
16805 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
16806 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
16807 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
16808
16809 [BZ #21269]
16810 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
16811 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
16812 sa_restorer for vDSO case.
16813 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
16814
16815 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16816
16817 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
16818 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
16819 * hurd/hurd/ioctl.h: Include <mach/port.h>
16820 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
16821 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
16822 <mach/mach_types.h> and <mach/message.h>.
16823 (headers): Move mach/param.h to bits/mach/param.h.
16824 * sysdeps/mach/i386/mach/param.h: Move file to ...
16825 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
16826 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
16827 of <mach/param.h>.
16828 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
16829 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
16830 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
16831 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
16832 trivial, for C++ conformity.
16833 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
16834 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
16835 Process mig output through $(migheadersed).
16836 * hurd/Makefile (migheadersed): Define variable.
16837 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
16838 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
16839 headers.
16840 * hurd/hurd.h: Include <bits/types/sigset_t.h>
16841 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
16842 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
16843 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
16844 <bits/types/sigset_t.h>.
16845 [!defined __USE_GNU]: Do not #error out.
16846 (struct hurd_sigstate): Use _NSIG instead of NSIG.
16847 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
16848 Include <stddef.h> and <bits/types/sigset_t.h>
16849 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
16850 instead of sighandler_t.
16851 * stdlib/errno.h (error_t): Move definition to...
16852 * bits/types/error_t.h: ... new header.
16853 * stdlib/Makefile (headers): Add bits/types/error_t.h.
16854 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
16855 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
16856 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
16857 * hurd/hurd.h: Include <bits/types/error_t.h>
16858 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
16859 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
16860 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
16861 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
16862 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
16863 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
16864 * sysdeps/mach/hurd/futimens.c: New file.
16865
16866 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
16867
16868 [BZ #22918]
16869 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
16870 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
16871 * nscd/gai.c (__nss_hosts_database): Readd definition.
16872 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
16873 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
16874 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
16875
16876 2018-03-02 Joseph Myers <joseph@codesourcery.com>
16877
16878 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
16879 (ifunc_one): Likewise.
16880
16881 2018-03-01 DJ Delorie <dj@delorie.com>
16882
16883 [BZ #22342]
16884 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
16885 key value.
16886
16887 2018-03-01 Maciej W. Rozycki <macro@mips.com>
16888
16889 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
16890 `match_pid' parameter.
16891 (td_ta_thr_iter): Update accordingly.
16892
16893 2018-03-01 Florian Weimer <fweimer@redhat.com>
16894
16895 * nptl/Makefile (install-lib-ldscripts): Remove.
16896 (install): Remove rule.
16897 ($(inst_libdir)/libpthread.so): Likewise.
16898
16899 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16900
16901 [BZ #22896]
16902 * localedata/locales/an_ES: update month and day names,
16903 improve d_fmt, improve postal_fmt, add country_post,
16904 add country_isbn
16905
16906 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16907
16908 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
16909 Ukrainian instead of Bulgarian.
16910
16911 2018-03-01 Florian Weimer <fweimer@redhat.com>
16912
16913 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
16914 reference.
16915
16916 2018-03-01 Florian Weimer <fweimer@redhat.com>
16917
16918 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
16919 * nptl/Makefile (routines): Add pthread_atfork.
16920 (static-only-routines): Set to pthread_atfork.
16921 (libpthread-routines): Remove pthread_atfork.
16922 (libpthread-static-only-routines): Remove.
16923 (install): Update comment.
16924 (libpthread.so): Do not install libpthread_nonshared.a.
16925 (tests): Do not link with libpthread_nonshared.a.
16926 (generated): Remove libpthread_nonshared.a.
16927 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
16928 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
16929 with libpthread_nonshared.a.
16930
16931 2018-02-28 Joseph Myers <joseph@codesourcery.com>
16932
16933 [BZ #22902]
16934 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
16935 (libc_feholdexcept_setroundf128): New macro.
16936 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
16937
16938 [BZ #15105]
16939 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
16940 libc_hidden_def.
16941 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
16942 * include/inttypes.h: New file.
16943
16944 2018-02-27 Joseph Myers <joseph@codesourcery.com>
16945
16946 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
16947 -Os in two more places.
16948
16949 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16950
16951 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
16952 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
16953 be sorted correctly at the moment because of a bug.
16954
16955 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16956
16957 [BZ #22550] - es_ES locale (and other es_* locales): collation should
16958 treat ñ as a primary different character, sync the collation
16959 for Spanish with CLDR.
16960 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
16961 * localedata/Makefile: Add new test files.
16962 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
16963 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
16964 collation order.
16965 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
16966 * localedata/am_ET.UTF-8.in: New test file.
16967 * localedata/az_AZ.UTF-8.in: Likewise.
16968 * localedata/be_BY.UTF-8.in: Likewise.
16969 * localedata/ber_DZ.UTF-8.in: Likewise.
16970 * localedata/ber_MA.UTF-8.in: Likewise.
16971 * localedata/bg_BG.UTF-8.in: Likewise.
16972 * localedata/br_FR.UTF-8.in: Likewise.
16973 * localedata/cmn_TW.UTF-8.in: Likewise.
16974 * localedata/crh_UA.UTF-8.in: Likewise.
16975 * localedata/csb_PL.UTF-8.in: Likewise.
16976 * localedata/cv_RU.UTF-8.in: Likewise.
16977 * localedata/cy_GB.UTF-8.in: Likewise.
16978 * localedata/dz_BT.UTF-8.in: Likewise.
16979 * localedata/eo.UTF-8.in: Likewise.
16980 * localedata/es_ES.UTF-8.in: Likewise.
16981 * localedata/fa_IR.UTF-8.in: Likewise.
16982 * localedata/fi_FI.UTF-8.in: Likewise.
16983 * localedata/fil_PH.UTF-8.in: Likewise.
16984 * localedata/fur_IT.UTF-8.in: Likewise.
16985 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
16986 * localedata/ha_NG.UTF-8.in: Likewise.
16987 * localedata/ig_NG.UTF-8.in: Likewise.
16988 * localedata/ik_CA.UTF-8.in: Likewise.
16989 * localedata/kk_KZ.UTF-8.in: Likewise.
16990 * localedata/ku_TR.UTF-8.in: Likewise.
16991 * localedata/ky_KG.UTF-8.in: Likewise.
16992 * localedata/ln_CD.UTF-8.in: Likewise.
16993 * localedata/mi_NZ.UTF-8.in: Likewise.
16994 * localedata/ml_IN.UTF-8.in: Likewise.
16995 * localedata/mn_MN.UTF-8.in: Likewise.
16996 * localedata/mr_IN.UTF-8.in: Likewise.
16997 * localedata/mt_MT.UTF-8.in: Likewise.
16998 * localedata/nb_NO.UTF-8.in: Likewise.
16999 * localedata/om_KE.UTF-8.in: Likewise.
17000 * localedata/os_RU.UTF-8.in: Likewise.
17001 * localedata/ps_AF.UTF-8.in: Likewise.
17002 * localedata/ro_RO.UTF-8.in: Likewise.
17003 * localedata/ru_RU.UTF-8.in: Likewise.
17004 * localedata/sc_IT.UTF-8.in: Likewise.
17005 * localedata/se_NO.UTF-8.in: Likewise.
17006 * localedata/sq_AL.UTF-8.in: Likewise.
17007 * localedata/sv_SE.UTF-8.in: Likewise.
17008 * localedata/szl_PL.UTF-8.in: Likewise.
17009 * localedata/tg_TJ.UTF-8.in: Likewise.
17010 * localedata/tk_TM.UTF-8.in: Likewise.
17011 * localedata/tt_RU.UTF-8.in: Likewise.
17012 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
17013 * localedata/ug_CN.UTF-8.in: Likewise.
17014 * localedata/uz_UZ.UTF-8.in: Likewise.
17015 * localedata/vi_VN.UTF-8.in: Likewise.
17016 * localedata/yi_US.UTF-8.in: Likewise.
17017 * localedata/yo_NG.UTF-8.in: Likewise.
17018 * localedata/zh_CN.UTF-8.in: Likewise.
17019 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
17020 file and fix bugs in the collation.
17021 * localedata/locales/az_AZ: Likewise.
17022 * localedata/locales/be_BY: Likewise.
17023 * localedata/locales/ber_DZ: Likewise.
17024 * localedata/locales/ber_MA: Likewise.
17025 * localedata/locales/bg_BG: Likewise.
17026 * localedata/locales/br_FR: Likewise.
17027 * localedata/locales/br_FR@euro: Likewise.
17028 * localedata/locales/ca_ES: Likewise.
17029 * localedata/locales/cns11643_stroke: Likewise.
17030 * localedata/locales/crh_UA: Likewise.
17031 * localedata/locales/cs_CZ: Likewise.
17032 * localedata/locales/csb_PL: Likewise.
17033 * localedata/locales/cv_RU: Likewise.
17034 * localedata/locales/cy_GB: Likewise.
17035 * localedata/locales/da_DK: Likewise.
17036 * localedata/locales/dz_BT: Likewise.
17037 * localedata/locales/en_CA: Likewise.
17038 * localedata/locales/eo: Likewise.
17039 * localedata/locales/es_CU: Likewise.
17040 * localedata/locales/es_EC: Likewise.
17041 * localedata/locales/es_ES: Likewise.
17042 * localedata/locales/es_US: Likewise.
17043 * localedata/locales/et_EE: Likewise.
17044 * localedata/locales/fa_IR: Likewise.
17045 * localedata/locales/fi_FI: Likewise.
17046 * localedata/locales/fil_PH: Likewise.
17047 * localedata/locales/fur_IT: Likewise.
17048 * localedata/locales/gez_ER@abegede: Likewise.
17049 * localedata/locales/ha_NG: Likewise.
17050 * localedata/locales/hr_HR: Likewise.
17051 * localedata/locales/hsb_DE: Likewise.
17052 * localedata/locales/hu_HU: Likewise.
17053 * localedata/locales/ig_NG: Likewise.
17054 * localedata/locales/ik_CA: Likewise.
17055 * localedata/locales/is_IS: Likewise.
17056 * localedata/locales/iso14651_t1_pinyin: Likewise.
17057 * localedata/locales/kk_KZ: Likewise.
17058 * localedata/locales/ku_TR: Likewise.
17059 * localedata/locales/ky_KG: Likewise.
17060 * localedata/locales/ln_CD: Likewise.
17061 * localedata/locales/lt_LT: Likewise.
17062 * localedata/locales/lv_LV: Likewise.
17063 * localedata/locales/mi_NZ: Likewise.
17064 * localedata/locales/ml_IN: Likewise.
17065 * localedata/locales/mn_MN: Likewise.
17066 * localedata/locales/mr_IN: Likewise.
17067 * localedata/locales/mt_MT: Likewise.
17068 * localedata/locales/nb_NO: Likewise.
17069 * localedata/locales/om_KE: Likewise.
17070 * localedata/locales/os_RU: Likewise.
17071 * localedata/locales/pl_PL: Likewise.
17072 * localedata/locales/ps_AF: Likewise.
17073 * localedata/locales/ro_RO: Likewise.
17074 * localedata/locales/ru_RU: Likewise.
17075 * localedata/locales/ru_UA: Likewise.
17076 * localedata/locales/sc_IT: Likewise.
17077 * localedata/locales/se_NO: Likewise.
17078 * localedata/locales/si_LK: Likewise.
17079 * localedata/locales/sq_AL: Likewise.
17080 * localedata/locales/sv_FI: Likewise.
17081 * localedata/locales/sv_FI@euro: Likewise.
17082 * localedata/locales/sv_SE: Likewise.
17083 * localedata/locales/szl_PL: Likewise.
17084 * localedata/locales/tg_TJ: Likewise.
17085 * localedata/locales/ti_ER: Likewise.
17086 * localedata/locales/tk_TM: Likewise.
17087 * localedata/locales/tl_PH: Likewise.
17088 * localedata/locales/tr_TR: Likewise.
17089 * localedata/locales/tt_RU: Likewise.
17090 * localedata/locales/tt_RU@iqtelif: Likewise.
17091 * localedata/locales/ug_CN: Likewise.
17092 * localedata/locales/uk_UA: Likewise.
17093 * localedata/locales/uz_UZ: Likewise.
17094 * localedata/locales/uz_UZ@cyrillic: Likewise.
17095 * localedata/locales/vi_VN: Likewise.
17096 * localedata/locales/yi_US: Likewise.
17097 * localedata/locales/yo_NG: Likewise.
17098
17099 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17100
17101 * gen-locales.mk: Make test files which contain @ modifiers in their
17102 name work.
17103 * localedata/gen-locale.sh: Likewise.
17104
17105 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17106
17107 * posix/tst-fnmatch.input: Fix results for range expressions
17108 for non C locales.
17109 * posix/tst-regexloc.c: Do not use a range expression for
17110 de_DE.ISO-8859-1 locale.
17111
17112 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17113
17114 * posix/bug-regex5.c: Fix test case because with the new
17115 iso14651_t1_common file, the da_DK locale now has 6 collating elements
17116 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
17117 file.
17118
17119 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17120
17121 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
17122 downloaded from ISO, the collation order of @-. and space has changed.
17123 Therefore, this test file needed to be adapted.
17124 * localedata/fr_CA.UTF-8.in: Likewise.
17125 * localedata/fr_FR.UTF-8.in: Likewise.
17126 * localedata/uk_UA.UTF-8.in: Likewise.
17127
17128 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17129
17130 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
17131 order of ȥ in the new iso14651_t1_common file.
17132 * localedata/pl_PL.UTF-8.in: Likewise.
17133
17134 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17135
17136 * localedata/locales/iso14651_t1_common: Add sections for various
17137 scripts to the iso14651_t1_common file.
17138
17139 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17140
17141 * localedata/locales/iso14651_t1_common: Use the code point of a
17142 character in the fourth collation level instead of IGNORE for all
17143 entries which have IGNORE on all 4 levels.
17144
17145 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17146
17147 * localedata/locales/iso14651_t1_common: Add some convenient collation
17148 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
17149 rules similar to those in CLDR.
17150
17151 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17152
17153 * localedata/locales/iso14651_t1_common: The new version of this
17154 file downloaded from ISO contained several syntax errors which
17155 are fixed by this patch.
17156
17157 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17158
17159 * localedata/locales/iso14651_t1_common: replace all <U.....>
17160 with <U000.....> because glibc understands only 4 digit or 8 digit
17161
17162 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17163
17164 * localedata/locales/iso14651_t1_common: Necessary changes
17165 to make the file downloaded from ISO usable by glibc.
17166
17167 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17168
17169 [BZ #14095]
17170 * localedata/locales/iso14651_t1_common: Update file to
17171 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
17172
17173 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17174
17175 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
17176 of <nptl/pthreadP.h>
17177 (thread_attr_compare): Move function to...
17178 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
17179 * sysdeps/nptl/timer_routines.h: ... new header.
17180 * sysdeps/mach/hurd/gai_misc.h: New file.
17181
17182 2018-02-26 Joseph Myers <joseph@codesourcery.com>
17183
17184 * string/strcoll_l.c: Include <libc-diag.h>.
17185 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
17186 declarations of seq1 and seq2.
17187
17188 [BZ #15105]
17189 * stdlib/atoi.c (atoi): Use libc_hidden_def.
17190 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
17191
17192 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
17193
17194 [BZ #22433]
17195 [BZ #22807]
17196 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
17197 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
17198 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
17199 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
17200 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
17201 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
17202
17203 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17204
17205 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
17206 macros used in __ptrace_request.
17207
17208 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
17209
17210 [BZ #22792]
17211 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
17212 to $(CC).
17213 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
17214 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
17215 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
17216 <tcb-offsets.h>.
17217
17218 2018-02-23 Joseph Myers <joseph@codesourcery.com>
17219
17220 [BZ #15105]
17221 * ctype/ctype.c (tolower): Use libc_hidden_def.
17222 (toupper): Likewise.
17223 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
17224 [!_ISOMAC] (toupper): Likewise.
17225
17226 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17227
17228 * localedata/Makefile: Remove --quiet argument when
17229 installing locales
17230
17231 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17232
17233 [BZ #17438]
17234 * localedata/locales/pt_BR (LC_TIME): use / instead of -
17235 in d_fmt.
17236 * localedata/locales/pt_PT (LC_TIME): likewise
17237
17238 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17239
17240 [BZ #22646]
17241 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
17242 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
17243 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
17244
17245 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17246
17247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17248
17249 * nptl/Makefile (routines): Remove unregister-atfork.
17250 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
17251 (fork_handler_alloc): Remove function.
17252 (fork_handlers, fork_handler_init): New variables.
17253 (__fork_lock): Rename to atfork_lock.
17254 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
17255 to use a dynamic array to add/remove atfork handlers.
17256 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17257 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
17258 Remove declaration.
17259 (fork_handler): Remove next, refcntr, and need_signal member.
17260 (__run_fork_handler_type): New enum.
17261 (__run_fork_handlers): New prototype.
17262 * nptl/register-atfork.c: Remove file.
17263 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
17264
17265 * sysdeps/nptl/nptl-signals.h: Move to ...
17266 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
17267 comments.
17268 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
17269 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
17270 unnecessary check for SIGTIMER.
17271 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
17272 remove unnecessary removal of SIGTIMER.
17273 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
17274 include-signals.h rename.
17275 * nptl/pthreadP.h: Likewise.
17276 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
17277 __is_internal_signal instead of __nptl_is_internal_signal.
17278
17279 2018-02-22 Andrew Waterman <andrew@sifive.com>
17280
17281 [BZ # 22884]
17282 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
17283 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
17284 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
17285 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
17286
17287 2018-02-22 DJ Delorie <dj@delorie.com>
17288
17289 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
17290
17291 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
17292
17293 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
17294 do_misaligned, not misaligned8.
17295
17296 2018-02-22 Steve Ellcey <sellcey@cavium.com>
17297
17298 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
17299 Add memcpy_thunderx2.
17300 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
17301 Increment to 4.
17302 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
17303 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
17304 and IS_THUNDERX2PA checks.
17305 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
17306 Use macro to set name appropriately.
17307 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
17308 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
17309 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
17310 New macro.
17311 (IS_THUNDERX2): New macro.
17312
17313 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
17314
17315 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17316
17317 2018-02-21 Zack Weinberg <zackw@panix.com>
17318
17319 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
17320 Define here, unconditionally.
17321 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
17322 * libio/libioP.h: Remove #if 0 blocks.
17323 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
17324 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
17325 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
17326
17327 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
17328 Assume weak_alias is always defined.
17329
17330 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
17331 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
17332 Remove #if 0 and #ifdef TODO blocks.
17333 Assume text_set_element is always defined.
17334
17335 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
17336 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
17337 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
17338
17339 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
17340 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
17341 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
17342 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
17343 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
17344 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
17345 Reformat bit flags for _flags field to make occupancy clearer.
17346 Update commentary.
17347 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
17348 Keep definitions consistent with those in libio/libio.h.
17349
17350 * libio/libio.h (_IO_file_flags): Remove macro.
17351 All uses changed to _flags.
17352
17353 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
17354 (__HAVE_COLUMN, _IO_BE): Don't define.
17355 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
17356 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
17357 * libio/libioP.h (EOF): Don't define.
17358 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
17359 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
17360 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
17361 testing _IO_UNIFIED_JUMPTABLES.
17362
17363 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
17364 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
17365 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
17366 (_IO_size_t): Delete; all uses changed to size_t.
17367 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
17368 (_IO_off_t): Delete; all uses changed to off_t.
17369 (_IO_off64_t): Delete; all uses changed to off64_t.
17370 (_IO_pid_t): Delete; all uses changed to pid_t.
17371 (_IO_uid_t): Delete; all uses changed to uid_t.
17372 (_IO_wint_t): Delete; all uses changed to wint_t.
17373 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
17374 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
17375 (_IO_cookie_io_functions_t): Delete; all uses changed to
17376 cookie_io_functions_t.
17377 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
17378 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
17379 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
17380 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
17381
17382 * libio/iofopncook.c: Remove unnecessary forward declarations.
17383 * libio/iolibio.h: Correct outdated commentary.
17384 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
17385 * stdio-common/fxprintf.c (__fxprintf_nocancel):
17386 Remove unnecessary casts.
17387 * stdio-common/getline.c: Use _IO_getdelim directly.
17388 Don't redefine ssize_t.
17389 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
17390 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
17391 Remove outdated comments.
17392 * stdio-common/vfscanf.c: Don't redefine va_list.
17393
17394 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
17395 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
17396 Remove preprocessor conditionals on _LIBC and __USE_GNU,
17397 which are always true, and __cplusplus, which is always false.
17398
17399 2018-02-21 Joseph Myers <joseph@codesourcery.com>
17400
17401 [BZ #15105]
17402 [BZ #19463]
17403 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
17404 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
17405 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
17406 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
17407 libc_hidden_proto.
17408 [!_ISOMAC] (putc_unlocked): Likewise.
17409 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
17410 define inline if [__USE_EXTERN_INLINES].
17411 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
17412 putc_unlocked.
17413
17414 [BZ #15105]
17415 [BZ #19463]
17416 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
17417 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
17418 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
17419 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
17420 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
17421 getc_unlocked.
17422 * time/tzfile.c (__tzfile_read): Likewise.
17423
17424 2018-02-21 Mike FABIAN <mfabian@redhat.com>
17425
17426 [BZ #22517]
17427 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
17428
17429 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
17430
17431 * io/fcntl.h: Fix a typo in a comment.
17432
17433 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
17434
17435 [BZ #22862]
17436 * include/features.h: Add _ISOC11_SOURCE to test for whether to
17437 define _DEFAULT_SOURCE.
17438 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
17439
17440 2018-02-21 Florian Weimer <fweimer@redhat.com>
17441
17442 [BZ #20890]
17443 * elf/cache.c (save_cache): Call fsync on temporary file before
17444 renaming it.
17445 (save_aux_cache): Call fdatasync on temporary file before renaming
17446 it.
17447
17448 2018-02-21 Florian Weimer <fweimer@redhat.com>
17449
17450 [BZ #22787]
17451 * include/caller.h: Remove file.
17452 * elf/dl-caller.c: Likewise.
17453 * elf/Makefile (dl-routines): Remove dl-caller.
17454 (shared-only-routines): Do not add dl-caller.
17455 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
17456 __check_caller.
17457 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
17458 member.
17459 (dl_open_worker): Do not call __check_caller.
17460 (_dl_open): Do not set caller_dl_open member.
17461 * elf/rtld.c (_rtld_global_ro): Do not initialize
17462 _dl_check_caller member.
17463 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
17464 _dl_check_caller member.
17465 (_dl_check_caller): Remove declaration.
17466 * sysdeps/unix/sysv/linux/dl-execstack.c
17467 (_dl_make_stack_executable): Do not call __check_caller.
17468
17469 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17470
17471 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
17472 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
17473
17474 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17475
17476 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
17477 description.
17478
17479 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17480
17481 [BZ #16335]
17482 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
17483 of 199606L, 200112L, and 200809L.
17484 (_XOPEN_SOURCE): Document special values of 600 and 700.
17485 (_ISOC11_SOURCE): Document macro.
17486 (_ATFILE_SOURCE): Likewise.
17487 (_FORTIFY_SOURCE): Likewise.
17488
17489 2018-02-19 Joseph Myers <joseph@codesourcery.com>
17490
17491 [BZ #15105]
17492 [BZ #19463]
17493 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
17494 and define as weak alias of __ferror_unlocked. Use
17495 libc_hidden_weak.
17496 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
17497 libc_hidden_proto.
17498 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
17499 function if [__USE_EXTERN_INLINES].
17500 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
17501 ferror_unlocked.
17502
17503 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
17504
17505 [BZ #6889]
17506 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
17507
17508 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17509
17510 [BZ #22818]
17511 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
17512 the GLIBC_2.1 version.
17513
17514 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17515
17516 [BZ #21508]
17517 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
17518 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
17519 intl/tst-gettext-de.po from po/de.po by removing the
17520 POT-Creation-Date line.
17521 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
17522 ../po/de.po.
17523 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
17524 ../po/de.po.
17525
17526 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17527
17528 * mach/Makefile (headers): Add mach/param.h.
17529 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
17530 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
17531 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
17532 (__ptsname_r): Move implementation to...
17533 (__ptsname_internal): ... new function. Add filling the STP
17534 structure.
17535
17536 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
17537
17538 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
17539 idouble to 1 ULP.
17540
17541 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
17542
17543 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
17544 syntax.
17545
17546 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17547
17548 * nptl/Makefile (tst-mutex8-ENV): Delete.
17549 * nptl/tst-mutex8.c (check_type):
17550 Add runtime check if mutex will be elided.
17551
17552 2018-02-15 Joseph Myers <joseph@codesourcery.com>
17553
17554 [BZ #20980]
17555 [BZ #21234]
17556 * manual/install.texi (Configuring and compiling): Describe
17557 passing CC and CFLAGS on configure command line, not as
17558 environment variables. Use @code markup on those variables.
17559 Specify what options go in CC and what go in CFLAGS. Note the
17560 requirement to compile with optimization.
17561 * INSTALL: Regenerated.
17562
17563 [BZ #18124]
17564 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
17565 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
17566 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
17567 __sigprocmask instead of sigprocmask.
17568 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
17569 Likewise.
17570 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
17571 __sigsetjmp and sigprocmask.
17572
17573 [BZ #15105]
17574 * include/argz.h (argz_next): Use libc_hidden_proto.
17575 (__argz_next): Likewise.
17576 * string-argz-next.c (__argz_next): Use libc_hidden_def.
17577 (argz_next): Use libc_hidden_weak.
17578
17579 [BZ #15105]
17580 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
17581 libc_hidden_proto.
17582 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
17583 libc_hidden_def.
17584
17585 [BZ #15105]
17586 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
17587 libc_hidden_proto.
17588 * libio/iofputs.c (fputs): Use libc_hidden_weak.
17589
17590 [BZ #15105]
17591 [BZ #19463]
17592 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
17593 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
17594 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
17595 (__feof_unlocked): New declaration, and inline function if
17596 [__USE_EXTERN_INLINES].
17597 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
17598 instead of feof_unlocked.
17599 * intl/localealias.c [_LIBC] (FEOF): Likewise.
17600 * nss/nsswitch.c (nss_parse_file): Likewise.
17601 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
17602 Likewise.
17603 * time/getdate.c (__getdate_r): Likewise.
17604 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
17605 Define as macro to call __feof_unlocked.
17606
17607 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17608
17609 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
17610
17611 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17612
17613 * math/Makefile: Remove mpexp.c and mplog.c
17614 * sysdeps/i386/fpu/mpexp.c: Delete file.
17615 * sysdeps/i386/fpu/mplog.c: Likewise.
17616 * sysdeps/ia64/fpu/mpexp.c: Likewise.
17617 * sysdeps/ia64/fpu/mplog.c: Likewise.
17618 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
17619 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
17620 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
17621 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17622 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
17623 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
17624 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
17625 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
17626 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
17627 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17628 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
17629 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
17630 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17631 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
17632 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
17633 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17634
17635 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
17636
17637 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17638
17639 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17640
17641 * sysdeps/sh/libm-test-ulps: Update.
17642
17643 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17644
17645 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
17646 idouble to 1 ULP.
17647
17648 2018-02-12 Zack Weinberg <zackw@panix.com>
17649
17650 [BZ #19239]
17651 * posix/sys/types.h: Don't include sys/sysmacros.h.
17652 * misc/sys/sysmacros.h: Remove the conditional deprecation
17653 warnings for the macros defined by this header.
17654
17655 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17656
17657 * manual/probes.texi: Remove slowexp probes.
17658 * math/Makefile: Remove slowexp.
17659 * sysdeps/generic/math_private.h (__slowexp): Remove.
17660 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
17661 document error bounds.
17662 * sysdeps/i386/fpu/slowexp.c: Remove.
17663 * sysdeps/ia64/fpu/slowexp.c: Remove.
17664 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
17665 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
17666 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
17667 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
17668 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
17669 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
17670 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
17671 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
17672 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
17673 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
17674 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
17675
17676 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
17677
17678 [BZ #13932]
17679 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
17680 * benchtests/pow-inputs: Update comment for slow path cases.
17681 * manual/probes.texi (slowpow_p10): Delete removed probe.
17682 (slowpow_p10): Likewise.
17683 * math/Makefile: Remove halfulp.c and slowpow.c.
17684 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
17685 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
17686 (__halfulp): Remove.
17687 (__slowpow): Remove.
17688 * sysdeps/i386/fpu/halfulp.c: Delete file.
17689 * sysdeps/i386/fpu/slowpow.c: Likewise.
17690 * sysdeps/ia64/fpu/halfulp.c: Likewise.
17691 * sysdeps/ia64/fpu/slowpow.c: Likewise.
17692 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
17693 improve comments and add error analysis.
17694 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
17695 (power1): Remove function:
17696 (log1): Remove error argument, add error analysis.
17697 (my_log2): Remove function.
17698 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
17699 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17700 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
17701 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
17702 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
17703 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
17704 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
17705 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
17706 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
17707 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
17708 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
17709 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17710 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
17711 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17712
17713 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
17714
17715 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
17716 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
17717
17718 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
17719
17720 [BZ #22433]
17721 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
17722 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
17723 and PTRACE_SETHBPREGS.
17724
17725 2018-02-10 Zack Weinberg <zackw@panix.com>
17726
17727 [BZ #22830]
17728 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
17729 correctly.
17730 * malloc/tst-malloc-stats-cancellation.c: New test case.
17731 * malloc/Makefile: Add new test case.
17732
17733 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
17734
17735 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
17736
17737 2018-02-10 Joseph Myers <joseph@codesourcery.com>
17738
17739 * math/Makefile (libm-narrow-fns): Add add.
17740 (libm-test-funcs-narrow): Likewise.
17741 * math/Versions (GLIBC_2.28): Add narrowing add functions.
17742 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
17743 * math/gen-auto-libm-tests.c (test_functions): Add add.
17744 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
17745 (NARROW_ADD_ROUND_TO_ODD): Likewise.
17746 (NARROW_ADD_TRIVIAL): Likewise.
17747 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
17748 macro.
17749 (__daddl): Likewise.
17750 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
17751 dadd.
17752 (CFLAGS-nldbl-dadd.c): New variable.
17753 (CFLAGS-nldbl-fadd.c): Likewise.
17754 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17755 __nldbl_daddl.
17756 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
17757 prototype.
17758 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
17759 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
17760 * math/auto-libm-test-in: Add tests of add.
17761 * math/auto-libm-test-out-narrow-add: New generated file.
17762 * math/libm-test-narrow-add.inc: New file.
17763 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17764 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
17765 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
17766 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
17767 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
17768 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
17769 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
17770 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
17771 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
17772 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
17773 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
17774 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
17775 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
17776 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
17777 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
17778 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
17779 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
17780 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
17781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17782 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17783 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17784 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17785 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17786 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17787 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17788 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17789 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17790 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17791 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17792 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17793 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17794 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17799 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17800 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17801 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17802 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17803 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17804 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17805 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17806 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17807 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17808 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17809
17810 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
17811 (f128-pairs): New variable.
17812 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
17813 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
17814 to CFLAGS.
17815 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
17816 Also make tests add $(f128-loader-link) to gnulib-tests.
17817
17818 2018-02-09 DJ Delorie <dj@redhat.com>
17819
17820 [BZ #22827]
17821 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
17822 64-bit ELF type for 64-bit ELF objects.
17823
17824 2018-02-09 Joseph Myers <joseph@codesourcery.com>
17825
17826 * math/libm-test-driver.c (snan_tests_arg): New variable.
17827 * math/libm-test-support.h (snan_tests_arg): New declaration.
17828 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
17829
17830 * math/Makefile (test-type-pairs): New variable.
17831 (test-type-pairs-f64xf128-yes): Likewise.
17832 (tests): Add test-narrow-macros.
17833 (libm-test-funcs-narrow): New variable.
17834 (libm-test-c-narrow): Likewise.
17835 (generated): Add $(libm-test-c-narrow).
17836 (libm-tests-base-narrow): New variable.
17837 (libm-tests-narrow): Likewise.
17838 (libm-tests): Add $(libm-tests-narrow).
17839 (libm-tests-for-type): Handle $(libm-tests-narrow).
17840 (libm-test-c-narrow-obj): New variable.
17841 ($(libm-test-c-narrow-obj)): New rule.
17842 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
17843 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
17844 $(o-iterator) to set dependencies and CFLAGS.
17845 * math/gen-auto-libm-tests.c: Document use for narrowing
17846 functions.
17847 (output_for_one_input_case): Take argument NARROW.
17848 (generate_output): Likewise. Update call to
17849 output_for_one_input_case.
17850 (main): Take --narrow option. Update call to generate_output.
17851 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
17852 (apply_lit): Update call to _apply_lit.
17853 (apply_arglit): New function.
17854 (parse_args): Handle "a" arguments.
17855 (parse_auto_input): Handle format names using ":".
17856 * math/README.libm-test: Document "a" parameter type.
17857 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
17858 (ARG_TYPE_TRUE_MIN): Likewise.
17859 (ARG_TYPE_MAX): Likwise.
17860 (ARG_MIN_EXP): Likewise.
17861 (ARG_MAX_EXP): Likewise.
17862 (ARG_MANT_DIG): Likewise.
17863 (TEST_COND_arg_ibm128): Likewise.
17864 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
17865 (TEST_COND_arg_fmt): New macro.
17866 (init_max_error): Update prototype.
17867 * math/libm-test-support.c (test_ibm128): New variable.
17868 (init_max_error): Take argument testing_ibm128 and set test_ibm128
17869 instead of using [TEST_COND_ibm128] conditional.
17870 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
17871 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
17872 [TEST_NARROW] (TEST_MSG): New definition.
17873 (arg_plus_zero): New macro.
17874 (arg_minus_zero): Likewise.
17875 (arg_plus_infty): Likewise.
17876 (arg_minus_infty): Likewise.
17877 (arg_qnan_value_pl): Likewise.
17878 (arg_qnan_value): Likewise.
17879 (arg_snan_value_pl): Likewise.
17880 (arg_snan_value): Likewise.
17881 (arg_max_value): Likewise.
17882 (arg_min_value): Likewise.
17883 (arg_min_subnorm_value): Likewise.
17884 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
17885 (RUN_TEST_LOOP_aa_f): New macro.
17886 (TEST_SUFF): New macro.
17887 (TEST_SUFF_STR): Likewise.
17888 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
17889 (TEST_COND_any_ibm128): New macro.
17890 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
17891 this_func. Update call to init_max_error.
17892 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
17893 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
17894 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
17895 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
17896 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
17897 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
17898 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
17899 * math/test-math-scalar.h (TEST_NARROW): Likewise.
17900 * math/test-math-vector.h (TEST_NARROW): Likewise.
17901 * math/test-arg-double.h: New file.
17902 * math/test-arg-float128.h: Likewise.
17903 * math/test-arg-float32x.h: Likewise.
17904 * math/test-arg-float64.h: Likewise.
17905 * math/test-arg-float64x.h: Likewise.
17906 * math/test-arg-ldouble.h: Likewise.
17907 * math/test-math-narrow.h: Likewise.
17908 * math/test-narrow-macros.c: Likewise.
17909 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
17910 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
17911 test-narrow-macros-ldbl-64.
17912 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
17913
17914 * math/bits/mathcalls-narrow.h: New file.
17915 * include/bits/mathcalls-narrow.h: Likewise.
17916 * math/math-narrow.h: Likewise.
17917 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
17918 (__MATHCALL_NARROW_ARGS_2): Likewise.
17919 (__MATHCALL_NARROW_ARGS_3): Likewise.
17920 (__MATHCALL_NARROW_NORMAL): Likewise.
17921 (__MATHCALL_NARROW_REDIR): Likewise.
17922 (__MATHCALL_NARROW): Likewise.
17923 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
17924 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
17925 defined.
17926 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
17927 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
17928 (libm-narrow-fns): New variable.
17929 (libm-narrow-types-basic): Likewise.
17930 (libm-narrow-types-ldouble-yes): Likewise.
17931 (libm-narrow-types-float128-yes): Likewise.
17932 (libm-narrow-types-float128-alias-yes): Likewise.
17933 (libm-narrow-types): Likewise.
17934 (libm-routines): Add narrowing functions.
17935 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
17936 (libc_feholdexcept_setroundf128): New macro.
17937 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
17938 * sysdeps/ieee754/float128/float128_private.h: Include
17939 <math/math-narrow.h>.
17940 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
17941 Undefine and redefine.
17942 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
17943 (libm_alias_float_ldouble): Undefine and redefine.
17944 (libm_alias_double_ldouble): Likewise.
17945
17946 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
17947
17948 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
17949
17950 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
17951 FPCR/FPSR.
17952
17953 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
17954
17955 * manual/creature.texi: Convert references to gcc.info to gcc.
17956 * manual/stdio.texi: Likewise.
17957 * manual/string.texi: Likewise.
17958
17959 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17960
17961 [BZ #17979]
17962 * posix/bits/types.h (__int_least8_t): New typedef.
17963 (__uint_least8_t): Likewise.
17964 (__int_least16_t): Likewise.
17965 (__uint_least16_t): Likewise.
17966 (__int_least32_t): Likewise.
17967 (__uint_least32_t): Likewise.
17968 (__int_least64_t): Likewise.
17969 (__uint_least64_t): Likewise.
17970 * sysdeps/generic/stdint.h (int_least8_t): Define using
17971 __int_least8_t.
17972 (int_least16_t): Define using __int_least16_t.
17973 (int_least32_t): Define using __int_least32_t.
17974 (int_least64_t): Define using __int_least64_t.
17975 (uint_least8_t): Define using __uint_least8_t.
17976 (uint_least16_t): Define using __uint_least16_t.
17977 (uint_least32_t): Define using __uint_least32_t.
17978 (uint_least64_t): Define using __uint_least64_t.
17979 * wcsmbs/uchar.h: Include <bits/types.h>.
17980 (char16_t): Define using __uint_least16_t conditional only on
17981 [!__USE_ISOCXX11].
17982 (char32_t): Define using __uint_least32_t conditional only on
17983 [!__USE_ISOCXX11].
17984 * wcsmbs/test-char-types.c: New file.
17985 * wcsmbs/Makefile (tests): Add test-char-types.
17986
17987 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
17988 version to 4.0.1.
17989
17990 2018-02-07 Zack Weinberg <zackw@panix.com>
17991
17992 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
17993 Delete all contents except for definitions of _G_HAVE_MMAP and
17994 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
17995 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
17996 sysdeps/unix/sysv/linux/_G_config.h. Make same content
17997 change as above.
17998
17999 * libio/libio.h: Don't include bits/_G_config.h here.
18000 Include stddef.h with __need_wchar_t defined. Include
18001 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
18002 Define _IO_iconv_t here, directly.
18003 Don't define _IO_HAVE_ST_BLKSIZE.
18004 * libio/libioP.h: Include _G_config.h here. Move include of
18005 shlib-compat.h up with rest of includes. Simplify conditionals
18006 controlling definition of _IO_JUMPS_OFFSET.
18007
18008 * csu/init.c: Remove always-true #if around entire file.
18009 Don't include stdio.h. Set _IO_stdin_used to hardwired
18010 constant 0x20001, and update commentary.
18011 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
18012 Replace all uses of _G_va_list with __gnuc_va_list.
18013 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
18014 instead of #if _IO_HAVE_ST_BLKSIZE.
18015 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
18016 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
18017 not #ifdef.
18018
18019 * libio/bits/libio.h: Move back to libio/libio.h and adjust
18020 multiple-include guard to match.
18021 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
18022 into this file.
18023 Remove preprocessor conditionals that are always true and/or
18024 redundant to other preprocessor conditionals in the same nest.
18025 Include shlib-compat.h unconditionally.
18026 Error out if _LIBC is not defined, or if _ISOMAC is defined,
18027 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
18028 defined after including stdio.h.
18029 Use __BEGIN_DECLS/__END_DECLS.
18030
18031 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
18032 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
18033 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
18034
18035 2018-02-07 Zack Weinberg <zackw@panix.com>
18036
18037 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
18038 New single-type headers split from _G_config.h.
18039 * libio/bits/types/cookie_io_functions_t.h
18040 * libio/bits/types/struct_FILE.h
18041 New single-type headers split from libio.h.
18042
18043 * libio/Makefile: Install the above new headers. Don't install
18044 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
18045 bits/libio-ldbl.h.
18046 * libio/_G_config.h, libio/libio.h: Delete file.
18047
18048 * libio/bits/libio.h: Remove improper-inclusion guard.
18049 Include stdio.h and don't repeat anything that it does.
18050 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
18051 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
18052 __io_read_fn as cookie_read_function_t,
18053 __io_write_fn as cookie_write_function_t,
18054 __io_seek_fn as cookie_seek_function_t,
18055 __io_close_fn as cookie_close_function_t,
18056 and _IO_cookie_io_functions_t as cookie_io_functions_t.
18057 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
18058 here, in the "compatibility defines" section. Remove an #if 0
18059 block. Use the "body" macros from bits/types/struct_FILE.h to
18060 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
18061 and _IO_ferror_unlocked.
18062 Move prototypes of __uflow and __overflow...
18063
18064 * libio/stdio.h: ...here. Don't include bits/libio.h.
18065 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
18066 directly from stdarg.h. Include bits/types/__fpos_t.h,
18067 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
18068 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
18069 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
18070 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
18071 cookie_io_functions_t, not _IO_cookie_io_functions_t;
18072 __ssize_t, not _IO_ssize_t. Unconditionally define
18073 BUFSIZ as 8192 and EOF as (-1).
18074
18075 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
18076 macros from bits/types/struct_FILE.h instead of _IO_* macros
18077 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
18078 instead of _IO_ssize_t.
18079 * libio/bits/stdio2.h: Similarly.
18080
18081 * libio/iolibio.h: Add multiple-include guard.
18082 Include bits/libio.h after stdio.h.
18083 * libio/libioP.h: Add multiple-include guard.
18084 Include stdio.h and bits/libio.h before iolibio.h.
18085
18086 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
18087 * include/bits/types/cookie_io_functions_t.h
18088 * include/bits/types/struct_FILE.h: New wrappers.
18089
18090 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
18091 Get definitions of _G_fpos_t and _G_fpos64_t from
18092 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
18093 respectively. Remove improper-inclusion guards.
18094
18095 * conform/data/stdio.h-data: Update expectations of va_list.
18096 * scripts/check-installed-headers.sh: Remove special case for
18097 libio.h and _G_config.h.
18098
18099 2018-02-07 Joseph Myers <joseph@codesourcery.com>
18100
18101 [BZ #15105]
18102 [BZ #19463]
18103 * include/sys/sysmacros.h [!_ISOMAC]
18104 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
18105 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
18106 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
18107 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
18108 libc_hidden_proto.
18109 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
18110 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
18111 Likewise.
18112 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
18113 Undefine and redefine to add use __gnu_dev_ prefix.
18114 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
18115 Likewise.
18116 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
18117 and define as hidden inline function.
18118 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
18119 Likewise.
18120 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
18121 Likewise.
18122 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
18123 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
18124 (gnu_dev_minor): Likewise.
18125 (gnu_dev_makedev): Likewise.
18126 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
18127 makedev.
18128 * posix/wordexp.c (exec_comm_child): Likewise.
18129 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
18130 instead of minor and __gnu_dev_major instead of major.
18131 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
18132 __gnu_dev_major instead of major.
18133 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
18134 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
18135 instead of gnu_dev_minor.
18136 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
18137 (SLAVE_P): Likewise.
18138 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
18139 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
18140 instead of major.
18141
18142 [BZ #21313]
18143 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
18144 in another place.
18145 * locale/weightwc.h (findidx): Likewise.
18146
18147 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
18148
18149 * manual/probes.texi (slowlog): Delete documentation of removed probe.
18150 (slowlog_inexact): Likewise
18151 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
18152 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
18153
18154 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
18155
18156 [BZ #22797]
18157 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
18158 missing second underscore to parameter name.
18159
18160 2018-02-06 Joseph Myers <joseph@codesourcery.com>
18161
18162 [BZ #14508]
18163 [BZ #15512]
18164 [BZ #17082]
18165 [BZ #20530]
18166 * bits/byteswap.h: Update file comment. Do not include
18167 <bits/byteswap-16.h>.
18168 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
18169 constant.
18170 (__bswap_16): Define as inline function.
18171 (__bswap_constant_32): Reformat definition.
18172 (__bswap_32): Always define as inline function, not macro, using
18173 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
18174 otherwise __bswap_constant_32.
18175 (__bswap_constant_64): Reformat definition. Do not use
18176 __extension__ here.
18177 (__bswap_64): Always define as inline function, not macro. Use
18178 __extension__ on function definition. Use __builtin_bswap64 if
18179 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
18180 * string/test-endian-file-scope.c: New file.
18181 * string/test-endian-sign-conversion.c: Likewise.
18182 * string/Makefile (headers): Remove bits/byteswap-16.h.
18183 (tests): Add test-endian-file-scope and
18184 test-endian-sign-conversion.
18185 (CFLAGS-test-endian-sign-conversion.c): New variable.
18186 * bits/byteswap-16.h: Remove file.
18187 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
18188 * sysdeps/ia64/bits/byteswap.h: Likewise.
18189 * sysdeps/m68k/bits/byteswap.h: Likewise.
18190 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18191 * sysdeps/s390/bits/byteswap.h: Likewise.
18192 * sysdeps/tile/bits/byteswap.h: Likewise.
18193 * sysdeps/x86/bits/byteswap-16.h: Likewise.
18194 * sysdeps/x86/bits/byteswap.h: Likewise.
18195
18196 [BZ #17721]
18197 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
18198 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
18199 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
18200 199901L] (__restrict): Define to restrict.
18201
18202 [BZ #19667]
18203 * string/testcopy.c: Include <support/support.h>. Do not include
18204 <malloc.h>. Use <support/test-driver.c>.
18205 (main): Rename to do_test. Make static. Use xmalloc instead of
18206 malloc.
18207
18208 [BZ #13575]
18209 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
18210 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
18211 (SSIZE_MAX): Define to INT_MAX.
18212 * posix/test-ssize-max.c: New file.
18213 * posix/Makefile (tests): Add test-ssize-max.
18214
18215 [BZ #19668]
18216 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
18217 <support/support.h>. Do not include <malloc.h>.
18218 (query_auxv): Use xmalloc instead of malloc.
18219
18220 [BZ #14553]
18221 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
18222 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
18223 instead of loff_t.
18224
18225 2018-02-06 Florian Weimer <fweimer@redhat.com>
18226
18227 [BZ #18023]
18228 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18229 Use scratch_buffer instead of extend_alloca.
18230
18231 2018-02-06 Zack Weinberg <zackw@panix.com>
18232
18233 * libio/stdio.h: Don't define getc or putc as macros.
18234 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
18235 not _IO_getc and _IO_putc.
18236
18237 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
18238 * stdio-common/tstgetln.c: Don't redefine ssize_t.
18239
18240 2018-02-06 Joseph Myers <joseph@codesourcery.com>
18241
18242 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
18243 (TCP_FASTOPEN_NO_COOKIE): Likewise.
18244
18245 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
18246
18247 [BZ #14890]
18248 * elf/elf.h (NT_PRFPREG): New macro.
18249 (NT_S390_VXRS_LOW): Likewise.
18250 (NT_S390_VXRS_HIGH): Likewise.
18251 (NT_S390_GS_CB): Likewise.
18252 (NT_S390_GS_BC): Likewise.
18253 (NT_S390_RI_CB): Likewise.
18254
18255 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
18256 (MAP_SYNC): New macro.
18257 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
18258 Likewise.
18259 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
18260 (MAP_SYNC): Likewise.
18261 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
18262 (MAP_SYNC): Likewise.
18263 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
18264 (MAP_SYNC): Likewise.
18265 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
18266 (MAP_SYNC): Likewise.
18267 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
18268 (MAP_SYNC): Likewise.
18269 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
18270 (MAP_SYNC): Likewise.
18271 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
18272 Likewise.
18273 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
18274 Likewise.
18275
18276 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
18277 (MAP_SHARED_VALIDATE): New macro.
18278 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18279 (MAP_SHARED_VALIDATE): Likewise.
18280
18281 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18282
18283 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
18284 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
18285 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18286
18287 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18288
18289 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
18290 (DT_NUM): Updated to 35.
18291
18292 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18293
18294 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
18295 __builtin_expect with __glibc_likely and __glibc_unlikely.
18296 (elf_machine_rela): Likewise.
18297 (elf_machine_lazy_rel): Likewise.
18298
18299 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18300
18301 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
18302 __builtin_expect with __glibc_likely and __glibc_unlikely.
18303 (elf_machine_lazy_rel): Likewise.
18304
18305 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18306
18307 [BZ #22638]
18308 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
18309 SHARED.
18310 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
18311
18312 2018-02-05 Andreas Schwab <schwab@suse.de>
18313
18314 [BZ #22761]
18315 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
18316 string.
18317
18318 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18319
18320 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
18321 not check against PTHREAD_STACK_MIN.
18322
18323 2018-02-02 Sean McKean <smckean83@gmail.com>
18324
18325 [BZ #22735]
18326 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
18327
18328 2018-02-02 Florian Weimer <fweimer@redhat.com>
18329
18330 [BZ #22753]
18331 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
18332 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
18333 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
18334 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
18335 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
18336 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
18337 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
18338 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
18339 * manual/llio.texi (Scatter-Gather): Mention offset -1.
18340 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
18341 * misc/tst-preadvwritev2.c (do_test): Call it.
18342 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
18343
18344 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
18345
18346 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
18347
18348 * benchtests/bench-memcmp.c: Print json instead of plain text.
18349
18350 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
18351 every test run.
18352
18353 2018-02-01 Joseph Myers <joseph@codesourcery.com>
18354
18355 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18356 version to 4.15.
18357 (s390_sthyi): New syscall.
18358
18359 * sysdeps/generic/ldbl-classify-compat.h: New file.
18360 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
18361 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
18362 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
18363 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
18364 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
18365 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
18366 * sysdeps/ieee754/dbl-64/s_finite.c: Include
18367 <ldbl-classify-compat.h>.
18368 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18369 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
18370 <ldbl-classify-compat.h>.
18371 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18372 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
18373 <ldbl-classify-compat.h>.
18374 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18375 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
18376 <ldbl-classify-compat.h>.
18377 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18378 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
18379 <ldbl-classify-compat.h>.
18380 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18381 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
18382 <ldbl-classify-compat.h>.
18383 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18384 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
18385 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18386 * sysdeps/m68k/coldfire/math_private.h: Remove file.
18387 * sysdeps/microblaze/math_private.h: Likewise.
18388 * sysdeps/nios2/math_private.h: Likewise.
18389 * sysdeps/sh/math_private.h: Likewise.
18390
18391 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
18392 * sysdeps/m68k/coldfire/math_private.h: ... here.
18393 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
18394 * sysdeps/tile/math_private.h: Likewise.
18395 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
18396 Remove macro.
18397 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
18398 Likewise.
18399
18400 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
18401 Remove macro.
18402 (libc_fetestexcept): Likewise.
18403 (libc_feupdateenv_test): Likewise.
18404 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
18405 (libc_fetestexcept): Likewise.
18406 (libc_feupdateenv_test): Likewise.
18407 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
18408 (libc_fetestexcept): Likewise.
18409 (libc_feupdateenv_test): Likewise.
18410 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
18411 (libc_fetestexcept): Likewise.
18412 (libc_feupdateenv_test): Likewise.
18413
18414 * sysdeps/generic/math_private.h
18415 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
18416 New inline function.
18417 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
18418 Likewise.
18419
18420 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
18421 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
18422 * sysdeps/generic/math_private.h
18423 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
18424 inline function.
18425 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
18426 Likewise.
18427 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
18428 Likewise.
18429 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
18430 Likewise.
18431 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
18432 Likewise.
18433 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
18434 Likewise.
18435 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
18436 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
18437 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
18438 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
18439 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
18440 (__fegetenv): Likewise.
18441 (fesetenv): Likewise.
18442 (__fesetenv): Likewise.
18443 (feupdateenv): Likewise.
18444 (__feupdateenv): Likewise.
18445 (fegetround): Likewise.
18446 (__fegetround): Likewise.
18447 (fesetround): Likewise.
18448 (__fesetround): Likewise.
18449
18450 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
18451 (feraiseexcept): New macro.
18452 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
18453 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
18454 Remove macro.
18455 (__feraiseexcept): Likewise.
18456 (feclearexcept): Likewise.
18457 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
18458 (__feraiseexcept): Likewise.
18459 (feclearexcept): Likewise.
18460 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
18461 (__feraiseexcept): Likewise.
18462 (feclearexcept): Likewise.
18463 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
18464 (__feraiseexcept): Likewise.
18465 (feclearexcept): Likewise.
18466 (fetestexcept): Likewise.
18467
18468 * sysdeps/m68k/coldfire/math-tests.h: New file.
18469
18470 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
18471 * sysdeps/m68k/bits/fenv.h: ... here.
18472 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
18473 not define.
18474 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
18475 Likewise.
18476 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
18477 Likewise.
18478 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
18479 Likewise.
18480 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
18481 Likewise.
18482 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
18483 Define to 0.
18484 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
18485 (__FE_UNDEFINED): New enum constant.
18486 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
18487 Do not define.
18488 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
18489 Likewise.
18490 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
18491 Likewise.
18492 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
18493 to match generic bits/fenv.h.
18494 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
18495 Do not define.
18496
18497 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
18498 packed on bits.
18499 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
18500 * soft-fp/half.h (union _FP_UNION_H): Likewise.
18501 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
18502 * soft-fp/single.h (union _FP_UNION_S): Likewise.
18503
18504 2018-02-01 Carlos O'Donell <carlos@redhat.com>
18505 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
18506 Joseph Myers <joseph@codesourcery.com>
18507
18508 [BZ #21314]
18509 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
18510 (__log1p): Disable -Wmaybe-uninitialized for -Os around
18511 computation using c.
18512 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
18513 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
18514 computation using c.
18515
18516 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18517
18518 * version.h (RELEASE): Set to "development".
18519 (VERSION): Set to "2.27.9000".
18520 * NEWS (2.28): New section.
18521
18522 * version.h (RELEASE): Set to "stable".
18523 (VERSION): Set to "2.27".
18524 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
18525
18526 * NEWS: Add the list of bugs fixed in 2.27.
18527
18528 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18529
18530 * stdlib/test-atexit-race-common.c (do_test): Check stack size
18531 against PTHREAD_STACK_MIN.
18532
18533 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18534
18535 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
18536 New entries.
18537 (Rafal Luzynski, Andreas Schwab): Update.
18538
18539 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
18540
18541 [BZ #10871]
18542 * NEWS: List the languages which actually use the alternative
18543 months feature in this release. Also explain that "alt_mon" and
18544 "ab_alt_mon" are optional.
18545
18546 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
18547
18548 [BZ #22765]
18549 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
18550
18551 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
18552
18553 * manual/install.texi (Tools for Compilation): Update the newest
18554 versions of gcc, binutils, texinfo, gawk, bison, and sed.
18555 * INSTALL: Regenerated.
18556
18557 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18558
18559 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
18560 instead of __builtin_expect.
18561
18562 2018-01-30 Florian Weimer <fweimer@redhat.com>
18563
18564 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
18565 data.
18566 * nss/tst-nss-getpwent.c (do_test): Likewise.
18567
18568 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
18569
18570 [BZ #10871]
18571 * localedata/locales/hr_HR (mon): Rename to...
18572 (alt_mon): This.
18573 (mon): Import from CLDR (genitive case).
18574 (d_t_fmt): Update the comment.
18575
18576 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
18577
18578 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
18579 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
18580 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
18581
18582 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18583
18584 * mach/Versions: Fix version when __mach_host_self_ was added.
18585 * hurd/Versions: Fix version when _hurd_exec_paths was added.
18586 * sysdeps/mach/hurd/i386/ld.abilist: New file.
18587 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
18588 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
18589 * sysdeps/mach/hurd/i386/libc.abilist: New file.
18590 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
18591 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
18592 * sysdeps/mach/hurd/i386/libm.abilist: New file.
18593 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
18594 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
18595 * sysdeps/mach/hurd/i386/librt.abilist: New file.
18596 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
18597 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
18598 || to respect codestyle.
18599 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
18600 (do_test_bz20181): Rename accordingly.
18601 * malloc/malloc.c: Include <assert.h>.
18602 (assert): Do not define.
18603 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
18604 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
18605 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
18606 * sysdeps/mach/hurd/hp-timing.h: New file.
18607 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
18608
18609 2018-01-29 Darius Rad <darius@bluespec.com>
18610
18611 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
18612
18613 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
18614
18615 * sysdeps/init_array/crti.S (.section .init_array): Add
18616 PREINIT_FUNCTION when defined.
18617 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
18618 * config.h.in: Regenerate.
18619 * manual/platform.texi: Add RISC-V documenation for
18620 __riscv_flush_icache.
18621 * sysdeps/riscv/__longjmp.S: New file.
18622 * sysdeps/riscv/backtrace.c: Likewise.
18623 * sysdeps/riscv/bits/endian.h: Likewise.
18624 * sysdeps/riscv/bits/setjmp.h: Likewise.
18625 * sysdeps/riscv/bits/wordsize.h: Likewise.
18626 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
18627 * sysdeps/riscv/bsd-setjmp.c: Likewise.
18628 * sysdeps/riscv/dl-trampoline.S: Likewise.
18629 * sysdeps/riscv/gccframe.h: Likewise.
18630 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
18631 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
18632 * sysdeps/riscv/machine-gmon.h: Likewise.
18633 * sysdeps/riscv/memusage.h: Likewise.
18634 * sysdeps/riscv/setjmp.S: Likewise.
18635 * sysdeps/riscv/sys/asm.h: Likewise.
18636 * sysdeps/riscv/tls-macros.h: Likewise.
18637 * sysdeps/riscv/dl-tls.h: New file.
18638 * sysdeps/riscv/libc-tls.c: Likewise.
18639 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
18640 * sysdeps/riscv/nptl/tls.h: Likewise.
18641 * sysdeps/riscv/stackinfo.h: Likewise.
18642 * sysdeps/riscv/bits/fenv.h: New file.
18643 * sysdeps/riscv/e_sqrtl.c: Likewise.
18644 * sysdeps/riscv/fpu_control.h: Likewise.
18645 * sysdeps/riscv/math-tests.h: Likewise.
18646 * sysdeps/riscv/nofpu/Implies: Likewise.
18647 * sysdeps/riscv/sfp-machine.h: Likewise.
18648 * sysdeps/riscv/tininess.h: Likewise.
18649 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
18650 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
18651 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
18652 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
18653 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
18654 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
18655 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
18656 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
18657 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
18658 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
18659 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
18660 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
18661 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
18662 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
18663 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
18664 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
18665 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
18666 * sysdeps/riscv/rvd/s_finite.c: Likewise.
18667 * sysdeps/riscv/rvd/s_fma.c: Likewise.
18668 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
18669 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
18670 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
18671 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
18672 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
18673 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
18674 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
18675 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
18676 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
18677 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
18678 * sysdeps/riscv/rvf/fegetround.c: Likewise.
18679 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
18680 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
18681 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
18682 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
18683 * sysdeps/riscv/rvf/fesetround.c: Likewise.
18684 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
18685 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
18686 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
18687 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
18688 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
18689 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
18690 * sysdeps/riscv/rvf/math_private.h: Likewise.
18691 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
18692 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
18693 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
18694 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
18695 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
18696 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
18697 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
18698 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
18699 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
18700 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
18701 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
18702 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
18703 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
18704 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
18705 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
18706 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
18707 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
18708 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
18709 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
18710 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
18711 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
18712 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18713 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
18714 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
18715 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
18716 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
18717 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
18718 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
18719 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
18720 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
18721 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
18722 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
18723 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
18724 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
18725 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
18726 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
18727 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
18728 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
18729 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
18730 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
18731 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
18732 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
18733 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
18734 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
18735 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
18736 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
18737 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
18738 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
18739 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
18740 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
18741 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
18742 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
18743 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
18744 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
18745 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
18746 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
18747 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
18748 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
18749 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
18750 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
18751 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18752 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18753 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18754 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18755 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18756 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18757 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18758 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18759 * sysdeps/riscv/Implies: New file.
18760 * sysdeps/riscv/Makefile: Likewise.
18761 * sysdeps/riscv/configure: Likewise.
18762 * sysdeps/riscv/configure.ac: Likewise.
18763 * sysdeps/riscv/nptl/Makefile: Likewise.
18764 * sysdeps/riscv/preconfigure: Likewise.
18765 * sysdeps/riscv/rv64/Implies-after: Likewise.
18766 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
18767 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
18768 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
18769 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
18770 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
18771 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
18772 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
18773 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
18774 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
18775 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
18776 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
18777 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
18778 (Config): Likewise.
18779
18780 2018-01-29 Florian Weimer <fweimer@redhat.com>
18781
18782 [BZ #22701]
18783 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
18784 libnsl_hidden_proto.
18785 * include/rpcsvc/yp.h (yp_xdrall): Declare with
18786 libnsl_hidden_proto.
18787 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
18788 * nis/Makefile (libnsl-routines): Add nss-default only for
18789 build-obsolete-nsl.
18790 * nis/nis_defaults.c (__nis_default_ttl): Add
18791 libnsl_hidden_nolink_def.
18792 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
18793 declaration.
18794 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
18795 * nis/ypclnt.c (yp_maplist): Likewise.
18796
18797 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
18798
18799 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18800 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
18801
18802 2018-01-29 Joseph Myers <joseph@codesourcery.com>
18803
18804 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
18805 clean -dxfq for git updates when replacing sources.
18806
18807 * scripts/build-many-glibcs.py (Config.build_gcc): Use
18808 --disable-libcilkrts unconditionally, not just for the final GCC
18809 build for Hurd.
18810
18811 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18812 version to 4.15.
18813
18814 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18815
18816 [BZ #10871]
18817 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
18818 case).
18819
18820 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18821
18822 [BZ #10871]
18823 * localedata/locales/be_BY (mon): Rename to...
18824 (alt_mon): This, then synchronize with CLDR (nominative case).
18825 (abmon): Rename to...
18826 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18827 (mon): Import from CLDR (genitive case).
18828 (abmon): Likewise.
18829 * localedata/locales/be_BY@latin (mon): Rename to...
18830 (alt_mon): This.
18831 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
18832
18833 * localedata/locales/be_BY@latin (lang_name): Reworded to
18834 "biełaruskaja mova".
18835
18836 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18837
18838 [BZ #10871]
18839 * localedata/locales/el_CY (mon): Renamed to...
18840 (alt_mon): This.
18841 (mon): Import from CLDR (genitive case).
18842 * localedata/locales/el_GR: Likewise.
18843
18844 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18845
18846 [BZ #10871]
18847 * localedata/locales/ru_RU (mon): Rename to...
18848 (alt_mon): This.
18849 (abmon): Rename to...
18850 (ab_alt_mon): This.
18851 (mon): Import from CLDR (genitive case).
18852 (abmon): Copy from the old content except the 5th month which is
18853 now in the genitive case, even when abbreviated.
18854 * localedata/locales/ru_UA: Likewise.
18855 * time/tst-strptime.c (day_tests): Add an actual example of
18856 a difference between %b and %Ob in Russian.
18857
18858 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18859
18860 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
18861 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
18862 a `c' variable.
18863 * resolv/res-close.c: Include <stdlib.h>.
18864 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
18865 <sys/wait.h>, <time.h>, <sys/uio.h>.
18866 (NOT_CANCEL_H): Add inclusion guard.
18867 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
18868 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
18869 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
18870 return 0.
18871 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
18872 vm_address_t * to ElfW(Addr) * for dl_main parameter.
18873 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
18874 instead of void *.
18875 * sysdeps/pthread/timer_create.c (timer_create): Do not use
18876 timer_ptr2id to cast struct timer_node * to void *.
18877 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
18878 --disable-libcilkrts to gcc configure.
18879 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
18880 and make them the default for now.
18881 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
18882 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
18883 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
18884 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
18885 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
18886 MACH_IPC_COMPAT.
18887 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
18888 __task_terminate would ever return successfully.
18889 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
18890 to global scope.
18891 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
18892 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
18893 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
18894 critical section to make code simpler and avoid warning.
18895 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
18896 critical section to make code simpler and avoid warning.
18897 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
18898 const char * instead of char *.
18899 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
18900 __hurd_file_name_split, hurd_file_name_split,
18901 __hurd_directory_name_split, hurd_directory_name_split,
18902 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
18903 hurd_file_name_path_lookup): Make lookup function parameter take a
18904 const char *name instead of char *name.
18905 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
18906 __hurd_directory_name_split): Likewise.
18907 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
18908 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
18909 * sysdeps/mach/hurd/check_native.c: New file.
18910 * sysdeps/mach/hurd/check_pf.c: New file.
18911 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
18912 (__freeifaddrs): Define macro to freeifaddrs.
18913 * sysdeps/mach/hurd/libhurduser.abilist: New file.
18914 * sysdeps/mach/libmachuser.abilist: New file.
18915 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
18916 (do_test_bz20181): Rename accordingly.
18917 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
18918 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
18919 <sys/mount.h>.
18920 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
18921 version only if __USE_EXTERN_INLINES is defined.
18922 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
18923 __hurd_sockfail): Likewise.
18924 (_hurd_fd_get): Always declare functions, and provide inline versions
18925 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
18926 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
18927 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
18928 _hurd_port_set): Always declare functions, and provide inline versions
18929 only if __USE_EXTERN_INLINES and _LIBC are defined and
18930 IS_IN(libc).
18931 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
18932 _hurd_critical_section_unlock): Likewise.
18933 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
18934 * __hurd_threadvar_location): Likewise.
18935 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
18936 _hurd_userlink_clear): Likewise.
18937 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
18938 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
18939 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
18940 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
18941 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
18942 __spin_lock_locked): Likewise.
18943 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
18944 __spin_lock_locked): Likewise.
18945 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
18946 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
18947 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
18948 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
18949 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
18950 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
18951 _POSIX_NO_TRUNC): Define to 0.
18952 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
18953 check size against PTHREAD_STACK_MIN.
18954 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
18955 IS_IN(libpthread)]: Include <sigsetops.h>.
18956 * mach/Makefile (user-interfaces): Add mach/gnumach.
18957 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
18958 * sysdeps/mach/configure (mach_interface_list): Regenerate.
18959 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
18960 instead of invalid -1.
18961 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
18962 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
18963 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
18964 <net/ppp_defs.h>.
18965
18966 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
18967
18968 * hurd/fcntl-internal.h: New file.
18969
18970 2018-01-27 James Clarke <jrtc27@jrtc27.com>
18971
18972 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18973
18974 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18975
18976 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
18977
18978 [BZ #22701]
18979 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
18980 Build only shared objects.
18981
18982 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18983
18984 * README: Update for hppa.
18985
18986 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18987
18988 * sysdeps/sparc/fpu/libm-test-ulps: Update
18989 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
18990
18991 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18992
18993 Revert:
18994
18995 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18996
18997 [BZ #22563]
18998 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18999 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19000 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19001 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19002 to feature_1.
19003
19004 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19005
19006 [BZ #22563]
19007 * bits/types/__cancel_jmp_buf_tag.h: New file.
19008 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19009 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19010 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19011 * nptl/Makefile (headers): Add
19012 bits/types/__cancel_jmp_buf_tag.h.
19013 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19014 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19015 * sysdeps/nptl/pthread.h: Include
19016 <bits/types/__cancel_jmp_buf_tag.h>.
19017 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19018 __cancel_jmp_buf.
19019 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19020
19021 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
19022
19023 [BZ #10871]
19024 * localedata/locales/uk_UA (mon): Renamed to...
19025 (alt_mon): This.
19026 (alt_digits): "0" removed and then renamed to...
19027 (mon): This.
19028 (date_fmt): Definition changed not to use the alternative
19029 digits hack.
19030
19031 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
19032
19033 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
19034 FLAG_RISCV_FLOAT_ABI_DOUBLE.
19035 * elf/elf.h (EF_RISCV_RVC): New define.
19036 (EF_RISCV_FLOAT_ABI): Likewise.
19037 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
19038 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
19039 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19040 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
19041 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
19042 define.
19043 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19044
19045 2018-01-25 Andreas Schwab <schwab@suse.de>
19046
19047 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
19048 single quotes.
19049 * sysdeps/gnu/configure: Regenerate.
19050 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19051 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19053 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19054 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19055 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
19056 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19057 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19058
19059 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19060
19061 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
19062 URL, and run autoconf, make it the default for now.
19063
19064 2018-01-24 Joseph Myers <joseph@codesourcery.com>
19065
19066 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19067 soft-float ColdFire configuration.
19068
19069 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
19070 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
19071 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
19072
19073 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
19074 MicroBlaze file.
19075
19076 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
19077 ....
19078 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
19079 ... here.
19080 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
19081 New file.
19082
19083 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
19084 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
19085 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
19086 file.
19087
19088 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19089
19090 [BZ #22742]
19091 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
19092 Rename to __reserved and add comment.
19093 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
19094 Rename to __reserved.
19095
19096 2018-01-24 Joseph Myers <joseph@codesourcery.com>
19097
19098 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19099 i686-gnu configurations.
19100 (Context.run_builds): Include mig, gnumach and hurd in components
19101 considered.
19102 (Context.checkout): Add mig, gnumach and hurd to components.
19103 (Context.checkout_tar): Add URL mappings for mig, gnumach and
19104 hurd.
19105 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
19106 (Config.build): Install gnumach headers, build mig and install
19107 hurd headers for 'gnu' OS.
19108 (Config.install_gnumach_headers): New function.
19109 (Config.install_hurd_headers): Likewise.
19110 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
19111 when building for 'gnu' OS.
19112
19113 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
19114
19115 * manual/tunables.texi (Hardware Capability Tunables): Fix
19116 spelling.
19117
19118 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
19119
19120 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
19121 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
19122 (ALTMON_11, ALTMON_12): Improve documentation.
19123 * manual/time.texi (strftime): Likewise.
19124
19125 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19126
19127 [BZ #10871]
19128 * localedata/locales/pl_PL: Alternative month names added,
19129 primary month names are genitive now.
19130 * time/tst-strptime.c (day_tests): Actually use a genitive case
19131 of a month name in Polish language.
19132
19133 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19134
19135 [BZ #10871]
19136 * manual/locale.texi: Document ALTMON_1..12 constants for
19137 nl_langinfo. Specify when to use ALTMON instead of MON.
19138 * manual/time.texi (strftime, strptime): Document GNU extension
19139 permitting O modifier with %B and %b. Specify when to use
19140 %OB instead of %B.
19141
19142 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19143
19144 [BZ #10871]
19145 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
19146 names, define them as the same as abbreviated month names explicitly.
19147 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
19148 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
19149 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
19150 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
19151 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
19152 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
19153 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
19154 _NL_WABALTMON_12): New enum constants.
19155 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
19156 wab_alt_mon, and ab_alt_mon_defined members.
19157 (time_output): Output ab_alt_mon and wab_alt_mon members.
19158 (time_read): Read them, initialize them as copies of abmon and wabmon
19159 respectively if they are missing, initialize ab_alt_mon_defined.
19160 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
19161 * locale/programs/locfile-kw.h: Regenerate.
19162 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
19163 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
19164 and ru_RU.UTF-8.
19165 * time/strftime_l.c (a_altmonth, aam_len): New macros.
19166 [!COMPILE_WIDE] (ABALTMON_1): New macro.
19167 (__strftime_internal): Handle %Ob and %Oh formats.
19168 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
19169 (__strptime_internal): Handle %Ob and %Oh formats.
19170 * time/tst-strptime.c (day_tests): Add more tests to parse different
19171 forms of month names including the new %Ob format specifier.
19172
19173 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19174
19175 [BZ #10871]
19176 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
19177 define them as the same as primary full month names explicitly.
19178 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
19179 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
19180 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
19181 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
19182 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
19183 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
19184 _NL_WALTMON_12): New enum constants.
19185 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
19186 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
19187 macros.
19188 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
19189 walt_mon, and alt_mon_defined members.
19190 (time_output): Output alt_mon and walt_mon members.
19191 (time_read): Read them, initialize them as copies of mon and wmon
19192 respectively if they are missing, initialize alt_mon_defined.
19193 * locale/programs/locfile-kw.gperf (alt_mon): Define.
19194 * locale/programs/locfile-kw.h: Regenerate.
19195 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
19196 * localedata/tst-langinfo.c (map): Add tests for the new constants
19197 ALTMON_1 .. ALTMON_12.
19198 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
19199 and pl_PL.UTF-8.
19200 * time/strftime_l.c (f_altmonth): New macro.
19201 (__strftime_internal): Handle %OB format.
19202 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
19203 (__strptime_internal): Handle %OB format.
19204 * time/tst-strptime.c (day_tests): Add tests to parse different forms
19205 of month names including the new %OB format specifier.
19206
19207 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19208
19209 [BZ #22685]
19210 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
19211 from ABORT_TRANSACTION.
19212 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
19213 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
19214 ABORT_TRANSACTION_IMPL): Likewise.
19215 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
19216 Linux code, but remove the code that aborts transactions.
19217
19218 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19219
19220 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
19221
19222 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
19223
19224 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
19225 in date: "2004-14-09" should be "2004-09-14".
19226 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
19227 "2003-15-09" should be "2003-09-15".
19228
19229 2018-01-18 Arjun Shankar <arjun@redhat.com>
19230
19231 [BZ #22343]
19232 [BZ #22774]
19233 CVE-2018-6485
19234 CVE-2018-6551
19235 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
19236 after padding.
19237 (_int_memalign): check for integer overflow before calling
19238 _int_malloc.
19239 * malloc/tst-malloc-too-large.c: New test.
19240 * malloc/Makefile: Add tst-malloc-too-large.
19241
19242 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
19243
19244 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
19245 in date: "2017-24-07" should be "2017-07-24".
19246 * localedata/locales/mai_IN: Likewise.
19247 * localedata/locales/mai_NP: Likewise.
19248
19249 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
19250
19251 * po/ru.po: Update translations.
19252
19253 2018-01-17 Joseph Myers <joseph@codesourcery.com>
19254
19255 [BZ #22719]
19256 * sysdeps/hppa/backtrace.c: New file.
19257
19258 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
19259
19260 [BZ #22715]
19261 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
19262 align La_x86_64_retval to VEC_SIZE.
19263
19264 2018-01-16 Joseph Myers <joseph@codesourcery.com>
19265
19266 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
19267 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
19268
19269 2018-01-16 Florian Weimer <fweimer@redhat.com>
19270
19271 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
19272 Move tst-thread-exit-clobber ...
19273 [$(CXX)] (tests-unsupported): ... to here.
19274
19275 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19276
19277 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
19278 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
19279 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19280 (_dl_aarch64_cap_flags): Update.
19281 (_DL_HWCAP_COUNT): Update.
19282
19283 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19284
19285 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
19286 (_DL_HWCAP_LAST): Remove.
19287 (_DL_HWCAP_COUNT): Move to ...
19288 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19289 (_DL_HWCAP_COUNT): ... here.
19290
19291 2018-01-16 Florian Weimer <fweimer@redhat.com>
19292
19293 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
19294 mode with GNU extensions.
19295
19296 2018-01-15 Alan Hayward <alan.hayward@arm.com>
19297
19298 * elf/elf.h (NT_ARM_SVE): Define.
19299
19300 2018-01-15 Florian Weimer <fweimer@redhat.com>
19301
19302 [BZ #22636]
19303 * nptl/tst-minstack-throw.cc: New file.
19304 * nptl/Makefile (tests): Add tst-minstack-throw.
19305 (LDLIBS-tst-minstack-throw): Link with libstdc++.
19306 [!CXX] (tests-unsupported): Add tst-minstack-throw.
19307
19308 2018-01-15 Joseph Myers <joseph@codesourcery.com>
19309
19310 * scripts/build-many-glibcs.py (Context.checkout): Default
19311 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
19312 version to 1.1.0.
19313
19314 2018-01-13 Carlos O'Donell <carlos@redhat.com>
19315
19316 [BZ #22707]
19317 * elf/elf.h (DF_1_STUB): Define.
19318 (DF_1_PIE): Define.
19319
19320 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19321
19322 [BZ #22697]
19323 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
19324 Do not add 0.5 to integer or out-of-range arguments.
19325
19326 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19327
19328 * po/bg.po: Update translations.
19329 * po/cs.po: Likewise.
19330 * po/de.po: Likewise.
19331 * po/ko.po: Likewise.
19332 * po/pl.po: Likewise.
19333 * po/sv.po: Likewise.
19334 * po/uk.po: Likewise.
19335 * po/vi.po: Likewise.
19336
19337 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19338
19339 * aarch64/start.S (_start): Use __wrap_main.
19340 (__wrap_main): New local symbol.
19341
19342 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19343
19344 [BZ #22679]
19345 CVE-2018-1000001
19346 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
19347 generic_getcwd if the path returned by getcwd syscall is not absolute.
19348 * io/tst-getcwd-abspath.c: New test.
19349 * io/Makefile (tests): Add tst-getcwd-abspath.
19350
19351 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
19352
19353 * malloc/malloc.c (malloc_consolidate): Add size check.
19354
19355 2018-01-12 Florian Weimer <fweimer@redhat.com>
19356
19357 * support/write_message.c (write_message): Preserve errno.
19358 * support/check.c (print_failure): Likewise.
19359 * support/support_test_verify_impl.c (support_test_verify_impl):
19360 Likewise.
19361 * support/support_test_compare_failure.c
19362 (support_test_compare_failure): Likewise.
19363
19364 2018-01-12 Florian Weimer <fweimer@redhat.com>
19365
19366 [BZ #22701]
19367 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
19368 Prevent installation of libnsl.so.
19369 (libnsl-inhibit-o): Do not build (or install) static libraries.
19370
19371 2018-01-12 Egmont Koblinger <egmont@gmail.com>
19372
19373 [BZ #22657]
19374 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
19375 before the day number which may produce a double space.
19376 (date_fmt): Likewise.
19377
19378 2018-01-12 Joseph Myers <joseph@codesourcery.com>
19379
19380 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
19381 instead of fegetenv.
19382
19383 2018-01-11 Joseph Myers <joseph@codesourcery.com>
19384
19385 [BZ #22702]
19386 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
19387 comment to say exceptions are discarded.
19388 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
19389 __fegetenv.
19390 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
19391 be enabled.
19392
19393 2018-01-11 Florian Weimer <fweimer@redhat.com>
19394
19395 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
19396 and error message.
19397
19398 2018-01-11 Florian Weimer <fweimer@redhat.com>
19399
19400 [BZ #22636]
19401 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
19402 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
19403
19404 2018-01-10 Joseph Myers <joseph@codesourcery.com>
19405
19406 [BZ #22693]
19407 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
19408 negative arguments in test for NaN or infinity argument.
19409
19410 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
19411
19412 * po/libc.pot: Regenerate.
19413
19414 2018-01-10 Florian Weimer <fweimer@redhat.com>
19415
19416 [BZ #22636]
19417 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
19418 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
19419
19420 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19421
19422 * hurd/hurd/fd.h: Include <fcntl.h>
19423 (__hurd_at_flags): New function.
19424 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
19425 with call to __hurd_at_flags.
19426 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
19427 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
19428 __faccessat
19429 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
19430 (__access_noerrno): Use __faccessat_common instead of access_common.
19431 (__access): Likewise.
19432 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
19433 with a call to __faccessat.
19434 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
19435 (__faccessat_common): ... this. Move implementation of __access into it when
19436 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
19437 reauthenticate_cwdir_at helper to implement AT mechanism.
19438 (__faccessat_noerrno): New function, just calls __faccessat_common.
19439 (__faccessat): New function, just calls __faccessat_common.
19440 (faccessat): Define weak alias.
19441
19442 2018-01-10 Joseph Myers <joseph@codesourcery.com>
19443
19444 [BZ #22691]
19445 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19446 (CFLAGS-s_fmaxmagl.c): New variable.
19447 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
19448
19449 [BZ #22690]
19450 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
19451 long int for arguments of possibly overflowing addition or
19452 subtraction.
19453 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19454
19455 2018-01-09 Joseph Myers <joseph@codesourcery.com>
19456
19457 [BZ #22688]
19458 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19459 (CFLAGS-e_remainderl.c): New variable.
19460
19461 [BZ #22687]
19462 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
19463 variable.
19464 (CFLAGS-s_cacoshl.c): Likewise.
19465 (CFLAGS-s_casinhl.c): Likewise.
19466 (CFLAGS-s_catanl.c): Likewise.
19467 (CFLAGS-s_catanhl.c): Likewise.
19468 (CFLAGS-s_cexpl.c): Likewise.
19469 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
19470 (CFLAGS-s_csinhl.c): Likewise.
19471 (CFLAGS-s_clogl.c): Likewise.
19472 (CFLAGS-s_clog10l.c): Likewise.
19473 (CFLAGS-s_csinl.c): Likewise.
19474 (CFLAGS-s_csqrtl.c): Likewise.
19475
19476 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
19477 2017-01-09 Svante Signell <svante.signell@gmail.com>
19478
19479 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
19480 (_hurd_exec_paths): New function.
19481 * hurd/hurd.h (_hurd_exec): Deprecate function.
19482 (_hurd_exec_paths): Declare function.
19483 * hurd/Versions: Export _hurd_exec_paths.
19484 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
19485 (__execve): Use __getcwd to build absolute path, and use
19486 _hurd_exec_paths instead of _hurd_exec.
19487 * sysdeps/mach/hurd/spawni.c: Likewise.
19488 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
19489 _hurd_exec.
19490
19491 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
19492
19493 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
19494 test instead of failing in case of ENOENT returned by posix_openpt.
19495
19496 2018-01-08 Florian Weimer <fweimer@redhat.com>
19497
19498 resolv: Support binary labels in test framework.
19499 * support/resolv_test.c (struct to_be_freed): Remove.
19500 (struct compressed_name): New.
19501 (allocate_compressed_name, ascii_tolower)
19502 (compare_compressed_name): New functions.
19503 (struct resolv_response_builder): Update type of
19504 compression_offsets for use with tsearch. Rempve to_be_freed.
19505 (response_push_pointer_to_free): Remove function.
19506 (resolv_response_add_name): Rewrite using struct compressed_name
19507 and tsearch instead of hsearch_r.
19508 (response_builder_allocate): Remove initialization of
19509 compression_offsets.
19510 (response_builder_free): Update for removal of to_be_freed. Use
19511 tdestroy instead of hdestroy_r.
19512 * resolv/Makefile (tests): Add tst-resolv-binary.
19513 (tst-resolv-binary): Link with -lresolv -lpthread.
19514
19515 2018-01-08 Florian Weimer <fweimer@redhat.com>
19516
19517 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
19518 time. Pass positive flag instead of negative flag to
19519 support_test_compare_failure.
19520 (support_test_compare_failure): Change negative parameter to
19521 positive.
19522 * support/support_test_compare_failure.c (report)
19523 (support_test_compare_failure): Likewise.
19524 * support/tst-test_compare.c (return_ssize_t, return_int): New.
19525 (do_test): Check int/size_t, ssize_t/size_t comparisons.
19526
19527 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
19528
19529 [BZ #22637]
19530 * nptl/descr.h (stackblock, stackblock_size): Update comments.
19531 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
19532 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
19533 stacksize.
19534 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19535
19536 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
19537
19538 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19539 Add s_sincosf-sse2 and s_sincosf-fma.
19540 (CFLAGS-s_sincosf-fma.c): New.
19541 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
19542 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
19543 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
19544 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
19545 __sincosf is defined.
19546
19547 2018-01-08 Florian Weimer <fweimer@redhat.com>
19548
19549 * nptl/tst-thread-exit-clobber.cc: New file.
19550 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
19551 C++11 mode.
19552 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
19553 (tests): Add tst-thread-exit-clobber.
19554 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
19555
19556 2018-01-08 Florian Weimer <fweimer@redhat.com>
19557
19558 * support/check.h (support_static_assert): Define.
19559 (TEST_COMPARE): Use it.
19560
19561 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
19562
19563 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
19564 [!__RLIM_T_MATCHES_RLIM64_T]
19565 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
19566 __getrlimit64. Add libc_hidden_weak.
19567
19568 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
19569
19570 * elf/elf.h (R_RISCV_NONE): New define.
19571 (R_RISCV_32): Likewise.
19572 (R_RISCV_64): Likewise.
19573 (R_RISCV_RELATIVE): Likewise.
19574 (R_RISCV_COPY): Likewise.
19575 (R_RISCV_JUMP_SLOT): Likewise.
19576 (R_RISCV_TLS_DTPMOD32): Likewise.
19577 (R_RISCV_TLS_DTPMOD64): Likewise.
19578 (R_RISCV_TLS_DTPREL32): Likewise.
19579 (R_RISCV_TLS_DTPREL64): Likewise.
19580 (R_RISCV_TLS_TPREL32): Likewise.
19581 (R_RISCV_TLS_TPREL64): Likewise.
19582 * Makerules (make-link-multidir): Make directories before linking into
19583 them.
19584 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
19585 define.
19586 (VDSO_HASH_LINUX_4_15): Likewise.
19587 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
19588 in subdirectories of lib.
19589 * nptl/Makefile (/librt.so): Always depend on
19590 "$(shared-thread-library)".
19591
19592 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19593
19594 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
19595 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
19596 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
19597 (___tls_get_addr).
19598 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
19599 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
19600 "-O2 -march=i686".
19601 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
19602 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
19603 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
19604 * sysdeps/gnu/glob-lstat-compat.c: New file.
19605 * sysdeps/gnu/glob64-lstat-compat.c: New file.
19606 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
19607
19608 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19609
19610 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
19611 Reserve 16 chars to reloc_addr before calling _itoa_word.
19612
19613 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19614
19615 [BZ #22678]
19616 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
19617 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
19618
19619 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
19620 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
19621
19622 * resource/tst-getrlimit.c: Add copyright header.
19623
19624 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19625 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19626
19627 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19628 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
19629 Define __GI_getrlimit64 as weak alias of __getrlimit64.
19630 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
19631 instead.
19632 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19633 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
19634 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
19635 RLIM64_INFINITY): Fix values to match the kernel ones.
19636 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
19637 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
19638 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
19639 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
19640 getrlimit64@@GLIBC_2_27.
19641 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
19642 and setrlimit64.
19643 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
19644 getrlimit, setrlimit, getrlimit64 and setrlimit64.
19645 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
19646 setrlimit, getrlimit64 and setrlimit64.
19647
19648 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19649
19650 [BZ #22648]
19651 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
19652 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
19653
19654 2018-01-04 Joseph Myers <joseph@codesourcery.com>
19655
19656 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
19657 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
19658 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
19659
19660 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19661
19662 [BZ #15479]
19663 [BZ #22666]
19664 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
19665 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
19666
19667 [BZ #15479]
19668 [BZ #22665]
19669 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
19670 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
19671 * sysdeps/alpha/fpu/s_floor.c: Likewise.
19672 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
19673
19674 2018-01-04 Florian Weimer <fweimer@redhat.com>
19675
19676 [BZ #22667]
19677 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19678 Align the stack before calling exit.
19679 * stdlib/tst-makecontext-align.c: New file.
19680 * stdlib/Makefile (tests): Add tst-makecontext-align.
19681
19682 2018-01-04 Florian Weimer <fweimer@redhat.com>
19683
19684 Add support for calling dlvsym from libc.so.
19685 * include/dlfcn.h (__libc_dlvsym): Declare.
19686 * elf/Makefile (tests-static-internal): Add
19687 tst-libc_dlvsym-static.
19688 (tests-internal): Add tst-libc_dlvsym.
19689 (modules-names): Add tst-libc_dlvsym-dso.
19690 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
19691 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
19692 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
19693 object tst-libc_dlvsym-dso.so needs to be built before running
19694 these tests.
19695 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
19696 * elf/Versions: Export __libc_dlvsym.
19697 * elf/dl-libc.c (struct do_dlvsym_args): New.
19698 (do_dlvsym, __libc_dlvsym): New functions.
19699 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
19700 (_dl_open_hook2): New variable.
19701 (__libc_register_dl_open_hook): Set it.
19702 * elf/tst-libc_dlvsym-dso.c: New file.
19703 * elf/tst-libc_dlvsym-static.c: Likewise.
19704 * elf/tst-libc_dlvsym.c: Likewise.
19705 * elf/tst-libc_dlvsym.h: Likewise.
19706
19707 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19708
19709 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
19710 include <sys/mount.h>.
19711
19712 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
19713
19714 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
19715 Add __NO_MATH_ERRNO__ check.
19716
19717 2018-01-02 Joseph Myers <joseph@codesourcery.com>
19718
19719 * sysdeps/mips/mips32/libm-test-ulps: Update.
19720 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19721
19722 2018-01-02 Florian Weimer <fweimer@redhat.com>
19723
19724 * misc/tst-pselect.c: Add copyright header.
19725
19726 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19727
19728 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
19729 comment.
19730 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
19731 comment.
19732 (settrlimit): Rename into setrlimit.
19733 (__sttrlimit): Rename into __setrlimit.
19734
19735 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
19736 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
19737 never defined in that case.
19738
19739 2018-01-02 Joseph Myers <joseph@codesourcery.com>
19740
19741 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
19742
19743 * sysdeps/arm/libm-test-ulps: Update.
19744
19745 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
19746 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
19747
19748 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19749
19750 * NEWS: Add cosf and sincosf to list of optimized functions.
19751
19752 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19753
19754 [BZ #22660]
19755 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
19756 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
19757 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
19758 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
19759
19760 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
19761
19762 [BZ #22433]
19763 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
19764
19765 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
19766 making a copy of it.
19767
19768 2018-01-01 Joseph Myers <joseph@codesourcery.com>
19769
19770 * manual/texinfo.tex: Update to version 2017-12-26.21 with
19771 trailing whitespace removed.
19772 * scripts/config.guess: Update to version 2018-01-01.
19773 * scripts/config.sub: Update to version 2018-01-01.
19774 * scripts/move-if-change: Update from gnulib.
19775
19776 * NEWS: Update copyright dates.
19777 * catgets/gencat.c (print_version): Likewise.
19778 * csu/version.c (banner): Likewise.
19779 * debug/catchsegv.sh: Likewise.
19780 * debug/pcprofiledump.c (print_version): Likewise.
19781 * debug/xtrace.sh (do_version): Likewise.
19782 * elf/ldconfig.c (print_version): Likewise.
19783 * elf/ldd.bash.in: Likewise.
19784 * elf/pldd.c (print_version): Likewise.
19785 * elf/sotruss.sh: Likewise.
19786 * elf/sprof.c (print_version): Likewise.
19787 * iconv/iconv_prog.c (print_version): Likewise.
19788 * iconv/iconvconfig.c (print_version): Likewise.
19789 * locale/programs/locale.c (print_version): Likewise.
19790 * locale/programs/localedef.c (print_version): Likewise.
19791 * login/programs/pt_chown.c (print_version): Likewise.
19792 * malloc/memusage.sh (do_version): Likewise.
19793 * malloc/memusagestat.c (print_version): Likewise.
19794 * malloc/mtrace.pl: Likewise.
19795 * manual/libc.texinfo: Likewise.
19796 * nptl/version.c (banner): Likewise.
19797 * nscd/nscd.c (print_version): Likewise.
19798 * nss/getent.c (print_version): Likewise.
19799 * nss/makedb.c (print_version): Likewise.
19800 * posix/getconf.c (main): Likewise.
19801 * scripts/test-installation.pl: Likewise.
19802 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19803
19804 * All files with FSF copyright notices: Update copyright dates
19805 using scripts/update-copyrights.
19806 * locale/programs/charmap-kw.h: Regenerated.
19807 * locale/programs/locfile-kw.h: Likewise.
19808
19809 2017-12-31 Zack Weinberg <zackw@panix.com>
19810
19811 * libio/bits/libio-ldbl.h: Correct check for improper
19812 inclusion. Add own multiple include guard.
19813
19814 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
19815 Dmitry V. Levin <ldv@altlinux.org>
19816
19817 [BZ #22625]
19818 CVE-2017-16997
19819 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
19820 string token expansion. Check for NULL pointer or empty string possibly
19821 returned by expand_dynamic_string_token.
19822 (decompose_rpath): Check for empty path after dynamic string
19823 token expansion.
19824
19825 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
19826
19827 [BZ #22433]
19828 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
19829
19830 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
19831 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
19832 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
19833 and PTRACE_SYSCALL.
19834 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
19835 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19836 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19837 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19838 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19839 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19840
19841 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
19842 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19843 __ptrace_peeksiginfo_flags, ptrace): Move to ...
19844 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
19845 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19846 bits/ptrace-shared.h.
19847 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
19848 <bits/ptrace-shared.h>.
19849 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19850 __ptrace_peeksiginfo_flags, ptrace): Remove.
19851 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19852 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19853 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19854 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19855 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19856
19857 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19858
19859 [BZ #17804]
19860 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
19861 end of the loop. Improve comments.
19862
19863 2017-12-29 Zack Weinberg <zackw@panix.com>
19864
19865 [BZ #22615]
19866 * manual/errno.texi (Checking for Errors): Explicitly say that errno
19867 might be set on success.
19868
19869 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19870
19871 [BZ #22611]
19872 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
19873 is unchanged on success.
19874
19875 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
19876
19877 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
19878 updated.
19879 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
19880 expand_dynamic_string_token): Likewise.
19881 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
19882 is_path argument.
19883
19884 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
19885 contains ':'.
19886
19887 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
19888 is set and name contains ':', and all code depending on these checks.
19889
19890 2017-12-24 Zack Weinberg <zackw@panix.com>
19891
19892 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
19893 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
19894 respectively.
19895 * libio/libio.h: Rename the original version of this file to
19896 libio/bits/libio.h. Error out if not included by stdio.h or the
19897 stub libio.h.
19898 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
19899 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
19900 if not included by bits/libio.h or the stub _G_config.h.
19901 * sysdeps/unix/sysv/linux/_G_config.h: Move to
19902 sysdeps/unix/sysv/linux/bits. Error out if not included by
19903 bits/libio.h or the stub _G_config.h.
19904 * libio/stdio.h: Include bits/libio.h, not libio.h.
19905 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
19906 well as libio.h and _G_config.h.
19907
19908 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
19909 * libio/strfile.h, stdio-common/vfscanf.c
19910 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
19911 Include stdio.h, not _G_config.h nor libio.h.
19912 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
19913 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
19914
19915 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
19916
19917 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
19918
19919 [BZ #22347]
19920 * stdlib/getrandom.c (getrandom): Fix comment.
19921 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
19922
19923 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
19924
19925 [BZ #21161]
19926 * manual/arith.texi (strtoul): Fix a typo.
19927
19928 [BZ #22596]
19929 * manual/arith.texi (finite): Fix the description of the return
19930 value.
19931
19932 2017-12-22 Eric Blake <ebb9@byu.net>
19933
19934 Avoid gcc warnings on cygwin
19935 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
19936 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
19937 Avoid unused variable.
19938
19939 2017-12-22 Florian Weimer <fweimer@redhat.com>
19940
19941 * io/Makefile (routines): Add copy_file_range.
19942 (tests): Add tst-copy_file_range.
19943 (tests-static, tests-internal): Add tst-copy_file_range-compat.
19944 * io/Versions (GLIBC_2.27): Export copy_file_range.
19945 * io/copy_file_range-compat.c: New file.
19946 * io/copy_file_range.c: Likewise.
19947 * io/tst-copy_file_range-compat.c: Likewise.
19948 * io/tst-copy_file_range.c: Likewise.
19949 * manual/llio.texi (Copying File Data): New section.
19950 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
19951 * support/Makefile (libsupport-routines): Add support-xfstat,
19952 xftruncate, xlseek.
19953 * support/support-xfstat.c: New file.
19954 * support/xftruncate.c: Likewise.
19955 * support/xlseek.c: Likewise.
19956 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
19957 * sysdeps/unix/sysv/linux/**.abilist: Update.
19958 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
19959
19960 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
19961
19962 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19963 disable-multi-arch variant to aarch64-linux-gnu.
19964
19965 2017-12-20 Joseph Myers <joseph@codesourcery.com>
19966
19967 * manual/texinfo.tex: Update to version 2017-12-18.20 with
19968 trailing whitespace removed.
19969 * scripts/config.guess: Update to version 2017-12-17.
19970 * scripts/config.sub: Update to version 2017-11-23.
19971 * scripts/install-sh: Update to version 2017-09-23.17.
19972 * scripts/move-if-change: Update to version 2017-09-13 06:45.
19973
19974 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19975
19976 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
19977 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19978 * sysdeps/tile/_mcount.S (__mcount): Likewise.
19979 * sysdeps/tile/crti.S (_init, _fini): Likewise.
19980 * sysdeps/tile/crtn.S: Likewise.
19981 * sysdeps/tile/dl-start.S (_start): Likewise.
19982 * sysdeps/tile/dl-trampoline.S: Likewise.
19983 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
19984 * sysdeps/tile/start.S (_start): Likewise.
19985 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
19986 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
19987 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
19988 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
19989 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
19990 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
19991 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
19992
19993 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
19994 comment.
19995 * sysdeps/tile/preconfigure: Remove tilegx folder.
19996 * sysdeps/tile/tilegx/Implies: Move definitions to ...
19997 * sysdeps/tile/Implies: ... here.
19998 * sysdeps/tile/tilegx/Makefile: Move rules to ...
19999 * sysdeps/tile/Makefile: ... here.
20000 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
20001 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
20002 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
20003 * sysdeps/tile/bits/wordsize.h: ... here.
20004 * sysdeps/tile/tilegx/*: Move to ...
20005 * sysdeps/tile/*: ... here.
20006 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
20007 * sysdeps/tile/tilegx32/Implies: ... here.
20008 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
20009 * sysdeps/tile/tilegx64/Implies: ... here.
20010 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
20011 to ...
20012 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20013 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
20014 * sysdeps/unix/sysv/linux/tile/*: ... here.
20015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
20016 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
20017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
20018 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
20019
20020 * README: Remove tilepro-*-linux-gnu from supported architecture.
20021 * scripts/build-many-glibcs.py: Likewise.
20022 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20023 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
20024 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
20025 elf_machine_matches_host, elf_machine_dynamic,
20026 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
20027 howto, elf_machine_rela): Likewise.
20028 * sysdeps/tile/dl-start.S (_start): Likewise.
20029 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
20030 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
20031 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
20032 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
20033 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
20034 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20035 Likewise.
20036 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
20037 * sysdeps/tile/preconfigure: Likewise.
20038 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
20039 POINTER_CHK_GUARD): Likewise.
20040 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
20041 * sysdeps/tile/start.S (_start): Likewise.
20042 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
20043 Likewise.
20044 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
20045 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
20046 CMOVNEZ): Remove.
20047 * sysdeps/unix/sysv/linux/tile/bits/environments.h
20048 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
20049 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
20050 Likewise.
20051 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
20052 * sysdeps/tile/tilepro/Implies: Remove file.
20053 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
20054 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
20055 * sysdeps/tile/tilepro/memchr.c: Likewise.
20056 * sysdeps/tile/tilepro/memcpy.S: Likewise.
20057 * sysdeps/tile/tilepro/memset.c: Likewise.
20058 * sysdeps/tile/tilepro/memusage.h: Likewise.
20059 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
20060 * sysdeps/tile/tilepro/strchr.c: Likewise.
20061 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
20062 * sysdeps/tile/tilepro/strlen.c: Likewise.
20063 * sysdeps/tile/tilepro/strrchr.c: Likewise.
20064 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
20065 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
20066 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
20067 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
20068 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
20069 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20070 Likewise.
20071 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
20072 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20073 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
20074 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
20075 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20076 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
20077 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
20078 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
20079 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
20080 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
20081 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
20082 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
20083 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
20084 tilepro mention in comment.
20085
20086 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
20087 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
20088 * nptl/pthread_join_common.c: New file: common function used on
20089 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
20090 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
20091 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
20092 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20093 (cleanup): Move definition to pthread_join_common.c.
20094 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
20095 Remove superflous checks.
20096 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
20097 Likewise.
20098
20099 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
20100
20101 * sysdeps/aarch64/libm-test-ulps: Update.
20102
20103 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20104
20105 * sysdeps/aarch64/memset.S (MEMSET): Define.
20106
20107 2017-12-20 Florian Weimer <fweimer@redhat.com>
20108
20109 [BZ #22635]
20110 nptl: Provide full implementation of pthread_self in libc.so.
20111 * nptl/Makefile (routines): Add pthread_self.
20112 (libpthread-routines): Replace pthread_self with
20113 compat-pthread_self.
20114 * nptl/forward.c (pthread_self): Remove.
20115 * nptl/nptl-init.c (pthread_functions): Do not initialize
20116 ptr_pthread_self.
20117 * nptl/pthread_self.c (pthread_self): Remove weak alias.
20118 * nptl/compat-pthread_self.c: New file.
20119 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
20120 Remove ptr_pthread_self.
20121
20122 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
20123
20124 * posix/regcomp.c: Fix spelling in comments.
20125 * posix/regex.h: Likewise.
20126 * posix/regex_internal.c: Likewise.
20127 * posix/regexec.c: Likewise.
20128
20129 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
20130
20131 [BZ #22377]
20132 * math/Makefile [C++] (tests): Add test for iseqsig.
20133 * math/math.h [C++] (iseqsig): New implementation, which does
20134 not rely on __MATH_TG/__builtin_types_compatible_p.
20135 * math/test-math-iseqsig.cc: New file.
20136 * sysdeps/powerpc/powerpc64le/Makefile
20137 (CFLAGS-test-math-iseqsig.cc): New variable.
20138
20139 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
20140
20141 * elf/dl-load.c (is_trusted_path): Remove.
20142 (fillin_rpath): Remove check_trusted argument and its use,
20143 all callers changed.
20144
20145 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20146
20147 [BZ #22630]
20148 * Makeconfig (link-pie-before-libc): Replace -pie with
20149 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
20150 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
20151 (tst-dlopen-aout-no-pie): New.
20152 (LDFLAGS-tst-prelink): Removed.
20153 (tst-prelink-no-pie): New.
20154 (LDFLAGS-tst-main1): Removed.
20155 (tst-main1-no-pie): New.
20156 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
20157 (tst-gmon-no-pie): New.
20158
20159 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20160
20161 * manual/install.texi: Document that --enable-static-pie
20162 implies PIE.
20163 * INSTALL: Regenerated.
20164
20165 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
20166
20167 [BZ #21309]
20168 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
20169 unsigned.
20170
20171 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20172
20173 Revert:
20174
20175 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20176
20177 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20178
20179 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20180
20181 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20182 <errno.h>. Include "eexp.tbl".
20183 (half): New constant.
20184 (one): Likewise.
20185 (__ieee754_exp): Rewrite.
20186 (__slowexp): Remove prototype.
20187 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20188 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20189 * sysdeps/i386/fpu/slowexp.c: Likewise.
20190 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20191 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20192 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20193 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20194 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20195 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20196 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20197 comment.
20198 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20199 (CPPFLAGS-slowexp.c): Remove variable.
20200 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20201 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20202 (CFLAGS-slowexp-fma.c): Remove variable.
20203 (CFLAGS-slowexp-fma4.c): Likewise.
20204 (CFLAGS-slowexp-avx.c): Likewise.
20205 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20206 define as macro.
20207 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20208 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20209 * math/Makefile (type-double-routines): Remove slowexp.
20210 * manual/probes.texi (slowexp_p6): Remove.
20211 (slowexp_p32): Likewise.
20212
20213 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20214
20215 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
20216 arithmetic.
20217
20218 * lib/glob.c (glob): Do not pass NULL to mempcpy.
20219
20220 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20221
20222 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20223
20224 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20225
20226 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20227 <errno.h>. Include "eexp.tbl".
20228 (half): New constant.
20229 (one): Likewise.
20230 (__ieee754_exp): Rewrite.
20231 (__slowexp): Remove prototype.
20232 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20233 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20234 * sysdeps/i386/fpu/slowexp.c: Likewise.
20235 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20236 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20237 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20238 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20239 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20240 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20241 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20242 comment.
20243 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20244 (CPPFLAGS-slowexp.c): Remove variable.
20245 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20246 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20247 (CFLAGS-slowexp-fma.c): Remove variable.
20248 (CFLAGS-slowexp-fma4.c): Likewise.
20249 (CFLAGS-slowexp-avx.c): Likewise.
20250 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20251 define as macro.
20252 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20253 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20254 * math/Makefile (type-double-routines): Remove slowexp.
20255 * manual/probes.texi (slowexp_p6): Remove.
20256 (slowexp_p32): Likewise.
20257
20258 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20259 James Clarke <jrtc27@jrtc27.com>
20260
20261 [BZ #22603]
20262 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
20263 addition.
20264
20265 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20266
20267 [BZ #22605]
20268 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
20269 code.
20270
20271 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20272
20273 [BZ #22563]
20274 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20275 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20276 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20277 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20278 to feature_1.
20279
20280 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20281
20282 [BZ #22563]
20283 * bits/types/__cancel_jmp_buf_tag.h: New file.
20284 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20285 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20286 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20287 * nptl/Makefile (headers): Add
20288 bits/types/__cancel_jmp_buf_tag.h.
20289 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20290 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20291 * sysdeps/nptl/pthread.h: Include
20292 <bits/types/__cancel_jmp_buf_tag.h>.
20293 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20294 __cancel_jmp_buf.
20295 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20296
20297 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20298
20299 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20300 --enable-static-pie variants to x86_64, x32 and i686.
20301
20302 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20303
20304 [BZ #22631]
20305 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
20306 argument for attrubutes. All callers changed.
20307 (__inline_mathop1): Likewise. All callers changed.
20308 (__inline_mathop): Likewise. All callers changed.
20309 [__USE_MISC] (scalbn): Use __inline_forward instead of
20310 __inline_forward_c.
20311 [__USE_ISOC99] (scalbln): Likewise.
20312 [__USE_ISOC99] (nearbyint): Likewise.
20313 [__USE_ISOC99] (lrint): Likewise.
20314 [__USE_MISC] (scalbnf): Likewise.
20315 [__USE_ISOC99] (scalblnf): Likewise.
20316 [__USE_ISOC99] (nearbyintf): Likewise.
20317 [__USE_ISOC99] (lrintf): Likewise.
20318 [__USE_MISC] (scalbnl): Likewise.
20319 [__USE_ISOC99] (scalblnl): Likewise.
20320 [__USE_ISOC99] (nearbyintl): Likewise.
20321 [__USE_ISOC99] (lrintl): Likewise.
20322 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
20323 __inline_mathop and __m81_defun changed.
20324
20325 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
20326 CPU or FPU for ARM hard-float configurations.
20327
20328 2017-12-18 Joseph Myers <joseph@codesourcery.com>
20329
20330 * nptl/tst-attr3.c: Include <libc-diag.h>.
20331 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
20332
20333 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
20334
20335 * string/tester.c (test_strncat): Also disable -Warray-bounds
20336 warnings for two tests.
20337
20338 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20339
20340 [BZ #22614]
20341 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
20342 $(cc-pie-default) == yes.
20343 * config.make.in (cc-pie-default): New.
20344 * configure.ac (libc_cv_pie_default): Renamed to ...
20345 (libc_cv_cc_pie_default): This.
20346 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
20347 * configure: Regenerated.
20348
20349 2017-12-18 Florian Weimer <fweimer@redhat.com>
20350
20351 [BZ #20204]
20352 ld.so: Harden dl-libc/libdl hooks.
20353 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
20354 (rtld_active): New function.
20355 * dlfcn/dladdr.c (__dladdr): Call it.
20356 * dlfcn/dladdr1.c (__dladdr1): Likewise.
20357 * dlfcn/dlclose.c (__dlcose): Likewise.
20358 * dlfcn/dlerror.c (__dlerror): Likewise.
20359 * dlfcn/dlinfo.c (__dlinfo): Likewise.
20360 * dlfcn/dlmopen.c (__dlmopen): Likewise.
20361 * dlfcn/dlopen.c (__dlopen): Likewise.
20362 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20363 * dlfcn/dlsym.c (__dlsym): Likewise.
20364 * dlfcn/dlvsym.c (__dlvsym): Likewise.
20365 * libio/vtables.c (_IO_vtable_check): Likewise.
20366 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
20367 (__libc_dlclose): Likewise.
20368 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
20369 assignment.
20370
20371 2017-12-18 Joseph Myers <joseph@codesourcery.com>
20372
20373 [BZ #22446]
20374 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
20375 buffers for readlink input and output.
20376
20377 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
20378
20379 [BZ #22624]
20380 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
20381 inhibit_stack_protector.
20382
20383 [BZ #22624]
20384 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
20385 inhibit_stack_protector.
20386
20387 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
20388
20389 [BZ #22627]
20390 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
20391 code and invocation.
20392
20393 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
20394
20395 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
20396
20397 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
20398
20399 [BZ #22505]
20400 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
20401
20402 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20403
20404 * sysdeps/s390/fpu/libm-test-ulps: Update.
20405
20406 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20407
20408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20409
20410 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20411
20412 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
20413 constants to s_sincosf.h file.
20414 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20415 * sysdeps/ieee754/flt-32/s_sincosf.c: New
20416 implementation.
20417 * sysdeps/ieee754/flt-32/s_sincosf.h:
20418 New file.
20419
20420 2017-12-12 Carlos O'Donell <carlos@redhat.com>
20421
20422 [BZ #14681]
20423 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
20424 before mtrace.
20425
20426 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
20427
20428 [BZ #19574]
20429 * INSTALL: Regenerated.
20430 * Makeconfig (real-static-start-installed-name): New.
20431 (pic-default): Updated for --enable-static-pie.
20432 (pie-default): New for --enable-static-pie.
20433 (default-pie-ldflag): Likewise.
20434 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
20435 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
20436 Replace $(static-start-installed-name) with
20437 $(real-static-start-installed-name).
20438 (+prectorT): Updated for --enable-static-pie.
20439 (+postctorT): Likewise.
20440 (CFLAGS-.o): Add $(pie-default).
20441 (CFLAGS-.op): Likewise.
20442 * NEWS: Mention --enable-static-pie.
20443 * config.h.in (ENABLE_STATIC_PIE): New.
20444 * configure.ac (--enable-static-pie): New configure option.
20445 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
20446 (have-static-pie): Likewise.
20447 Enable static PIE if linker supports --no-dynamic-linker.
20448 (ENABLE_STATIC_PIE): New AC_DEFINE.
20449 (enable-static-pie): New LIBC_CONFIG_VAR.
20450 * configure: Regenerated.
20451 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
20452 gr$(start-installed-name) for --enable-static-pie.
20453 (extra-objs): Likewise.
20454 (install-lib): Likewise.
20455 (extra-objs): Add static-reloc.o and static-reloc.os
20456 ($(objpfx)$(start-installed-name)): Also depend on
20457 $(objpfx)static-reloc.o.
20458 ($(objpfx)r$(start-installed-name)): New.
20459 ($(objpfx)g$(start-installed-name)): Also depend on
20460 $(objpfx)static-reloc.os.
20461 ($(objpfx)gr$(start-installed-name)): New.
20462 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
20463 in libc.a.
20464 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
20465 initimage.
20466 * csu/static-reloc.c: New file.
20467 * elf/Makefile (routines): Add dl-reloc-static-pie.
20468 (elide-routines.os): Likewise.
20469 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
20470 (tst-tls1-static-non-pie-no-pie): New.
20471 * elf/dl-reloc-static-pie.c: New file.
20472 * elf/dl-support.c (_dl_get_dl_main_map): New function.
20473 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
20474 STATIC_PIE_BOOTSTRAP.
20475 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20476 * gmon/Makefile (tests): Add tst-gmon-static-pie.
20477 (tests-static): Likewise.
20478 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
20479 (tst-gmon-static-no-pie): New.
20480 (CFLAGS-tst-gmon-static-pie.c): Likewise.
20481 (CRT-tst-gmon-static-pie): Likewise.
20482 (tst-gmon-static-pie-ENV): Likewise.
20483 (tests-special): Likewise.
20484 ($(objpfx)tst-gmon-static-pie.out): Likewise.
20485 (clean-tst-gmon-static-pie-data): Likewise.
20486 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
20487 * gmon/tst-gmon-static-pie.c: New file.
20488 * manual/install.texi: Document --enable-static-pie.
20489 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
20490 (_dl_get_dl_main_map): Likewise.
20491 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
20492 * sysdeps/x86_64/configure.ac: Likewise.
20493 * sysdeps/i386/configure: Regenerated.
20494 * sysdeps/x86_64/configure: Likewise.
20495 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
20496 (ASFLAGS-.op): Likewise.
20497
20498 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20499
20500 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
20501 * posix/tst-mmap-offset.c (fname): Use /tmp.
20502 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
20503
20504 2017-12-15 Steve Ellcey <sellcey@cavium.com>
20505
20506 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
20507
20508 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
20509
20510 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
20511 errno.
20512
20513 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20514
20515 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
20516 --with-float=hard for arm-linux-gnueabihf configurations.
20517
20518 [BZ #14121]
20519 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
20520 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
20521 ($(mo-installed)): Use $(objpfx)%.mo.
20522 (realclean): Remove rule.
20523
20524 * po/Makefile (linguas): Remove rule and dependencies.
20525 (linguas.mo): Likewise.
20526 (.PHONY): Do not depend on linguas and linguas.mo.
20527 (podir): Remove variable.
20528 (pofiles): Likewise.
20529 [$(pofiles)] (%.po): Remove rule.
20530
20531 * sysdeps/sparc/sparc32/Makefile
20532 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
20533 start-of-line whitespace in argument of echo.
20534 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
20535 with whitespace. Generate __wrap_.udiv alias.
20536 * sysdeps/sparc/sparc32/rem.S: Regenerated.
20537 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20538 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20539 * sysdeps/sparc/sparc32/urem.S: Likewise.
20540
20541 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20542
20543 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
20544 for aligned inputs.
20545
20546 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20547
20548 * benchtests/bench-strcmp.c: Print output in JSON format.
20549
20550 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
20551
20552 2017-12-14 Florian Weimer <fweimer@redhat.com>
20553
20554 [BZ #22607]
20555 CVE-2017-1000409
20556 * elf/dl-load.c (_dl_init_paths): Compute number of components in
20557 the expanded path string.
20558
20559 2017-12-14 Florian Weimer <fweimer@redhat.com>
20560
20561 [BZ #22606]
20562 CVE-2017-1000408
20563 * elf/dl-load.c (system_dirs): Update comment.
20564 (nsystem_dirs_len): Use array_length.
20565 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
20566
20567 2017-12-14 Florian Weimer <fweimer@redhat.com>
20568
20569 Simplify compiling most of support/ outside of glibc.
20570 * support/check_addrinfo.c: Include <string.h>.
20571 * support/check_dns_packet.c: Likewise.
20572 * support/check_hostent.c: Likewise.
20573 * support/support_can_chroot.c: Include <support/xunistd.h>.
20574 * support/support_format_addrinfo.c: Include <stdlib.h>
20575 * support/support_format_dns_packet.c: Include <stdbool.h>.
20576 * support/support_format_hostent.c: Include <stdlib.h>.
20577 * support/support_format_netent.c: Likewise.
20578 * support/support_write_string.c: Include <support/xunistd.h>.
20579 * support/xdlfcn.c: Include <stddef.h>.
20580
20581 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
20582
20583 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
20584
20585 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20586 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20587
20588 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20589 (sysdeps_routines): Add memset-niagara7.
20590 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
20591 Likewise.
20592 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
20593 file.
20594 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
20595 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20596 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
20597 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
20598 Add niagara7 option.
20599 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
20600 memset.
20601
20602 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20603 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
20604 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
20605 Likewise.
20606 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
20607 New file.
20608 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
20609 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
20610 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20611 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
20612 and __memmove_niagara7.
20613 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
20614 Add niagara7 option.
20615 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
20616 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
20617 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
20618 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
20619 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
20620
20621 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
20622
20623 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
20624 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
20625 * sysdeps/sparc/sparc64/memmove.S: Likewise.
20626 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
20627
20628 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
20629 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
20630 _dl_sparc_cap_flags array.
20631 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
20632
20633 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20634
20635 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
20636 time whenever possible.
20637
20638 2017-12-12 Carlos O'Donell <carlos@redhat.com>
20639
20640 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
20641 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
20642
20643 2017-12-12 Joseph Myers <joseph@codesourcery.com>
20644
20645 * soft-fp/fmadf4.c: Move to ....
20646 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
20647 * soft-fp/fmasf4.c: Move to ....
20648 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
20649 * soft-fp/fmatf4.c: Move to ....
20650 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
20651 * sysdeps/ieee754/soft-fp/Makefile: New file.
20652 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
20653 * sysdeps/arm/preconfigure: Regenerated.
20654 * sysdeps/arm/nofpu/Implies: New file.
20655 * sysdeps/arm/s_fma.c: Remove file.
20656 * sysdeps/arm/s_fmaf.c: Likewise.
20657 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
20658 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
20659 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20660 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
20661 * sysdeps/microblaze/s_fma.c: Remove file.
20662 * sysdeps/microblaze/s_fmaf.c: Likewise.
20663 * sysdeps/mips/mips32/nofpu/Implies: New file.
20664 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
20665 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
20666 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
20667 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
20668 * sysdeps/mips/ieee754/s_fma.c: Remove file.
20669 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
20670 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
20671 implementation.
20672 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
20673 * sysdeps/nios2/s_fma.c: Remove file.
20674 * sysdeps/nios2/s_fmaf.c: Likewise.
20675 * sysdeps/sh/nofpu/Implies: New file.
20676 * sysdeps/sh/s_fma.c: Remove file.
20677 * sysdeps/sh/s_fmaf.c: Likewise.
20678 * sysdeps/tile/Implies: Add ieee754/soft-fp.
20679 * sysdeps/tile/s_fma.c: Remove file.
20680 * sysdeps/tile/s_fmaf.c: Likewise.
20681
20682 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
20683
20684 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20685 Add s_cosf-sse2 and s_cosf-fma.
20686 (CFLAGS-s_cosf-fma.c): New.
20687 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
20688 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
20689 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
20690
20691 2017-12-12 Steve Ellcey <sellcey@cavium.com>
20692
20693 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
20694
20695 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20696
20697 * libio/Makefile (tests): Add tst-bz22415.
20698 (tst-bz22415-ENV): New rule.
20699 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
20700 (tests-special): Add tst-bz22415-mem.out.
20701 ($(objpfx)tst-bz22415-mem.out): New rule.
20702 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
20703 in case of a successful seek operation.
20704 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20705 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
20706 buffer is required.
20707 * libio/tst-bz22415.c: New test.
20708
20709 * sysdeps/ia64/fpu/libm-test-ulps: Update.
20710
20711 2017-12-12 James Clarke <jrtc27@jrtc27.com>
20712
20713 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
20714 __IPC_64 to 0 to avoid IPC_64 being set.
20715
20716 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20717
20718 [BZ #22593]
20719 * math/bits/mathcalls.h (nextafter): Remove const.
20720 (nexttoward): Likewise.
20721
20722 2017-12-12 Joseph Myers <joseph@codesourcery.com>
20723
20724 * configure.ac (--with-fp): Remove configure option.
20725 (with_fp_cond): New variable.
20726 (libc_cv_with_fp): New configure test. Use this variable instead
20727 of with_fp.
20728 * configure: Regenerated.
20729 * config.make.in (with-fp): Use @libc_cv_with_fp@.
20730 * manual/install.texi (Configuring and compiling): Remove
20731 --without-fp.
20732 * INSTALL: Regenerated.
20733 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
20734 * sysdeps/mips/preconfigure (with_fp_cond): Define.
20735 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
20736 * sysdeps/sh/preconfigure (with_fp_cond): Define.
20737 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
20738 use --without-fp to configure glibc.
20739
20740 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
20741
20742 * manual/locale.texi (nl_langinfo): Fix a typo.
20743
20744 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
20745
20746 [BZ #22588]
20747 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
20748
20749 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20750
20751 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
20752 (CFLAGS-argp-parse.c): Likewise.
20753 (CFLAGS-argp-fmtstream.c): Likewise.
20754 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
20755 (CPPFLAGS-sha512-crypt.c): Likewise.
20756 (CPPFLAGS-md5-crypt.c): Likewise.
20757 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
20758 (CFLAGS-stack_chk_fail_local.c): Likewise.
20759 (CFLAGS-backtrace.c): Likewise.
20760 (CFLAGS-sprintf_chk.c): Likewise.
20761 (CFLAGS-snprintf_chk.c): Likewise.
20762 (CFLAGS-vsprintf_chk.c): Likewise.
20763 (CFLAGS-vsnprintf_chk.c): Likewise.
20764 (CFLAGS-asprintf_chk.c): Likewise.
20765 (CFLAGS-vasprintf_chk.c): Likewise.
20766 (CFLAGS-obprintf_chk.c): Likewise.
20767 (CFLAGS-dprintf_chk.c): Likewise.
20768 (CFLAGS-vdprintf_chk.c): Likewise.
20769 (CFLAGS-printf_chk.c): Likewise.
20770 (CFLAGS-fprintf_chk.c): Likewise.
20771 (CFLAGS-vprintf_chk.c): Likewise.
20772 (CFLAGS-vfprintf_chk.c): Likewise.
20773 (CFLAGS-gets_chk.c): Likewise.
20774 (CFLAGS-fgets_chk.c): Likewise.
20775 (CFLAGS-fgets_u_chk.c): Likewise.
20776 (CFLAGS-fread_chk.c): Likewise.
20777 (CFLAGS-fread_u_chk.c): Likewise.
20778 (CFLAGS-swprintf_chk.c): Likewise.
20779 (CFLAGS-vswprintf_chk.c): Likewise.
20780 (CFLAGS-wprintf_chk.c): Likewise.
20781 (CFLAGS-fwprintf_chk.c): Likewise.
20782 (CFLAGS-vwprintf_chk.c): Likewise.
20783 (CFLAGS-vfwprintf_chk.c): Likewise.
20784 (CFLAGS-fgetws_chk.c): Likewise.
20785 (CFLAGS-fgetws_u_chk.c): Likewise.
20786 (CFLAGS-read_chk.c): Likewise.
20787 (CFLAGS-pread_chk.c): Likewise.
20788 (CFLAGS-pread64_chk.c): Likewise.
20789 (CFLAGS-recv_chk.c): Likewise.
20790 (CFLAGS-recvfrom_chk.c): Likewise.
20791 (CFLAGS-tst-longjmp_chk.c): Likewise.
20792 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
20793 (CFLAGS-tst-longjmp_chk2.c): Likewise.
20794 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
20795 (CFLAGS-tst-longjmp_chk3.c): Likewise.
20796 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20797 (CFLAGS-tst-chk1.c): Likewise.
20798 (CFLAGS-tst-chk2.c): Likewise.
20799 (CFLAGS-tst-chk3.c): Likewise.
20800 (CFLAGS-tst-chk4.cc): Likewise.
20801 (CFLAGS-tst-chk5.cc): Likewise.
20802 (CFLAGS-tst-chk6.cc): Likewise.
20803 (CFLAGS-tst-lfschk1.c): Likewise.
20804 (CFLAGS-tst-lfschk2.c): Likewise.
20805 (CFLAGS-tst-lfschk3.c): Likewise.
20806 (CFLAGS-tst-lfschk4.cc): Likewise.
20807 (CFLAGS-tst-lfschk5.cc): Likewise.
20808 (CFLAGS-tst-lfschk6.cc): Likewise.
20809 (CFLAGS-tst-ssp-1.c): Likewise.
20810 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
20811 (CFLAGS-scandir64.c): Likewise.
20812 (CFLAGS-scandir-tail.c): Likewise.
20813 (CFLAGS-scandir64-tail.c): Likewise.
20814 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
20815 (CFLAGS-dl-tunables.c): Likewise.
20816 (CFLAGS-dl-runtime.c): Likewise.
20817 (CFLAGS-dl-lookup.c): Likewise.
20818 (CFLAGS-dl-iterate-phdr.c): Likewise.
20819 (CFLAGS-vismain.c): Likewise.
20820 (CFLAGS-tst-linkall-static.c): Likewise.
20821 (CFLAGS-tst-linkall-static.c): Likewise.
20822 (CPPFLAGS-dl-load.c): Likewise.
20823 (CFLAGS-ldconfig.c): Likewise.
20824 (CFLAGS-dl-cache.c): Likewise.
20825 (CFLAGS-cache.c): Likewise.
20826 (CFLAGS-rtld.c): Likewise.
20827 (CFLAGS-multiload.c): Likewise.
20828 (CFLAGS-filtmod1.c): Likewise.
20829 (CFLAGS-tst-align.c): Likewise.
20830 (CFLAGS-tst-align2.c): Likewise.
20831 (CFLAGS-tst-alignmod.c): Likewise.
20832 (CFLAGS-tst-alignmod2.c): Likewise.
20833 (CPPFLAGS-tst-execstack.c): Likewise.
20834 (CFLAGS-tst-ptrguard1-static.c): Likewise.
20835 (CFLAGS-tst-latepthreadmod.c): Likewise.
20836 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
20837 (CFLAGS-getgrnam_r.c): Likewise.
20838 (CFLAGS-getgrent_r.c): Likewise.
20839 (CFLAGS-getgrent.c): Likewise.
20840 (CFLAGS-fgetgrent.c): Likewise.
20841 (CFLAGS-fgetgrent_r.c): Likewise.
20842 (CFLAGS-putgrent.c): Likewise.
20843 (CFLAGS-initgroups.c): Likewise.
20844 (CFLAGS-getgrgid.c): Likewise.
20845 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
20846 (CFLAGS-getsgent.c): Likewise.
20847 (CFLAGS-fgetsgent.c): Likewise.
20848 (CFLAGS-fgetsgent_r.c): Likewise.
20849 (CFLAGS-putsgent.c): Likewise.
20850 (CFLAGS-getsgnam.c): Likewise.
20851 (CFLAGS-getsgnam_r.c): Likewise.
20852 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
20853 (CFLAGS-iconv_charmap.c): Likewise.
20854 (CFLAGS-dummy-repertoire.c): Likewise.
20855 (CFLAGS-charmap.c): Likewise.
20856 (CFLAGS-linereader.c): Likewise.
20857 (CFLAGS-simple-hash.c): Likewise.
20858 (CFLAGS-gconv_conf.c): Likewise.
20859 (CFLAGS-iconvconfig.c): Likewise.
20860 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20861 (CFLAGS-gethstbyad.c): Likewise.
20862 (CFLAGS-gethstbynm_r.c): Likewise.
20863 (CFLAGS-gethstbynm.c): Likewise.
20864 (CFLAGS-gethstbynm2_r.c): Likewise.
20865 (CFLAGS-gethstbynm2.c): Likewise.
20866 (CFLAGS-gethstent_r.c): Likewise.
20867 (CFLAGS-gethstent.c): Likewise.
20868 (CFLAGS-rcmd.c): Likewise.
20869 (CFLAGS-getnetbynm_r.c): Likewise.
20870 (CFLAGS-getnetbynm.c): Likewise.
20871 (CFLAGS-getnetbyad_r.c): Likewise.
20872 (CFLAGS-getnetbyad.c): Likewise.
20873 (CFLAGS-getnetent_r.c): Likewise.
20874 (CFLAGS-getnetent.c): Likewise.
20875 (CFLAGS-getaliasent_r.c): Likewise.
20876 (CFLAGS-getaliasent.c): Likewise.
20877 (CFLAGS-getrpcent_r.c): Likewise.
20878 (CFLAGS-getrpcent.c): Likewise.
20879 (CFLAGS-getservent_r.c): Likewise.
20880 (CFLAGS-getservent.c): Likewise.
20881 (CFLAGS-getprtent_r.c): Likewise.
20882 (CFLAGS-getprtent.c): Likewise.
20883 (CFLAGS-either_ntoh.c): Likewise.
20884 (CFLAGS-either_hton.c): Likewise.
20885 (CFLAGS-getnetgrent.c): Likewise.
20886 (CFLAGS-getnetgrent_r.c): Likewise.
20887 (CFLAGS-tst-checks-posix.c): Likewise.
20888 (CFLAGS-tst-sockaddr.c): Likewise.
20889 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
20890 (CFLAGS-tst-translit.c): Likewise.
20891 (CFLAGS-tst-gettext2.c): Likewise.
20892 (CFLAGS-tst-codeset.c): Likewise.
20893 (CFLAGS-tst-gettext3.c): Likewise.
20894 (CFLAGS-tst-gettext4.c): Likewise.
20895 (CFLAGS-tst-gettext5.c): Likewise.
20896 (CFLAGS-tst-gettext6.c): Likewise.
20897 * io/Makefile (CFLAGS-open.c): Likewise.
20898 (CFLAGS-open64.c): Likewise.
20899 (CFLAGS-creat.c): Likewise.
20900 (CFLAGS-creat64.c): Likewise.
20901 (CFLAGS-fcntl.c): Likewise.
20902 (CFLAGS-poll.c): Likewise.
20903 (CFLAGS-ppoll.c): Likewise.
20904 (CFLAGS-lockf.c): Likewise.
20905 (CFLAGS-statfs.c): Likewise.
20906 (CFLAGS-fstatfs.c): Likewise.
20907 (CFLAGS-statvfs.c): Likewise.
20908 (CFLAGS-fstatvfs.c): Likewise.
20909 (CFLAGS-fts.c): Likewise.
20910 (CFLAGS-fts64.c): Likewise.
20911 (CFLAGS-ftw.c): Likewise.
20912 (CFLAGS-ftw64.c): Likewise.
20913 (CFLAGS-lockf.c): Likewise.
20914 (CFLAGS-posix_fallocate.c): Likewise.
20915 (CFLAGS-posix_fallocate64.c): Likewise.
20916 (CFLAGS-fallocate.c): Likewise.
20917 (CFLAGS-fallocate64.c): Likewise.
20918 (CFLAGS-read.c): Likewise.
20919 (CFLAGS-write.c): Likewise.
20920 (CFLAGS-test-stat.c): Likewise.
20921 (CFLAGS-test-lfs.c): Likewise.
20922 * libio/Makefile (CFLAGS-fileops.c): Likewise.
20923 (CFLAGS-fputc.c): Likewise.
20924 (CFLAGS-fputwc.c): Likewise.
20925 (CFLAGS-freopen64.c): Likewise.
20926 (CFLAGS-freopen.c): Likewise.
20927 (CFLAGS-fseek.c): Likewise.
20928 (CFLAGS-fseeko64.c): Likewise.
20929 (CFLAGS-fseeko.c): Likewise.
20930 (CFLAGS-ftello64.c): Likewise.
20931 (CFLAGS-ftello.c): Likewise.
20932 (CFLAGS-fwide.c): Likewise.
20933 (CFLAGS-genops.c): Likewise.
20934 (CFLAGS-getc.c): Likewise.
20935 (CFLAGS-getchar.c): Likewise.
20936 (CFLAGS-getwc.c): Likewise.
20937 (CFLAGS-getwchar.c): Likewise.
20938 (CFLAGS-iofclose.c): Likewise.
20939 (CFLAGS-iofflush.c): Likewise.
20940 (CFLAGS-iofgetpos64.c): Likewise.
20941 (CFLAGS-iofgetpos.c): Likewise.
20942 (CFLAGS-iofgets.c): Likewise.
20943 (CFLAGS-iofgetws.c): Likewise.
20944 (CFLAGS-iofputs.c): Likewise.
20945 (CFLAGS-iofputws.c): Likewise.
20946 (CFLAGS-iofread.c): Likewise.
20947 (CFLAGS-iofsetpos64.c): Likewise.
20948 (CFLAGS-iofsetpos.c): Likewise.
20949 (CFLAGS-ioftell.c): Likewise.
20950 (CFLAGS-iofwrite.c): Likewise.
20951 (CFLAGS-iogetdelim.c): Likewise.
20952 (CFLAGS-iogetline.c): Likewise.
20953 (CFLAGS-iogets.c): Likewise.
20954 (CFLAGS-iogetwline.c): Likewise.
20955 (CFLAGS-ioputs.c): Likewise.
20956 (CFLAGS-ioseekoff.c): Likewise.
20957 (CFLAGS-ioseekpos.c): Likewise.
20958 (CFLAGS-iosetbuffer.c): Likewise.
20959 (CFLAGS-iosetvbuf.c): Likewise.
20960 (CFLAGS-ioungetc.c): Likewise.
20961 (CFLAGS-ioungetwc.c): Likewise.
20962 (CFLAGS-oldfileops.c): Likewise.
20963 (CFLAGS-oldiofclose.c): Likewise.
20964 (CFLAGS-oldiofgetpos64.c): Likewise.
20965 (CFLAGS-oldiofgetpos.c): Likewise.
20966 (CFLAGS-oldiofsetpos64.c): Likewise.
20967 (CFLAGS-oldiofsetpos.c): Likewise.
20968 (CFLAGS-peekc.c): Likewise.
20969 (CFLAGS-putc.c): Likewise.
20970 (CFLAGS-putchar.c): Likewise.
20971 (CFLAGS-putwc.c): Likewise.
20972 (CFLAGS-putwchar.c): Likewise.
20973 (CFLAGS-rewind.c): Likewise.
20974 (CFLAGS-wfileops.c): Likewise.
20975 (CFLAGS-wgenops.c): Likewise.
20976 (CFLAGS-oldiofopen.c): Likewise.
20977 (CFLAGS-iofopen.c): Likewise.
20978 (CFLAGS-iofopen64.c): Likewise.
20979 (CFLAGS-oldtmpfile.c): Likewise.
20980 (CFLAGS-tst_putwc.c): Likewise.
20981 * locale/Makefile (CFLAGS-md5.c): Likewise.
20982 (CFLAGS-charmap.c): Likewise.
20983 (CFLAGS-locfile.c): Likewise.
20984 (CFLAGS-charmap-dir.c): Likewise.
20985 * login/Makefile (CFLAGS-grantpt.c): Likewise.
20986 (CFLAGS-getpt.c): Likewise.
20987 (CFLAGS-pt_chown.c): Likewise.
20988 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
20989 (CFLAGS-obstack.c): Likewise.
20990 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
20991 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
20992 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
20993 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
20994 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
20995 (CFLAGS-test-tgmath.c): Likewise.
20996 (CFLAGS-test-tgmath2.c): Likewise.
20997 (CFLAGS-test-tgmath-ret.c): Likewise.
20998 (CFLAGS-test-powl.c): Likewise.
20999 (CFLAGS-test-snan.c): Likewise.
21000 (CFLAGS-test-signgam-finite.c): Likewise.
21001 (CFLAGS-test-signgam-finite-c99.c): Likewise.
21002 (CFLAGS-test-signgam-finite-c11.c): Likewise.
21003 (CFLAGS-test-signgam-uchar.c): Likewise.
21004 (CFLAGS-test-signgam-uchar-init.c): Likewise.
21005 (CFLAGS-test-signgam-uchar-static.c): Likewise.
21006 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
21007 (CFLAGS-test-signgam-uint.c): Likewise.
21008 (CFLAGS-test-signgam-uint-init.c): Likewise.
21009 (CFLAGS-test-signgam-uint-static.c): Likewise.
21010 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
21011 (CFLAGS-test-signgam-ullong.c): Likewise.
21012 (CFLAGS-test-signgam-ullong-init.c): Likewise.
21013 (CFLAGS-test-signgam-ullong-static.c): Likewise.
21014 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
21015 (CFLAGS-test-math-cxx11.cc): Likewise.
21016 (CFLAGS-test-math-isinff.cc): Likewise.
21017 (CFLAGS-test-math-iszero.cc): Likewise.
21018 (CFLAGS-test-math-issignaling.cc): Likewise.
21019 (CFLAGS-test-math-iscanonical.cc): Likewise.
21020 (CFLAGS-test-iszero-excess-precision.c): Likewise.
21021 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
21022 (CFLAGS-test-flt-eval-method.c): Likewise.
21023 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
21024 (CFLAGS-test-finite-macros.c): Likewise.
21025 * misc/Makefile (CFLAGS-select.c): Likewise.
21026 (CFLAGS-tsearch.c): Likewise.
21027 (CFLAGS-lsearch.c): Likewise.
21028 (CFLAGS-pselect.c): Likewise.
21029 (CFLAGS-readv.c): Likewise.
21030 (CFLAGS-writev.c): Likewise.
21031 (CFLAGS-preadv.c): Likewise.
21032 (CFLAGS-preadv64.c): Likewise.
21033 (CFLAGS-pwritev.c): Likewise.
21034 (CFLAGS-pwritev64.c): Likewise.
21035 (CFLAGS-preadv2.c): Likewise.
21036 (CFLAGS-preadv64v2.c): Likewise.
21037 (CFLAGS-pwritev2.c): Likewise.
21038 (CFLAGS-pwritev64v2.c): Likewise.
21039 (CFLAGS-usleep.c): Likewise.
21040 (CFLAGS-syslog.c): Likewise.
21041 (CFLAGS-error.c): Likewise.
21042 (CFLAGS-getpass.c): Likewise.
21043 (CFLAGS-mkstemp.c): Likewise.
21044 (CFLAGS-mkstemp64.c): Likewise.
21045 (CFLAGS-getsysstats.c): Likewise.
21046 (CFLAGS-getusershell.c): Likewise.
21047 (CFLAGS-err.c): Likewise.
21048 (CFLAGS-tst-tsearch.c): Likewise.
21049 (CFLAGS-msync.c): Likewise.
21050 (CFLAGS-fdatasync.c): Likewise.
21051 (CFLAGS-fsync.c): Likewise.
21052 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
21053 (CFLAGS-unwind.c): Likewise.
21054 (CFLAGS-unwind-forcedunwind.c): Likewise.
21055 (CFLAGS-pthread_cancel.c): Likewise.
21056 (CFLAGS-pthread_setcancelstate.c): Likewise.
21057 (CFLAGS-pthread_setcanceltype.c): Likewise.
21058 (CFLAGS-cancellation.c): Likewise.
21059 (CFLAGS-libc-cancellation.c): Likewise.
21060 (CFLAGS-pthread_exit.c): Likewise.
21061 (CFLAGS-forward.c): Likewise.
21062 (CFLAGS-pthread_testcancel.c): Likewise.
21063 (CFLAGS-pthread_join.c): Likewise.
21064 (CFLAGS-pthread_timedjoin.c): Likewise.
21065 (CFLAGS-pthread_once.c): Likewise.
21066 (CFLAGS-pthread_cond_wait.c): Likewise.
21067 (CFLAGS-sem_wait.c): Likewise.
21068 (CFLAGS-sem_timedwait.c): Likewise.
21069 (CFLAGS-fcntl.c): Likewise.
21070 (CFLAGS-lockf.c): Likewise.
21071 (CFLAGS-pread.c): Likewise.
21072 (CFLAGS-pread64.c): Likewise.
21073 (CFLAGS-pwrite.c): Likewise.
21074 (CFLAGS-pwrite64.c): Likewise.
21075 (CFLAGS-wait.c): Likewise.
21076 (CFLAGS-waitpid.c): Likewise.
21077 (CFLAGS-sigwait.c): Likewise.
21078 (CFLAGS-msgrcv.c): Likewise.
21079 (CFLAGS-msgsnd.c): Likewise.
21080 (CFLAGS-tcdrain.c): Likewise.
21081 (CFLAGS-open.c): Likewise.
21082 (CFLAGS-open64.c): Likewise.
21083 (CFLAGS-pause.c): Likewise.
21084 (CFLAGS-recv.c): Likewise.
21085 (CFLAGS-send.c): Likewise.
21086 (CFLAGS-accept.c): Likewise.
21087 (CFLAGS-sendto.c): Likewise.
21088 (CFLAGS-connect.c): Likewise.
21089 (CFLAGS-recvfrom.c): Likewise.
21090 (CFLAGS-recvmsg.c): Likewise.
21091 (CFLAGS-sendmsg.c): Likewise.
21092 (CFLAGS-close.c): Likewise.
21093 (CFLAGS-read.c): Likewise.
21094 (CFLAGS-write.c): Likewise.
21095 (CFLAGS-nanosleep.c): Likewise.
21096 (CFLAGS-sigsuspend.c): Likewise.
21097 (CFLAGS-msync.c): Likewise.
21098 (CFLAGS-fdatasync.c): Likewise.
21099 (CFLAGS-fsync.c): Likewise.
21100 (CFLAGS-pt-system.c): Likewise.
21101 (CFLAGS-tst-cleanup2.c): Likewise.
21102 (CFLAGS-tst-cleanupx2.c): Likewise.
21103 (CFLAGS-flockfile.c): Likewise.
21104 (CFLAGS-ftrylockfile.c): Likewise.
21105 (CFLAGS-funlockfile.c): Likewise.
21106 (CFLAGS-tst-initializers1.c): Likewise.
21107 (CFLAGS-tst-initializers1-c89.c): Likewise.
21108 (CFLAGS-tst-initializers1-c99.c): Likewise.
21109 (CFLAGS-tst-initializers1-c11.c): Likewise.
21110 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
21111 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
21112 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21113 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
21114 (CFLAGS-nscd_getgr_r.c): Likewise.
21115 (CFLAGS-nscd_gethst_r.c): Likewise.
21116 (CFLAGS-nscd_getai.c): Likewise.
21117 (CFLAGS-nscd_initgroups.c): Likewise.
21118 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
21119 (CFLAGS-pause.c): Likewise.
21120 (CFLAGS-pread.c): Likewise.
21121 (CFLAGS-pread64.c): Likewise.
21122 (CFLAGS-pwrite.c): Likewise.
21123 (CFLAGS-pwrite64.c): Likewise.
21124 (CFLAGS-sleep.c): Likewise.
21125 (CFLAGS-wait.c): Likewise.
21126 (CFLAGS-waitid.c): Likewise.
21127 (CFLAGS-waitpid.c): Likewise.
21128 (CFLAGS-getopt.c): Likewise.
21129 (CFLAGS-wordexp.c): Likewise.
21130 (CFLAGS-sysconf.c): Likewise.
21131 (CFLAGS-pathconf.c): Likewise.
21132 (CFLAGS-fpathconf.c): Likewise.
21133 (CFLAGS-spawn.c): Likewise.
21134 (CFLAGS-spawnp.c): Likewise.
21135 (CFLAGS-spawni.c): Likewise.
21136 (CFLAGS-glob.c): Likewise.
21137 (CFLAGS-glob64.c): Likewise.
21138 (CFLAGS-getconf.c): Likewise.
21139 (CFLAGS-nanosleep.c): Likewise.
21140 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
21141 (CFLAGS-getpwent.c): Likewise.
21142 (CFLAGS-getpw.c): Likewise.
21143 (CFLAGS-fgetpwent_r.c): Likewise.
21144 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
21145 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
21146 (CFLAGS-mq_timedreceive.c): Likewise.
21147 (CFLAGS-mq_timedsend.c): Likewise.
21148 (CFLAGS-clock_nanosleep.c): Likewise.
21149 (CFLAGS-librt-cancellation.c): Likewise.
21150 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
21151 (CFLAGS-getspent.c): Likewise.
21152 (CFLAGS-fgetspent.c): Likewise.
21153 (CFLAGS-fgetspent_r.c): Likewise.
21154 (CFLAGS-putspent.c): Likewise.
21155 (CFLAGS-getspnam.c): Likewise.
21156 (CFLAGS-getspnam_r.c): Likewise.
21157 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
21158 (CFLAGS-sigsuspend.c): Likewise.
21159 (CFLAGS-sigtimedwait.c): Likewise.
21160 (CFLAGS-sigwait.c): Likewise.
21161 (CFLAGS-sigwaitinfo.c): Likewise.
21162 (CFLAGS-sigreturn.c): Likewise.
21163 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21164 (CFLAGS-vfwprintf.c): Likewise.
21165 (CFLAGS-tmpfile.c): Likewise.
21166 (CFLAGS-tmpfile64.c): Likewise.
21167 (CFLAGS-tempname.c): Likewise.
21168 (CFLAGS-psignal.c): Likewise.
21169 (CFLAGS-vprintf.c): Likewise.
21170 (CFLAGS-cuserid.c): Likewise.
21171 (CFLAGS-errlist.c): Likewise.
21172 (CFLAGS-siglist.c): Likewise.
21173 (CFLAGS-scanf15.c): Likewise.
21174 (CFLAGS-scanf17.c): Likewise.
21175 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
21176 (CFLAGS-msort.c): Likewise.
21177 (CFLAGS-qsort.c): Likewise.
21178 (CFLAGS-system.c): Likewise.
21179 (CFLAGS-fmtmsg.c): Likewise.
21180 (CFLAGS-strfmon.c): Likewise.
21181 (CFLAGS-strfmon_l.c): Likewise.
21182 (CFLAGS-strfromd.c): Likewise.
21183 (CFLAGS-strfromf.c): Likewise.
21184 (CFLAGS-strfroml.c): Likewise.
21185 (CFLAGS-tst-bsearch.c): Likewise.
21186 (CFLAGS-tst-qsort.c): Likewise.
21187 (CFLAGS-tst-makecontext2.c): Likewise.
21188 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
21189 (CFLAGS-xnlm_prot.c): Likewise.
21190 (CFLAGS-xrstat.c): Likewise.
21191 (CFLAGS-xyppasswd.c): Likewise.
21192 (CFLAGS-xklm_prot.c): Likewise.
21193 (CFLAGS-xrex.c): Likewise.
21194 (CFLAGS-xsm_inter.c): Likewise.
21195 (CFLAGS-xmount.c): Likewise.
21196 (CFLAGS-xrusers.c): Likewise.
21197 (CFLAGS-xspray.c): Likewise.
21198 (CFLAGS-xnfs_prot.c): Likewise.
21199 (CFLAGS-xrquota.c): Likewise.
21200 (CFLAGS-xkey_prot.c): Likewise.
21201 (CFLAGS-auth_unix.c): Likewise.
21202 (CFLAGS-key_call.c): Likewise.
21203 (CFLAGS-pmap_rmt.c): Likewise.
21204 (CFLAGS-clnt_perr.c): Likewise.
21205 (CFLAGS-openchild.c): Likewise.
21206 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
21207 (CFLAGS-msgsnd.c): Likewise.
21208 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
21209 * time/Makefile (CFLAGS-tzfile.c): Likewise.
21210 (CFLAGS-tzset.c): Likewise.
21211 (CFLAGS-getdate.c): Likewise.
21212 (CFLAGS-test_time.c): Likewise.
21213 (CPPFLAGS-tst-tzname.c): Likewise.
21214 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
21215 (CFLAGS-zic.c): Likewise.
21216 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
21217 (CFLAGS-wcswidth.c): Likewise.
21218 (CFLAGS-wcstol.c): Likewise.
21219 (CFLAGS-wcstoul.c): Likewise.
21220 (CFLAGS-wcstoll.c): Likewise.
21221 (CFLAGS-wcstoull.c): Likewise.
21222 (CFLAGS-wcstod.c): Likewise.
21223 (CFLAGS-wcstold.c): Likewise.
21224 (CFLAGS-wcstof128.c): Likewise.
21225 (CFLAGS-wcstof.c): Likewise.
21226 (CFLAGS-wcstol_l.c): Likewise.
21227 (CFLAGS-wcstoul_l.c): Likewise.
21228 (CFLAGS-wcstoll_l.c): Likewise.
21229 (CFLAGS-wcstoull_l.c): Likewise.
21230 (CFLAGS-wcstod_l.c): Likewise.
21231 (CFLAGS-wcstold_l.c): Likewise.
21232 (CFLAGS-wcstof128_l.c): Likewise.
21233 (CFLAGS-wcstof_l.c): Likewise.
21234 (CPPFLAGS-tst-wchar-h.c): Likewise.
21235 (CPPFLAGS-wcstold_l.c): Likewise.
21236
21237 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
21238
21239 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
21240
21241 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21242 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21243
21244 * manual/tunables.texi (Hardware Capability Tunables): Document
21245 glibc.tune.cached_memopt.
21246 * sysdeps/powerpc/cpu-features.c: New file.
21247 * sysdeps/powerpc/cpu-features.h: New file.
21248 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
21249 _dl_powerpc_cpu_features.
21250 * sysdeps/powerpc/dl-tunables.list: New file.
21251 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
21252 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21253 (INIT_ARCH): Initialize use_aligned_memopt.
21254 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
21255 IS_IN(rtld))]: Restrict dl_platform_init availability and
21256 initialize CPU features used by tunables.
21257 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
21258 Add memcpy-power8-cached.
21259 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
21260 __memcpy_power8_cached.
21261 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21262 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
21263 New file.
21264
21265 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21266
21267 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
21268 (CFLAGS-noinl-tester.c): Likewise.
21269 (CFLAGS-tst-strlen.c): Likewise.
21270 (CFLAGS-stratcliff.c): Likewise.
21271 (CFLAGS-test-ffs.c): Likewise.
21272 (CFLAGS-tst-inlcall.c): Likewise.
21273 (CFLAGS-tst-xbzero-opt.c): Likewise.
21274 (CFLAGS-memcpy.c): Likewise.
21275 (CFLAGS-wordcopy.c): Likewise.
21276
21277 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21278
21279 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
21280 Store r15 on stack and add cfi rule.
21281 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21282 Likewise.
21283
21284 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
21285
21286 [BZ #22577]
21287 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
21288 call.
21289
21290 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21291
21292 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21293 Add s_sinf-sse2 and s_sinf-fma.
21294 (CFLAGS-s_sinf-fma.c): New.
21295 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
21296 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
21297 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
21298
21299 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21300
21301 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
21302
21303 2017-12-07 Joseph Myers <joseph@codesourcery.com>
21304
21305 [BZ #22568]
21306 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
21307 part of result to imaginary part of argument if it is zero and the
21308 real part of the argument is not finite.
21309 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
21310 of result to real part of argument if it is zero and the imaginary
21311 part of the argument is not finite.
21312
21313 2017-12-07 Mike FABIAN <mfabian@redhat.com>
21314
21315 [BZ #22524]
21316 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
21317 and to the list of locales to be built for testing.
21318 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
21319 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
21320 and build the collation rules upon that.
21321
21322 2017-12-07 Joseph Myers <joseph@codesourcery.com>
21323
21324 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
21325 * manual/math.texi (Mathematics): Document support for _Float32.
21326 * math/Makefile (test-types): Add float32.
21327 * math/Versions (GLIBC_2.27): Add _Float32 functions.
21328 * stdlib/Versions (GLIBC_2.27): Likewise.
21329 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21330 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21331 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21332 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21333 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21334 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21335 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21336 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21337 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21338 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21339 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21340 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21341 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21342 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21343 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21344 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21345 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21346 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21347 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21348 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21349 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21350 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21351 Likewise.
21352 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21353 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21354 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21355 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21356 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21358 Likewise.
21359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21360 Likewise.
21361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21362 Likewise.
21363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21364 Likewise.
21365
21366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21367 Likewise.
21368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21369 Likewise.
21370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21371 Likewise.
21372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21373 Likewise.
21374 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21375 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21376 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21377 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21378 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21379 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21380 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21381 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21382 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21383 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21385 Likewise.
21386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21387 Likewise.
21388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21389 Likewise.
21390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21391 Likewise.
21392 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21393 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21394 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21395 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21396 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21397 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21398 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21399 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21400
21401 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21402
21403 * stdlib/strtof.c: Include <bits/floatn.h>
21404 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
21405 and later undefine as macro. Define as weak alias if
21406 [!USE_WIDE_CHAR].
21407 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
21408 and later undefine as macro. Define as weak alias if
21409 [USE_WIDE_CHAR].
21410 * stdlib/strtof_l.c: Include <bits/floatn.h>
21411 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
21412 and later undefine as macro. Define as weak alias if
21413 [!USE_WIDE_CHAR].
21414 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
21415 and later undefine as macro. Define as weak alias if
21416 [USE_WIDE_CHAR].
21417
21418 * stdlib/strfromf.c: Include <bits/floatn.h>.
21419 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
21420 and later undefine as macro and define as weak alias.
21421
21422 * math/test-float32.h: New file.
21423
21424 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
21425 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
21426 (libm_alias_float_other_r): Create f32 alias.
21427 (libm_alias_float_r): Use semicolon before call to
21428 libm_alias_float_other_r.
21429
21430 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
21431 second argument to libm_alias_float_other.
21432 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
21433 second argument to libm_alias_float_other.
21434 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
21435 argument to libm_alias_float_other.
21436
21437 [BZ #22561]
21438 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
21439 real part of result for argument 0 + i * NaN.
21440 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
21441 results for tests of 0 + i * NaN.
21442
21443 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21444
21445 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21446
21447 2017-12-06 David S. Miller <davem@davemloft.net>
21448
21449 * sysdeps/sparc/fpu/libm-test-ulps: Update
21450 exp_{downward,towardzero,upward} ulps.
21451
21452 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21453
21454 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
21455 variables static.
21456
21457 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
21458 (Y0_2D): Likewise.
21459 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
21460 (Y0_2D): Likewise.
21461 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
21462 (Y0_2D): Likewise.
21463 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
21464 (Y0_2D): Likewise.
21465
21466 2017-12-06 Mike FABIAN <mfabian@redhat.com>
21467
21468 [BZ #22515]
21469 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
21470 and to the list of locales to be built for testing.
21471 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
21472 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
21473 and build the collation rules upon that.
21474
21475 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21476
21477 * NEWS: Add sinf to list of optimized functions.
21478
21479 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21480
21481 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
21482 (__HAVE_FLOAT32X): Likewise.
21483 * manual/math.texi (Mathematics): Document support for _Float64
21484 and _Float32x.
21485 * math/Makefile (test-types): Add float64 and float32x.
21486 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
21487 functions.
21488 * stdlib/Versions (GLIBC_2.27): Likewise.
21489 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21490 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21491 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21492 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21493 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21494 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21495 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21496 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21497 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21498 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21499 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21500 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21501 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21502 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21503 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21504 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21505 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21506 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21507 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21508 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21509 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21510 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21511 Likewise.
21512 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21513 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21514 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21515 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21516 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21518 Likewise.
21519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21520 Likewise.
21521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21522 Likewise.
21523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21524 Likewise.
21525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21526 Likewise.
21527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21528 Likewise.
21529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21530 Likewise.
21531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21532 Likewise.
21533 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21534 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21535 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21536 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21537 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21538 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21539 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21540 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21541 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21542 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21544 Likewise.
21545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21546 Likewise.
21547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21548 Likewise.
21549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21550 Likewise.
21551 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21552 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21553 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21554 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21555 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21556 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21557 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21558 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21559
21560 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21561
21562 * bits/floatn-common.h: Include <bits/long-double.h>.
21563 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21564 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
21565 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21566 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
21567 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21568 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
21569 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21570 (__builtin_huge_valf64): Use __builtin_huge_vall.
21571 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21572 (__builtin_inff64): Use __builtin_infl.
21573 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21574 (__builtin_nanf64): Use __builtin_nanl.
21575 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21576 (__builtin_nansf64): Use __builtin_nansl.
21577
21578 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
21579 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21580 Carlos O'Donnell <carlos@redhat.com>
21581
21582 * elf/dl-tunables.list: Add elision parameters.
21583 * manual/tunables.texi: Add entries about elision tunable.
21584 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
21585 Add callback functions to dynamically enable/disable elision.
21586 Add multiple callbacks functions to set elision parameters.
21587 Deleted __libc_enable_secure check.
21588 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
21589 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
21590 * configure: Regenerated.
21591 * configure.ac: Option enable_lock_elision was deleted.
21592 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
21593 * config.make.in: Remove references to enable_lock_elision.
21594 * manual/install.texi: Elision configure option was removed.
21595 * INSTALL: Regenerated to remove enable_lock_elision.
21596 * nptl/Makefile:
21597 Disable elision so it can verify error case for destroying a mutex.
21598 * sysdeps/powerpc/nptl/elide.h:
21599 Cleanup ENABLE_LOCK_ELISION check.
21600 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
21601 * sysdeps/s390/configure: Regenerated.
21602 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
21603 * nptl/tst-mutex8.c:
21604 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
21605 * sysdeps/powerpc/powerpc32/sysdep.h:
21606 Deleted all ENABLE_LOCK_ELISION checks.
21607 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21608 * sysdeps/powerpc/sysdep.h: Likewise.
21609 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
21610 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
21611 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21612 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21613 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21614 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
21615 enable-lock-elision.
21616
21617 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21618
21619 * stdlib/strtod.c: Include <bits/floatn.h>.
21620 (BUILD_DOUBLE): New macro.
21621 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21622 (strtof64): Define and later undefine as macro. Define as weak
21623 alias if [!USE_WIDE_CHAR].
21624 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21625 (wcstof64): Define and later undefine as macro. Define as weak
21626 alias if [USE_WIDE_CHAR].
21627 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21628 (strtof32x): Define and later undefine as macro. Define as weak
21629 alias if [!USE_WIDE_CHAR].
21630 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21631 (wcstof32x): Define and later undefine as macro. Define as weak
21632 alias if [USE_WIDE_CHAR].
21633 * stdlib/strtod_l.c: Include <bits/floatn.h>.
21634 (BUILD_DOUBLE): New macro.
21635 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21636 (strtof64_l): Define and later undefine as macro. Define as weak
21637 alias if [!USE_WIDE_CHAR].
21638 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21639 (wcstof64_l): Define and later undefine as macro. Define as weak
21640 alias if [USE_WIDE_CHAR].
21641 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21642 (strtof32x_l): Define and later undefine as macro. Define as weak
21643 alias if [!USE_WIDE_CHAR].
21644 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21645 (wcstof32x_l): Define and later undefine as macro. Define as weak
21646 alias if [USE_WIDE_CHAR].
21647
21648 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21649
21650 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
21651 (reduced): Use ones as double instead of integer.
21652
21653 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
21654
21655 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
21656
21657 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21658
21659 * stdlib/strfromd.c: Include <bits/floatn.h>.
21660 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
21661 and later undefine as macro and define as weak alias.
21662 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
21663 Likewise.
21664
21665 * math/test-float32x.h: New file.
21666 * math/test-float64.h: Likewise.
21667
21668 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
21669 (libm_alias_double_other_r_f64): New macro.
21670 (libm_alias_double_other_r_f32x): Likewise.
21671 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21672 libm_alias_double_other_r_f32x.
21673 (libm_alias_double_r): Use semicolon before call to
21674 libm_alias_double_other_r.
21675 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
21676 <bits/floatn.h>.
21677 (libm_alias_double_other_r_f64): New macro.
21678 (libm_alias_double_other_r_f32x): Likewise.
21679 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21680 libm_alias_double_other_r_f32x.
21681
21682 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
21683
21684 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
21685 int.
21686 (SINF_FUNC): Likewise. Replace floor with simple casts.
21687
21688 2017-12-05 Mike FABIAN <mfabian@redhat.com>
21689
21690 [BZ #22517]
21691 * localedata/Makefile: Add et_EE.UTF-8 to test-input
21692 and to the list of locales to be built for testing.
21693 * localedata/et_EE.UTF-8.in: New file for testing the collation.
21694 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
21695 and build the collation rules upon that.
21696
21697 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
21698
21699 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
21700 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
21701 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
21702 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
21703 instead of __insn__xxx.
21704 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
21705 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
21706 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
21707 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
21708 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
21709 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
21710
21711 2017-12-05 Florian Weimer <fweimer@redhat.com>
21712
21713 Linux: Implement interfaces for memory protection keys
21714 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
21715 xsignal, xsysconf.
21716 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
21717 * support/xunistd.h (xsysconf): Declare.
21718 * support/xraise.c: New file.
21719 * support/xsigaction.c: Likewise.
21720 * support/xsignal.c: Likewise.
21721 * support/xsysconf.c: Likewise.
21722 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
21723 pkey_set, pkey_get, pkey_mprotect.
21724 [misc] (tests): Add tst-pkey.
21725 (tst-pkey): Link with -lpthread.
21726 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
21727 pkey_free, pkey_set, pkey_get, pkey_mprotect.
21728 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
21729 (PKEY_DISABLE_WRITE): Define.
21730 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
21731 Declare.
21732 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
21733 (SEGV_PKUERR): Add.
21734 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
21735 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
21736 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
21737 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
21738 Add.
21739 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
21740 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
21741 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
21742 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
21743 * sysdeps/unix/sysv/linux/**.abilist: Update.
21744
21745 2017-12-05 Florian Weimer <fweimer@redhat.com>
21746
21747 * support/tst-test_compare.c (subprocess): Use long long instead
21748 of long argument for consistent type width across 32-bit and
21749 64-bit architectures.
21750 (do_test): Adjust expected output.
21751
21752 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21753
21754 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
21755 (cosf): Define using libm_alias_float.
21756 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
21757 (fabsf): Define using libm_alias_float.
21758 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
21759 (fmaf): Define using libm_alias_float.
21760 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
21761 (rintf): Define using libm_alias_float.
21762 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
21763 (sinf): Define using libm_alias_float.
21764 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
21765 <libm-alias-float.h>.
21766 (modff): Define using libm_alias_float.
21767 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
21768 <libm-alias-float.h>.
21769 (logbf): Define using libm_alias_float.
21770 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
21771 <libm-alias-float.h>.
21772 (ceilf): Define using libm_alias_float.
21773 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21774 <libm-alias-float.h>.
21775 (copysignf): Define using libm_alias_float.
21776 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
21777 <libm-alias-float.h>.
21778 (floorf): Define using libm_alias_float.
21779 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
21780 <libm-alias-float.h>.
21781 (llrintf): Define using libm_alias_float.
21782 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
21783 <libm-alias-float.h>.
21784 (llroundf): Define using libm_alias_float.
21785 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21786 <libm-alias-float.h>.
21787 (lrintf): Define using libm_alias_float.
21788 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21789 <libm-alias-float.h>.
21790 (lroundf): Define using libm_alias_float.
21791 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
21792 <libm-alias-float.h>.
21793 (nearbyintf): Define using libm_alias_float.
21794 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
21795 <libm-alias-float.h>.
21796 (rintf): Define using libm_alias_float.
21797 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
21798 <libm-alias-float.h>.
21799 (roundf): Define using libm_alias_float.
21800 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
21801 <libm-alias-float.h>.
21802 (truncf): Define using libm_alias_float.
21803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
21804 Include <libm-alias-float.h>.
21805 (ceilf): Define using libm_alias_float.
21806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
21807 Include <libm-alias-float.h>.
21808 (copysignf): Define using libm_alias_float.
21809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
21810 Include <libm-alias-float.h>.
21811 (floorf): Define using libm_alias_float.
21812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
21813 Include <libm-alias-float.h>.
21814 (llrintf): Define using libm_alias_float.
21815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
21816 Include <libm-alias-float.h>.
21817 (llroundf): Define using libm_alias_float.
21818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
21819 Include <libm-alias-float.h>.
21820 (logbf): Define using libm_alias_float.
21821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
21822 Include <libm-alias-float.h>.
21823 (lrintf): Define using libm_alias_float.
21824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
21825 Include <libm-alias-float.h>.
21826 (lroundf): Define using libm_alias_float.
21827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
21828 Include <libm-alias-float.h>.
21829 (modff): Define using libm_alias_float.
21830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
21831 Include <libm-alias-float.h>.
21832 (roundf): Define using libm_alias_float.
21833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
21834 Include <libm-alias-float.h>.
21835 (truncf): Define using libm_alias_float.
21836 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
21837 <libm-alias-float.h>.
21838 (llrintf): Define using libm_alias_float.
21839 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21840 <libm-alias-float.h>.
21841 (llroundf): Define using libm_alias_float.
21842 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
21843 <libm-alias-float.h>.
21844 (ceilf): Define using libm_alias_float.
21845 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
21846 <libm-alias-float.h>.
21847 (floorf): Define using libm_alias_float.
21848 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21849 <libm-alias-float.h>.
21850 (llroundf): Define using libm_alias_float.
21851 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21852 <libm-alias-float.h>.
21853 (lroundf): Define using libm_alias_float.
21854 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
21855 <libm-alias-float.h>.
21856 (roundf): Define using libm_alias_float.
21857 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
21858 <libm-alias-float.h>.
21859 (truncf): Define using libm_alias_float.
21860 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21861 <libm-alias-float.h>.
21862 (copysignf): Define using libm_alias_float.
21863 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
21864 <libm-alias-float.h>.
21865 (llrintf): Define using libm_alias_float.
21866 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21867 <libm-alias-float.h>.
21868 (llroundf): Define using libm_alias_float.
21869 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21870 <libm-alias-float.h>.
21871 (lrintf): Define using libm_alias_float.
21872 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21873 <libm-alias-float.h>.
21874 (lroundf): Define using libm_alias_float.
21875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
21876 <libm-alias-float.h>.
21877 (ceilf): Define using libm_alias_float.
21878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
21879 <libm-alias-float.h>.
21880 (copysignf): Define using libm_alias_float.
21881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
21882 <libm-alias-float.h>.
21883 (cosf): Define using libm_alias_float.
21884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
21885 <libm-alias-float.h>.
21886 (floorf): Define using libm_alias_float.
21887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
21888 <libm-alias-float.h>.
21889 (llrintf): Define using libm_alias_float.
21890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
21891 <libm-alias-float.h>.
21892 (llroundf): Define using libm_alias_float.
21893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
21894 <libm-alias-float.h>.
21895 (logbf): Define using libm_alias_float.
21896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
21897 <libm-alias-float.h>.
21898 (modff): Define using libm_alias_float.
21899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
21900 <libm-alias-float.h>.
21901 (roundf): Define using libm_alias_float.
21902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
21903 <libm-alias-float.h>.
21904 (sinf): Define using libm_alias_float.
21905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
21906 <libm-alias-float.h>.
21907 (truncf): Define using libm_alias_float.
21908 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
21909 <libm-alias-float.h>.
21910 (ceilf): Define using libm_alias_float.
21911 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21912 <libm-alias-float.h>.
21913 (copysignf): Define using libm_alias_float.
21914 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
21915 <libm-alias-float.h>.
21916 (floorf): Define using libm_alias_float.
21917 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21918 <libm-alias-float.h>.
21919 (llrintf): Define using libm_alias_float.
21920 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
21921 <libm-alias-float.h>.
21922 (llroundf): Define using libm_alias_float.
21923 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
21924 <libm-alias-float.h>.
21925 (nearbyintf): Define using libm_alias_float.
21926 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
21927 <libm-alias-float.h>.
21928 (rintf): Define using libm_alias_float.
21929 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
21930 <libm-alias-float.h>.
21931 (roundf): Define using libm_alias_float.
21932 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
21933 <libm-alias-float.h>.
21934 (truncf): Define using libm_alias_float.
21935 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
21936 <libm-alias-float.h>.
21937 (ceilf): Define using libm_alias_float.
21938 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
21939 <libm-alias-float.h>.
21940 (floorf): Define using libm_alias_float.
21941 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21942 <libm-alias-float.h>.
21943 (llroundf): Define using libm_alias_float.
21944 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
21945 <libm-alias-float.h>.
21946 (roundf): Define using libm_alias_float.
21947 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
21948 <libm-alias-float.h>.
21949 (truncf): Define using libm_alias_float.
21950 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21951 <libm-alias-float.h>.
21952 (copysignf): Define using libm_alias_float.
21953 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21954 <libm-alias-float.h>.
21955 (llrintf): Define using libm_alias_float.
21956 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21957 <libm-alias-float.h>.
21958 (llroundf): Define using libm_alias_float.
21959 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
21960 <libm-alias-float.h>.
21961 (cosf): Define using libm_alias_float.
21962 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21963 <libm-alias-float.h>.
21964 (llrintf): Define using libm_alias_float.
21965 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21966 <libm-alias-float.h>.
21967 (llroundf): Define using libm_alias_float.
21968 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
21969 <libm-alias-float.h>.
21970 (sinf): Define using libm_alias_float.
21971
21972 2017-12-04 Florian Weimer <fweimer@redhat.com>
21973
21974 * support/check.h (TEST_COMPARE): Define.
21975 (support_test_compare_failure): Declare.
21976 * support/Makefile (libsupport-routines): Add
21977 support_test_compare_failure.
21978 (tests): Add tst-test_compare.
21979 * support /support_test_compare_failure.c: New file.
21980 * support/tst-test_compare.c: Likewise.
21981
21982 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21983
21984 [BZ #22527]
21985 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
21986 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
21987 available, this rewrite of the collation rules does reproduce
21988 the test file in the same order.
21989
21990 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21991
21992 [BZ #10580]
21993 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
21994 digraphs in the month and day names. Using single code points for
21995 digraphs is deprecated. While there are dedicated Unicode
21996 codepoints, for the digraphs, these are included for backwards
21997 compatibility and modern texts use a sequence of Basic Latin
21998 characters. See: https://www.unicode.org/faq/ligature_digraph.html
21999 This makes the month and day names agree exactly with CLDR now,
22000 CLDR does not use the single code points for the digraphs either.
22001
22002 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
22003
22004 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
22005
22006 2017-12-04 Joseph Myers <joseph@codesourcery.com>
22007
22008 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
22009 of floor.
22010
22011 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
22012
22013 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
22014 Define only for libc.so.
22015
22016 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
22017
22018 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22019 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
22020 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
22021 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
22022 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22023
22024 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22025
22026 [BZ #5997]
22027 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
22028
22029 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
22030
22031 [BZ libc/19170]
22032 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
22033 PREINIT_FUNCTION_WEAK is nonzero.
22034 (gmon_initializer): New function. Put procedure label for it in
22035 .init_array section.
22036 (_init): Don't call PREINIT_FUNCTION.
22037 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
22038 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
22039 value when map argument is null.
22040
22041 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
22042 depi instruction from PIC pc-relative sequence.
22043 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
22044 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
22045 (elf_machine_load_address): Likewise.
22046 (elf_machine_runtime_setup): Likewise.
22047
22048 2017-12-02 Joseph Myers <joseph@codesourcery.com>
22049
22050 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
22051 <libm-alias-double.h>.
22052 (logb): Define using libm_alias_double.
22053 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22054 <libm-alias-double.h>.
22055 (copysign): Define using libm_alias_double.
22056 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
22057 <libm-alias-double.h>.
22058 (llrint): Define using libm_alias_double.
22059 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
22060 <libm-alias-double.h>.
22061 (llround): Define using libm_alias_double.
22062 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22063 <libm-alias-double.h>.
22064 (lrint): Define using libm_alias_double.
22065 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22066 <libm-alias-double.h>.
22067 (lround): Define using libm_alias_double.
22068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22069 Include <libm-alias-double.h>.
22070 (copysign): Define using libm_alias_double.
22071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
22072 Include <libm-alias-double.h>.
22073 (llrint): Define using libm_alias_double.
22074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
22075 Include <libm-alias-double.h>.
22076 (llround): Define using libm_alias_double.
22077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
22078 <libm-alias-double.h>.
22079 (logb): Define using libm_alias_double.
22080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
22081 Include <libm-alias-double.h>.
22082 (lrint): Define using libm_alias_double.
22083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
22084 Include <libm-alias-double.h>.
22085 (lround): Define using libm_alias_double.
22086 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
22087 <libm-alias-double.h>.
22088 (llrint): Define using libm_alias_double.
22089 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22090 <libm-alias-double.h>.
22091 (llround): Define using libm_alias_double.
22092 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22093 <libm-alias-double.h>.
22094 (llround): Define using libm_alias_double.
22095 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22096 <libm-alias-double.h>.
22097 (lround): Define using libm_alias_double.
22098 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22099 <libm-alias-double.h>.
22100 (copysign): Define using libm_alias_double.
22101 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
22102 <libm-alias-double.h>.
22103 (llrint): Define using libm_alias_double.
22104 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22105 <libm-alias-double.h>.
22106 (llround): Define using libm_alias_double.
22107 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22108 <libm-alias-double.h>.
22109 (lrint): Define using libm_alias_double.
22110 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22111 <libm-alias-double.h>.
22112 (lround): Define using libm_alias_double.
22113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
22114 <libm-alias-double.h>.
22115 (copysign): Define using libm_alias_double.
22116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
22117 <libm-alias-double.h>.
22118 (llrint): Define using libm_alias_double.
22119 (lrint): Likewise.
22120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
22121 <libm-alias-double.h>.
22122 (llround): Define using libm_alias_double.
22123 (lround): Likewise.
22124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
22125 <libm-alias-double.h>.
22126 (logb): Define using libm_alias_double.
22127 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22128 <libm-alias-double.h>.
22129 (copysign): Define using libm_alias_double.
22130 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22131 <libm-alias-double.h>.
22132 (llrint): Define using libm_alias_double.
22133 (lrint): Likewise.
22134 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
22135 <libm-alias-double.h>.
22136 (llround): Define using libm_alias_double.
22137 (lround): Likewise.
22138 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22139 <libm-alias-double.h>.
22140 (llround): Define using libm_alias_double.
22141 (lround): Likewise.
22142 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22143 <libm-alias-double.h>.
22144 (copysign): Define using libm_alias_double.
22145 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22146 <libm-alias-double.h>.
22147 (llrint): Define using libm_alias_double.
22148 (lrint): Likewise.
22149 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22150 <libm-alias-double.h>.
22151 (llround): Define using libm_alias_double.
22152 (lround): Likewise.
22153 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22154 <libm-alias-double.h>.
22155 (llrint): Define using libm_alias_double.
22156 (lrint): Likewise.
22157 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22158 <libm-alias-double.h>.
22159 (llround): Define using libm_alias_double.
22160 (lround): Likewise.
22161
22162 2017-12-01 Joseph Myers <joseph@codesourcery.com>
22163
22164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22165 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
22166 compat symbol based on llround.
22167
22168 * sysdeps/powerpc/power7/fpu/s_logb.c
22169 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
22170 symbol based on __logb, not on logb.
22171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
22172 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
22174 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22175
22176 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
22177 (rint): Define using libm_alias_double.
22178 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
22179 <libm-alias-double.h>.
22180 (modf): Define using libm_alias_double.
22181 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
22182 <libm-alias-double.h>.
22183 (ceil): Define using libm_alias_double.
22184 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
22185 <libm-alias-double.h>.
22186 (floor): Define using libm_alias_double.
22187 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
22188 <libm-alias-double.h>.
22189 (nearbyint): Define using libm_alias_double.
22190 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
22191 <libm-alias-double.h>.
22192 (rint): Define using libm_alias_double.
22193 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
22194 <libm-alias-double.h>.
22195 (round): Define using libm_alias_double.
22196 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
22197 <libm-alias-double.h>.
22198 (trunc): Define using libm_alias_double.
22199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
22200 <libm-alias-double.h>.
22201 (ceil): Define using libm_alias_double.
22202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
22203 Include <libm-alias-double.h>.
22204 (floor): Define using libm_alias_double.
22205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
22206 <libm-alias-double.h>.
22207 (modf): Define using libm_alias_double.
22208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
22209 Include <libm-alias-double.h>.
22210 (round): Define using libm_alias_double.
22211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
22212 Include <libm-alias-double.h>.
22213 (trunc): Define using libm_alias_double.
22214 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
22215 <libm-alias-double.h>.
22216 (ceil): Define using libm_alias_double.
22217 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
22218 <libm-alias-double.h>.
22219 (floor): Define using libm_alias_double.
22220 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
22221 <libm-alias-double.h>.
22222 (round): Define using libm_alias_double.
22223 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
22224 <libm-alias-double.h>.
22225 (trunc): Define using libm_alias_double.
22226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
22227 <libm-alias-double.h>.
22228 (ceil): Define using libm_alias_double.
22229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
22230 <libm-alias-double.h>.
22231 (floor): Define using libm_alias_double.
22232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
22233 <libm-alias-double.h>.
22234 (modf): Define using libm_alias_double.
22235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
22236 <libm-alias-double.h>.
22237 (round): Define using libm_alias_double.
22238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
22239 <libm-alias-double.h>.
22240 (trunc): Define using libm_alias_double.
22241 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
22242 <libm-alias-double.h>.
22243 (ceil): Define using libm_alias_double.
22244 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
22245 <libm-alias-double.h>.
22246 (floor): Define using libm_alias_double.
22247 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
22248 <libm-alias-double.h>.
22249 (nearbyint): Define using libm_alias_double.
22250 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
22251 <libm-alias-double.h>.
22252 (rint): Define using libm_alias_double.
22253 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
22254 <libm-alias-double.h>.
22255 (round): Define using libm_alias_double.
22256 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
22257 <libm-alias-double.h>.
22258 (trunc): Define using libm_alias_double.
22259 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
22260 <libm-alias-double.h>.
22261 (ceil): Define using libm_alias_double.
22262 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
22263 <libm-alias-double.h>.
22264 (floor): Define using libm_alias_double.
22265 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
22266 <libm-alias-double.h>.
22267 (round): Define using libm_alias_double.
22268 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
22269 <libm-alias-double.h>.
22270 (trunc): Define using libm_alias_double.
22271
22272 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
22273 (fabs): Define using libm_alias_double.
22274 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
22275 (fma): Define using libm_alias_double.
22276 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
22277 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
22278 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
22279 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
22280
22281 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22282
22283 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
22284
22285 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
22286 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
22287 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22288
22289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
22290 due redirect macro.
22291
22292 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
22293
22294 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
22295
22296 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22297
22298 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
22299 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
22300 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
22301 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
22302
22303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22304 (libm-sysdep_routines): Add s_nearbyintf-generic and
22305 s_nearbyint-generic.
22306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
22307 New file.
22308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
22309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
22310 Likewise.
22311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
22312 Likewise.
22313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
22314 file.
22315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22316 Likewise.
22317
22318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22319 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
22320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
22321 file.
22322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
22323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
22324 Likewise.
22325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
22326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
22327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22328
22329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22330 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
22331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
22332 file.
22333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
22334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
22335 Likewise.
22336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
22337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
22338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
22339
22340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22341 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
22342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
22343 file.
22344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
22345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
22346 Likewise.
22347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
22348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
22349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22350
22351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22352 (sysdep_calls): New rule.
22353 (sysdep_routines): Use sysdep_calls as base.
22354 (libm-sysdep_routines): Add generic rule for symbols shared with
22355 libc. Add s_copysign-generic and s_copysign-generic objects.
22356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
22357 New file.
22358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
22359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
22360 Likewise.
22361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
22362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
22363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
22364
22365 2017-12-01 Mike FABIAN <mfabian@redhat.com>
22366
22367 [BZ #22519]
22368 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
22369 the list of locales to be built for testing.
22370 * localedata/is_IS.UTF-8.in: New file.
22371 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
22372 on iso14651_t1.
22373
22374 2017-12-01 Joseph Myers <joseph@codesourcery.com>
22375
22376 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
22377 <libm-alias-float.h>.
22378 (fabsf): Define using libm_alias_float.
22379
22380 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22381
22382 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
22383
22384 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22385
22386 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
22387 <libm-alias-float.h>.
22388 (fabsf): Define using libm_alias_float.
22389 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
22390 <libm-alias-float.h>.
22391 (lrintf): Define using libm_alias_float.
22392 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
22393 <libm-alias-float.h>.
22394 (rintf): Define using libm_alias_float.
22395
22396 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
22397 <libm-alias-double.h>.
22398 (fabs): Define using libm_alias_double.
22399 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
22400 <libm-alias-double.h>.
22401 (lrint): Define using libm_alias_double.
22402 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
22403 <libm-alias-double.h>.
22404 (rint): Define using libm_alias_double.
22405
22406 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
22407 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
22408 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
22409 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
22410 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
22411 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
22412 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
22413 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
22414 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
22415 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
22416 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
22417 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
22418 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
22419 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
22420 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
22421 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
22422 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
22423 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
22424 s_atan_template.c.
22425 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
22426 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
22427 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
22428 s_ceil_template.c.
22429 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
22430 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
22431 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
22432 s_cos_template.c.
22433 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
22434 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
22435 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
22436 s_expm1_template.c.
22437 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
22438 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
22439 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
22440 s_fabs_template.c.
22441 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
22442 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
22443 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
22444 s_floor_template.c.
22445 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
22446 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
22447 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
22448 s_frexp_template.c.
22449 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
22450 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
22451 s_lrint_template.c.
22452 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
22453 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
22454 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
22455 s_modf_template.c.
22456 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
22457 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
22458 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
22459 s_nearbyint_template.c.
22460 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
22461 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
22462 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
22463 s_remquo_template.c.
22464 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
22465 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
22466 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
22467 s_rint_template.c.
22468 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
22469 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
22470 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
22471 s_sin_template.c.
22472 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
22473 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
22474 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
22475 s_sincos_template.c.
22476 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
22477 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
22478 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
22479 s_tan_template.c.
22480 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
22481 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
22482 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
22483 s_tanh_template.c.
22484 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
22485 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
22486 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
22487 s_trunc_template.c.
22488 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
22489 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
22490 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
22491 s_atan.c instead of including s_atan.c.
22492 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
22493 s_atanf.c instead of including s_atanf.c.
22494 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
22495 s_atanl.c instead of including s_atanl.c.
22496 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
22497 instead of s_atan.c.
22498 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
22499 instead of s_atanf.c.
22500 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
22501 instead of s_atanl.c.
22502
22503 * scripts/update-copyrights: Do not handle intl/plural.c
22504 specially.
22505
22506 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
22507
22508 [BZ #22432]
22509 * configure.ac (BISON): Require to be present.
22510 * configure: Regenerated.
22511 * intl/Makefile (generated): Add plural.c.
22512 [$(BISON) != no]: Make code unconditional.
22513 (plural.c): Change rule to $(objpfx)plural.c.
22514 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
22515 * intl/plural.c: Remove.
22516 * manual/install.texi (Tools for Compilation): Document bison as
22517 required.
22518 * INSTALL: Regenerated.
22519
22520 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22521
22522 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
22523 <libm-alias-double.h>.
22524 (llrint): Define using libm_alias_double.
22525 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
22526 <libm-alias-float.h>.
22527 (llrintf): Define using libm_alias_float.
22528 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
22529 <libm-alias-ldouble.h>.
22530 (llrintl): Define using libm_alias_ldouble.
22531
22532 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
22533 declare_mgen_alias instead of weak_alias.
22534 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
22535 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
22536 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
22537
22538 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22539
22540 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22541 Add add_n-generic.
22542 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
22543 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
22544 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
22545
22546 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22547 Add submul_1-generic.
22548 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
22549 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
22550 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
22551
22552 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22553 Add addmul_1-generic.
22554 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
22555 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
22556 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
22557
22558 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22559 Add sub_n-generic.
22560 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
22561 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
22562 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
22563
22564 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22565 Add mul_1-generic.
22566 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
22567 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
22568 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
22569
22570 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22571
22572 According to CLDR, collation rules for Serbian and Bosnian
22573 should be the same as for Croatian.
22574
22575 [BZ #22534]
22576 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
22577 and to the list of locales to be built for testing.
22578 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22579 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22580 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
22581 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
22582
22583 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22584
22585 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
22586 to make test case pass.
22587 * localedata/hr_HR.UTF-8.in: Add more test strings.
22588
22589 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22590
22591 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
22592
22593 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
22594
22595 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
22596 the list of locales to built for testing.
22597 * localedata/hr_HR.UTF-8.in: New file.
22598
22599 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
22600
22601 [BZ #10580]
22602 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
22603 iso14651_t1.
22604 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
22605 CLDR (except use ligatures for the digraphs, CLDR does not use
22606 the ligatures), add first_workday, some fixes in the date and time
22607 formats.
22608 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
22609 for Đ and đ.
22610 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
22611 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
22612 Add int_p_cs_precedes and int_n_cs_precedes.
22613 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
22614 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
22615 LC_MONETARY now).
22616 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
22617 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
22618 name_miss.
22619 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
22620 and lang_lib. Change postal_fmt.
22621
22622 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22623
22624 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
22625 <setjmp.h>.
22626 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22627 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
22628 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22629 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
22630 * sysdeps/generic/setjmpP.h: New file.
22631 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
22632 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
22633 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
22634 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
22635 Add jmp_buf-ssp.sym.
22636 (tests): Add tst-saved_mask-1.
22637
22638 2017-11-30 Arjun Shankar <arjun@redhat.com>
22639
22640 [BZ #22375]
22641 CVE-2017-17426
22642 * malloc/malloc.c (__libc_malloc): Use checked_request2size
22643 instead of request2size.
22644
22645 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22646
22647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
22648 (__lllrint): Remove alias.
22649 (lllrint): Likewise.
22650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
22651 (__lllrintf): Likewise.
22652 (lllrintf): Likewise.
22653
22654 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
22655 <libm-alias-float.h>.
22656 (copysignf): Define using libm_alias_float.
22657 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
22658 <libm-alias-float.h>.
22659 (fabsf): Define using libm_alias_float.
22660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22661 Include <libm-alias-float.h>.
22662 (copysignf): Define using libm_alias_float.
22663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
22664 <libm-alias-float.h>.
22665 (fabsf): Define using libm_alias_float.
22666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
22667 <libm-alias-float.h>.
22668 (fdimf): Define using libm_alias_float.
22669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
22670 <libm-alias-float.h>.
22671 (fmaf): Define using libm_alias_float.
22672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
22673 <libm-alias-float.h>.
22674 (llrintf): Define using libm_alias_float.
22675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22676 Include <libm-alias-float.h>.
22677 (nearbyintf): Define using libm_alias_float.
22678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
22679 <libm-alias-float.h>.
22680 (rintf): Define using libm_alias_float.
22681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
22682 <libm-alias-float.h>.
22683 (llrintf): Define using libm_alias_float.
22684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
22685 <libm-alias-float.h>.
22686 (lrintf): Define using libm_alias_float.
22687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
22688 <libm-alias-float.h>.
22689 (nearbyintf): Define using libm_alias_float.
22690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
22691 <libm-alias-float.h>.
22692 (rintf): Define using libm_alias_float.
22693 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
22694 <libm-alias-float.h>.
22695 (ceilf): Define using libm_alias_float.
22696 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
22697 <libm-alias-float.h>.
22698 (floorf): Define using libm_alias_float.
22699 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
22700 <libm-alias-float.h>.
22701 (fmaf): Define using libm_alias_float.
22702 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
22703 <libm-alias-float.h>.
22704 (lrintf): Define using libm_alias_float.
22705 (llrintf): Likewise.
22706 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
22707 <libm-alias-float.h>.
22708 (nearbyintf): Define using libm_alias_float.
22709 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
22710 <libm-alias-float.h>.
22711 (rintf): Define using libm_alias_float.
22712 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
22713 <libm-alias-float.h>.
22714 (truncf): Define using libm_alias_float.
22715 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
22716 <libm-alias-float.h>.
22717 (copysignf): Define using libm_alias_float.
22718 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
22719 <libm-alias-float.h>.
22720 (fabsf): Define using libm_alias_float.
22721 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
22722 <libm-alias-float.h>.
22723 (lrintf): Define using libm_alias_float.
22724 (llrintf): Likewise.
22725 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
22726 <libm-alias-float.h>.
22727 (nearbyintf): Define using libm_alias_float.
22728 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
22729 <libm-alias-float.h>.
22730 (rintf): Define using libm_alias_float.
22731
22732 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22733
22734 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
22735 <libm-alias-double.h>.
22736 (copysign): Define using libm_alias_double.
22737 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
22738 <libm-alias-double.h>.
22739 (fabs): Define using libm_alias_double.
22740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22741 Include <libm-alias-double.h>.
22742 (copysign): Define using libm_alias_double.
22743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
22744 <libm-alias-double.h>.
22745 (fabs): Define using libm_alias_double.
22746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
22747 <libm-alias-double.h>.
22748 (fdim): Define using libm_alias_double.
22749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
22750 <libm-alias-double.h>.
22751 (fma): Define using libm_alias_double.
22752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
22753 <libm-alias-double.h>.
22754 (llrint): Define using libm_alias_double.
22755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
22756 Include <libm-alias-double.h>.
22757 (nearbyint): Define using libm_alias_double.
22758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
22759 <libm-alias-double.h>.
22760 (rint): Define using libm_alias_double.
22761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22762 <libm-alias-double.h>.
22763 (fabs): Define using libm_alias_double.
22764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
22765 <libm-alias-double.h>.
22766 (llrint): Define using libm_alias_double.
22767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
22768 <libm-alias-double.h>.
22769 (nearbyint): Define using libm_alias_double.
22770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
22771 <libm-alias-double.h>.
22772 (rint): Define using libm_alias_double.
22773 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
22774 <libm-alias-double.h>.
22775 (ceil): Define using libm_alias_double.
22776 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
22777 <libm-alias-double.h>.
22778 (floor): Define using libm_alias_double.
22779 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
22780 <libm-alias-double.h>.
22781 (fma): Define using libm_alias_double.
22782 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
22783 <libm-alias-double.h>.
22784 (lrint): Define using libm_alias_double.
22785 (llrint): Likewise.
22786 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
22787 <libm-alias-double.h>.
22788 (nearbyint): Define using libm_alias_double.
22789 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
22790 <libm-alias-double.h>.
22791 (rint): Define using libm_alias_double.
22792 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
22793 <libm-alias-double.h>.
22794 (trunc): Define using libm_alias_double.
22795 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
22796 <libm-alias-double.h>.
22797 (copysign): Define using libm_alias_double.
22798 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
22799 <libm-alias-double.h>.
22800 (fabs): Define using libm_alias_double.
22801 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
22802 <libm-alias-double.h>.
22803 (lrint): Define using libm_alias_double.
22804 (llrint): Likewise.
22805 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
22806 <libm-alias-double.h>.
22807 (nearbyint): Define using libm_alias_double.
22808 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
22809 <libm-alias-double.h>.
22810 (rint): Define using libm_alias_double.
22811
22812 [BZ #22229]
22813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22814 <math_ldbl_opt.h>.
22815 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
22816
22817 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22818 SPARC --disable-multi-arch glibc variants.
22819
22820 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
22821 <libm-alias-float.h>.
22822 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22823 if [SHARED].
22824 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
22825 <libm-alias-float.h>.
22826 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22827 if [SHARED].
22828 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
22829 <libm-alias-float.h>.
22830 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22831 if [SHARED].
22832 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
22833 <libm-alias-float.h>.
22834 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22835 if [SHARED].
22836 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
22837 <libm-alias-float.h>.
22838 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22839 if [SHARED].
22840 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
22841 <libm-alias-float.h>.
22842 (ceilf): Define using libm_alias_float.
22843 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
22844 <libm-alias-float.h>.
22845 (floorf): Define using libm_alias_float.
22846 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
22847 <libm-alias-float.h>.
22848 (fmaf): Define using libm_alias_float.
22849 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
22850 <libm-alias-float.h>.
22851 (nearbyintf): Define using libm_alias_float.
22852 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
22853 <libm-alias-float.h>.
22854 (rintf): Define using libm_alias_float.
22855 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
22856 <libm-alias-float.h>.
22857 (truncf): Define using libm_alias_float.
22858 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22859 (copysignf): Define using libm_alias_float.
22860 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
22861 (cosf): Define using libm_alias_float.
22862 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22863 (fabsf): Define using libm_alias_float.
22864 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22865 (fmaxf): Define using libm_alias_float.
22866 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
22867 (fminf): Define using libm_alias_float.
22868 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22869 (llrintf): Define using libm_alias_float.
22870 [!__ILP32__] (lrintf): Likewise.
22871 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
22872 (sincosf): Define using libm_alias_float.
22873 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
22874 (sinf): Define using libm_alias_float.
22875 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22876 (lrintf): Define using libm_alias_float.
22877
22878 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
22879 <libm-alias-double.h>.
22880 (atan): Define using libm_alias_double.
22881 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
22882 <libm-alias-double.h>.
22883 (ceil): Define using libm_alias_double.
22884 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
22885 <libm-alias-double.h>.
22886 (floor): Define using libm_alias_double.
22887 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
22888 <libm-alias-double.h>.
22889 (fma): Define using libm_alias_double.
22890 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
22891 <libm-alias-double.h>.
22892 (nearbyint): Define using libm_alias_double.
22893 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
22894 <libm-alias-double.h>.
22895 (rint): Define using libm_alias_double.
22896 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
22897 <libm-alias-double.h>.
22898 (sin): Define using libm_alias_double.
22899 (cos): Likewise.
22900 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
22901 <libm-alias-double.h>.
22902 (tan): Define using libm_alias_double.
22903 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
22904 <libm-alias-double.h>.
22905 (trunc): Define using libm_alias_double.
22906 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
22907 (copysign): Define using libm_alias_double.
22908 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
22909 (fabs): Define using libm_alias_double.
22910 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
22911 (fmax): Define using libm_alias_double.
22912 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
22913 (fmin): Define using libm_alias_double.
22914 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
22915 (llrint): Define using libm_alias_double.
22916 [!__ILP32__] (lrint): Likewise.
22917 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
22918 (lrint): Define using libm_alias_double.
22919
22920 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22921
22922 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22923 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
22924 objects.
22925 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
22926 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
22927 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
22928 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
22929 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
22930 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22931
22932 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22933 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
22934 objects.
22935 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
22936 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
22937 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
22938 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
22939 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
22940 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22941
22942 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22943 (libm-sysdep_routines): Add s_nearbyint-generic and
22944 s_nearbyintf-generic objects.
22945 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
22946 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
22947 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
22948 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
22949 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
22950 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
22951
22952 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22953 Add s_finitef-generic and s_finite-generic objects.
22954 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
22955 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
22956 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
22957 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
22958 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
22959 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
22960
22961 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22962 Add s_isinff-generic and s_isinf-generic objects.
22963 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
22964 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
22965 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
22966 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
22967 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
22968 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22969
22970 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22971 Add s_isnanf-generic and s_isnan-generic objects.
22972 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
22973 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
22974 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
22975 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
22976 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
22977 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22978
22979 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
22980 macro.
22981 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
22982 rule.
22983 (sysdep_routines): Use sysdep_calls as base.
22984 (libm-sysdep_routines): Add generic rule for symbols shared with
22985 libc. Add s_signbit-generic and s_signbitf-generic objects.
22986 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
22987 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
22988 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
22989 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
22990 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
22991 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22992
22993 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22994
22995 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
22996 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
22997 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
22998 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
22999 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
23000 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
23001 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
23002 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
23003 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
23004 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
23005 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
23006 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
23007 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
23008 libm_alias_float_r.
23009 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
23010 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
23011 (logf): Likewise.
23012 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
23013 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
23014 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
23015 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
23016 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
23017 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
23018 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
23019 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
23020 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
23021 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
23022 libm_alias_float.
23023 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
23024 (cosf): Likewise.
23025 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
23026 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
23027 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
23028 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
23029 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
23030 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
23031 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
23032 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
23033 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
23034 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
23035 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
23036 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
23037 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
23038 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
23039 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
23040 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
23041 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
23042 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
23043 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
23044 libm_alias_float.
23045 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
23046 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
23047 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
23048 * sysdeps/ia64/fpu/w_lgammaf_main.c
23049 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
23050 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
23051
23052 2017-11-28 Mike FABIAN <mfabian@redhat.com>
23053 Alexandre Oliva <aoliva@redhat.com>
23054
23055 [BZ #17750]
23056 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
23057 * localedata/fr_CA.UTF-8.in: New file with test data for backward
23058 accents sorting.
23059 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
23060 sorting.
23061 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
23062 * localedata/locales/de_DE (LC_COLLATE): Likewise.
23063 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
23064 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
23065 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
23066 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
23067 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
23068 instead of “ifdef DIACRIT_BACKWARD”.
23069
23070 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23071
23072 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
23073 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
23074 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
23075 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
23076 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
23077 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
23078 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
23079 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
23080 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
23081 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
23082 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
23083 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
23084 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
23085 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
23086 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
23087 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23088 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
23089 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
23090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23091 ($(have-as-vis3) == yes): Remove conditional.
23092 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
23093 Likewise.
23094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
23095 file.
23096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
23097 file.
23098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
23099 file.
23100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
23101 file.
23102 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
23103 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
23104 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
23105 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
23106 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
23107 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
23108 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
23109 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
23110
23111 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23112
23113 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
23114 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
23115 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
23116 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
23117 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
23118 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
23119 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
23120 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
23121 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
23122 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
23123 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
23124 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
23125 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
23126 libm_alias_double_r.
23127 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
23128 (log): Likewise.
23129 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
23130 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
23131 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
23132 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
23133 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
23134 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
23135 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
23136 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
23137 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
23138 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
23139 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
23140 libm_alias_double.
23141 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
23142 (cos): Likewise.
23143 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
23144 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
23145 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
23146 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
23147 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
23148 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
23149 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
23150 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
23151 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
23152 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
23153 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
23154 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
23155 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
23156 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
23157 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
23158 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
23159 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
23160 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
23161 libm_alias_double.
23162 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
23163 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
23164 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
23165 * sysdeps/ia64/fpu/w_lgamma_main.c
23166 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
23167 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
23168
23169 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
23170
23171 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
23172 address of $global$ into %dp register earlier. Use pc-relative
23173 instruction sequence for PIC case.
23174
23175 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23176
23177 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
23178 (asinhf): Define using libm_alias_float.
23179 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
23180 (atanf): Define using libm_alias_float.
23181 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
23182 (cbrtf): Define using libm_alias_float.
23183 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
23184 (ceilf): Define using libm_alias_float.
23185 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23186 (copysignf): Define using libm_alias_float.
23187 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
23188 (expm1f): Define using libm_alias_float.
23189 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
23190 (fabsf): Define using libm_alias_float.
23191 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
23192 (floorf): Define using libm_alias_float.
23193 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23194 (fmaxf): Define using libm_alias_float.
23195 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
23196 (fminf): Define using libm_alias_float.
23197 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
23198 (frexpf): Define using libm_alias_float.
23199 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23200 (llrintf): Define using libm_alias_float.
23201 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
23202 (logbf): Define using libm_alias_float.
23203 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23204 (lrintf): Define using libm_alias_float.
23205 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
23206 (nearbyintf): Define using libm_alias_float.
23207 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
23208 (remquof): Define using libm_alias_float.
23209 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
23210 (rintf): Define using libm_alias_float.
23211 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
23212 (truncf): Define using libm_alias_float.
23213 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
23214 <libm-alias-float.h>.
23215 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23216 if [SHARED].
23217 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
23218 <libm-alias-float.h>.
23219 (expf): Define using libm_alias_float, or libm_alias_float_other
23220 if [SHARED].
23221 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
23222 <libm-alias-float.h>.
23223 (log2f): Define using libm_alias_float, or libm_alias_float_other
23224 if [SHARED].
23225 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
23226 <libm-alias-float.h>.
23227 (logf): Define using libm_alias_float, or libm_alias_float_other
23228 if [SHARED].
23229 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
23230 <libm-alias-float.h>.
23231 (powf): Define using libm_alias_float, or libm_alias_float_other
23232 if [SHARED].
23233 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
23234 <libm-alias-float.h>.
23235 (cosf): Define using libm_alias_float.
23236 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
23237 <libm-alias-float.h>.
23238 (sincosf): Define using libm_alias_float.
23239 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
23240 <libm-alias-float.h>.
23241 (sinf): Define using libm_alias_float.
23242 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23243 (fmaxf): Define using libm_alias_float.
23244 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
23245 (fminf): Define using libm_alias_float.
23246 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23247 <libm-alias-float.h>.
23248 (fmaf): Define using libm_alias_float.
23249
23250 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
23251 (asinh): Define using libm_alias_double.
23252 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
23253 (atan): Define using libm_alias_double.
23254 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
23255 (cbrt): Define using libm_alias_double.
23256 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
23257 (ceil): Define using libm_alias_double.
23258 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
23259 (copysign): Define using libm_alias_double.
23260 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
23261 (expm1): Define using libm_alias_double.
23262 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
23263 (fabs): Define using libm_alias_double.
23264 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
23265 (fdim): Define using libm_alias_double.
23266 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
23267 (floor): Define using libm_alias_double.
23268 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
23269 (fmax): Define using libm_alias_double.
23270 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
23271 (fmin): Define using libm_alias_double.
23272 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
23273 (frexp): Define using libm_alias_double.
23274 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
23275 (llrint): Define using libm_alias_double.
23276 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
23277 (logb): Define using libm_alias_double.
23278 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
23279 (lrint): Define using libm_alias_double.
23280 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
23281 (nearbyint): Define using libm_alias_double.
23282 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
23283 (remquo): Define using libm_alias_double.
23284 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
23285 (rint): Define using libm_alias_double.
23286 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
23287 (trunc): Define using libm_alias_double.
23288 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
23289 (fmax): Define using libm_alias_double.
23290 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
23291 (fmin): Define using libm_alias_double.
23292 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
23293 (fma): Define using libm_alias_double.
23294
23295 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
23296
23297 [BZ #22370]
23298 * elf/dl-hwcaps.c (ROUND): Removed.
23299 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
23300 and ELF_NOTE_NEXT_OFFSET.
23301 * elf/dl-load.c (ROUND): Removed.
23302 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23303 * elf/readelflib.c (ROUND): Removed.
23304 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23305 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
23306 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
23307 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
23308
23309 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23310
23311 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23312 [!__fmaf] (fmaf): Define using libm_alias_float.
23313
23314 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
23315 [!__fma] (fma): Define using libm_alias_double.
23316 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
23317
23318 2017-11-28 Mike FABIAN <mfabian@redhat.com>
23319
23320 [BZ #22336]
23321 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
23322 and implement the collation rules for cs from CLDR on top of that.
23323 * Makefile: Add cs_CZ.UTF-8 to test-input.
23324 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
23325
23326 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
23327
23328 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
23329
23330 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23331 Icarus Sparry <icarus.w.sparry@intel.com>
23332
23333 * benchtests/Makefile:Add BENCHSET to allow subsets of
23334 benchmarks to be run.
23335 * benchtests/README: Add documentation for: Running subsets of
23336 benchmarks.
23337
23338 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23339
23340 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
23341 range of tests names.
23342
23343 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
23344 result from property and remove "max", min" and "mean" from
23345 required properties based on benchtests/bench-skeleton.c.
23346
23347 2017-11-28 Florian Weimer <fweimer@redhat.com>
23348
23349 [BZ #20826]
23350 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
23351 due to Internet requirement.
23352 * posix/Makefile (tests): Remove tst-getaddrinfo4,
23353 tst-getaddrinfo5.
23354 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
23355
23356 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23357
23358 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23359 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
23360 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23361 (sysdep_routines): Add memset-ultra1.
23362 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
23363 file.
23364 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
23365 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
23366 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
23367 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
23368 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
23369 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
23370 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
23371 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23372
23373 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
23374 file.
23375 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
23376 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
23377 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
23378 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
23379 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
23380 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
23381 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
23382 macro.
23383 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23384 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
23385 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23386 (sysdep_routines): Add memcpy-ultra1.
23387 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
23388 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
23389
23390 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23391
23392 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
23393 (cfloat_versions): Take function argument without trailing 'f'.
23394 Call libm_alias_float_other.
23395 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
23396 * sysdeps/alpha/fpu/cargf.c: Likewise.
23397 * sysdeps/alpha/fpu/cimagf.c: Likewise.
23398 * sysdeps/alpha/fpu/conjf.c: Likewise.
23399 * sysdeps/alpha/fpu/crealf.c: Likewise.
23400 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
23401 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
23402 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
23403 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
23404 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
23405 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
23406 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
23407 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
23408 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
23409 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
23410 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
23411 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
23412 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
23413 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
23414 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
23415 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
23416 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
23417 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
23418 (clog10f): Use libm_alias_float_other.
23419 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23420 (ceilf): Define using libm_alias_float.
23421 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
23422 (copysignf): Define using libm_alias_float.
23423 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23424 (fabsf): Define using libm_alias_float.
23425 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
23426 (floorf): Define using libm_alias_float.
23427 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
23428 (fmaxf): Define using libm_alias_float.
23429 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
23430 (fminf): Define using libm_alias_float.
23431 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23432 (lrintf): Define using libm_alias_float.
23433 (llrintf): Likewise.
23434 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23435 (lroundf): Define using libm_alias_float.
23436 (llroundf): Likewise.
23437 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
23438 (rintf): Define using libm_alias_float.
23439 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
23440 (truncf): Define using libm_alias_float.
23441
23442 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23443 (ceilf): Define using libm_alias_float.
23444 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
23445 (floorf): Define using libm_alias_float.
23446 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23447 (fmaf): Define using libm_alias_float.
23448 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
23449 (fmaxf): Define using libm_alias_float.
23450 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
23451 (fminf): Define using libm_alias_float.
23452 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
23453 (llrintf): Define using libm_alias_float.
23454 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
23455 (llroundf): Define using libm_alias_float.
23456 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23457 (lrintf): Define using libm_alias_float.
23458 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23459 (lroundf): Define using libm_alias_float.
23460 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
23461 <libm-alias-float.h>.
23462 (nearbyintf): Define using libm_alias_float.
23463 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
23464 (rintf): Define using libm_alias_float.
23465 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
23466 (roundf): Define using libm_alias_float.
23467 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
23468 (truncf): Define using libm_alias_float.
23469
23470 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
23471 (ceil): Define using libm_alias_double.
23472 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
23473 (copysign): Define using libm_alias_double.
23474 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
23475 (fabs): Define using libm_alias_double.
23476 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
23477 (floor): Define using libm_alias_double.
23478 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
23479 (fmax): Define using libm_alias_double.
23480 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
23481 (fmin): Define using libm_alias_double.
23482 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
23483 (lrint): Define using libm_alias_double.
23484 (llrint): Likewise.
23485 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
23486 (lround): Define using libm_alias_double.
23487 (llround): Likewise.
23488 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
23489 (rint): Define using libm_alias_double.
23490 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
23491 (trunc): Define using libm_alias_double.
23492
23493 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23494 (libm_alias_double_r): Add semicolon after weak_alias call.
23495
23496 2017-11-27 Joseph Myers <joseph@codesourcery.com>
23497
23498 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
23499 (ceil): Define using libm_alias_double.
23500 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
23501 (floor): Define using libm_alias_double.
23502 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
23503 (fma): Define using libm_alias_double.
23504 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
23505 (fmax): Define using libm_alias_double.
23506 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
23507 (fmin): Define using libm_alias_double.
23508 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
23509 (llrint): Define using libm_alias_double.
23510 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
23511 (llround): Define using libm_alias_double.
23512 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
23513 (lrint): Define using libm_alias_double.
23514 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
23515 (lround): Define using libm_alias_double.
23516 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
23517 (nearbyint): Define using libm_alias_double.
23518 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
23519 (rint): Define using libm_alias_double.
23520 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
23521 (round): Define using libm_alias_double.
23522 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
23523 (trunc): Define using libm_alias_double.
23524
23525 2017-11-27 Florian Weimer <fweimer@redhat.com>
23526
23527 * sysdeps/unix/sysv/linux/mlock2.c: New file.
23528 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
23529 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
23530 (tests): Add tst-mlock2.
23531 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
23532 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
23533 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
23534 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
23535 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
23536 for mlock. Document mlock2.
23537
23538 2017-11-27 Joseph Myers <joseph@codesourcery.com>
23539
23540 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
23541 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
23542 Likewise.
23543 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
23544 Likewise.
23545 * sysdeps/x86/Makeconfig: New file.
23546 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
23547 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23548 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
23549 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23550 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23551 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23552 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
23553 Likewise.
23554 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23555 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23556 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23557 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23558 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23559 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23560 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23561 * manual/math.texi (Mathematics): Document support for _Float64x.
23562 * math/Versions (GLIBC_2.27): Add _Float64x functions.
23563 * stdlib/Versions (GLIBC_2.27): Likewise.
23564 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23565 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23566 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23567 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23568 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23569 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23570 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23571 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23572 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23573 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23574 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23575 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23577 Likewise.
23578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23579 Likewise.
23580 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23581 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23582 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23583 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23584 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23585 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23586 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23587 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23588 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23589 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23590 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23591 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23592 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23593 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23594
23595 2017-11-27 Andreas Schwab <schwab@suse.de>
23596
23597 * elf/Makefile (dl-routines): Add dl-sort-maps.
23598 * elf/dl-sort-maps.c: New file.
23599 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
23600 (_dl_sort_maps): Declare.
23601 * elf/dl-fini.c (_dl_sort_fini): Remove.
23602 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
23603 * elf/dl-close.c (_dl_close_worker): Likewise.
23604 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
23605 open-coding it.
23606 * elf/dl-open.c (dl_open_worker): Likewise.
23607
23608 2017-11-24 Joseph Myers <joseph@codesourcery.com>
23609
23610 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
23611 using libm_alias_float128.
23612 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
23613 Likewise.
23614 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
23615 Likewise.
23616 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
23617 (setpayloadsigf128): Likewise.
23618 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
23619 Likewise.
23620 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
23621 Likewise.
23622
23623 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
23624 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
23625 -mfloat128 to CFLAGS.
23626 ($(foreach
23627 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
23628 Likewise.
23629 (CFLAGS-libm-test-support-float64x.c): New variable.
23630 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
23631 $(f128-loader-link) to gnulib-tests.
23632
23633 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
23634 (libm_alias_float128_other_r): If
23635 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
23636 alias.
23637 (libm_alias_float128_r): Add semicolon after weak_alias call.
23638 * sysdeps/generic/libm-alias-ldouble.h
23639 (libm_alias_ldouble_other_r_f128): New macro.
23640 (libm_alias_ldouble_other_r_f64x): Likewise.
23641 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23642 and libm_alias_ldouble_other_r_f64x.
23643 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
23644 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
23645 (libm_alias_ldouble_other_r_f128): New macro.
23646 (libm_alias_ldouble_other_r_f64x): Likewise.
23647 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23648 and libm_alias_ldouble_other_r_f64x.
23649
23650 * stdlib/strfroml.c: Always include <stdlib.h>.
23651 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
23652 undefine as macro and define as weak alias.
23653 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
23654 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
23655 <stdlib.h>.
23656 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
23657 Define and later undefine as macro and define as weak alias.
23658
23659 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23660 Define and later undefine as macro. Define as weak alias if
23661 [!USE_WIDE_CHAR].
23662 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
23663 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23664 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
23665 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23666 Define and later undefine as macro. Define as weak alias if
23667 [!USE_WIDE_CHAR].
23668 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
23669 Define and later undefine as macro. Define as weak alias if
23670 [USE_WIDE_CHAR].
23671 * sysdeps/ieee754/float128/strtof128_l.c
23672 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
23673 Define and later undefine as macro. Define as weak alias if
23674 [!USE_WIDE_CHAR].
23675 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
23676 Define and later undefine as macro. Define as weak alias if
23677 [USE_WIDE_CHAR].
23678 * sysdeps/ieee754/ldbl-128/strtold_l.c
23679 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23680 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23681 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23682 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23683 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
23684 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23685 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23686 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23687 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23688 * sysdeps/ieee754/ldbl-96/strtold_l.c
23689 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23690 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23691 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23692 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23693
23694 * math/test-float64x.h: New file.
23695 * math/Makefile (type-float64x-yes): New variable.
23696 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
23697
23698 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
23699 function-like macro.
23700 (min_of_type_): Likewise.
23701 (min_of_type_l): Likewise.
23702 (min_of_type_f128): Likewise.
23703 (min_of_type): Pass () as last argument of __MATH_TG.
23704
23705 * stdlib/tst-strtod-round-skeleton.c
23706 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
23707 headers.
23708
23709 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
23710 for combinations of long double with _Float64 and _Float64x.
23711
23712 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
23713 (__DECL_SIMD_cosf32): Likewise.
23714 (__DECL_SIMD_cosf64): Likewise.
23715 (__DECL_SIMD_cosf32x): Likewise.
23716 (__DECL_SIMD_cosf64x): Likewise.
23717 (__DECL_SIMD_cosf128x): Likewise.
23718 (__DECL_SIMD_sinf16): Likewise.
23719 (__DECL_SIMD_sinf32): Likewise.
23720 (__DECL_SIMD_sinf64): Likewise.
23721 (__DECL_SIMD_sinf32x): Likewise.
23722 (__DECL_SIMD_sinf64x): Likewise.
23723 (__DECL_SIMD_sinf128x): Likewise.
23724 (__DECL_SIMD_sincosf16): Likewise.
23725 (__DECL_SIMD_sincosf32): Likewise.
23726 (__DECL_SIMD_sincosf64): Likewise.
23727 (__DECL_SIMD_sincosf32x): Likewise.
23728 (__DECL_SIMD_sincosf64x): Likewise.
23729 (__DECL_SIMD_sincosf128x): Likewise.
23730 (__DECL_SIMD_logf16): Likewise.
23731 (__DECL_SIMD_logf32): Likewise.
23732 (__DECL_SIMD_logf64): Likewise.
23733 (__DECL_SIMD_logf32x): Likewise.
23734 (__DECL_SIMD_logf64x): Likewise.
23735 (__DECL_SIMD_logf128x): Likewise.
23736 (__DECL_SIMD_expf16): Likewise.
23737 (__DECL_SIMD_expf32): Likewise.
23738 (__DECL_SIMD_expf64): Likewise.
23739 (__DECL_SIMD_expf32x): Likewise.
23740 (__DECL_SIMD_expf64x): Likewise.
23741 (__DECL_SIMD_expf128x): Likewise.
23742 (__DECL_SIMD_powf16): Likewise.
23743 (__DECL_SIMD_powf32): Likewise.
23744 (__DECL_SIMD_powf64): Likewise.
23745 (__DECL_SIMD_powf32x): Likewise.
23746 (__DECL_SIMD_powf64x): Likewise.
23747 (__DECL_SIMD_powf128x): Likewise.
23748
23749 * stdlib/Versions (libc): Move entries for wcstof128 and
23750 wcstof128_l to ....
23751 * wcsmbs/Versions (libc): ... here.
23752 Include <float128-abi.h>.
23753
23754 2017-11-24 Florian Weimer <fweimer@redhat.com>
23755
23756 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23757 bits/mman-shared.h.
23758 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
23759 <bits/mman-shared.h>.
23760 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
23761 to ...
23762 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
23763 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
23764 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
23765 <bits/mman-shared.h>.
23766
23767 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23768
23769 [BZ #22457]
23770 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
23771 posix_memalign/free.
23772 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
23773
23774 2017-11-22 Mike FABIAN <mfabian@redhat.com>
23775
23776 [BZ #22469]
23777 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
23778 and implement the collation rules for pl from CLDR on top of that.
23779 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
23780 of locales to be built for testing.
23781 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
23782
23783 2017-11-23 Joseph Myers <joseph@codesourcery.com>
23784
23785 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
23786 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
23787 libm_alias_ldouble_other.
23788 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
23789 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
23790 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
23791 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
23792 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
23793 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
23794 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
23795 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
23796 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
23797 libm_alias_ldouble_r.
23798 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
23799 libm_alias_ldouble_other.
23800 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
23801 (log10l): Likewise.
23802 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
23803 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
23804 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
23805 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
23806 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
23807 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
23808 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
23809 (atan2l): Likewise.
23810 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
23811 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
23812 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
23813 libm_alias_ldouble.
23814 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
23815 (cosl): Likewise.
23816 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
23817 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
23818 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
23819 (expl): Likewise.
23820 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
23821 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
23822 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
23823 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
23824 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
23825 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
23826 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
23827 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
23828 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
23829 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
23830 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
23831 libm_alias_ldouble.
23832 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
23833 libm_alias_ldouble_other.
23834 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
23835 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
23836 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
23837 libm_alias_ldouble.
23838 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
23839 libm_alias_ldouble_other.
23840 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
23841 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
23842 * sysdeps/ia64/fpu/w_lgammal_main.c
23843 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
23844 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
23845
23846 2017-11-23 Florian Weimer <fweimer@redhat.com>
23847
23848 * malloc/malloc.c (tcache_thread_shutdown): Rename from
23849 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
23850 alike. Remove freeres marker.
23851 * malloc/arena.c (arena_thread_freeres): Call
23852 tcache_thread_shutdown.
23853
23854 2017-11-23 Florian Weimer <fweimer@redhat.com>
23855
23856 [BZ #22459]
23857 Export nscd hash function as __nss_hash.
23858 * include/nss.h (__nss_hash): Declare.
23859 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
23860 symbol.
23861 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
23862 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
23863 of __nscd_hash.
23864 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
23865 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
23866 * nss/Makefiles (routines): Add nss_hash.
23867 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
23868 * nss/nss_hash.c: Rename from nis/nis_hash.c.
23869 (__nss_hash): Rename from __nis_hash. Define hidden alias.
23870 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
23871
23872 2017-11-23 Florian Weimer <fweimer@redhat.com>
23873
23874 [BZ #22478]
23875 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
23876 Return error code, not -1.
23877 * signal/tst-sigwait-eintr.c: New file.
23878 * signal/Makefile (tests): Add tst-sigwait-eintr.
23879
23880 2017-11-23 Florian Weimer <fweimer@redhat.com>
23881
23882 Linux: Add memfd_create system call wrapper
23883 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
23884 tst-memfd_create.
23885 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
23886 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
23887 [__USE_GNU] (memfd_create): Declare.
23888 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
23889 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
23890 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
23891 * sysdeps/unix/sysv/linux/**.abilist: Update.
23892 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
23893
23894 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23895
23896 * localedata/gen-locale.sh: Fix typo in variable name.
23897
23898 * resolv/res_debug.c (p_secstodate): Condition definition on
23899 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
23900 directly as __p_secstodate, and as a compat symbol. Do not use
23901 libresolv_hidden_def.
23902 * resolv/resolv.h (p_secstodate): Remove macro and function
23903 declaration.
23904 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
23905 using p_secstodate.
23906 * include/resolv.h (__p_secstodate): Do not use
23907 libresolv_hidden_proto.
23908 * resolv/Makefile (tests): Move tst-p_secstodate to ....
23909 (tests-internal): ... here.
23910 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
23911 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
23912 and declare and use __p_secstodate and use compat_symbol_reference
23913 in that case.
23914 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
23915 implementation returning 77.
23916
23917 [BZ #22463]
23918 * resolv/res_debug.c: Include <libc-diag.h>.
23919 (p_secstodate): Assert time_t at least as wide as u_long. On
23920 overflow, use integer seconds since the epoch as output, or use
23921 "<overflow>" as output and set errno to EOVERFLOW if integer
23922 seconds since the epoch would be 14 or more characters.
23923 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
23924 for sprintf call.
23925 * resolv/tst-p_secstodate.c: New file.
23926 * resolv/Makefile (tests): Add tst-p_secstodate.
23927 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
23928
23929 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
23930 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
23931 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
23932
23933 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
23934
23935 * posix/regcomp.c (init_word_char): Add comments.
23936
23937 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23938
23939 [BZ #22447]
23940 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
23941 strlen to compute length of ut_user and set trailing NUL byte of
23942 result explicitly.
23943
23944 2017-11-21 Mike FABIAN <mfabian@redhat.com>
23945
23946 [BZ #15537]
23947 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
23948 using “copy "iso14651_t1"” and then implementing the
23949 collation rules for lv from CLDR on top of that.
23950 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
23951 of locales to be built for testing.
23952 * lv_LV.UTF-8.in: New file with test data to test the Latvian
23953 sorting.
23954
23955 2017-11-21 Joseph Myers <joseph@codesourcery.com>
23956
23957 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23958 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
23959 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
23960 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
23961 [__USE_MISC] (MADV_HWPOISON): New macro.
23962 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
23963
23964 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23965
23966 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
23967 -Wmissing-braces on GCC 4.9.
23968
23969 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23970
23971 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
23972 * sysdeps/s390/s390-32/start.S (_start): Likewise
23973 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
23974 (thread_start): Likewise.
23975 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
23976 (thread_start): Likewise.
23977 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
23978 (__makecontext_ret): Likewise.
23979 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
23980 (__makecontext_ret): Likewise.
23981
23982 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23983
23984 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
23985 __wcschrnul): Remove attribute_hidden.
23986
23987 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
23988
23989 regex: don't assume uint64_t or uint32_t
23990 This avoids -Werror=overflow errors for 32-bit systems in
23991 the 64-bit case. Problem reported by Joseph Myers in:
23992 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
23993 Also, when this code is used in Gnulib it ports to platforms
23994 that lack uint64_t and uint32_t. The C standard doesn't guarantee
23995 them, and on some 32-bit compilers there is no uint64_t.
23996 Problem reported by Gianluigi Tiesi in:
23997 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
23998 * posix/regcomp.c (init_word_char): Don't assume that the types
23999 uint64_t and uint32_t exist. Adapted from Gnulib patch
24000 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
24001 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
24002
24003 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
24004
24005 * sysdeps/aarch64/memset-reg.h: New file.
24006 * sysdeps/aarch64/memset.S: Use it.
24007 (__memset): Rename to MEMSET macro.
24008 [ZVA_MACRO]: Use zva_macro.
24009 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
24010 Add memset_generic and memset_falkor.
24011 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24012 (__libc_ifunc_impl_list): Add memset ifuncs.
24013 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
24014 local variable zva_size.
24015 * sysdeps/aarch64/multiarch/memset.c: New file.
24016 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
24017 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
24018 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
24019 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
24020 (DCZID_DZP_MASK): New macro.
24021 (DCZID_BS_MASK): Likewise.
24022 (init_cpu_features): Read and set zva_size.
24023 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
24024 (struct cpu_features): New member zva_size.
24025
24026 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
24027 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
24028 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
24029
24030 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
24031 backwards. Fix timing computation.
24032 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
24033 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
24034 on memset by N at a time. Fix timing computation.
24035
24036 2017-11-20 Florian Weimer <fweimer@redhat.com>
24037
24038 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
24039 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
24040
24041 2017-11-19 Florian Weimer <fweimer@redhat.com>
24042
24043 manual: Document mprotect
24044 * manual/memory.texi (Memory Protection): New section.
24045 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
24046 documentation of PROT_* flags and reference the Memory Protection
24047 section instead.
24048
24049 2017-11-19 Florian Weimer <fweimer@redhat.com>
24050
24051 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
24052 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
24053 (Scatter-Gather): ... to here. Remove misleading comment.
24054
24055 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
24056
24057 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
24058 style.
24059
24060 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
24061 when /proc/<pid>/setgroups does not exist.
24062
24063 2017-11-18 Florian Weimer <fweimer@redhat.com>
24064
24065 * sysdeps/unix/sysv/linux/tst-ttyname.c
24066 (become_root_in_mount_ns): Remove.
24067 (do_in_chroot_1): Call support_enter_mount_namespace.
24068 (do_in_chroot_2): Likewise.
24069 (do_test): Call support_become_root early.
24070
24071 2017-11-18 Florian Weimer <fweimer@redhat.com>
24072
24073 * support/namespace.h (support_enter_mount_namespace): Declare.
24074 * support/support_enter_mount_namespace.c: New file.
24075 * support/Makefile (libsupport-routines): Add
24076 support_enter_mount_namespace.
24077
24078 2017-11-18 Florian Weimer <fweimer@redhat.com>
24079
24080 * support/temp_file.c (support_create_temp_directory): Use
24081 test_dir and do not rely on the presence of the XXXXXX suffix.
24082 * support/temp_file.h (support_create_temp_directory): Update
24083 comment.
24084 * support/tst-xreadlink.c (do_test): Adjust.
24085 * support/support_chroot.c (support_chroot_create): Likewise.
24086
24087 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24088
24089 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
24090 macro.
24091 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
24092 htm-no-suspend.
24093
24094 2017-11-17 Joseph Myers <joseph@codesourcery.com>
24095
24096 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24097 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24098 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24099 (ceill): Define using libm_alias_ldouble.
24100 * sysdeps/x86_64/fpu/s_copysignl.S: Include
24101 <libm-alias-ldouble.h>.
24102 (copysignl): Define using libm_alias_ldouble.
24103 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24104 (fabsl): Define using libm_alias_ldouble.
24105 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24106 (floorl): Define using libm_alias_ldouble.
24107 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24108 (fmaxl): Define using libm_alias_ldouble.
24109 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24110 (fminl): Define using libm_alias_ldouble.
24111 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24112 (llrintl): Define using libm_alias_ldouble.
24113 (lrintl): Likewise.
24114 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
24115 <libm-alias-ldouble.h>.
24116 (nearbyintl): Define using libm_alias_ldouble.
24117 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24118 (truncl): Define using libm_alias_ldouble.
24119 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
24120 <libm-alias-ldouble.h>.
24121 (lrintl): Define using libm_alias_ldouble.
24122
24123 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24124 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24125 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
24126 (asinhl): Define using libm_alias_ldouble.
24127 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
24128 (atanl): Define using libm_alias_ldouble.
24129 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
24130 (cbrtl): Define using libm_alias_ldouble.
24131 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24132 (ceill): Define using libm_alias_ldouble.
24133 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
24134 (copysignl): Define using libm_alias_ldouble.
24135 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24136 (fabsl): Define using libm_alias_ldouble.
24137 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24138 (floorl): Define using libm_alias_ldouble.
24139 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24140 (fmaxl): Define using libm_alias_ldouble.
24141 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24142 (fminl): Define using libm_alias_ldouble.
24143 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
24144 (frexpl): Define using libm_alias_ldouble.
24145 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24146 (llrintl): Define using libm_alias_ldouble.
24147 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
24148 (logbl): Define using libm_alias_ldouble.
24149 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
24150 (lrintl): Define using libm_alias_ldouble.
24151 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
24152 (nearbyintl): Define using libm_alias_ldouble.
24153 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
24154 (nextafterl): Define using libm_alias_ldouble.
24155 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
24156 (remquol): Define using libm_alias_ldouble.
24157 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
24158 (rintl): Define using libm_alias_ldouble.
24159 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24160 (truncl): Define using libm_alias_ldouble.
24161 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24162 (fmaxl): Define using libm_alias_ldouble.
24163 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24164 (fminl): Define using libm_alias_ldouble.
24165
24166 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
24167 to C syntax instead of availability and properties of types.
24168 * bits/floatn.h [!__ASSEMBLER]: Likewise.
24169 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
24170 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
24171 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
24172 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
24173 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
24174
24175 2017-11-17 Florian Weimer <fweimer@redhat.com>
24176
24177 support_become_root: Enable file creation in namespaces.
24178 * support/support_become_root.c (setup_mapping): New function.
24179 (support_become_root): Call it.
24180
24181 2017-11-17 Joseph Myers <joseph@codesourcery.com>
24182
24183 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
24184 macro.
24185
24186 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24187
24188 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
24189 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
24190
24191 2017-11-16 Joseph Myers <joseph@codesourcery.com>
24192
24193 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
24194
24195 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
24196 version to 4.14.
24197
24198 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
24199
24200 * INSTALL: Fix botched up regeneration.
24201
24202 * NEWS: Update sourceare link to https.
24203 * configure.ac: Likewise.
24204 * crypt/md5test-giant.c: Likewise.
24205 * dlfcn/bug-atexit1.c: Likewise.
24206 * dlfcn/bug-atexit2.c: Likewise.
24207 * localedata/README: Likewise.
24208 * malloc/tst-mallocfork.c: Likewise.
24209 * manual/install.texi: Likewise.
24210 * nptl/tst-pthread-getattr.c: Likewise.
24211 * stdio-common/tst-fgets.c: Likewise.
24212 * stdio-common/tst-fwrite.c: Likewise.
24213 * sunrpc/Makefile: Likewise.
24214 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
24215 * wcsmbs/tst-mbrtowc2.c: Likewise.
24216 * configure: Regenerate.
24217 * INSTALL: Regenerate.
24218
24219 2017-11-15 Martin Sebor <msebor@redhat.com>
24220
24221 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
24222 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
24223 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
24224
24225 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24226
24227 [BZ #22145]
24228 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
24229 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
24230
24231 [BZ #22145]
24232 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
24233 Defer is_pty check until end of the function.
24234 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24235
24236 [BZ #22145]
24237 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
24238 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
24239 (ttyname): Likewise.
24240 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
24241 (__ttyname_r): Likewise.
24242
24243 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
24244 int to bool.
24245
24246 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
24247
24248 * manual/terminal.texi (Is It a Terminal):
24249 Mention ENODEV for ttyname and ttyname_r.
24250
24251 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24252
24253 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
24254 constant and macro.
24255
24256 * sysdeps/unix/sysv/linux/bits/mman-linux.h
24257 [__USE_MISC] (MADV_WIPEONFORK): New macro.
24258 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24259 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24260 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
24261 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24262
24263 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24264
24265 * signal/sigrelse.c (sigrelse): Optimize implementation.
24266
24267 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
24268 (__sigpause): Rely on __sigsuspend to implement single thread
24269 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
24270
24271 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24272
24273 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
24274 kernel version to 4.14.
24275
24276 2017-11-15 Steve Ellcey <sellcey@cavium.com>
24277
24278 [BZ #22442]
24279 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
24280 Check if ifname is too long.
24281
24282 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24283
24284 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
24285
24286 2017-11-15 Mike FABIAN <mfabian@redhat.com>
24287
24288 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
24289 was accidentally lost.
24290
24291 2017-11-15 Mike FABIAN <mfabian@redhat.com>
24292
24293 * localedata/locales/az_IR: Add standard copyright header.
24294
24295 2017-11-15 Florian Weimer <fweimer@redhat.com>
24296
24297 [BZ #22439]
24298 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
24299 not just the top one. Output a new "subheaps" statistic.
24300
24301 2017-11-15 Florian Weimer <fweimer@redhat.com>
24302
24303 [BZ #22408]
24304 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
24305 under the per-arena lock.
24306 * malloc/Makefile (tests): Add tst-malloc_info.
24307 (tst-malloc_info): Link with libpthread.
24308 * malloc/tst-malloc_info.c: New file.
24309
24310 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24311
24312 [BZ #21660]
24313 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
24314 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
24315 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
24316 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
24317 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
24318 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
24319 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
24320 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
24321 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
24322 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
24323 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
24324 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
24325 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
24326 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
24327 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
24328 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
24329 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
24330 (__floating_type): Likewise.
24331 (__real_integer_type): Likewise.
24332 (__complex_integer_type): Likewise.
24333 (__expr_is_real): Likewise.
24334 (__tgmath_real_type_sub): Likewise.
24335 (__tgmath_real_type): Likewise.
24336 (__tgmath_complex_type_sub): Likewise.
24337 (__tgmath_complex_type): Likewise.
24338 (__TGMATH_F128): Likewise.
24339 (__TGMATH_CF128): Likewise.
24340 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
24341 new macros.
24342 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
24343 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
24344 Likewise.
24345 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
24346 Likewise.
24347 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
24348 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
24349 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
24350 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
24351 Likewise.
24352 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
24353 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
24354 Likewise.
24355 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
24356 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
24357 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
24358 Likewise.
24359 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
24360 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
24361 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
24362 (cimag): Likewise.
24363 (creal): Likewise.
24364
24365 2017-11-14 Joseph Myers <joseph@codesourcery.com>
24366
24367 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
24368 for stpncpy calls for GCC 8.
24369 (test_strncat): Disable -Wstringop-truncation warning for strncat
24370 calls for GCC 8. Disable -Wstringop-overflow= warning for one
24371 strncat call for GCC 7.
24372 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
24373 calls for GCC 8.
24374 (test_memcmp): Use memcpy instead of strncpy for calls not copying
24375 trailing NUL.
24376
24377 * string/bug-strncat1.c: Include <libc-diag.h>.
24378 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
24379
24380 2017-11-13 Claude Paroz <claude@2xlibre.net>
24381
24382 [BZ #22387]
24383 * localedata/locales/aa_DJ: Improved readibility by replacing
24384 <Uxxxx> sequences in the ASCII printable range by their ASCII
24385 character equivalents.
24386 * localedata/locales/aa_ER: Likewise.
24387 * localedata/locales/aa_ER@saaho: Likewise.
24388 * localedata/locales/aa_ET: Likewise.
24389 * localedata/locales/af_ZA: Likewise.
24390 * localedata/locales/agr_PE: Likewise.
24391 * localedata/locales/ak_GH: Likewise.
24392 * localedata/locales/am_ET: Likewise.
24393 * localedata/locales/anp_IN: Likewise.
24394 * localedata/locales/ar_AE: Likewise.
24395 * localedata/locales/ar_BH: Likewise.
24396 * localedata/locales/ar_DZ: Likewise.
24397 * localedata/locales/ar_EG: Likewise.
24398 * localedata/locales/ar_IN: Likewise.
24399 * localedata/locales/ar_IQ: Likewise.
24400 * localedata/locales/ar_JO: Likewise.
24401 * localedata/locales/ar_KW: Likewise.
24402 * localedata/locales/ar_LB: Likewise.
24403 * localedata/locales/ar_LY: Likewise.
24404 * localedata/locales/ar_MA: Likewise.
24405 * localedata/locales/ar_OM: Likewise.
24406 * localedata/locales/ar_QA: Likewise.
24407 * localedata/locales/ar_SA: Likewise.
24408 * localedata/locales/ar_SD: Likewise.
24409 * localedata/locales/ar_SS: Likewise.
24410 * localedata/locales/ar_SY: Likewise.
24411 * localedata/locales/ar_TN: Likewise.
24412 * localedata/locales/ar_YE: Likewise.
24413 * localedata/locales/as_IN: Likewise.
24414 * localedata/locales/ast_ES: Likewise.
24415 * localedata/locales/ayc_PE: Likewise.
24416 * localedata/locales/az_AZ: Likewise.
24417 * localedata/locales/az_IR: Likewise.
24418 * localedata/locales/be_BY: Likewise.
24419 * localedata/locales/be_BY@latin: Likewise.
24420 * localedata/locales/bem_ZM: Likewise.
24421 * localedata/locales/ber_DZ: Likewise.
24422 * localedata/locales/ber_MA: Likewise.
24423 * localedata/locales/bg_BG: Likewise.
24424 * localedata/locales/bhb_IN: Likewise.
24425 * localedata/locales/bho_IN: Likewise.
24426 * localedata/locales/bi_VU: Likewise.
24427 * localedata/locales/bn_BD: Likewise.
24428 * localedata/locales/bn_IN: Likewise.
24429 * localedata/locales/bo_CN: Likewise.
24430 * localedata/locales/bo_IN: Likewise.
24431 * localedata/locales/br_FR: Likewise.
24432 * localedata/locales/brx_IN: Likewise.
24433 * localedata/locales/bs_BA: Likewise.
24434 * localedata/locales/byn_ER: Likewise.
24435 * localedata/locales/ca_AD: Likewise.
24436 * localedata/locales/ca_ES: Likewise.
24437 * localedata/locales/ca_FR: Likewise.
24438 * localedata/locales/ca_IT: Likewise.
24439 * localedata/locales/ce_RU: Likewise.
24440 * localedata/locales/chr_US: Likewise.
24441 * localedata/locales/cmn_TW: Likewise.
24442 * localedata/locales/crh_UA: Likewise.
24443 * localedata/locales/cs_CZ: Likewise.
24444 * localedata/locales/csb_PL: Likewise.
24445 * localedata/locales/cv_RU: Likewise.
24446 * localedata/locales/cy_GB: Likewise.
24447 * localedata/locales/da_DK: Likewise.
24448 * localedata/locales/de_AT: Likewise.
24449 * localedata/locales/de_BE: Likewise.
24450 * localedata/locales/de_CH: Likewise.
24451 * localedata/locales/de_DE: Likewise.
24452 * localedata/locales/de_IT: Likewise.
24453 * localedata/locales/de_LI: Likewise.
24454 * localedata/locales/de_LU: Likewise.
24455 * localedata/locales/doi_IN: Likewise.
24456 * localedata/locales/dv_MV: Likewise.
24457 * localedata/locales/dz_BT: Likewise.
24458 * localedata/locales/el_CY: Likewise.
24459 * localedata/locales/el_GR: Likewise.
24460 * localedata/locales/en_AG: Likewise.
24461 * localedata/locales/en_AU: Likewise.
24462 * localedata/locales/en_BW: Likewise.
24463 * localedata/locales/en_CA: Likewise.
24464 * localedata/locales/en_DK: Likewise.
24465 * localedata/locales/en_GB: Likewise.
24466 * localedata/locales/en_HK: Likewise.
24467 * localedata/locales/en_IE: Likewise.
24468 * localedata/locales/en_IL: Likewise.
24469 * localedata/locales/en_IN: Likewise.
24470 * localedata/locales/en_NG: Likewise.
24471 * localedata/locales/en_NZ: Likewise.
24472 * localedata/locales/en_PH: Likewise.
24473 * localedata/locales/en_SG: Likewise.
24474 * localedata/locales/en_US: Likewise.
24475 * localedata/locales/en_ZA: Likewise.
24476 * localedata/locales/en_ZM: Likewise.
24477 * localedata/locales/en_ZW: Likewise.
24478 * localedata/locales/eo: Likewise.
24479 * localedata/locales/es_AR: Likewise.
24480 * localedata/locales/es_BO: Likewise.
24481 * localedata/locales/es_CL: Likewise.
24482 * localedata/locales/es_CO: Likewise.
24483 * localedata/locales/es_CR: Likewise.
24484 * localedata/locales/es_CU: Likewise.
24485 * localedata/locales/es_DO: Likewise.
24486 * localedata/locales/es_EC: Likewise.
24487 * localedata/locales/es_ES: Likewise.
24488 * localedata/locales/es_GT: Likewise.
24489 * localedata/locales/es_HN: Likewise.
24490 * localedata/locales/es_MX: Likewise.
24491 * localedata/locales/es_NI: Likewise.
24492 * localedata/locales/es_PA: Likewise.
24493 * localedata/locales/es_PE: Likewise.
24494 * localedata/locales/es_PR: Likewise.
24495 * localedata/locales/es_PY: Likewise.
24496 * localedata/locales/es_SV: Likewise.
24497 * localedata/locales/es_US: Likewise.
24498 * localedata/locales/es_UY: Likewise.
24499 * localedata/locales/es_VE: Likewise.
24500 * localedata/locales/et_EE: Likewise.
24501 * localedata/locales/eu_ES: Likewise.
24502 * localedata/locales/eu_ES@euro: Likewise.
24503 * localedata/locales/fa_IR: Likewise.
24504 * localedata/locales/ff_SN: Likewise.
24505 * localedata/locales/fi_FI: Likewise.
24506 * localedata/locales/fil_PH: Likewise.
24507 * localedata/locales/fo_FO: Likewise.
24508 * localedata/locales/fr_BE: Likewise.
24509 * localedata/locales/fr_CA: Likewise.
24510 * localedata/locales/fr_CH: Likewise.
24511 * localedata/locales/fr_FR: Likewise.
24512 * localedata/locales/fr_LU: Likewise.
24513 * localedata/locales/fur_IT: Likewise.
24514 * localedata/locales/fy_DE: Likewise.
24515 * localedata/locales/fy_NL: Likewise.
24516 * localedata/locales/ga_IE: Likewise.
24517 * localedata/locales/gd_GB: Likewise.
24518 * localedata/locales/gez_ER: Likewise.
24519 * localedata/locales/gez_ET: Likewise.
24520 * localedata/locales/gl_ES: Likewise.
24521 * localedata/locales/gu_IN: Likewise.
24522 * localedata/locales/gv_GB: Likewise.
24523 * localedata/locales/ha_NG: Likewise.
24524 * localedata/locales/hak_TW: Likewise.
24525 * localedata/locales/he_IL: Likewise.
24526 * localedata/locales/hi_IN: Likewise.
24527 * localedata/locales/hif_FJ: Likewise.
24528 * localedata/locales/hne_IN: Likewise.
24529 * localedata/locales/hr_HR: Likewise.
24530 * localedata/locales/hsb_DE: Likewise.
24531 * localedata/locales/ht_HT: Likewise.
24532 * localedata/locales/hu_HU: Likewise.
24533 * localedata/locales/hy_AM: Likewise.
24534 * localedata/locales/i18n: Likewise.
24535 * localedata/locales/ia_FR: Likewise.
24536 * localedata/locales/id_ID: Likewise.
24537 * localedata/locales/ig_NG: Likewise.
24538 * localedata/locales/ik_CA: Likewise.
24539 * localedata/locales/is_IS: Likewise.
24540 * localedata/locales/it_CH: Likewise.
24541 * localedata/locales/it_IT: Likewise.
24542 * localedata/locales/iu_CA: Likewise.
24543 * localedata/locales/ja_JP: Likewise.
24544 * localedata/locales/ka_GE: Likewise.
24545 * localedata/locales/kk_KZ: Likewise.
24546 * localedata/locales/kl_GL: Likewise.
24547 * localedata/locales/kn_IN: Likewise.
24548 * localedata/locales/ko_KR: Likewise.
24549 * localedata/locales/kok_IN: Likewise.
24550 * localedata/locales/ks_IN: Likewise.
24551 * localedata/locales/ks_IN@devanagari: Likewise.
24552 * localedata/locales/ku_TR: Likewise.
24553 * localedata/locales/kw_GB: Likewise.
24554 * localedata/locales/ky_KG: Likewise.
24555 * localedata/locales/lb_LU: Likewise.
24556 * localedata/locales/lg_UG: Likewise.
24557 * localedata/locales/li_BE: Likewise.
24558 * localedata/locales/li_NL: Likewise.
24559 * localedata/locales/lij_IT: Likewise.
24560 * localedata/locales/ln_CD: Likewise.
24561 * localedata/locales/lo_LA: Likewise.
24562 * localedata/locales/lt_LT: Likewise.
24563 * localedata/locales/lv_LV: Likewise.
24564 * localedata/locales/lzh_TW: Likewise.
24565 * localedata/locales/mag_IN: Likewise.
24566 * localedata/locales/mai_IN: Likewise.
24567 * localedata/locales/mg_MG: Likewise.
24568 * localedata/locales/mhr_RU: Likewise.
24569 * localedata/locales/mi_NZ: Likewise.
24570 * localedata/locales/mk_MK: Likewise.
24571 * localedata/locales/ml_IN: Likewise.
24572 * localedata/locales/mn_MN: Likewise.
24573 * localedata/locales/mni_IN: Likewise.
24574 * localedata/locales/mr_IN: Likewise.
24575 * localedata/locales/ms_MY: Likewise.
24576 * localedata/locales/mt_MT: Likewise.
24577 * localedata/locales/my_MM: Likewise.
24578 * localedata/locales/nan_TW: Likewise.
24579 * localedata/locales/nan_TW@latin: Likewise.
24580 * localedata/locales/nb_NO: Likewise.
24581 * localedata/locales/nds_DE: Likewise.
24582 * localedata/locales/nds_NL: Likewise.
24583 * localedata/locales/ne_NP: Likewise.
24584 * localedata/locales/nhn_MX: Likewise.
24585 * localedata/locales/niu_NU: Likewise.
24586 * localedata/locales/niu_NZ: Likewise.
24587 * localedata/locales/nl_AW: Likewise.
24588 * localedata/locales/nl_BE: Likewise.
24589 * localedata/locales/nl_NL: Likewise.
24590 * localedata/locales/nn_NO: Likewise.
24591 * localedata/locales/nr_ZA: Likewise.
24592 * localedata/locales/nso_ZA: Likewise.
24593 * localedata/locales/oc_FR: Likewise.
24594 * localedata/locales/om_ET: Likewise.
24595 * localedata/locales/om_KE: Likewise.
24596 * localedata/locales/or_IN: Likewise.
24597 * localedata/locales/os_RU: Likewise.
24598 * localedata/locales/pa_IN: Likewise.
24599 * localedata/locales/pa_PK: Likewise.
24600 * localedata/locales/pap_AW: Likewise.
24601 * localedata/locales/pap_CW: Likewise.
24602 * localedata/locales/pl_PL: Likewise.
24603 * localedata/locales/ps_AF: Likewise.
24604 * localedata/locales/pt_BR: Likewise.
24605 * localedata/locales/pt_PT: Likewise.
24606 * localedata/locales/quz_PE: Likewise.
24607 * localedata/locales/raj_IN: Likewise.
24608 * localedata/locales/ro_RO: Likewise.
24609 * localedata/locales/ru_RU: Likewise.
24610 * localedata/locales/ru_UA: Likewise.
24611 * localedata/locales/rw_RW: Likewise.
24612 * localedata/locales/sa_IN: Likewise.
24613 * localedata/locales/sat_IN: Likewise.
24614 * localedata/locales/sc_IT: Likewise.
24615 * localedata/locales/sd_IN: Likewise.
24616 * localedata/locales/sd_IN@devanagari: Likewise.
24617 * localedata/locales/se_NO: Likewise.
24618 * localedata/locales/sgs_LT: Likewise.
24619 * localedata/locales/shs_CA: Likewise.
24620 * localedata/locales/si_LK: Likewise.
24621 * localedata/locales/sid_ET: Likewise.
24622 * localedata/locales/sk_SK: Likewise.
24623 * localedata/locales/sl_SI: Likewise.
24624 * localedata/locales/sm_WS: Likewise.
24625 * localedata/locales/so_DJ: Likewise.
24626 * localedata/locales/so_ET: Likewise.
24627 * localedata/locales/so_KE: Likewise.
24628 * localedata/locales/so_SO: Likewise.
24629 * localedata/locales/sq_AL: Likewise.
24630 * localedata/locales/sq_MK: Likewise.
24631 * localedata/locales/sr_ME: Likewise.
24632 * localedata/locales/sr_RS: Likewise.
24633 * localedata/locales/sr_RS@latin: Likewise.
24634 * localedata/locales/ss_ZA: Likewise.
24635 * localedata/locales/st_ZA: Likewise.
24636 * localedata/locales/sv_FI: Likewise.
24637 * localedata/locales/sv_SE: Likewise.
24638 * localedata/locales/sw_KE: Likewise.
24639 * localedata/locales/sw_TZ: Likewise.
24640 * localedata/locales/szl_PL: Likewise.
24641 * localedata/locales/ta_IN: Likewise.
24642 * localedata/locales/ta_LK: Likewise.
24643 * localedata/locales/tcy_IN: Likewise.
24644 * localedata/locales/te_IN: Likewise.
24645 * localedata/locales/tg_TJ: Likewise.
24646 * localedata/locales/th_TH: Likewise.
24647 * localedata/locales/the_NP: Likewise.
24648 * localedata/locales/ti_ER: Likewise.
24649 * localedata/locales/ti_ET: Likewise.
24650 * localedata/locales/tig_ER: Likewise.
24651 * localedata/locales/tk_TM: Likewise.
24652 * localedata/locales/tl_PH: Likewise.
24653 * localedata/locales/tn_ZA: Likewise.
24654 * localedata/locales/to_TO: Likewise.
24655 * localedata/locales/tpi_PG: Likewise.
24656 * localedata/locales/tr_CY: Likewise.
24657 * localedata/locales/tr_TR: Likewise.
24658 * localedata/locales/ts_ZA: Likewise.
24659 * localedata/locales/tt_RU: Likewise.
24660 * localedata/locales/tt_RU@iqtelif: Likewise.
24661 * localedata/locales/ug_CN: Likewise.
24662 * localedata/locales/uk_UA: Likewise.
24663 * localedata/locales/unm_US: Likewise.
24664 * localedata/locales/ur_IN: Likewise.
24665 * localedata/locales/ur_PK: Likewise.
24666 * localedata/locales/uz_UZ: Likewise.
24667 * localedata/locales/uz_UZ@cyrillic: Likewise.
24668 * localedata/locales/ve_ZA: Likewise.
24669 * localedata/locales/vi_VN: Likewise.
24670 * localedata/locales/wa_BE: Likewise.
24671 * localedata/locales/wae_CH: Likewise.
24672 * localedata/locales/wal_ET: Likewise.
24673 * localedata/locales/wo_SN: Likewise.
24674 * localedata/locales/xh_ZA: Likewise.
24675 * localedata/locales/yi_US: Likewise.
24676 * localedata/locales/yo_NG: Likewise.
24677 * localedata/locales/yue_HK: Likewise.
24678 * localedata/locales/yuw_PG: Likewise.
24679 * localedata/locales/zh_CN: Likewise.
24680 * localedata/locales/zh_HK: Likewise.
24681 * localedata/locales/zh_SG: Likewise.
24682 * localedata/locales/zh_TW: Likewise.
24683 * localedata/locales/zu_ZA: Likewise.
24684
24685 2017-11-13 Florian Weimer <fweimer@redhat.com>
24686
24687 * support/next_to_fault.h, support/next_to_fault.c: New files.
24688 * support/Makefile (libsupport-routines): Add next_to_fault.
24689 * resolv/tst-inet_pton.c (struct next_to_fault)
24690 (next_to_fault_allocate, next_to_fault_free): Remove.
24691 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
24692
24693 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
24694
24695 * elf/dl-support.c: Include <dl-procruntime.c>.
24696 * include/link.h: Include <link_map.h>.
24697 * sysdeps/generic/dl-procruntime.c: New file.
24698 * sysdeps/generic/link_map.h: Likewise.
24699 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
24700 the writable ld.so namespace.
24701
24702 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
24703
24704 timezone: pacify GCC -Wstringop-truncation
24705 Problem reported by Martin Sebor in:
24706 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
24707 * timezone/zic.c (writezone): Use memcpy, not strncpy.
24708
24709 2017-11-12 Florian Weimer <fweimer@redhat.com>
24710
24711 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
24712 tst-xreadlink.
24713 (tests): Add tst-xreadlink.
24714 * support/support.h (xstrndup): Declare.
24715 * support/xunistd.h (xunlink, xreadlink): Declare.
24716 * support/temp_file.h (support_create_temp_directory): Declare.
24717 * support/temp_file.c (support_create_temp_directory): New function.
24718 * support/support_chroot.c (support_chroot_create): Use it.
24719 * support/xreadlink.c: New file.
24720 * support/xstrndup.c: Likewise.
24721 * support/xunlink.c: Likewise.
24722 * support/tst-xreadlink.c: Likewise.
24723
24724 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
24725
24726 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
24727
24728 2017-11-11 Florian Weimer <fweimer@redhat.com>
24729
24730 [BZ #22409]
24731 [BZ #22412]
24732 * resolv/res_comp.c (printable_string, binary_hnok)
24733 (binary_leading_dash): New functions.
24734 (res_hnok): Reimplement using these functions and ns_name_pton.
24735 (res_ownok): Likewise.
24736 (res_mailok): Reimplement using printable_string, ns_name_pton and
24737 binary_hnok.
24738 (res_dnok): Reimplement using printable_string and ns_name_pton.
24739 * resolv/tst-res_hnok.c (tests): Add additional tests.
24740 (LETTERDIGITS, PRINTABLE): Define.
24741 (do_test): Adjust one_char results.
24742
24743 2017-11-11 Florian Weimer <fweimer@redhat.com>
24744
24745 [BZ #22413]
24746 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
24747 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
24748
24749 2017-11-11 Florian Weimer <fweimer@redhat.com>
24750
24751 * resolv/tst-ns_name_pton.c: New file.
24752 * resolv/Makefile (tests): Add tst-ns_name_pton.
24753 (tst-ns_name_pton): Link against libresolv.
24754
24755 2017-11-11 Florian Weimer <fweimer@redhat.com>
24756
24757 * resolv/tst-res_hnok.c: New file.
24758 * resolv/Makefile (tests): Add tst-res_hnok.
24759 (tst-res_hnok): Link against libresolv.
24760
24761 2017-11-11 Florian Weimer <fweimer@redhat.com>
24762
24763 * resolv/tst-resolv-network.c: Use test framework instead explicit
24764 main function.
24765
24766 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
24767
24768 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
24769 <jmp_buf-macros.h>.
24770 [!_ISOMAC] (STR_HELPER): New.
24771 [!_ISOMAC] (STR): Likewise.
24772 [!_ISOMAC] (TEST_SIZE): Likewise.
24773 [!_ISOMAC] (TEST_ALIGN): Likewise.
24774 [!_ISOMAC] (TEST_OFFSET): Likewise.
24775 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
24776 field offsets of jmp_buf as well as sigjmp_buf.
24777 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
24778 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
24779 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
24780 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
24781 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
24782 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
24783 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
24784 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
24785 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
24786 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
24787 Likewise.
24788 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
24789 Likewise.
24790 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
24791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
24792 Likewise.
24793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
24794 Likewise.
24795 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
24796 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
24797 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
24798 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
24799 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
24800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
24801 Likewise.
24802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
24803 Likewise.
24804 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24805 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
24806 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
24807
24808 2017-11-07 Joseph Myers <joseph@codesourcery.com>
24809
24810 * include/float.h
24811 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24812 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
24813 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24814 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
24815 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24816 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
24817 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24818 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
24819 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24820 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
24821 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24822 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
24823 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24824 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
24825 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24826 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
24827 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24828 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
24829 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24830 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
24831 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24832 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
24833 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24834 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
24835 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24836 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
24837 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24838 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
24839 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24840 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
24841 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24842 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
24843 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24844 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
24845 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24846 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
24847 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24848 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
24849 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24850 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
24851 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24852 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
24853 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24854 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
24855 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24856 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
24857 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24858 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
24859 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24860 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
24861 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24862 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
24863 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24864 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
24865 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24866 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
24867 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24868 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
24869 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24870 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
24871 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24872 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
24873 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24874 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
24875 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24876 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
24877 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24878 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
24879 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24880 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
24881 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24882 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
24883 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24884 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
24885 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24886 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
24887 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24888 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
24889 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24890 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
24891 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24892 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
24893 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24894 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
24895 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24896 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
24897 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24898 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
24899
24900 * stdlib/tst-strtod.h (F16): New macro.
24901 (F32): Likewise.
24902 (F64): Likewise.
24903 (F32X): Likewise.
24904 (F64X): Likewise.
24905 (F128X): Likewise.
24906 (IF_FLOAT16): Likewise.
24907 (IF_FLOAT32): Likewise.
24908 (IF_FLOAT64): Likewise.
24909 (IF_FLOAT32X): Likewise.
24910 (IF_FLOAT64X): Likewise.
24911 (IF_FLOAT128X): Likewise.
24912 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
24913 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
24914 (STRTOD_TEST_FOREACH): Likewise.
24915 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
24916 (CHOOSE_f64): Likewise.
24917 (CHOOSE_f32x): Likewise.
24918 (CHOOSE_f64x): Likewise.
24919
24920 2017-11-07 Andreas Schwab <schwab@suse.de>
24921
24922 * nptl/Makefile (tests-internal): Remove tst-typesizes.
24923
24924 2017-11-07 Mike FABIAN <mfabian@redhat.com>
24925
24926 [BZ #22403]
24927 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
24928 to be escaped.
24929 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
24930 to be escaped.
24931
24932 2017-11-07 Claude Paroz <claude@2xlibre.net>
24933
24934 [BZ #22403]
24935 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
24936 to be escaped.
24937 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
24938 to be escaped.
24939 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
24940 to be escaped.
24941
24942 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24943
24944 [BZ #22298]
24945 * nptl/allocatestack.c (allocate_stack): Check if
24946 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
24947 __PTHREAD_MUTEX_HAVE_PREV is defined.
24948 * nptl/descr.h (pthread): Likewise.
24949 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24950 Likewise.
24951 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
24952 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
24953 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
24954 * sysdeps/nptl/bits/thread-shared-types.h
24955 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24956 defines.
24957 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
24958 of __WORDSIZE for internal layout.
24959 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
24960 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
24961 instead of __WORDSIZE whether to use an union for __spins and __list
24962 fields.
24963 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
24964 case.
24965 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
24966 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24967 defines.
24968 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
24969 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24970 Likewise.
24971 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
24972 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24973 Likewise.
24974 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
24975 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24976 Likewise.
24977 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
24978 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24979 Likewise.
24980 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
24981 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24982 Likewise.
24983 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
24984 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24985 Likewise.
24986 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
24987 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24988 Likewise.
24989 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
24990 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24991 Likewise.
24992 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
24993 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24994 Likewise.
24995 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
24996 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24997 Likewise.
24998 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
24999 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25000 Likewise.
25001 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
25002 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25003 Likewise.
25004 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
25005 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25006 Likewise.
25007 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
25008 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25009 Likewise.
25010
25011 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
25012 New macros.
25013 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
25014 checks for expected input type size.
25015 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
25016 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25017 Likewise.
25018 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25019 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
25020 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25021 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
25022 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
25023 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
25024 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
25025 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
25026 superflous runtime assert check.
25027 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
25028 Likewise.
25029 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
25030 Likewise.
25031 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25032 Likewise.
25033 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
25034 Likewise.
25035 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
25036 Likewise.
25037 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
25038 Likewise.
25039 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
25040 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
25041 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25042 Likewise.
25043 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25044 Likewise.
25045 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25046 Likewise.
25047 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
25048 Likewise.
25049 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25050 Likewise.
25051 * nptl/pthread_attr_setinheritsched.c
25052 (__pthread_attr_setinheritsched): Likewise.
25053 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
25054 Likewise.
25055 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
25056 Likewise.
25057 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
25058 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
25059 __old_pthread_attr_setstack): Likewise.
25060 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25061 Likewise.
25062 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25063 Likewise.
25064 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
25065 Likewise.
25066 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25067 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25068 Likewise.
25069 * nptl/tst-typesizes.c: Remove file.
25070
25071 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
25072 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
25073 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
25074 checks for internal pthread_mutex_t offsets.
25075 * sysdeps/aarch64/nptl/pthread-offsets.h
25076 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
25077 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
25078 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
25079 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
25080 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
25081 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
25082 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
25083 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
25084 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
25085 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
25086 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
25087 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
25088 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
25089 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
25090 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
25091 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
25092 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
25093 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
25094
25095 2017-11-07 Florian Weimer <fweimer@redhat.com>
25096
25097 * bits/mman-linux.h: Move ...
25098 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
25099 comment.
25100 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
25101 outdated comment.
25102
25103 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25104
25105 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
25106 Redefine STRNLEN as __strnlen_power8.
25107
25108 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25109
25110 * signal/sighold.c (sighold): Optimize implementation.
25111
25112 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
25113 __NR_rt_sigqueueinfo.
25114
25115 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
25116 __sigtimedwait.
25117 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
25118 assume __NR_rt_sigtimedwait.
25119 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
25120 and add LIBC_CANCEL_HANDLED for cancellation marking.
25121 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25122
25123 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25124 (sysdeps_routines): Add memchr_noneon.
25125 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
25126 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
25127 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
25128 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
25129 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
25130 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
25131 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
25132
25133 * sysdeps/arm/arm-ifunc.h: New file.
25134 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
25135 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
25136 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
25137 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
25138 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
25139 (__memcpy_neon): Avoid create hidden alias.
25140 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
25141 (__memcpy_vfp): Likewise.
25142 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25143 (sysdep_routines): Add memcpy_arm.
25144 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
25145
25146 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
25147
25148 [BZ #22362]
25149 * Makerules (make-link-multidir): New.
25150 * config.make.in (multidir): New.
25151 * configure.ac (libc_cv_multidir): New. AC_SUBST.
25152 * configure: Regenerated.
25153 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
25154 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
25155 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
25156 New target.
25157
25158 2017-11-06 Joseph Myers <joseph@codesourcery.com>
25159
25160 [BZ #22402]
25161 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
25162 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
25163
25164 2017-11-04 Mike FABIAN <mfabian@redhat.com>
25165
25166 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
25167 to be escaped.
25168
25169 2017-11-04 Florian Weimer <fweimer@redhat.com>
25170
25171 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
25172
25173 2017-11-03 Joseph Myers <joseph@codesourcery.com>
25174
25175 * math/math.h [__HAVE_DISTINCT_FLOAT16
25176 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25177 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25178 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25179 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
25180 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
25181 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
25182 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25183 (__MATH_TG_F32): New macro.
25184 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25185 (__MATH_TG_F64X): Likewise.
25186 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25187 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
25188
25189 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
25190
25191 * po/de.po: Update translations.
25192 * po/ru.po: Likewise.
25193
25194 2017-11-03 Florian Weimer <fweimer@redhat.com>
25195
25196 * manual/filesys.texi (Hard Links): Document linkat.
25197
25198 2017-11-03 Joseph Myers <joseph@codesourcery.com>
25199
25200 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
25201 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25202 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25203 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25204 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25205 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25206 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
25207 the same as _Float128.
25208 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25209 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25210 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
25211
25212 * stdlib/stdlib.h
25213 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
25214 Declare.
25215 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
25216 Likewise.
25217 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
25218 Likewise.
25219 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25220 (strtof32x): Likewise.
25221 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25222 (strtof64x): Likewise.
25223 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25224 (strtof128x): Likewise.
25225 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25226 (strfromf16): Likewise.
25227 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25228 (strfromf32): Likewise.
25229 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25230 (strfromf64): Likewise.
25231 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25232 (strfromf32x): Likewise.
25233 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25234 (strfromf64x): Likewise.
25235 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25236 (strfromf128x): Likewise.
25237 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
25238 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
25239 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
25240 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
25241 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
25242 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
25243
25244 2017-11-03 Richard Henderson <rth@twiddle.net>
25245
25246 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
25247
25248 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25249
25250 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
25251
25252 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25253
25254 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
25255 DT_TLSDESC_GOT initialization.
25256 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
25257 (_dl_tlsdesc_resolve_hold): Likewise.
25258 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
25259 (_dl_tlsdesc_resolve_hold): Likewise.
25260 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
25261 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25262
25263 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25264
25265 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
25266
25267 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25268
25269 [BZ #18572]
25270 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
25271 non-lazily for R_ARM_TLS_DESC.
25272
25273 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25274
25275 [BZ #17078]
25276 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
25277 R_ARM_TLS_DESC case.
25278 (elf_machine_lazy_rel): Remove the prelink check.
25279
25280 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25281
25282 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
25283 DT_TLSDESC_GOT initialization.
25284 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
25285 (_dl_tlsdesc_resolve_rela): Likewise.
25286 (_dl_tlsdesc_resolve_hold): Likewise.
25287 (_dl_tlsdesc_undefweak): Remove ldar.
25288 (_dl_tlsdesc_dynamic): Likewise.
25289 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
25290 (_dl_tlsdesc_resolve_rela): Likewise.
25291 (_dl_tlsdesc_resolve_hold): Likewise.
25292 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
25293 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25294 (_dl_tlsdesc_resolve_rela): Likewise.
25295 (_dl_tlsdesc_resolve_hold): Likewise.
25296
25297 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25298
25299 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
25300 binding and initialization non-lazily for R_AARCH64_TLSDESC.
25301
25302 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25303
25304 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
25305 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25306
25307 2017-11-02 Joseph Myers <joseph@codesourcery.com>
25308
25309 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
25310 Declare.
25311 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
25312 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
25313 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
25314 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
25315 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
25316 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
25317 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
25318 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
25319 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
25320 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
25321 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
25322
25323 2017-11-02 Mike FABIAN <mfabian@redhat.com>
25324
25325 [BZ #22382]
25326 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
25327 * localedata/locales/tpi_PG: Add standard header.
25328
25329 2017-11-02 Florian Weimer <fweimer@redhat.com>
25330
25331 test-errno-linux: quotactl can fail with EPERM in containers.
25332 * sysdeps/unix/sysv/linux/test-errno-linux.c
25333 (LIST, LIST_FORWARD): New macros.
25334 (check_error_in_list): New function.
25335 (test_wrp_rv): Accept list of permitted error codes.
25336 (test_wrp_rv2): Remove.
25337 (test_wrp): Call test_wrp_rv with list of error codes.
25338 (test_wrp2): Accept list of error codes.
25339 (do_test): Adjust. Allow EPERM for quotactl.
25340
25341 2017-11-02 Florian Weimer <fweimer@redhat.com>
25342
25343 * stdio-common/bug16.c (do_test): Use array_length.
25344 * stdio-common/errlist.c (_sys_nerr): Likewise.
25345 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
25346 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
25347 * stdio-common/psiginfo.c (psiginfo): Use array_length.
25348 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
25349 (do_test): Use array_length.
25350 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
25351 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
25352 * stdio-common/tst-printf-round.c (do_test): Likewise.
25353 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
25354 (CHECK): Use array_length.
25355 * stdio-common/tstdiomisc.c (t3, F): Likewise.
25356 * stdio-common/tstscanf.c (main): Likewise.
25357 * stdio-common/vfprintf.c (process_string_arg): Likewise.
25358
25359 2017-11-02 Florian Weimer <fweimer@redhat.com>
25360
25361 Add array_length and array_end macros.
25362 * include/array_length.h: New file.
25363
25364 2017-11-02 Florian Weimer <fweimer@redhat.com>
25365
25366 [BZ #22332]
25367 * posix/tst-glob-tilde.c (do_noescape): New variable.
25368 (one_test): Process it.
25369 (do_test): Set do_noescape. Add unescaping test case.
25370
25371 2017-11-01 Joseph Myers <joseph@codesourcery.com>
25372
25373 * math/complex.h
25374 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
25375 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
25376 with appropriate macros defined and undefined.
25377 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
25378 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25379 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
25380 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25381 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
25382 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25383 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
25384 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25385 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
25386 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25387
25388 * math/complex.h
25389 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
25390 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
25391 that for long double. Do not condition define and undefine of
25392 _Mdouble_complex_ on [__CFLOAT128].
25393
25394 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
25395
25396 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25397 of <sysdeps/generic/sysdep.h>.
25398 (ALIGNARG): Removed.
25399 (ASM_SIZE_DIRECTIVE): Likewise.
25400 (ENTRY): Likewise.
25401 (END): Likewise.
25402 (ENTRY_CHK): Likewise.
25403 (END_CHK): Likewise.
25404 (syscall_error): Likewise.
25405 (mcount): Likewise.
25406 (PSEUDO_END): Likewise.
25407 (L): Likewise.
25408 (atom_text_section): Likewise.
25409 * sysdeps/x86/sysdep.h: New file.
25410 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25411 of <sysdeps/generic/sysdep.h>.
25412 (ALIGNARG): Removed.
25413 (ASM_SIZE_DIRECTIVE): Likewise.
25414 (ENTRY): Likewise.
25415 (END): Likewise.
25416 (ENTRY_CHK): Likewise.
25417 (END_CHK): Likewise.
25418 (syscall_error): Likewise.
25419 (mcount): Likewise.
25420 (PSEUDO_END): Likewise.
25421 (L): Likewise.
25422 (atom_text_section): Likewise.
25423
25424 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
25425
25426 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
25427 category of LC_CTYPE set to "i18n:2012".
25428 * localedata/locales/i18n_ctype: Regenerate.
25429
25430 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
25431
25432 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
25433 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
25434 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
25435 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
25436
25437 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
25438 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
25439 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
25440 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
25441
25442 2017-10-31 Joseph Myers <joseph@codesourcery.com>
25443
25444 * math/complex.h
25445 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
25446 New macro.
25447 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
25448 Likewise.
25449 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
25450 Likewise.
25451 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25452 (CMPLXF32X): Likewise.
25453 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25454 (CMPLXF64X): Likewise.
25455 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25456 (CMPLXF128X): Likewise.
25457
25458 * math/math.h
25459 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
25460 (__MATH_EVAL_FMT2): Define to add 0.0f.
25461
25462 2017-10-31 Alan Modra <amodra@gmail.com>
25463
25464 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
25465 include sysdep.h.
25466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
25467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
25468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
25469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
25470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
25471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
25472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
25473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
25474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
25475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
25476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
25477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
25478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
25479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
25480 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
25481 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
25482 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
25483 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
25484 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
25485 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
25486 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
25487 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
25488 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
25489 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
25490 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25491 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
25492 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
25493 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
25494 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
25495 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
25496 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25497 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25498 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
25499 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
25500 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
25501 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
25502 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
25503 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
25504 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
25505 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25506 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
25507 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
25508 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
25509 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
25510 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
25511 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
25512 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
25513 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
25514 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25515 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25516 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
25517 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
25518 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
25519 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
25520 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25521 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
25522 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
25523 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
25524 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25525 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25526 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25527 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
25528 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
25529 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25530 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
25531 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
25532 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
25533 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
25534 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
25535
25536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
25537 include sysdep.h and math_ldbl_opt.h.
25538
25539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
25540 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
25541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
25542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
25543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
25544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
25545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
25546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
25547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
25548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
25549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
25550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
25551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
25552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
25553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
25554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
25555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
25556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
25557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
25558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
25559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
25560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
25561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
25562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
25563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
25564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
25565
25566 2017-10-31 Alan Modra <amodra@gmail.com>
25567
25568 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
25569 string/strncase_l.c, not string/strncase.c.
25570 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
25571 (libc_hidden_def): Redefine.
25572
25573 2017-10-31 Alan Modra <amodra@gmail.com>
25574
25575 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
25576 (__STRCMP, STRCMP, __strcasecmp_l): Define.
25577 (__strcasecmp): Don't define.
25578
25579 2017-10-31 Alan Modra <amodra@gmail.com>
25580
25581 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
25582 IS_IN (libc).
25583 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25584 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25585 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25586
25587 2017-10-31 Alan Modra <amodra@gmail.com>
25588
25589 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
25590 USE_AS_STPNCPY.
25591
25592 2017-10-31 Alan Modra <amodra@gmail.com>
25593
25594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
25595 Redefine only when SHARED.
25596
25597 2017-10-30 Joseph Myers <joseph@codesourcery.com>
25598
25599 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25600 Include <bits/math-finite.h> with appropriate macros defined and
25601 undefined.
25602 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25603 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25604 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25605 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25606 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25607
25608 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
25609 [!_Mlong_double_] (_Mlong_double_): Likewise.
25610 [!_Mfloat16_] (_Mfloat16_): Likewise.
25611 [!_Mfloat32_] (_Mfloat32_): Likewise.
25612 [!_Mfloat64_] (_Mfloat64_): Likewise.
25613 [!_Mfloat128_] (_Mfloat128_): Likewise.
25614 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
25615 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
25616 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
25617 (_Mdouble_): Define without indirection through those macros.
25618 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
25619 [!_Mfloat128_] (_Mfloat128_): Likewise.
25620 [_Mlong_double_] (_Mlong_double_): Likewise.
25621 (_Mdouble_): Define without indirection through those macros.
25622 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
25623 not add -D_Mlong_double_=double.
25624 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
25625 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
25626
25627 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25628
25629 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
25630
25631 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25632
25633 * sysdeps/x86/libc-start.c: Reformat.
25634
25635 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25636
25637 [BZ #22353]
25638 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
25639 (1): Renamed to ...
25640 (L(Src0)): This.
25641 (L(Src1)): New.
25642 (L(Src2)): Likewise.
25643 (L(1)): Renamed to ...
25644 (L(Src3)): This.
25645
25646 2017-10-30 Joseph Myers <joseph@codesourcery.com>
25647
25648 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
25649 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
25650 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
25651 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
25652 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
25653 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
25654 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
25655 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
25656 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
25657 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
25658 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
25659 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
25660 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
25661 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
25662 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
25663 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
25664 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
25665 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
25666 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
25667 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
25668 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
25669 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
25670 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
25671 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
25672 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
25673 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
25674 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
25675 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
25676 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
25677 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
25678 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
25679 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
25680 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
25681 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
25682 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
25683 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
25684 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
25685 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
25686 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
25687 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
25688 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
25689 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
25690 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
25691 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
25692 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
25693 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
25694 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
25695 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
25696 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
25697 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
25698 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
25699 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
25700 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
25701 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
25702 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
25703 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
25704 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
25705 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
25706 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
25707 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
25708 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
25709 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
25710 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
25711 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
25712 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
25713 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
25714
25715 2017-10-30 Florian Weimer <fweimer@redhat.com>
25716
25717 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
25718 always defined.
25719 * io/tst-mkdirat.c (do_test): Likewise.
25720 * io/tst-mkfifoat.c (do_test): Likewise.
25721 * io/tst-mknodat.c (do_test): Likewise.
25722 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
25723 * locale/programs/locale.c (select_dirs): Likewise.
25724 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
25725 * posix/bug-glob2.c (my_readdir): Likewise.
25726 * posix/tst-dir.c (main): Likewise.
25727 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
25728 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
25729
25730 2017-10-30 Florian Weimer <fweimer@redhat.com>
25731
25732 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
25733 just __USE_GNU.
25734
25735 2017-10-30 Florian Weimer <fweimer@redhat.com>
25736
25737 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
25738 Convert to support/test-driver.c.
25739 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
25740 New macro parameters.
25741 (PRINTF): Remove macro. Use test_verbose conditionals instead.
25742 * posix/tst-gnuglob.c: New file.
25743 * posix/tst-gnuglob64.c: Likewise.
25744 * posix/Makefile (tests): Add tst-gnuglob64.
25745
25746 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
25747
25748 [BZ #19485]
25749 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
25750 and use a better translation for March in “mon”.
25751 * localedata/locales/csb_PL: Use more ASCII to improve the
25752 readability of the source.
25753
25754 2017-10-30 Mike FABIAN <mfabian@redhat.com>
25755
25756 [BZ #13953]
25757 * localedata/locales/km_KH: Use ASCII as much
25758 as possible for better readability of the source and
25759 remove useless comments.
25760 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
25761 was commented out and apparently wrong anyway because it was
25762 using Lao characters. If Buddhist era should be used
25763 for km_KH, a native speaker should write the correct formaat
25764 for Khmer.
25765 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
25766 (According to CLDR, the first weekday for Cambodia is Sunday).
25767 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
25768 (These were using Lao characters which must be wrong. If we get
25769 the correct data from a native speaker, we could add it back, until
25770 then it is better not to have name_mr and name_mrs at all than
25771 having it wrong).
25772
25773 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
25774
25775 * locale/loadlocale.c: Correct size of
25776 _nl_value_type_LC_<category> arrays.
25777
25778 2017-10-27 Joseph Myers <joseph@codesourcery.com>
25779
25780 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25781 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
25782 with appropriate macros defined and undefined.
25783 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25784 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25785 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25786 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25787 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25788
25789 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
25790
25791 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
25792 "-O2 -march=i586".
25793
25794 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25795
25796 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
25797 with lowercase letters to make it agree with CLDR.
25798
25799 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25800
25801 [BZ #15260]
25802 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
25803 first letters of yesstr and nostr in yesexpr and noexpr,
25804 not for the full words.
25805 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25806 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
25807 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
25808 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
25809 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
25810 first letters of yesstr and nostr in yesexpr and noexpr,
25811 until now only English was matched in yesexpr and noexpr.
25812 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
25813 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
25814 fil but not for tl. As tl and fil are very similar, using fil
25815 is probably better than using English.
25816
25817 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
25818
25819 [BZ #21706]
25820 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
25821 in yesstr and nostr.
25822
25823 2017-10-26 Joseph Myers <joseph@codesourcery.com>
25824
25825 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25826 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
25827 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
25828 Likewise.
25829 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
25830 Likewise.
25831 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
25832 Likewise.
25833 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
25834 Likewise.
25835 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25836 (SNANF128X): Likewise.
25837
25838 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25839 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
25840 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25841 (HUGE_VAL_F32): Likewise.
25842 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25843 (HUGE_VAL_F64): Likewise.
25844 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25845 (HUGE_VAL_F32X): Likewise.
25846 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25847 (HUGE_VAL_F64X): Likewise.
25848 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25849 (HUGE_VAL_F128X): Likewise.
25850
25851 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25852
25853 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
25854 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
25855 for the br_FR locale.
25856
25857 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25858
25859 [BZ #21706]
25860 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
25861
25862 2017-10-25 Carlos O'Donell <carlos@redhat.com>
25863
25864 * locale/programs/record-status.h: Define globals, and function
25865 prototypes. Move function bodies...
25866 * locale/programs/record-status.c: ... to here. New file.
25867 * iconv/Makefile (iconv_prog-modules): Add record-status.
25868 * locale/Makefile (lib-modules): Likewise.
25869 * iconv/iconv_prog.c: Remove verbose.
25870 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
25871 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
25872 record a warning about ASCII compatibility.
25873 * locale/programs/ld-monetary.c (monetary_finish): If
25874 warn_int_curr_symbol is true then record a warning about the symbol
25875 not being in our ISO 4217 list.
25876 * locale/programs/locale.c: Include record-status.h. Remove verbose.
25877 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
25878 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
25879 (OPT_NO_WARN): Define.
25880 (OPT_WARN): Define.
25881 (options): Add entry for --no-warnings, and --warnings.
25882 (set_warnings): New function to enable/disable warnings.
25883 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
25884 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
25885 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
25886 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
25887 Pass flags to generate_locale.
25888 (generate_locale): Accept new flag argument and pass it to localedef
25889 invocation.
25890 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
25891 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
25892
25893 * localedata/Makefile (test-input-data): Use full file name.
25894 * localedata/da_DK.in: Rename to...
25895 * localedata/da_DK.ISO-8859-1.in: ...this.
25896 * localedata/de_DE.in: Rename to...
25897 * localedata/de_DE.ISO-8859-1.in: ...this.
25898 * localedata/en_US.in: Rename to...
25899 * localedata/en_US.ISO-8859-1.in: ...this.
25900 * localedata/fr_FR.in: Rename to...
25901 * localedata/fr_FR.UTF-8.in: ... this.
25902 * localedata/hr_HR.in: Rename to...
25903 * localedata/hr_HR.ISO-8859-2.in: ...this.
25904 * localedata/hu_HU.in: Rename to...
25905 * localedata/hu_HU.UTF-8.in: ...this.
25906 * localedata/si_LK.in: Rename to...
25907 * localedata/si_LK.UTF-8.in: ...this.
25908 * localedata/sv_SE.in: Rename to...
25909 * localedata/sv_SE.ISO-8859-1.in: ...this.
25910 * localedata/tr_TR.in: Rename to...
25911 * localedata/tr_TR.UTF-8.in: ...this.
25912 * localedata/uk_UA.in: Rename to...
25913 * localedata/uk_UA.UTF-8.in: ...this.
25914 * localedata/sort-test.sh: Test file is locale name with the
25915 suffix.
25916
25917 * localedata/unicode-gen/Makefile (check_i18n): Rename to
25918 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
25919 file.
25920 * localedata/locales/i18n_ctype: Regenerate.
25921 * localedata/locales/tr_TR: Likewise.
25922 * localedata/locales/translit_circle: Likewise.
25923 * localedata/locales/translit_cjk_compat: Likewise.
25924 * localedata/locales/translit_combining: Likewise.
25925 * localedata/locales/translit_compat: Likewise.
25926 * localedata/locales/translit_font: Likewise.
25927 * localedata/locales/translit_fraction: Likewise.
25928
25929 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25930
25931 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
25932 lxvd2x/stxvd2x with lvx/stvx.
25933 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
25934
25935 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
25936
25937 * include/alloc_buffer.h: Replace "if if " with "if " in
25938 comments.
25939 * sysdeps/mips/memcpy.S: Likkewise.
25940 * sysdeps/mips/memset.S: Likewise.
25941 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
25942 Likewise.
25943 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
25944 Likewise.
25945 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
25946 Likewise.
25947
25948 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25949
25950 [BZ #15261]
25951 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
25952 yesexpr and noexpr.
25953 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25954 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25955 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25956 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25957 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25958 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25959 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25960
25961 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25962
25963 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
25964 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25965 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25966 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25967 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25968 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
25969 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25970 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25971 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25972 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25973 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25974 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25975
25976 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25977
25978 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
25979 as possible for better readability of the source.
25980 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
25981 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
25982 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
25983 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
25984 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
25985 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
25986 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
25987 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
25988 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25989 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
25990 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
25991 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
25992 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
25993 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
25994 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
25995 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
25996 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
25997 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
25998 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
25999 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
26000 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
26001 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
26002 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
26003 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
26004 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
26005 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
26006 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
26007 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
26008 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
26009 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
26010 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
26011 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26012 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
26013 * localedata/locales/en_US (LC_MESSAGES): Likewise.
26014 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
26015 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
26016 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
26017 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
26018 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
26019 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
26020 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
26021 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
26022 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
26023 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
26024 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
26025 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
26026 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
26027 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
26028 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
26029 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
26030 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
26031 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
26032 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
26033 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26034 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26035 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
26036 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
26037 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26038 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
26039 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
26040 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
26041 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
26042 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
26043 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
26044 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
26045 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
26046 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
26047 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
26048 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
26049 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
26050 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
26051 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
26052 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
26053 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
26054 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26055 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
26056 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
26057 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
26058 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
26059 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
26060 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
26061 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
26062 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
26063 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26064 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
26065 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
26066 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
26067 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26068 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
26069 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
26070 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
26071 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
26072 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26073 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
26074 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
26075 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26076 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
26077 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26078 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
26079 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
26080 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
26081 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
26082 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
26083 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
26084 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
26085 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
26086 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
26087 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
26088 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
26089 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
26090 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
26091 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
26092 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26093 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
26094 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
26095 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
26096 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
26097 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
26098 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
26099 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
26100 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
26101 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
26102 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
26103 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
26104 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
26105 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
26106 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
26107 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
26108 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
26109 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
26110 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
26111 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
26112 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
26113 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
26114 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
26115 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
26116 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
26117 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
26118 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
26119 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
26120 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
26121 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
26122 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
26123 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
26124 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
26125 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26126 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
26127 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
26128 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
26129 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
26130 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
26131 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
26132 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
26133 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
26134 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26135 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
26136 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
26137 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
26138 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
26139 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
26140 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
26141 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
26142 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
26143 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
26144 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
26145 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26146 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
26147 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
26148 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
26149 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
26150 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26151 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26152 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26153 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
26154
26155 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26156
26157 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
26158 (Use first letters of yesstr and nostr correctly instead of using
26159 full words).
26160
26161 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26162
26163 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
26164 (Use first letters of yesstr and nostr correctly).
26165
26166 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26167
26168 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
26169 also check for the first characters of yesstr and nostr.
26170 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
26171 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
26172
26173 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26174
26175 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
26176 also check for Chinese characters.
26177
26178 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26179
26180 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
26181 match also for the contents of yesstr and nostr. As the first letter
26182 of yesstr and nostr is equal, checking only for the first letter
26183 is not enough.
26184
26185 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26186
26187 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
26188 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
26189
26190 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26191
26192 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
26193 of main contributor.
26194
26195 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26196
26197 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
26198 instead of using English.
26199
26200 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26201
26202 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
26203 by including the first letters of nostr and yesexpr in the regexp.
26204 Also make it more readable by using ASCII where possible.
26205
26206 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26207
26208 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
26209 the first letter of nostr in the regexp. It agrees with CLDR now.
26210 Also make it more readable by using ASCII where possible.
26211
26212 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26213
26214 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
26215 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
26216 these strings contain a U+17D6 (which somewhat looks like a colon)
26217 instead of a real colon to separate the full words for “yes”
26218 and “no” from the single letter responses.
26219
26220 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26221
26222 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
26223 it agree with CLDR (include the first letter of yesstr).
26224 Also make it more readable by using ASCII where possible.
26225
26226 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26227
26228 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
26229 and improve yesexpr and noexpr. The yesstr and nostr apparently
26230 came from CLDR. And CLDR has a bug there: these strings contain
26231 a U+0903 (which looks like a colon) instead of a real colon
26232 to separate the full words for “yes” and “no” from the single
26233 letter responses.
26234
26235 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26236
26237 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
26238 letters of the full yesstr and nostr in yesexpr and noexpr.
26239
26240 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26241
26242 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
26243 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
26244 * localedata/locales/an_ES: Make source more readable by using ASCII
26245 where possible.
26246
26247 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26248
26249 [BZ #20952]
26250 * localedata/locales/yuw_PG: New file.
26251 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
26252 * locale/iso-639.def: Add Yau (Uruwa).
26253
26254 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26255
26256 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
26257
26258 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26259
26260 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
26261 (__libc_realloc): Likewise.
26262 (_mid_memalign): Likewise.
26263 (__libc_calloc): Likewise.
26264
26265 2017-10-23 Mike FABIAN <mfabian@redhat.com>
26266
26267 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
26268 by adding the generic +1 and -0 as in all other locales.
26269 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
26270 day names and make it more readable by using ASCII where possible.
26271
26272 2017-10-24 Joseph Myers <joseph@codesourcery.com>
26273
26274 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
26275 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
26276
26277 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26278
26279 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
26280 WNOHANG in waitpid call.
26281
26282 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
26283
26284 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
26285 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
26286
26287 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
26288 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
26289 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
26290 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
26291 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
26292 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
26293 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
26294 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
26295 variables.
26296
26297 2017-10-23 Michael Collison <michael.collison@arm.com>
26298
26299 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
26300 with __builtin_sqrt.
26301 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
26302 with __builtin_sqrtf.
26303 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
26304 with __builtin_ceil.
26305 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
26306 with __builtin_ceilf.
26307 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
26308 with __builtin_floor.
26309 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
26310 with __builtin_floorf.
26311 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
26312 with __builtin_fma.
26313 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
26314 with __builtin_fmaf.
26315 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
26316 with __builtin_fmax.
26317 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
26318 with __builtin_fmaxf.
26319 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
26320 with __builtin_fmin.
26321 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
26322 with __builtin_fminf.
26323 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
26324 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
26325 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
26326 with builtin_rint and conversion to int.
26327 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
26328 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
26329 with builtin_llround.
26330 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
26331 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
26332 with builtin_rint and conversion to long int.
26333 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
26334 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
26335 with builtin_lround.
26336 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
26337 with builtin_lroundf.
26338 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
26339 statements with __builtin_nearbyint.
26340 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
26341 statements with __builtin_nearbyintf.
26342 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
26343 with __builtin_rint.
26344 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
26345 with __builtin_rintf.
26346 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
26347 with __builtin_round.
26348 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
26349 with __builtin_roundf.
26350 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
26351 with __builtin_trunc.
26352 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
26353 with __builtin_truncf.
26354 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
26355 and s_l[l]round[f].c too.
26356
26357 2017-10-23 Alan Modra <amodra@gmail.com>
26358
26359 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
26360 Adjust stack after restoring regs. Add missing LR cfi_restore.
26361
26362 2017-10-23 Alan Modra <amodra@gmail.com>
26363
26364 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
26365 Move LR save and frame setup/teardown and LR restore to
26366 immediately around memset call. Provide cfi.
26367
26368 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26369
26370 * sysdeps/i386/fpu/e_powf.S: Removed.
26371 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
26372 * sysdeps/i386/fpu/w_powf.c: Likewise.
26373 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
26374 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26375 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26376 Add e_powf-sse2.
26377 (CFLAGS-e_powf-sse2.c): New.
26378 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
26379 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
26380
26381 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26382
26383 * sysdeps/i386/fpu/e_log2f.S: Removed.
26384 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
26385 * sysdeps/i386/fpu/w_log2f.c: Likewise.
26386 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
26387 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26388 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26389 Add e_log2f-sse2.
26390 (CFLAGS-e_log2f-sse2.c): New.
26391 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
26392 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
26393
26394 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26395
26396 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26397 Add e_powf-fma.
26398 (CFLAGS-e_powf-fma.c): New.
26399 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
26400 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
26401
26402 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26403
26404 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26405 Add e_log2f-fma.
26406 (CFLAGS-e_log2f-fma.c): New.
26407 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
26408 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
26409
26410 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26411
26412 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26413 Add e_logf-fma.
26414 (CFLAGS-e_logf-fma.c): New.
26415 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
26416 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
26417
26418 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26419
26420 * sysdeps/i386/fpu/e_logf.S: Removed.
26421 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
26422 * sysdeps/i386/fpu/w_logf.c: Likewise.
26423 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
26424 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
26425 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26426 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26427 Add e_logf-sse2.
26428 (CFLAGS-e_logf-sse2.c): New.
26429 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
26430 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
26431
26432 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26433
26434 * sysdeps/i386/fpu/e_exp2f.S: Removed.
26435 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
26436 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
26437 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26438 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26439 Add e_exp2f-sse2.
26440 (CFLAGS-e_exp2f-sse2.c): New.
26441 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
26442 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
26443
26444 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26445
26446 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26447 Add e_exp2f-fma.
26448 (CFLAGS-e_exp2f-fma.c): New.
26449 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
26450 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
26451
26452 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26453
26454 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
26455 * sysdeps/i386/fpu/e_expf.S: Likewise.
26456 * sysdeps/i386/fpu/math_errf.c: Likewise.
26457 * sysdeps/i386/fpu/w_expf.c: Likewise.
26458 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
26459 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26460 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
26461 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
26462 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26463 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26464 Remove e_expf-ia32.
26465 (CFLAGS-e_expf-sse2.c): New.
26466 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
26467 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
26468
26469 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26470
26471 * sysdeps/x86_64/fpu/e_expf.S: Removed.
26472 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
26473 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
26474 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
26475 e_expf.c.
26476 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
26477 New.
26478 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
26479 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
26480 Renamed to ...
26481 (__redirect_expf): This.
26482 (SYMBOL_NAME): Changed to expf.
26483 (__ieee754_expf): Renamed to ...
26484 (__expf): This.
26485 (__GI___expf): This.
26486 (__ieee754_expf): Add strong_alias.
26487 (__expf_finite): Likewise.
26488 (__expf): New.
26489 Include <sysdeps/ieee754/flt-32/e_expf.c>.
26490
26491 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
26492
26493 [BZ #22332]
26494 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
26495 unescaping.
26496
26497 2017-10-21 Florian Weimer <fweimer@redhat.com>
26498
26499 * posix/Makefile (tests): Add tst-glob-tilde.
26500 (tests-special): Add tst-glob-tilde-mem.out
26501 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
26502 (tst-glob-tilde-mem.out): Add mtrace check.
26503 * posix/tst-glob-tilde.c: New file.
26504
26505 2017-10-20 Joseph Myers <joseph@codesourcery.com>
26506
26507 * bits/floatn-common.h: New file.
26508 * math/Makefile (headers): Add bits/floatn-common.h.
26509 * bits/floatn.h: Include <bits/floatn-common.h>.
26510 * sysdeps/ia64/bits/floatn.h: Likewise.
26511 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26512 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
26513 * sysdeps/powerpc/bits/floatn.h: Likewise.
26514 * sysdeps/x86/bits/floatn.h: Likewise.
26515
26516 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26517
26518 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
26519 indicates whether compiler emits an warning for alias for
26520 functions with incompatible types.
26521
26522 [BZ #22273]
26523 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
26524 the auxiliary process is terminated by a signal before calling _exit
26525 or execve.
26526
26527 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26528
26529 [BZ #21265]
26530 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
26531 New.
26532 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
26533 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
26534 and bit_arch_XSAVEC_Usable if needed.
26535 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
26536 and bit_arch_Use_dl_runtime_resolve_opt.
26537 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
26538 Removed.
26539 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
26540 (bit_arch_Prefer_No_AVX512): Updated.
26541 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
26542 (bit_arch_XSAVEC_Usable): New.
26543 (STATE_SAVE_OFFSET): Likewise.
26544 (STATE_SAVE_MASK): Likewise.
26545 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
26546 (cpu_features): Add xsave_state_size and xsave_state_full_size.
26547 (index_arch_Use_dl_runtime_resolve_opt): Removed.
26548 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
26549 (index_arch_XSAVEC_Usable): New.
26550 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26551 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
26552 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
26553 is enabled.
26554 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
26555 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
26556 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
26557 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
26558 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
26559 _dl_runtime_resolve_xsavec.
26560 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
26561 Removed.
26562 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
26563 instead of VEC_SIZE.
26564 (REGISTER_SAVE_BND0): Removed.
26565 (REGISTER_SAVE_BND1): Likewise.
26566 (REGISTER_SAVE_BND3): Likewise.
26567 (REGISTER_SAVE_RAX): Always defined to 0.
26568 (VMOV): Removed.
26569 (_dl_runtime_resolve_avx): Likewise.
26570 (_dl_runtime_resolve_avx_slow): Likewise.
26571 (_dl_runtime_resolve_avx_opt): Likewise.
26572 (_dl_runtime_resolve_avx512): Likewise.
26573 (_dl_runtime_resolve_avx512_opt): Likewise.
26574 (_dl_runtime_resolve_sse): Likewise.
26575 (_dl_runtime_resolve_sse_vex): Likewise.
26576 (USE_FXSAVE): New.
26577 (_dl_runtime_resolve_fxsave): Likewise.
26578 (USE_XSAVE): Likewise.
26579 (_dl_runtime_resolve_xsave): Likewise.
26580 (USE_XSAVEC): Likewise.
26581 (_dl_runtime_resolve_xsavec): Likewise.
26582 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
26583 Removed.
26584 (_dl_runtime_resolve_avx512_opt): Likewise.
26585 (_dl_runtime_resolve_avx): Likewise.
26586 (_dl_runtime_resolve_avx_opt): Likewise.
26587 (_dl_runtime_resolve_sse): Likewise.
26588 (_dl_runtime_resolve_sse_vex): Likewise.
26589 (_dl_runtime_resolve_fxsave): New.
26590 (_dl_runtime_resolve_xsave): Likewise.
26591 (_dl_runtime_resolve_xsavec): Likewise.
26592
26593 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
26594
26595 [BZ #22320]
26596 CVE-2017-15670
26597 * posix/glob.c (__glob): Fix one-byte overflow.
26598
26599 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26600
26601 * malloc/malloc.c (sysdep-cancel.h): Add include.
26602
26603 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26604
26605 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
26606
26607 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
26608
26609 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
26610 (tests): Remove $(objpfx)ga_test depdendency.
26611 * resolv/ga_test.c: Remove file.
26612
26613 2017-10-20 Mike FABIAN <mfabian@redhat.com>
26614
26615 [BZ #18812]
26616 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
26617 * localedata/locales/kab_DZ: New file.
26618
26619 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26620
26621 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
26622 _dl_relocate_static_pie instead of _dl_start to compute load
26623 address in static PIE.
26624
26625 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26626
26627 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
26628
26629 2017-10-20 Mike FABIAN <mfabian@redhat.com>
26630
26631 [BZ #13605]
26632 * localedata/SUPPORTED: Add shn_MM/UTF-8.
26633 * localedata/locales/shn_MM: New file.
26634
26635 2017-10-20 Florian Weimer <fweimer@redhat.com>
26636
26637 [BZ #22321]
26638 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
26639 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
26640 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
26641 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
26642 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
26643 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
26644
26645 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
26646
26647 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26648
26649 2017-10-19 Joseph Myers <joseph@codesourcery.com>
26650
26651 * sysdeps/mips/ieee754/bits/floatn.h: New file.
26652
26653 [BZ #22322]
26654 * sysdeps/mips/bits/long-double.h: Move to ....
26655 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
26656
26657 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
26658
26659 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
26660
26661 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
26662 H.J. Lu <hongjiu.lu@intel.com>
26663
26664 [BZ #22299]
26665 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
26666 GLRO(dl_platform) to NULL.
26667 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
26668 (modules-names): Add tst-platformmod-1 and
26669 x86_64/tst-platformmod-2.
26670 (CFLAGS-tst-platform-1.c): New.
26671 (CFLAGS-tst-platformmod-1.c): Likewise.
26672 (CFLAGS-tst-platformmod-2.c): Likewise.
26673 (LDFLAGS-tst-platformmod-2.so): Likewise.
26674 ($(objpfx)tst-platform-1): Likewise.
26675 ($(objpfx)tst-platform-1.out): Likewise.
26676 (tst-platform-1-ENV): Likewise.
26677 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
26678 * sysdeps/x86_64/tst-platform-1.c: New file.
26679 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
26680 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
26681
26682 2017-10-19 Mike FABIAN <mfabian@redhat.com>
26683
26684 [BZ #13994]
26685 * locale/iso-639.def: Add Karbi.
26686 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
26687 * localedata/locales/mjw_IN: New file.
26688
26689 2017-10-18 Joseph Myers <joseph@codesourcery.com>
26690
26691 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
26692 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26693 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
26694 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
26695 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26696 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26697 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
26698 <bits/floatn.h>.
26699 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26700 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26701 * manual/math.texi (Mathematics): Document additional architecture
26702 support for _Float128.
26703 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26704 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26705 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26706 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26707 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26708 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26709 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26710 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26711 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26712 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26713 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26714 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26715 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26716 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26717 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26718
26719 2017-10-18 Renlin Li <renlin.li@arm.com>
26720
26721 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
26722 _DYNAMIC symbol to calculate load address.
26723
26724 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
26725
26726 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
26727 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
26728 summary bits.
26729 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
26730 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
26731
26732 2017-10-18 Mike FABIAN <mfabian@redhat.com>
26733
26734 [BZ #16777]
26735 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
26736 and improve readability by using more ASCII.
26737 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
26738 and improve readability by using more ASCII.
26739
26740 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
26741
26742 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
26743 not all targets support atomics on bool.
26744
26745 2017-10-17 Joseph Myers <joseph@codesourcery.com>
26746
26747 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
26748 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
26749 __f128.
26750 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26751 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
26752 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26753 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
26754 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26755 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
26756
26757 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26758
26759 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
26760 defines.
26761
26762 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26763
26764 [BZ #22159]
26765 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
26766 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
26767 (do_check_remalloced_chunk): Fix build bug.
26768 (do_check_malloc_state): Add assert that checks arena->top.
26769 (malloc_consolidate): Remove initialization.
26770 (int_mallinfo): Remove call to malloc_consolidate.
26771 (__libc_mallopt): Clarify why malloc_consolidate is needed.
26772
26773 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26774
26775 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
26776 (have_fastchunks): Remove.
26777 (clear_fastchunks): Remove.
26778 (set_fastchunks): Remove.
26779 (malloc_state): Add have_fastchunks.
26780 (malloc_init_state): Use have_fastchunks.
26781 (do_check_malloc_state): Remove incorrect invariant checks.
26782 (_int_malloc): Use have_fastchunks.
26783 (_int_free): Likewise.
26784 (malloc_consolidate): Likewise.
26785
26786 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26787
26788 * malloc/malloc.c (tcache_put): Inline.
26789 (tcache_get): Inline.
26790
26791 2017-10-17 Jordi Mallach <jordi@gnu.org>
26792
26793 Aurelien Jarno <aurelien@aurel32.net>
26794 [BZ #2522]
26795 * localedata/locales/ca_ES@valencia: New file.
26796 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
26797
26798 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
26799
26800 [BZ #22296]
26801 * math/math.h: Let signbit use the builtin in C++ mode with gcc
26802 < 6.x
26803
26804 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26805
26806 * scripts/build-many-glibcs.py (Context.add_all_configs):
26807 Add arm-linux-gnueabihf multiarch extra_glibcs.
26808
26809 * sysdeps/generic/ifunc-init.h: New file.
26810 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
26811
26812 2017-10-17 Mike FABIAN <mfabian@redhat.com>
26813
26814 [BZ #22019]
26815 * localedata/locales/el_GR: Set n_cs_precedes to 0.
26816 * localedata/locales/el_CY: copy "el_GR" because it is identical.
26817 * stdlib/tst-strfmon_l.c: adapt test case.
26818
26819 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26820
26821 * sysdeps/generic/float128-abi.h: New file.
26822 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
26823 non-__prefixed symbols to ....
26824 * math/Versions: ... here. Include <float128-abi.h>.
26825 * stdlib/Versions ... and here. Include <float128-abi.h>
26826
26827 2017-10-16 Florian Weimer <fweimer@redhat.com>
26828
26829 * version.h (VERSION): Switch to ".9000" as the development
26830 version suffix.
26831
26832 2017-10-16 Florian Weimer <fweimer@redhat.com>
26833
26834 [BZ #22050]
26835 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
26836 compat_symbol_reference to access non-default version.
26837
26838 2017-10-16 Florian Weimer <fweimer@redhat.com>
26839
26840 * malloc/Makefile (others-extras): Set to mcheck-init.o.
26841
26842 2017-10-16 Carlos O'Donell <carlos@redhat.com>
26843
26844 * include/shlib-compat.h (compat_symbol_reference): Update
26845 comment.
26846
26847 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26848
26849 * math/Makefile (test-types): Add
26850 $(type-float128-$(float128-alias-fcts)).
26851 * math/test-float128.h (TYPE_STR): Define conditional on
26852 [FLT128_MANT_DIG == LDBL_MANT_DIG].
26853 (ULP_IDX): Likewise.
26854 (ULP_I_IDX): Likewise.
26855
26856 * stdlib/strtold.c: Include <bits/floatn.h>
26857 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
26858 and later undefine as macro. Define as weak alias if
26859 [!USE_WIDE_CHAR].
26860 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
26861 and later undefine as macro. Define as weak alias if
26862 [USE_WIDE_CHAR].
26863 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
26864 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
26865 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26866 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26867 Define and later undefine as macro. Define as weak alias if
26868 [USE_WIDE_CHAR].
26869 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
26870 <bits/floatn.h>.
26871 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
26872 Define and later undefine as macro. Define as weak alias if
26873 [!USE_WIDE_CHAR].
26874 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26875 Define and later undefine as macro. Define as weak alias if
26876 [USE_WIDE_CHAR].
26877
26878 2017-10-15 Carlos O'Donell <carlos@redhat.com>
26879
26880 * localedata/collate-test.c (allocate_arrays): Don't use \n in
26881 record_verbose messages.
26882
26883 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
26884
26885 [BZ #22052]
26886 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
26887 to silence -O3 -Wall warning with GCC 7.
26888
26889 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
26890
26891 * Makeconfig (+link-static-before-libc): Use the first of
26892 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
26893 * gmon/Makefile (tests): Add tst-gmon-static.
26894 (tests-static): Likewise.
26895 (CFLAGS-tst-gmon-static.c): New.
26896 (CRT-tst-gmon-static): Likewise.
26897 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
26898 (tst-gmon-static-ENV): Likewise.
26899 (tests-special): Likewise.
26900 ($(objpfx)tst-gmon-static.out): Likewise.
26901 (clean-tst-gmon-static-data): Likewise.
26902 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
26903 * gmon/tst-gmon-static-gprof.sh: New file.
26904 * gmon/tst-gmon-static.c: Likewise.
26905
26906 2017-10-13 Carlos O'Donell <carlos@redhat.com>
26907
26908 [BZ #22295]
26909 * locale/programs/linereader.c (get_string): Don't warn on
26910 non-symbolic character.
26911
26912 [BZ #22294]
26913 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
26914 int_curr_symbol.
26915
26916 [BZ #22292]
26917 * locale/programs/record-status.h: New file
26918 * locale/programs/locale.c: Add comment.
26919 * locale/programs/charmap-dir.c: Don't include error.h.
26920 (charmap_opendir): Use record_error.
26921 * locale/programs/charmap.c: Don't include error.h.
26922 (charmap_read): Use record_error, and record_warning.
26923 (parse_charmap): Likewise.
26924 * locale/programs/ld-address.c: Don't include error.h.
26925 (address_finish): Use record_error, and record_warning.
26926 * locale/programs/ld-collate.c: Don't include error.h.
26927 (collate_finish): Use record_error, and record_error_at_line.
26928 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
26929 (ctype_class_new): Likewise.
26930 (ctype_map_new): Likewise.
26931 (set_one_default): Likewise.
26932 (set_class_defaults): Likewise.
26933 (translit_flatten): Likewise.
26934 (allocate_arrays): Use record_error, and record_verbose.
26935 * locale/programs/ld-identification.c: Don't include error.h.
26936 (indentation_finish): Use record_error and record_warning.
26937 * locale/programs/ld-measurement.c: Don't include error.h.
26938 (measurement_finish): Use record_error.
26939 * locale/programs/ld-messages.c
26940 (message_finish): Likewise.
26941 * locale/programs/ld-monetary.c
26942 (monetary_finish): Likewise.
26943 * locale/programs/ld-name.c (name_finish): Use record_error
26944 and record_warning.
26945 * locale/programs/ld-numeric.c
26946 (numeric_finish): Use record_error.
26947 * locale/programs/ld-paper.c: Don't include error.h.
26948 (paper_finish): Use record_error.
26949 * locale/programs/ld-telephone.c: Don't include error.h.
26950 (telephone_finish): Use record_error.
26951 * locale/programs/ld-time.c (time_finish): Likewise.
26952 * locale/programs/linereader.h (lr_error): Make inline func.
26953 * locale/programs/localedef.c: Define recorded_warning_count,
26954 and recorded_error_count.
26955 (main): Use record_error. Use recorded_error_count and
26956 recorded_warning_count to issue correct error returns.
26957 (add_to_readlist): Use record_error.
26958 (find_locale): Likewise.
26959 (load_locale): Likewise.
26960 * locale/programs/localedef.h: Remove be_quiet
26961 and WITH_CUR_LOCALE.
26962 * locale/programs/locarchive.c (compare_from_file): Use
26963 record_error.
26964 * locale/programs/locfile.c (write_locale_data): Use
26965 record_error.
26966 * locale/programs/repertoire.c: Dont include error.h.
26967 (repertoire_complain): Use record_error.
26968 * localedata/tst-fmon.sh: Expect failures from localedef.
26969 * localedata/tst-locale.sh: Likewise.
26970 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
26971
26972 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
26973 (REPORTS): Likewise.
26974 (check): Likewise.
26975 (i18n): Rename to...
26976 (i18n_ctype): ...this.
26977 (i18n-report): Rename to...
26978 (i18n_ctype-report): ...this.
26979 * localedata/locales/i18n_ctype: Regenerate.
26980 * localedata/locales/i18n: copy i18n_ctype.
26981
26982 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26983
26984 * stdlib/strfroml.c: Include <bits/floatn.h>.
26985 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
26986 Define before include of <stdlib.h> and undefine afterwards, then
26987 define as weak alias.
26988
26989 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
26990 Undefine and restore default definition. Use
26991 libm_alias_ldouble_other.
26992
26993 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
26994
26995 [BZ #22153]
26996 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
26997 in coredumps.
26998
26999 2017-10-13 James Clarke <jrtc27@jrtc27.com>
27000
27001 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27002 Assign sym_map to be map for local symbols, as TLS relocations
27003 use sym_map to determine whether the symbol is defined and to
27004 extract the TLS information.
27005 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27006 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27007
27008 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27009
27010 [BZ #22189]
27011 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
27012 (math_force_eval): Add powerpc version.
27013
27014 [BZ #22142]
27015 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
27016 -DBL_MAX.
27017 (do_test): Likewise.
27018 * stdio-common/tst-printf.sh: Likewise.
27019 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
27020 ifdef clause in order to set the carry bit right. Replace r0 by
27021 0 without changing the behavior.
27022
27023 2017-10-13 Joseph Myers <joseph@codesourcery.com>
27024
27025 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
27026 <libm-alias-ldouble.h>.
27027 (fabsl): Define using libm_alias_ldouble.
27028 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
27029 <libm-alias-ldouble.h>.
27030 (fabsl): Define using libm_alias_ldouble.
27031
27032 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
27033 Remove conditional code.
27034
27035 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
27036 Rename to __clog10_internal_l.
27037 (__clog10_internal_l): Define aliases using
27038 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
27039 with __clog10.
27040
27041 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27042
27043 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
27044 * benchtests/sincosf-inputs: New file.
27045 * benchtests/cosf-inputs: New file.
27046 * benchtests/sinf-inputs: New file.
27047
27048 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
27049
27050 * posix/tst-spawn.c (do_test): Wait for both children.
27051
27052 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
27053
27054 [BZ #22284]
27055 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
27056 tests-pie): Add tst-gmon-pie.
27057 (CFLAGS-tst-gmon-pie.c): New.
27058 (CRT-tst-gmon-pie): Likewise.
27059 (tst-gmon-pie-ENV): Likewise.
27060 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
27061 ($(objpfx)tst-gmon-pie.out): Likewise.
27062 (clean-tst-gmon-pie-data): Likewise.
27063 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
27064 * gmon/gmon.c [PIC]: Include <link.h>.
27065 [PIC] (callback): New function.
27066 (write_hist): Add an argument for load address. Subtract load
27067 address from PCs.
27068 (write_call_graph): Likewise.
27069 (write_gmon): Call __dl_iterate_phdr to get load address, pass
27070 it to write_hist and write_call_graph.
27071 * gmon/tst-gmon-pie.c: New file.
27072
27073 2017-10-11 Joseph Myers <joseph@codesourcery.com>
27074
27075 * math/Makefile (test-types-basic): New variable.
27076 (test-types): Likewise.
27077 (libm-test-support): Use $(test-types) instead of $(types).
27078 (libm-tests-base-normal): Likewise.
27079 (libm-tests-base-finite): Likewise.
27080 (libm-tests-base-inline): Likewise.
27081 (generated): Likewise.
27082 ($(objpfx)libm-test-support-$(t).c): Likewise.
27083 (libm-tests-for-type iterator): Likewise.
27084 (libm-test-support iterator): Likewise.
27085 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
27086 (ulp_idx): Use ULP_IDX.
27087 * math/test-ldouble.h: Include <float.h>.
27088 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
27089 (ULP_IDX): New macro.
27090 (ULP_I_IDX): Likewise.
27091 * math/test-double.h (ULP_IDX): Likewise.
27092 (ULP_I_IDX): Likewise.
27093 * math/test-float.h (ULP_IDX): Likewise.
27094 (ULP_I_IDX): Likewise.
27095 * math/test-float128.h (ULP_IDX): Likewise.
27096 (ULP_I_IDX): Likewise.
27097
27098 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27099
27100 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
27101 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27102 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27103 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
27104 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27105 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
27106 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
27107 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27108 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27109 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27110 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
27111 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27112 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27113 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27114 (SINGLE_THREAD_BY_GLOBAL): Define.
27115 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27116 Likewise.
27117 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27118 Likewise.
27119 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27120 Likewise.
27121 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27122 Likewise.
27123 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
27124 (SINGLE_THREAD_BY_GLOBAL): Likewise.
27125 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27126 Likewise.
27127
27128 2017-10-11 Andreas Schwab <schwab@suse.de>
27129
27130 * nis/Makefile (aux): Remove.
27131 * nscd/Makefile (aux): Add nscd_hash.
27132 (nscd-modules): Likewise.
27133 ($(objpfx)nscd): Don't depend on libnsl.
27134 * nscd/nscd_hash.c: New file.
27135 * nscd/nscd_hash.h: Likewise.
27136 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
27137 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
27138 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
27139 instead of <nis/rpcsvc/nis.h>.
27140 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
27141
27142 2017-10-11 Florian Weimer <fweimer@redhat.com>
27143
27144 [BZ #22078]
27145 Avoid large NSS buffers with many addresses, aliases.
27146 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
27147 using dynarrays and struct alloc_buffer.
27148 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
27149 (tst-nss-files-hosts-multi): Link with -ldl.
27150 * nss/tst-nss-files-hosts-multi.c: New file.
27151
27152 2017-10-11 Florian Weimer <fweimer@redhat.com>
27153
27154 [BZ #18023]
27155 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
27156 scratch_buffer. Eliminate gotos.
27157
27158 2017-10-11 Joseph Myers <joseph@codesourcery.com>
27159
27160 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
27161 libm_alias_ldouble_other.
27162 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
27163 undefine and redefine.
27164 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27165 (exp10l): Do not define here.
27166 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
27167 (weak_alias): Undefine and redefine.
27168 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
27169 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27170 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
27171 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
27172
27173 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
27174 [!__fma] (fma): Define using libm_alias_double.
27175 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
27176 [!__fmaf] (fmaf): Define using libm_alias_float.
27177 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
27178 (fmal): Define using libm_alias_ldouble.
27179
27180 2017-10-10 Joseph Myers <joseph@codesourcery.com>
27181
27182 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
27183 New macro.
27184 (libm_alias_double_other): Likewise.
27185 (libm_alias_double_r): Use libm_alias_double_other_r.
27186 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
27187 New macro.
27188 (libm_alias_float_other): Likewise.
27189 (libm_alias_float_r): Use libm_alias_float_other_r.
27190 * sysdeps/generic/libm-alias-float128.h
27191 (libm_alias_float128_other_r): New macro.
27192 (libm_alias_float128_other): Likewise.
27193 (libm_alias_float128_r): Use libm_alias_float128_other_r.
27194 * sysdeps/generic/libm-alias-ldouble.h
27195 (libm_alias_ldouble_other_r): New macro.
27196 (libm_alias_ldouble_other): Likewise.
27197 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27198 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27199 (libm_alias_double_other_r): New macro.
27200 (libm_alias_double_other): Likewise.
27201 (libm_alias_double_r): Use libm_alias_double_other_r.
27202 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27203 (libm_alias_ldouble_other_r): New macro.
27204 (libm_alias_ldouble_other): Likewise.
27205 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27206 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
27207 [!USE_AS_COMPAT]: Use libm_alias_double_other.
27208 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
27209 [!USE_AS_COMPAT]: Use libm_alias_float_other.
27210 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
27211 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
27212 * math/w_exp2f.c: Use libm_alias_float_other.
27213 * math/w_expf.c: Likewise.
27214 * math/w_log2f.c: Likewise.
27215 * math/w_logf.c: Likewise.
27216 * math/w_powf.c: Likewise.
27217 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
27218 [!__exp2f]: Use libm_alias_float_other.
27219 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
27220 [!__expf]: Use libm_alias_float_other.
27221 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
27222 [!__log2f]: Use libm_alias_float_other.
27223 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
27224 [!__logf]: Use libm_alias_float_other.
27225 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
27226 [!__powf]: Use libm_alias_float_other.
27227
27228 2017-10-10 Florian Weimer <fweimer@redhat.com>
27229
27230 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
27231 function.
27232 (_nss_files_gethostbyname3_r): Call it.
27233
27234 2017-10-09 Joseph Myers <joseph@codesourcery.com>
27235
27236 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
27237 error. Remove default definition of declare_mgen_alias.
27238 [!declare_mgen_alias_r]: Likewise.
27239 * sysdeps/generic/math-type-macros-double.h
27240 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
27241 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
27242 (declare_mgen_alias_r): Likewise.
27243 * sysdeps/generic/math-type-macros-float128.h
27244 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27245 * sysdeps/generic/math-type-macros-ldouble.h
27246 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27247 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
27248 macro.
27249 (declare_mgen_alias_r_s): Likewise.
27250 (declare_mgen_alias_r): Likewise.
27251 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
27252 (lgamma_r): Define using libm_alias_double_r.
27253 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
27254 (lgammaf_r): Define using libm_alias_float_r.
27255 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
27256 (lgammal_r): Define using libm_alias_ldouble_r.
27257 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
27258 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27259
27260 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27261
27262 * lib/glob.c (__glob_pattern_type): Remove now-spurious
27263 extern declaration.
27264
27265 2017-10-09 Joseph Myers <joseph@codesourcery.com>
27266
27267 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
27268
27269 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
27270
27271 [BZ #21326]
27272 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
27273 [__cplusplus >= 201103] (__USE_ISOC99): Define.
27274 * math/Makefile (test-math-cxx11): New test.
27275 * math/test-math-cxx11.cc: New file.
27276
27277 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
27278
27279 * login/openpty.c (openpty): Close slave pty file descriptor on error.
27280
27281 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
27282 call to allocate the slave pty file descriptor.
27283
27284 2017-10-06 Joseph Myers <joseph@codesourcery.com>
27285
27286 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
27287 [!__fma] (fma): Define using libm_alias_double.
27288 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
27289 [!__fma] (fma): Define using libm_alias_double.
27290
27291 * sysdeps/ieee754/float128/float128_private.h: Include
27292 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
27293 (libm_alias_ldouble_r): Undefine and redefine.
27294 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
27295 <libm-alias-ldouble.h>.
27296 (asinhl): Define using libm_alias_ldouble.
27297 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
27298 <libm-alias-ldouble.h>.
27299 (atanl): Define using libm_alias_ldouble.
27300 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
27301 <libm-alias-ldouble.h>.
27302 (cbrtl): Define using libm_alias_ldouble.
27303 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
27304 <libm-alias-ldouble.h>.
27305 (ceill): Define using libm_alias_ldouble.
27306 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
27307 <libm-alias-ldouble.h>.
27308 (copysignl): Define using libm_alias_ldouble.
27309 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
27310 <libm-alias-ldouble.h>.
27311 (cosl): Define using libm_alias_ldouble.
27312 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
27313 <libm-alias-ldouble.h>.
27314 (erfl): Define using libm_alias_ldouble.
27315 (erfcl): Likewise.
27316 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
27317 <libm-alias-ldouble.h>.
27318 (expm1l): Define using libm_alias_ldouble.
27319 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
27320 <libm-alias-ldouble.h>.
27321 (fabsl): Define using libm_alias_ldouble.
27322 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
27323 <libm-alias-ldouble.h>.
27324 (floorl): Define using libm_alias_ldouble.
27325 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
27326 <libm-alias-ldouble.h>.
27327 (fmal): Define using libm_alias_ldouble.
27328 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
27329 <libm-alias-ldouble.h>.
27330 (frexpl): Define using libm_alias_ldouble.
27331 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
27332 libm_alias_ldouble.
27333 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
27334 <libm-alias-ldouble.h>.
27335 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
27336 libm_alias_ldouble.
27337 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
27338 <libm-alias-ldouble.h>.
27339 (getpayloadl): Define using libm_alias_ldouble.
27340 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
27341 <libm-alias-ldouble.h>.
27342 (llrintl): Define using libm_alias_ldouble.
27343 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
27344 <libm-alias-ldouble.h>.
27345 (llroundl): Define using libm_alias_ldouble.
27346 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
27347 <libm-alias-ldouble.h>.
27348 (logbl): Define using libm_alias_ldouble.
27349 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
27350 <libm-alias-ldouble.h>.
27351 (lrintl): Define using libm_alias_ldouble.
27352 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
27353 <libm-alias-ldouble.h>.
27354 (lroundl): Define using libm_alias_ldouble.
27355 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
27356 <libm-alias-ldouble.h>.
27357 (modfl): Define using libm_alias_ldouble.
27358 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
27359 <libm-alias-ldouble.h>.
27360 (nearbyintl): Define using libm_alias_ldouble.
27361 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
27362 <libm-alias-ldouble.h>.
27363 (nextafterl): Define using libm_alias_ldouble.
27364 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
27365 <libm-alias-ldouble.h>.
27366 (nextupl): Define using libm_alias_ldouble.
27367 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
27368 <libm-alias-ldouble.h>.
27369 (remquol): Define using libm_alias_ldouble.
27370 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
27371 <libm-alias-ldouble.h>.
27372 (rintl): Define using libm_alias_ldouble.
27373 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
27374 <libm-alias-ldouble.h>.
27375 (roundevenl): Define using libm_alias_ldouble.
27376 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
27377 <libm-alias-ldouble.h>.
27378 (roundl): Define using libm_alias_ldouble.
27379 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
27380 using libm_alias_ldouble.
27381 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
27382 <libm-alias-ldouble.h>.
27383 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
27384 Define using libm_alias_ldouble.
27385 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
27386 <libm-alias-ldouble.h>.
27387 (sincosl): Define using libm_alias_ldouble.
27388 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
27389 <libm-alias-ldouble.h>.
27390 (sinl): Define using libm_alias_ldouble.
27391 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
27392 <libm-alias-ldouble.h>.
27393 (tanhl): Define using libm_alias_ldouble.
27394 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
27395 <libm-alias-ldouble.h>.
27396 (tanl): Define using libm_alias_ldouble.
27397 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
27398 <libm-alias-ldouble.h>.
27399 (totalorderl): Define using libm_alias_ldouble.
27400 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
27401 <libm-alias-ldouble.h>.
27402 (totalordermagl): Define using libm_alias_ldouble.
27403 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
27404 <libm-alias-ldouble.h>.
27405 (truncl): Define using libm_alias_ldouble.
27406 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
27407 libm_alias_ldouble.
27408 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
27409 libm_alias_ldouble.
27410 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
27411 <libm-alias-ldouble.h>.
27412 (weak_alias): Do not undefine and redefine.
27413 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27414 (copysignl): Define with long_double_symbol only if [IS_IN
27415 (libc)].
27416 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
27417 <libm-alias-ldouble.h>.
27418 (weak_alias): Do not undefine and redefine.
27419 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27420 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
27421 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
27422 <libm-alias-ldouble.h>.
27423 (weak_alias): Do not undefine and redefine.
27424 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27425 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
27426 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
27427 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
27428 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
27429 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
27430 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
27431 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
27432 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
27433 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
27434 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
27435 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
27436 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
27437 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
27438 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
27439 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
27440 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
27441 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
27442 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
27443 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
27444 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
27445 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
27446 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
27447 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
27448 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
27449 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
27450
27451 2017-10-06 Carlos O'Donell <carlos@redhat.com>
27452
27453 [BZ #22111]
27454 * malloc/malloc.c (tcache_shutting_down): Use bool type.
27455 (tcache_thread_freeres): Set tcache_shutting_down before
27456 freeing the tcache.
27457 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
27458 * malloc/tst-malloc-tcache-leak.c: New file.
27459
27460 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27461
27462 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
27463 back to powerpc32 file.
27464 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27465 (memrchr): Add __memrchr_power8 to ifunc list.
27466 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
27467 extra bytes for unaligned inputs.
27468
27469 2017-10-06 Joseph Myers <joseph@codesourcery.com>
27470
27471 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
27472 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
27473 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
27474 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27475 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27476
27477 2017-10-05 Joseph Myers <joseph@codesourcery.com>
27478
27479 * sysdeps/arm/libm-test-ulps: Update.
27480
27481 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
27482 <libm-alias-ldouble.h>.
27483 (asinhl): Define using libm_alias_ldouble.
27484 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
27485 <libm-alias-ldouble.h>.
27486 (cbrtl): Define using libm_alias_ldouble.
27487 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
27488 <libm-alias-ldouble.h>.
27489 (copysignl): Define using libm_alias_ldouble.
27490 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
27491 <libm-alias-ldouble.h>.
27492 (cosl): Define using libm_alias_ldouble.
27493 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
27494 <libm-alias-ldouble.h>.
27495 (erfl): Define using libm_alias_ldouble.
27496 (erfcl): Likewise.
27497 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
27498 <libm-alias-ldouble.h>.
27499 (fmal): Define using libm_alias_ldouble.
27500 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
27501 <libm-alias-ldouble.h>.
27502 (frexpl): Define using libm_alias_ldouble.
27503 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
27504 libm_alias_ldouble.
27505 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
27506 <libm-alias-ldouble.h>.
27507 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
27508 libm_alias_ldouble.
27509 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
27510 <libm-alias-ldouble.h>.
27511 (getpayloadl): Define using libm_alias_ldouble.
27512 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
27513 <libm-alias-ldouble.h>.
27514 (llrintl): Define using libm_alias_ldouble.
27515 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
27516 <libm-alias-ldouble.h>.
27517 (llroundl): Define using libm_alias_ldouble.
27518 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
27519 <libm-alias-ldouble.h>.
27520 (lrintl): Define using libm_alias_ldouble.
27521 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
27522 <libm-alias-ldouble.h>.
27523 (lroundl): Define using libm_alias_ldouble.
27524 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
27525 <libm-alias-ldouble.h>.
27526 (modfl): Define using libm_alias_ldouble.
27527 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
27528 <libm-alias-ldouble.h>.
27529 (nextupl): Define using libm_alias_ldouble.
27530 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
27531 <libm-alias-ldouble.h>.
27532 (remquol): Define using libm_alias_ldouble.
27533 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
27534 <libm-alias-ldouble.h>.
27535 (roundevenl): Define using libm_alias_ldouble.
27536 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
27537 <libm-alias-ldouble.h>.
27538 (roundl): Define using libm_alias_ldouble.
27539 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
27540 using libm_alias_ldouble.
27541 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
27542 <libm-alias-ldouble.h>.
27543 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
27544 <libm-alias-ldouble.h>.
27545 (setpayloadsigl): Define using libm_alias_ldouble.
27546 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
27547 <libm-alias-ldouble.h>.
27548 (sincosl): Define using libm_alias_ldouble.
27549 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
27550 <libm-alias-ldouble.h>.
27551 (sinl): Define using libm_alias_ldouble.
27552 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
27553 <libm-alias-ldouble.h>.
27554 (tanhl): Define using libm_alias_ldouble.
27555 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
27556 <libm-alias-ldouble.h>.
27557 (tanl): Define using libm_alias_ldouble.
27558 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
27559 <libm-alias-ldouble.h>.
27560 (totalorderl): Define using libm_alias_ldouble.
27561 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
27562 <libm-alias-ldouble.h>.
27563 (totalordermagl): Define using libm_alias_ldouble.
27564 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
27565 libm_alias_ldouble.
27566 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
27567 libm_alias_ldouble.
27568
27569 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
27570
27571 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
27572 memmove_falkor.
27573 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27574 (__libc_ifunc_impl_list): Likewise.
27575 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
27576 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
27577
27578 * benchtests/bench-memmove-walk.c: New file.
27579 * benchtests/Makefile (string-benchset): Add it.
27580
27581 * benchtests/bench-memset-walk.c: New file.
27582 * benchtests/Makefile (string-benchset): Add it.
27583
27584 * benchtests/bench-memcpy-walk.c: New file.
27585 * benchtests/Makefile (string-benchset): Add it.
27586
27587 2017-10-05 Florian Weimer <fweimer@redhat.com>
27588
27589 nscd: Eliminate compilation time dependency in the build output.
27590 * nscd/nscd_stat.c (STATDATA_VERSION)
27591 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
27592 (STATDATA_VERSION_FULL): New macro definitions.
27593 (compilation): Remove.
27594 (struct statdata): Adjust version member.
27595 (send_stats): Set version from STATDATA_VERSION_FULL.
27596 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
27597
27598 2017-10-05 Joseph Myers <joseph@codesourcery.com>
27599
27600 * configure.ac (--enable-add-ons): Remove option.
27601 (machine): Do not mention add-ons in comment.
27602 (LIBC_PRECONFIGURE): Likewise.
27603 (add_ons): Remove variable and sanity checks and logic to locate
27604 add-ons.
27605 (add_ons_automatic): Remove variable.
27606 (configured_add_ons): Likewise.
27607 (add_ons_sfx): Likewise.
27608 (add_ons_pfx): Likewise.
27609 (add_on_subdirs): Likewise.
27610 (sysnames_add_ons): Likewise. Remove loop over add-ons and
27611 consideration of add-ons in Implies handling.
27612 (sysdeps_add_ons): Likewise.
27613 * configure: Regenerated.
27614 * libidn/configure.ac: Remove.
27615 * libidn/configure: Likewise.
27616 * sysdeps/unix/inet/configure.ac: New file.
27617 * sysdeps/unix/inet/configure: New generated file.
27618 * sysdeps/unix/inet/Subdirs: Add libidn.
27619 * Makeconfig (sysdeps-srcdirs): Remove variable.
27620 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
27621 ($(common-objpfx)config.status): Do not depend on add-on files.
27622 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
27623 comment.
27624 (all-subdirs): Do not include $(add-on-subdirs).
27625 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
27626 * config.make.in (add-ons): Remove variable.
27627 (add-on-subdirs): Likewise.
27628 (sysdeps-add-ons): Likewise.
27629 * manual/Makefile (add-chapters): Remove.
27630 ($(objpfx)texis): Do not depend on $(add-chapters).
27631 (nonexamples): Do not handle $(add-chapters).
27632 (examples): Do not handle $(add-ons).
27633 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
27634 libc-texinfo.sh.
27635 * manual/install.texi (Installation): Do not mention add-ons.
27636 (--enable-add-ons): Do not document configure option.
27637 * INSTALL: Regenerated.
27638 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
27639 * manual/maint.texi (Hierarchy Conventions): Do not mention
27640 add-ons.
27641 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
27642 --enable-add-ons.
27643 * scripts/gen-sorted.awk: Do not handle Subdirs files from
27644 add-ons.
27645 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
27646 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
27647
27648 2017-10-05 Andreas Schwab <schwab@suse.de>
27649
27650 [BZ #15142]
27651 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
27652 (_IO_flush_all_lockp): Always lock list_all_lock.
27653 (_IO_flush_all_linebuffered): Likewise.
27654 (_IO_unbuffer_all): Likewise.
27655
27656 2017-10-05 Florian Weimer <fweimer@redhat.com>
27657
27658 [BZ #15436]
27659 Do not flush stdio streams on abort.
27660 * stdlib/abort.c (fflush): Remove macro definition.
27661 (abort): Remove stages related to stdio flushing.
27662
27663 2017-10-05 Florian Weimer <fweimer@redhat.com>
27664
27665 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
27666
27667 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
27668
27669 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27670
27671 2017-10-05 Florian Weimer <fweimer@redhat.com>
27672
27673 * support/support_format_hostent.c (support_format_hostent): Add
27674 more error information for NETDB_INTERNAL.
27675
27676 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27677
27678 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
27679 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
27680 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
27681 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
27682 AC_DEFINE if multi-arch is enabled.
27683 * sysdeps/i386/configure: Regenerated.
27684
27685 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27686
27687 * Makeconfig (+link-static-before-libc): Use
27688 $(DEFAULT-LDFLAGS-$(@F)).
27689 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
27690 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
27691 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
27692
27693 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27694
27695 * elf/Makefile (tests): Add tst-main1.
27696 (modules-names): Add tst-main1mod.
27697 ($(objpfx)tst-main1): New.
27698 (CRT-tst-main1): Likewise.
27699 (LDFLAGS-tst-main1): Likewise.
27700 (LDLIBS-tst-main1): Likewise.
27701 (tst-main1mod.so-no-z-defs): Likewise.
27702 * elf/tst-main1.c: New file.
27703 * elf/tst-main1mod.c: Likewise.
27704
27705 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27706
27707 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
27708
27709 2017-10-04 Joseph Myers <joseph@codesourcery.com>
27710
27711 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
27712 (fma): Define using libm_alias_double.
27713 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
27714 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
27715 <math_ldbl_opt.h>.
27716 (fmal): Do not define as compat symbol here.
27717 * sysdeps/alpha/fpu/s_fma.c: New file.
27718
27719 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27720
27721 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
27722
27723 2017-10-04 Joseph Myers <joseph@codesourcery.com>
27724
27725 [BZ #22229]
27726 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
27727 <math_ldbl_opt.h>
27728 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27729 and libc.
27730 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
27731 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27732 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
27733 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
27734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27735 Include <math_ldbl_opt.h>
27736 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27737 and libc.
27738 (compat_symbol): Undefine and redefine.
27739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
27740 <math_ldbl_opt.h>
27741 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27742 (compat_symbol): Undefine and redefine.
27743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
27744 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
27745 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
27746 GLIBC_2_1 for libm.
27747 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
27748 GLIBC_2.0 copysignl symbol.
27749 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
27750 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
27751
27752 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
27753
27754 2017-10-04 Florian Weimer <fweimer@redhat.com>
27755
27756 * scripts/check-local-headers.sh: Ignore nspr4 header file
27757 directory in addition to nspr.
27758
27759 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
27760
27761 [BZ #17956]
27762 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
27763 * configure: Regenerate.
27764 * crypt/Makefile (nss-cpp-flags): New variable.
27765 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
27766 (CPPFLAGS-md5-crypt.c): Use it.
27767 * scripts/check-local-headers.sh: Ignore nspr header file
27768 directory.
27769
27770 2017-10-04 Andreas Schwab <schwab@suse.de>
27771
27772 * nis/Makefile (services): Remove compat.
27773 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
27774 ($(objpfx)libnss_compat.so): Remove rule.
27775 * nis/Versions (libnss_compat): Remove.
27776 * nss/Makefile (services): Add compat.
27777 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
27778 * nss/Versions (libnss_compat): Define.
27779 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
27780 Don't include <rpc/types.h>. Replace bool_t by bool.
27781 * nss/nss_compat/compat-initgroups.c: Likewise.
27782 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
27783 instead of <rpcsrv/ypclnt.h>.
27784 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
27785 yp_get_default_domain.
27786 * nss/nss_compat/compat-pwd.c: Likewise.
27787 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
27788 yp_get_default_domain.
27789 * nss/nss_compat/nisdomain.c: New file.
27790 * nss/nss_compat/nisdomain.h: Likewise.
27791
27792 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27793
27794 [BZ #22244]
27795 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
27796 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27797
27798 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27799
27800 [BZ #22243]
27801 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
27802 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
27803
27804 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27805
27806 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
27807 "movl main@GOTOFF(%ebx), %eax".
27808
27809 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27810
27811 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
27812 allow undefined _DYNAMIC in PIE libc.a.
27813 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27814 Likewse.
27815
27816 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27817
27818 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
27819 check _DYNAMIC.
27820
27821 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27822
27823 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
27824 check _DYNAMIC.
27825
27826 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27827
27828 * math/test-math-iscanonical.cc (error): Replace bool with int.
27829
27830 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27831
27832 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
27833 (modf): Define using libm_alias_double, only if [!__modf].
27834 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
27835 <libm-alias-double.h>.
27836 (modf): Define using libm_alias_double, only if [!__modf].
27837 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
27838 compat symbol here.
27839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
27840 (weak_alias): Do not undefine and redefine.
27841 (strong_alias): Likewise.
27842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
27843 (weak_alias): Likewise.
27844 (strong_alias): Likewise.
27845
27846 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
27847 (logb): Define using libm_alias_double, only if [!__logb].
27848 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
27849 <libm-alias-double.h>.
27850 (logb): Define using libm_alias_double, only if [!__logb].
27851 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
27852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
27853 (weak_alias): Do not undefine and redefine.
27854 (strong_alias): Likewise.
27855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
27856 (weak_alias): Likewise.
27857 (strong_alias): Likewise.
27858
27859 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27860
27861 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
27862 Check SHARED instead PIC.
27863
27864 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27865
27866 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
27867 [!__fmaf] (fmaf): Define using libm_alias_float.
27868
27869 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
27870 (frexp): Define using libm_alias_double.
27871 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
27872 <libm-alias-double.h>.
27873 (frexp): Define using libm_alias_double.
27874 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
27875 compat symbol here.
27876
27877 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27878
27879 [BZ #22235]
27880 * math/math.h: Trivial fix for unbalanced parentheses in comment.
27881 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
27882 (CFLAGS-test-math-iscanonical.cc): New variable.
27883 * math/test-math-iscanonical.cc: New file.
27884 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
27885 Provide a C++ implementation based on function overloading,
27886 rather than using __MATH_TG, which uses C-only builtins.
27887 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
27888 Likewise.
27889 * sysdeps/powerpc/powerpc64le/Makefile
27890 (CFLAGS-test-math-iscanonical.cc): New variable.
27891
27892 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27893
27894 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
27895 (ceil): Define using libm_alias_double.
27896 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
27897 (floor): Define using libm_alias_double.
27898 * sysdeps/ieee754/dbl-64/s_llround.c: Include
27899 <libm-alias-double.h>.
27900 (llround): Define using libm_alias_double.
27901 * sysdeps/ieee754/dbl-64/s_lround.c: Include
27902 <libm-alias-double.h>.
27903 (lround): Define using libm_alias_double.
27904 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
27905 <libm-alias-double.h>.
27906 (nearbyint): Define using libm_alias_double.
27907 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
27908 <libm-alias-double.h>.
27909 (remquo): Define using libm_alias_double.
27910 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
27911 (rint): Define using libm_alias_double.
27912 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
27913 (round): Define using libm_alias_double.
27914 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
27915 (trunc): Define using libm_alias_double.
27916 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
27917 <libm-alias-double.h>.
27918 (ceil): Define using libm_alias_double.
27919 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
27920 <libm-alias-double.h>.
27921 (floor): Define using libm_alias_double.
27922 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
27923 <libm-alias-double.h>.
27924 (llround): Define using libm_alias_double.
27925 [_LP64] (lround): Likewise.
27926 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
27927 <libm-alias-double.h>.
27928 [!_LP64] (lround): Define using libm_alias_double.
27929 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
27930 <libm-alias-double.h>.
27931 (nearbyint): Define using libm_alias_double.
27932 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
27933 <libm-alias-double.h>.
27934 (remquo): Define using libm_alias_double.
27935 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
27936 <libm-alias-double.h>.
27937 (rint): Define using libm_alias_double.
27938 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
27939 <libm-alias-double.h>.
27940 (round): Define using libm_alias_double.
27941 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
27942 <libm-alias-double.h>.
27943 (trunc): Define using libm_alias_double.
27944 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
27945 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
27946 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
27947 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
27948 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
27949 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
27950 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
27951 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
27952 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
27953
27954 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27955
27956 * math/w_remainder.c: New file.
27957 * math/w_remainderf.c: New file.
27958 * math/w_remainderl.c: New file.
27959
27960 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27961
27962 * elf/rtld.c (BOOTSTRAP_MAP): New.
27963 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
27964 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27965 Likewise.
27966 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27967 Likewise.
27968 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27969 Likewise.
27970
27971 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27972
27973 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
27974 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
27975 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
27976 rtld_hidden_data_ver): Define to empty.
27977 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
27978 __assert_perror_fail): Likewise.
27979 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27980 (__rewinddir): Likewise.
27981 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27982 (__profile_frequency): Likewise.
27983 * include/setjmp.h (__sigsetjmp): Likewise.
27984 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
27985 __libc_sigaction): Likewise.
27986 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
27987 not set hidden attribute.
27988 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
27989 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
27990 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
27991 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
27992 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
27993 __fxstatat64): Likewise.
27994 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27995 (__uname): Likewise.
27996 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27997 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
27998 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
27999 (NO_RTLD_HIDDEN): Set.
28000 * sysdeps/mach/hurd/configure: Refresh.
28001 * config.h.in: Refresh.
28002
28003 2017-10-02 Joseph Myers <joseph@codesourcery.com>
28004
28005 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
28006 (atan): Define using libm_alias_double.
28007 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
28008 (tan): Define using libm_alias_double.
28009 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
28010 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
28011
28012 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
28013 define as weak alias of __atan. Do not define any aliases if
28014 [__atan].
28015 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
28016 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
28017 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
28018 as weak alias of __tan. Do not define any aliases if [__tan].
28019 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
28020 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
28021 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
28022 __atan.
28023 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
28024 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
28025 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
28026 and define as weak alias of __atan.
28027 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
28028 __atan.
28029 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
28030 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
28031 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
28032 define as weak alias of __tan.
28033
28034 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28035
28036 * math/w_lgamma.c: New file.
28037 * math/w_lgammaf.c: New file.
28038 * math/w_lgammal.c: New file.
28039
28040 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28041
28042 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
28043 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
28044 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
28045 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
28046 * sysdeps/ieee754/flt-32/w_logf.c: New file.
28047 * sysdeps/ieee754/flt-32/w_powf.c: New file.
28048 * sysdeps/i386/fpu/w_log2f.c: New file.
28049 * sysdeps/i386/fpu/w_logf.c: New file.
28050 * sysdeps/i386/fpu/w_powf.c: New file.
28051 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
28052 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
28053 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
28054
28055 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28056 H.J. Lu <hongjiu.lu@intel.com>
28057
28058 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
28059 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
28060 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
28061 * sysdeps/ieee754/flt-32/w_expf.c: New file.
28062 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
28063 the new expf code.
28064 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
28065 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
28066 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
28067 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
28068 * sysdeps/i386/fpu/w_exp2f.c: New file.
28069 * sysdeps/i386/fpu/w_expf.c: New file.
28070 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
28071 * sysdeps/x86_64/fpu/w_expf.c: New file.
28072
28073 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28074
28075 * math/Versions (logf): New libm symbol at GLIBC_2.27.
28076 (log2f): Likewise.
28077 (powf): Likewise.
28078 * math/w_log2f.c: New file.
28079 * math/w_logf.c: New file.
28080 * math/w_powf.c: New file.
28081 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
28082 * math/w_logf_compat.c (__logf_compat): Likewise.
28083 * math/w_powf_compat.c (__powf_compat): Likewise.
28084 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
28085 * sysdeps/ia64/fpu/e_logf.S: Likewise.
28086 * sysdeps/ia64/fpu/e_powf.S: Likewise.
28087 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28088 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28089 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28090 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28091 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28092 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28093 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28094 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28095 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28096 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28097 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28098 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28100 Likewise.
28101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28102 Likewise.
28103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28104 Likewise.
28105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28106 Likewise.
28107 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28108 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28109 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28110 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28111 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28113 Likewise.
28114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28115 Likewise.
28116 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28117 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28118 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28119
28120 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28121
28122 * sysdeps/powerpc/powerpc64/multiarch/Makefile
28123 (sysdep_routines): Add memrchr_power8.
28124 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28125 (memrchr): Add __memrchr_power8 to list of memrchr functions.
28126 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
28127 New file.
28128 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28129 (memrchr): Add __memrchr_power8 to ifunc list.
28130 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
28131
28132 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28133
28134 [BZ #18822]
28135 * sysdeps/unix/sysv/linux/posix_fadvise64.c
28136 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
28137 libc_hidden_def.
28138 * sysdeps/unix/sysv/linux/posix_fallocate64.c
28139 (__posix_fallocate64_l64): Likewise.
28140
28141 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28142
28143 [BZ #18822]
28144 * sysdeps/unix/sysv/linux/sched_setaffinity.c
28145 (__sched_setaffinity_new): Add libc_hidden_proto and
28146 libc_hidden_def.
28147
28148 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28149
28150 [BZ #18822]
28151 * include/glob.h (__glob64): Add libc_hidden_proto.
28152 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
28153 libc_hidden_def.
28154
28155 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28156
28157 [BZ #18822]
28158 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
28159 attribute_hidden.
28160
28161 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28162
28163 [BZ #18822]
28164 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
28165
28166 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28167
28168 [BZ #18822]
28169 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
28170 libc_hidden_def.
28171
28172 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28173
28174 [BZ #18822]
28175 * csu/version.c (__libc_print_version): Add attribute_hidden.
28176
28177 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28178
28179 [BZ #18822]
28180 * include/libc-internal.h (__init_misc): Add attribute_hidden.
28181
28182 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28183
28184 [BZ #18822]
28185 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
28186
28187 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28188
28189 [BZ #18822]
28190 * nscd/nscd_helper.c (__nis_hash): New prototype.
28191
28192 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28193
28194 [BZ #18822]
28195 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
28196 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
28197 libc_hidden_def.
28198 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28199 * termios/tcgetattr.c (__tcgetattr): Likewise.
28200
28201 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28202
28203 [BZ #18822]
28204 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
28205 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
28206 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
28207 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
28208 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
28209
28210 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28211
28212 [BZ #18822]
28213 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
28214
28215 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28216
28217 [BZ #18822]
28218 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
28219 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
28220
28221 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28222
28223 [BZ #18822]
28224 * intl/hash-string.h (__hash_string): Add attribute_hidden.
28225
28226 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28227
28228 [BZ #18822]
28229 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
28230 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
28231
28232 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28233
28234 [BZ #18822]
28235 * include/ifreq.h: New file.
28236 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
28237 (__ifreq): Likewise.
28238 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
28239 (__ifreq): Likewise.
28240
28241 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28242
28243 [BZ #18822]
28244 * include/idna.h: New file.
28245 * inet/getnameinfo.c: Include <idna.h> instead of
28246 <libidn/idna.h>.
28247 (__idna_to_unicode_lzlz): Removed.
28248 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
28249 <libidn/idna.h>.
28250 (__idna_to_ascii_lz): Removed.
28251 (__idna_to_unicode_lzlz): Likewise.
28252
28253 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28254
28255 [BZ #18822]
28256 * include/plural-exp.h: New file.
28257 * intl/plural-exp.c: Include <plural-exp.h> instead of
28258 "plural-exp.h".
28259
28260 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28261
28262 [BZ #18822]
28263 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
28264 "getsourcefilter.h".
28265 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
28266 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
28267 "getsourcefilter.h".
28268 (__get_sol): Removed.
28269
28270 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28271
28272 [BZ #18822]
28273 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
28274 to ...
28275 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
28276
28277 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28278
28279 [BZ #18822]
28280 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
28281 attribute_hidden.
28282
28283 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28284
28285 [BZ #18822]
28286 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
28287
28288 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28289
28290 [BZ #18822]
28291 * include/search.h (__tdestroy): Add libc_hidden_proto.
28292 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
28293
28294 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28295
28296 [BZ #18822]
28297 * include/assert.h (__assert_fail_base): Add attribute_hidden.
28298
28299 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28300
28301 [BZ #18822]
28302 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
28303 attribute_hidden.
28304
28305 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28306
28307 [BZ #18822]
28308 * include/signal.h (__kill): Add libc_hidden_proto.
28309 (__sigblock): Likewise.
28310 (__sigprocmask): Likewise.
28311 (__sigaltstack): Likewise.
28312 * signal/kill.c (__kill): Add libc_hidden_def.
28313 * signal/sigblock.c (__sigblock): Likewise.
28314 * signal/sigprocmask.c (__sigprocmask): Likewise.
28315 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
28316 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28317 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28318 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28319 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
28320 Likewise.
28321 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28322 Likewise.
28323 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28324 (__sigprocmask): Likewise.
28325 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
28326 Likewise.
28327 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28328 (__sigprocmask): Likewise.
28329 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28330 Likewise.
28331
28332 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28333
28334 [BZ #18822]
28335 * include/string.h (__strsep): Add libc_hidden_proto.
28336 * string/strsep.c (__strsep): Add libc_hidden_def.
28337
28338 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28339
28340 [BZ #18822]
28341 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
28342 attribute_hidden.
28343 (__spawni): Likewise.
28344
28345 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28346
28347 [BZ #18822]
28348 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
28349 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
28350 libc_hidden_def.
28351
28352 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28353
28354 [BZ #18822]
28355 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
28356
28357 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28358
28359 [BZ #18822]
28360 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
28361 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
28362 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
28363 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
28364 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
28365 Likewise.
28366 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
28367 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
28368
28369 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28370
28371 [BZ #18822]
28372 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
28373 (__dcigettext): Likewise.
28374
28375 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28376
28377 [BZ #18822]
28378 * include/sys/sysinfo.h (__get_nprocs_conf): Add
28379 libc_hidden_proto.
28380 (__get_nprocs): Likewise.
28381 (__get_phys_pages): Likewise.
28382 (__get_avphys_pages): Likewise.
28383 (__get_child_max): Add attribute_hidden.
28384 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
28385 (__get_nprocs): Likewise.
28386 (__get_phys_pages): Likewise.
28387 (__get_avphys_pages): Likewise.
28388 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
28389 libc_hidden_def.
28390 (__get_nprocs): Likewise.
28391 (__get_phys_pages): Likewise.
28392 (__get_avphys_pages): Likewise.
28393 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
28394 libc_hidden_def.
28395 (__get_nprocs_conf): Likewise.
28396 (__get_phys_pages): Likewise.
28397 (__get_avphys_pages): Likewise.
28398
28399 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28400
28401 [BZ #18822]
28402 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
28403 attribute_hidden.
28404 (__netlink_close): Likewise.
28405 (__netlink_free_handle): Likewise.
28406 (__netlink_request): Likewise.
28407
28408 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28409
28410 [BZ #18822]
28411 * include/rpc/rpc.h (__rpc_thread_variables): Add
28412 attribute_hidden.
28413 (__rpc_thread_svc_cleanup): Likewise.
28414 (__rpc_thread_clnt_cleanup): Likewise.
28415 (__rpc_thread_key_cleanup): Likewise.
28416
28417 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28418
28419 [BZ #18822]
28420 * include/sys/uio.h (__readv): Add libc_hidden_proto.
28421 (__writev): Likewise.
28422 * misc/readv.c (__readv): Add libc_hidden_def.
28423 * misc/writev.c (__writev): Likewise.
28424 * sysdeps/posix/readv.c (__readv): Likewise.
28425 * sysdeps/posix/writev.c (__writev): Likewise.
28426 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
28427 (__readv): Likewise.
28428 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
28429 (__writev): Likewise.
28430
28431 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28432
28433 [BZ #18822]
28434 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
28435 (__regcomp): Add libc_hidden_proto.
28436 (__regexec): Likewise.
28437 (__regfree): Likewise.
28438 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
28439 (__regfree): Likewise.
28440 * posix/regexec.c (__regexec): Likewise.
28441
28442 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28443
28444 [BZ #18822]
28445 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
28446 (__getutent): Likewise.
28447 (__getutid): Likewise.
28448 (__getutline): Likewise.
28449 (__pututline): Likewise.
28450 (__getutent_r): Likewise.
28451 (__getutid_r): Likewise.
28452 (__getutline_r): Likewise.
28453 (__utmpname): Add attribute_hidden.
28454 (__setutent): Likewise.
28455 (__endutent): Likewise.
28456 * login/getutent.c (__getutent): Add libc_hidden_def.
28457 * login/getutent_r.c (__getutent_r): Likewise.
28458 (__pututline): Likewise.
28459 * login/getutid.c (__getutid): Likewise.
28460 * login/getutid_r.c (__getutid_r): Likewise.
28461 * login/getutline.c (__getutline): Likewise.
28462 * login/getutline_r.c (__getutline_r): Likewise.
28463 * login/updwtmp.c (__updwtmp): Likewise.
28464
28465 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28466
28467 [BZ #18822]
28468 * include/dirent.h (__opendir): Always add attribute_hidden.
28469 (__fdopendir): Likewise.
28470 (__closedir): Likewise.
28471 (__readdir): Likewise.
28472 (__readdir64): Add libc_hidden_proto.
28473 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
28474 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
28475 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
28476 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
28477 New alias.
28478
28479 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28480
28481 [BZ #18822]
28482 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
28483 * include/netdb.h (__gethostbyaddr_r): Likewise.
28484 (__gethostbyname_r): Likewise.
28485 (__gethostbyname2_r): Likewise.
28486 (__getnetbyaddr_r): Likewise.
28487 (__getnetbyname_r): Likewise.
28488 (__getservbyname_r): Likewise.
28489 (__getservbyport_r): Likewise.
28490 (__getprotobyname_r): Likewise.
28491 (__getprotobynumber_r): Likewise.
28492 (__getnetgrent_r): Likewise.
28493 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
28494 (__getrpcbynumber_r): Likewise.
28495 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
28496
28497 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28498
28499 [BZ #18822]
28500 * include/stdio.h (__fcloseall): Add attribute_hidden.
28501 (__getline): Likewise.
28502 (__path_search): Likewise.
28503 (__gen_tempname): Likewise.
28504 (__libc_message): Likewise.
28505 (__flockfile): Likewise.
28506 (__funlockfile): Likewise.
28507 (__fxprintf): Likewise.
28508 (__fxprintf_nocancel): Likewise.
28509
28510 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28511
28512 [BZ #18822]
28513 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
28514 (__sgetsgent_r): Likewise.
28515
28516 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28517
28518 [BZ #18822]
28519 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
28520 (__statfs64): Likewise.
28521 (__fstatfs64): Likewise.
28522 * include/sys/statvfs.h (__statvfs64): Likewise.
28523 (__fstatvfs64): Likewise.
28524 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
28525 (__statfs_filesize_max): Likewise.
28526 (__statfs_symlinks): Likewise.
28527 (__statfs_chown_restricted): Likewise.
28528
28529 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28530
28531 [BZ #18822]
28532 * include/time.h (__tzstring): Add attribute_hidden.
28533 (__tzfile_read): Likewise.
28534 (__tzfile_compute): Likewise.
28535 (__tzfile_default): Likewise.
28536 (__tzset_parse_tz): Likewise.
28537 (__offtime): Likewise.
28538 (__asctime_r): Likewise.
28539 (__tzset): Likewise.
28540 (__tz_convert): Likewise.
28541 (__getdate_r): Likewise.
28542 (__getclktck): Likewise.
28543
28544 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28545
28546 [BZ #18822]
28547 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
28548 (__nscd_unmap): Likewise.
28549 (__nscd_cache_search): Likewise.
28550 (__nscd_get_nl_timestamp): Likewise.
28551 (__nscd_getpwnam_r): Likewise.
28552 (__nscd_getpwuid_r): Likewise.
28553 (__nscd_getgrnam_r): Likewise.
28554 (__nscd_getgrgid_r): Likewise.
28555 (__nscd_gethostbyname_r): Likewise.
28556 (__nscd_gethostbyname2_r): Likewise.
28557 (__nscd_gethostbyaddr_r): Likewise.
28558 (__nscd_getai): Likewise.
28559 (__nscd_getgrouplist): Likewise.
28560 (__nscd_getservbyname_r): Likewise.
28561 (__nscd_getservbyport_r): Likewise.
28562 (__nscd_innetgr): Likewise.
28563 (__nscd_setnetgrent): Likewise.
28564
28565 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28566
28567 [BZ #18822]
28568 * include/gmp.h: Declare internal functions only if _ISOMAC is
28569 undefined.
28570 (__mpn_extract_double): Add attribute_hidden.
28571 (__mpn_extract_long_double): Likewise.
28572 (__mpn_extract_float128): Likewise.
28573 (__mpn_construct_float): Likewise.
28574 (__mpn_construct_double): Likewise.
28575 (__mpn_construct_long_double): Likewise.
28576 (__mpn_construct_float128): Likewise.
28577 (mpn_add_1): Likewise.
28578 (mpn_addmul_1): Likewise.
28579 (mpn_add_n): Likewise.
28580 (mpn_cmp): Likewise.
28581 (mpn_divrem): Likewise.
28582 (mpn_lshift): Likewise.
28583 (mpn_mul): Likewise.
28584 (mpn_mul_1): Likewise.
28585 (mpn_rshift): Likewise.
28586 (mpn_sub_1): Likewise.
28587 (mpn_submul_1): Likewise.
28588 (mpn_sub_n): Likewise.
28589
28590 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28591
28592 [BZ #18822]
28593 * include/wchar.h (__wcsnlen): Add attribute_hidden.
28594 (__wcscat): Likewise.
28595 (__btowc): Likewise.
28596 (__wcrtomb): Likewise.
28597 (__mbsrtowcs): Likewise.
28598 (__wcsrtombs): Likewise.
28599 (__mbsnrtowcs): Likewise.
28600 (__wcsnrtombs): Likewise.
28601 (__wcsncpy): Likewise.
28602 (__wcpncpy): Likewise.
28603 (__wmemcpy): Likewise.
28604 (__wmempcpy): Likewise.
28605 (__wmemmove): Likewise.
28606 (__wcschrnul): Likewise.
28607 (__vfwscanf): Likewise.
28608 (__vswprintf): Likewise.
28609 (__fwprintf): Likewise.
28610 (__vfwprintf): Likewise.
28611
28612 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28613
28614 [BZ #18822]
28615 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
28616 (__getgrgid_r): Likewise.
28617 (__getgrnam_r): Likewise.
28618 * include/pwd.h (__getpwuid_r): Likewise.
28619 (__getpwnam_r): Likewise.
28620 (__fgetpwent_r): Likewise.
28621 * include/shadow.h (__getspnam_r): Likewise.
28622 (__sgetspent_r): Likewise.
28623 (__fgetspent_r): Likewise.
28624
28625 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28626
28627 [BZ #18822]
28628 * include/unistd.h (__access): Add attribute_hidden.
28629 (__lseek64): Likewise.
28630 (__libc_pread64): Likewise.
28631 (__pipe2): Likewise.
28632 (__sleep): Likewise.
28633 (__chdir): Likewise.
28634 (__fchdir): Likewise.
28635 (__getcwd): Likewise.
28636 (__rmdir): Likewise.
28637 (__execvpe): Likewise.
28638 (__execve): Likewise.
28639 (__setsid): Likewise.
28640 (__getuid): Likewise.
28641 (__geteuid): Likewise.
28642 (__getgid): Likewise.
28643 (__getegid): Likewise.
28644 (__getgroups): Likewise.
28645 (__group_member): Likewise.
28646 (__ttyname_r): Likewise.
28647 (__isatty): Likewise.
28648 (__readlink): Likewise.
28649 (__unlink): Likewise.
28650 (__gethostname): Likewise.
28651 (__profil): Likewise.
28652 (__getdtablesize): Likewise.
28653 (__brk): Likewise.
28654 (__ftruncate): Likewise.
28655 (__ftruncate64): Likewise.
28656
28657 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28658
28659 [BZ #18822]
28660 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
28661 * argp/argp-fs-xinl.c: Likewise.
28662 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
28663 * argp/argp-parse.c: Include <argp.h>.
28664 * argp/argp-xinl.c: Likewise.
28665 * include/argp-fmtstream.h: New file.
28666 * include/argp.h (__argp_error): Add attribute_hidden.
28667 (__argp_failure): Likewise.
28668 (__argp_input): Likewise.
28669 (__argp_state_help): Likewise.
28670
28671 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28672
28673 [BZ #18822]
28674 * include/wchar.h (____wcstof_l_internal): New prototype.
28675 (____wcstod_l_internal): Likewise.
28676 (____wcstold_l_internal): Likewise.
28677 (____wcstol_l_internal): Likewise.
28678 (____wcstoul_l_internal): Likewise.
28679 (____wcstoll_l_internal): Likewise.
28680 (____wcstoull_l_internal): Likewise.
28681 (____wcstof128_l_internal): Likewise.
28682 * sysdeps/ieee754/float128/wcstof128.c
28683 (____wcstof128_l_internal): Removed.
28684 * sysdeps/ieee754/float128/wcstof128_l.c
28685 (____wcstof128_l_internal): Likewise.
28686 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
28687 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
28688 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
28689 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
28690 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
28691 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
28692 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
28693 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
28694 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
28695 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
28696
28697 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28698
28699 [BZ #18822]
28700 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
28701 instead of <sys/statvfs.h>.
28702 (__internal_statvfs): Removed.
28703 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
28704 instead of <sys/statvfs.h>.
28705 (__internal_statvfs64): Removed.
28706 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
28707 "internal_statvfs.h" instead of <sys/statvfs.h>.
28708 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
28709 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
28710 instead of <sys/statvfs.h>.
28711 (__internal_statvfs): Removed.
28712 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
28713 instead of <sys/statvfs.h>.
28714 (__internal_statvfs64): Removed.
28715
28716 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28717
28718 [BZ #18822]
28719 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
28720 (__gconv_close): Likewise.
28721 (__gconv): Likewise.
28722 (__gconv_find_transform): Likewise.
28723 (__gconv_lookup_cache): Likewise.
28724 (__gconv_compare_alias_cache): Likewise.
28725 (__gconv_load_cache): Likewise.
28726 (__gconv_get_path): Likewise.
28727 (__gconv_close_transform): Likewise.
28728 (__gconv_release_cache): Likewise.
28729 (__gconv_find_shlib): Likewise.
28730 (__gconv_release_shlib): Likewise.
28731 (__gconv_get_builtin_trans): Likewise.
28732 (__gconv_compare_alias): Likewise.
28733 * include/dlfcn.h (_dlerror_run): Likewise.
28734 * include/stdio.h (__fortify_fail_abort): Likewise.
28735 * include/time.h (__tz_compute): Likewise.
28736 (__strptime_internal): Likewise.
28737 * intl/gettextP.h (_nl_find_domain): Likewise.
28738 (_nl_load_domain): Likewise.
28739 (_nl_find_msg): Likewise.
28740 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
28741 (EXTRACT_PLURAL_EXPRESSION): Likewise.
28742 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
28743 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
28744 (__gai_find_request): Likewise.
28745 (__gai_remove_request): Likewise.
28746 (__gai_notify): Likewise.
28747 (__gai_notify_only): Likewise.
28748 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28749 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
28750 (_dl_non_dynamic_init): Likewise.
28751 (_dl_aux_init): Likewise.
28752 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
28753 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28754 Likewise.
28755 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
28756 (__wcsmbs_clone_conv): Likewise.
28757 (__wcsmbs_named_conv): Likewise.
28758
28759 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28760
28761 [BZ #18822]
28762 * include/stdlib.h (__random): Add attribute_hidden.
28763 (__random_r): Likewise.
28764 (__srandom_r): Likewise.
28765 (__initstate_r): Likewise.
28766 (__setstate_r): Likewise.
28767 (__erand48_r): Likewise.
28768 (__nrand48_r): Likewise.
28769 (__jrand48_r): Likewise.
28770 (__srand48_r): Likewise.
28771 (__seed48_r): Likewise.
28772 (__lcong48_r): Likewise.
28773 (__drand48_iterate): Likewise.
28774 (__setenv): Likewise.
28775 (__unsetenv): Likewise.
28776 (__clearenv): Likewise.
28777 (__ptsname_r): Likewise.
28778 (__posix_openpt): Likewise.
28779 (__add_to_environ): Likewise.
28780 (__realpath): Add libc_hidden_proto.
28781 (__ecvt_r): Likewise.
28782 (__fcvt_r): Likewise.
28783 (__qecvt_r): Likewise.
28784 (__qfcvt_r): Likewise.
28785 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
28786 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
28787
28788 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28789
28790 [BZ #18822]
28791 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
28792 * include/time.h (__mktime_internal): Likewise.
28793 * libio/iolibio.h (__fopen_internal): Likewise.
28794
28795 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
28796
28797 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
28798 pointer in frame.
28799 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
28800 Correct offset used to restore PIC register.
28801
28802 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
28803
28804 [BZ libc/22165]
28805 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
28806 code to load address of __getcontext_ret when generating PIC code.
28807
28808 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
28809
28810 * elf/Makefile (tests-static-internal): Add
28811 tst-tls1-static-non-pie.
28812 (LDFLAGS-tst-tls1-static-non-pie): New.
28813 * elf/tst-tls1-static-non-pie.c: New file.
28814
28815 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28816
28817 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
28818 (asinh): Define using libm_alias_double.
28819 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
28820 (cbrt): Define using libm_alias_double.
28821 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
28822 <libm-alias-double.h>.
28823 (copysign): Define using libm_alias_double.
28824 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
28825 (erf): Define using libm_alias_double.
28826 (erfc): Likewise.
28827 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
28828 (expm1): Define using libm_alias_double.
28829 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
28830 (fabs): Define using libm_alias_double.
28831 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
28832 libm_alias_double.
28833 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
28834 <libm-alias-double.h>.
28835 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
28836 libm_alias_double.
28837 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
28838 <libm-alias-double.h>.
28839 (getpayload): Define using libm_alias_double.
28840 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
28841 <libm-alias-double.h>.
28842 (llrint): Define using libm_alias_double.
28843 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
28844 (lrint): Define using libm_alias_double.
28845 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
28846 <libm-alias-double.h>.
28847 (nextup): Define using libm_alias_double.
28848 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
28849 <libm-alias-double.h>.
28850 (roundeven): Define using libm_alias_double.
28851 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
28852 libm_alias_double.
28853 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
28854 <libm-alias-double.h>.
28855 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
28856 using libm_alias_double.
28857 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
28858 (cos): Define using libm_alias_double.
28859 (sin): Likewise.
28860 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
28861 <libm-alias-double.h>.
28862 (sincos): Define using libm_alias_double.
28863 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
28864 (tanh): Define using libm_alias_double.
28865 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
28866 <libm-alias-double.h>.
28867 (totalorder): Define using libm_alias_double.
28868 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
28869 <libm-alias-double.h>.
28870 (totalordermag): Define using libm_alias_double.
28871 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
28872 libm_alias_double.
28873 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
28874 libm_alias_double.
28875 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
28876 <libm-alias-double.h>.
28877 (getpayload): Define using libm_alias_double.
28878 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
28879 <libm-alias-double.h>.
28880 (roundeven): Define using libm_alias_double.
28881 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
28882 <libm-alias-double.h>.
28883 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
28884 <libm-alias-double.h>.
28885 (totalorder): Define using libm_alias_double.
28886 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
28887 <libm-alias-double.h>.
28888 (totalordermag): Define using libm_alias_double.
28889 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
28890 libc compat symbol here.
28891 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
28892 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
28893 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
28894 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
28895 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
28896 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
28897 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
28898 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
28899 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
28900 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
28901
28902 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28903
28904 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
28905 _dl_relocate_static_pie instead of _dl_start to compute load
28906 address in static PIE. Return 0 if _DYNAMIC is undefined for
28907 static executable.
28908
28909 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28910
28911 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
28912 _DYNAMIC is undefined for static executable.
28913
28914 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28915
28916 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
28917
28918 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28919
28920 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28921
28922 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28923
28924 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
28925 (__ieee754_lgamma_r): Use fabs rather than __fabs.
28926 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
28927 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
28928 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
28929 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
28930 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
28931 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
28932 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
28933 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28934 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
28935 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28936 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28937 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28938 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28939 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28940 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
28941
28942 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28943
28944 * math/bits/cmathcalls.h (cimag): Remove inline.
28945 (creal): Remove inline.
28946 (conj): Remove inline.
28947
28948 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28949
28950 * math/Makefile (type-float-routines): Add e_powf_log2_data.
28951 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
28952 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
28953 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
28954 (issignalingf_inline): Likewise.
28955 (POWF_LOG2_TABLE_BITS): Likewise.
28956 (POWF_LOG2_POLY_ORDER): Likewise.
28957 (POWF_SCALE_BITS): Likewise.
28958 (POWF_SCALE): Likewise.
28959 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
28960 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
28961 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
28962
28963 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28964
28965 * math/Makefile (type-float-routines): Add e_log2f_data.
28966 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
28967 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
28968 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
28969 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
28970 * sysdeps/i386/fpu/e_log2f_data.c: New file.
28971 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
28972 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
28973
28974 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28975
28976 * math/Makefile (type-float-routines): Add e_logf_data.
28977 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
28978 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
28979 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
28980 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
28981 * sysdeps/i386/fpu/e_logf_data.c: New file.
28982 * sysdeps/ia64/fpu/e_logf_data.c: New file.
28983 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
28984
28985 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
28986
28987 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
28988 undefined _DYNAMIC in PIE libc.a.
28989 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28990 Likewse.
28991
28992 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28993
28994 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
28995 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
28996 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
28997 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
28998 (__signbit): Remove.
28999 (__signbitl): Remove.
29000 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
29001 (__signbit): Remove.
29002 (__signbitl): Remove.
29003 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
29004 (__signbit): Remove.
29005 (__signbitl): Remove.
29006 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
29007 (__signbit): Remove.
29008 (__signbitl): Remove.
29009 * sysdeps/tile/bits/mathinline.h: Delete file.
29010 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
29011 (__signbit): Remove.
29012 (__signbitl): Remove.
29013
29014 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29015
29016 * math/math.h: Improve handling of C99 isgreater macros.
29017 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
29018 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
29019 * sysdeps/powerpc/bits/mathinline.h: Likewise.
29020 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29021 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
29022
29023 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
29024
29025 * sysdeps/aarch64/libm-test-ulps: Update.
29026
29027 2017-09-28 Joseph Myers <joseph@codesourcery.com>
29028
29029 [BZ #22225]
29030 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29031 math_opt_barrier on argument when doing arithmetic on it.
29032 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29033 Likewise. Use math_force_eval not math_opt_barrier after
29034 arithmetic.
29035 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
29036 math_opt_barrier on argument when doing arithmetic on it.
29037 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29038 Likewise.
29039
29040 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
29041
29042 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
29043 libc_hidden_def.
29044 (__freeifaddrs): Likewise.
29045
29046 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29047
29048 * include/dirent.h (__dirfd): New declaration.
29049 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
29050 alias.
29051 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
29052 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
29053 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
29054 * include/unistd.h (__revoke): New declaration.
29055 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
29056 alias.
29057 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
29058 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
29059 revoke.
29060 * include/dirent.h (__seekdir): New declaration.
29061 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
29062 redefine as weak alias.
29063 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
29064 of seekdir.
29065 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
29066 and use libc_hidden_def on them.
29067 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
29068 them.
29069 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
29070 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
29071 instead of getifaddrs and freeifaddrs.
29072
29073 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29074
29075 [BZ #18822]
29076 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
29077 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
29078 (__dso_handle): Remove declaration.
29079 * dlfcn/tstatexit.c (__dso_handle): Removed.
29080 (main): Don't check __dso_handle.
29081 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
29082 (main): Don't check __dso_handle.
29083 * include/dso_handle.h: New file.
29084 * malloc/mtrace.c: Include <dso_handle.h>.
29085 (mtrace): Pass __dso_handle directly.
29086 * nptl/pthread_atfork.c: Include <dso_handle.h>.
29087 (__dso_handle): Remove declaration.
29088 (__pthread_atfork): Pass __dso_handle directly.
29089 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
29090 (__dso_handle): Removed.
29091 * posix/wordexp-test.c: Include <dso_handle.h>.
29092 (__dso_handle): Remove declaration.
29093 (__app_register_atfork): Pass __dso_handle directly.
29094 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
29095 (__dso_handle): Remove declaration.
29096 (at_quick_exit): Pass __dso_handle directly.
29097 * stdlib/atexit.c: Include <dso_handle.h>.
29098 (__dso_handle): Remove declaration.
29099 (atexit): Pass __dso_handle directly.
29100 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
29101 (__dso_handle): Removed.
29102
29103 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29104
29105 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
29106 using VDSO.
29107
29108 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
29109
29110 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
29111 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
29112 values to correct default value for given type.
29113
29114 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29115
29116 [BZ #22101]
29117 * elf/Makefile (tests): Add tst-debug1.
29118 ($(objpfx)tst-debug1): New.
29119 ($(objpfx)tst-debug1.out): Likewise.
29120 ($(objpfx)tst-debug1mod1.so): Likewise.
29121 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
29122 with p_filesz == 0.
29123 * elf/tst-debug1.c: New file.
29124
29125 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29126
29127 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
29128 Define using __ifunc.
29129
29130 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29131
29132 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
29133 exp2f() values.
29134
29135 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29136
29137 [BZ #22156]
29138 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
29139
29140 2017-09-26 Florian Weimer <fweimer@redhat.com>
29141
29142 * resolv/Makefile (tests-internal): Fix typo in comment.
29143
29144 2017-09-26 Florian Weimer <fweimer@redhat.com>
29145
29146 * resolv/nss_dns/dns-host.c: Fix typo in comment.
29147
29148 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29149
29150 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
29151 Use an union instead of a max_align_t array for __space,
29152 so that __space is the same size on all platforms.
29153 * malloc/scratch_buffer_grow_preserve.c
29154 (__libc_scratch_buffer_grow_preserve): Likewise.
29155
29156 [BZ #22183]
29157 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
29158 version to 2.
29159 * posix/Makefile (routines): Add glob-lstat-compat and
29160 glob64-lstat-compat.
29161 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
29162 * posix/glob-lstat-compat.c: New file.
29163 * posix/glob64-lstat-compat.c: Likewise.
29164 * posix/tst-glob_lstat_compat.c: Likewise.
29165 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
29166 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
29167 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
29168 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
29169 Likewise.
29170 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
29171 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29172 * posix/glob.c (glob_lstat): New function.
29173 (glob): Rename to __glob and add versioned symbol to 2.27.
29174 (glob_in_dir): Use glob_lstat.
29175 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
29176 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
29177 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
29178 2.27.
29179 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
29180 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
29181 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
29182 gl_lstat on glob call.
29183 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
29184 and glob64 symbols.
29185 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29186 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
29187 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
29188 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
29189 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
29190 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
29191 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
29192 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
29193 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
29194 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29195 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29196 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
29197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
29198 Likewise.
29199 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
29200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
29201 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29202 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29203 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
29204 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29205 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29206 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
29207 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
29208 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
29209 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
29210 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
29211
29212 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
29213
29214 * configure.ac (AS): Require binutils 2.25 or later.
29215 * configure: Regenerated.
29216
29217 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29218
29219 [BZ #22207]
29220 * stdlib/test-atexit-race-common.c (do_test): Minimize required
29221 VM size.
29222
29223 2017-09-25 DJ Delorie <dj@redhat.com>
29224
29225 [BZ #22161]
29226 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
29227 resetting timeout.
29228
29229 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
29230
29231 * sysdeps/ieee754/dbl-64/sincos32.h
29232 [SINCCOS32_H]: Remove define.
29233 [SINCOS32_H]: Define.
29234
29235 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29236
29237 * math/Versions (expf): New libm symbol at GLIBC_2.27.
29238 (exp2f): Likewise.
29239 * math/w_exp2f.c: New file.
29240 * math/w_expf.c: New file.
29241 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
29242 * math/w_expf_compat.c (__expf_compat): Likewise.
29243 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
29244 * sysdeps/ia64/fpu/e_expf.S: Likewise.
29245 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29246 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29247 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29248 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29249 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29250 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29251 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29252 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29253 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29254 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29255 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29256 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29258 Likewise.
29259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29260 Likewise.
29261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29262 Likewise.
29263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29264 Likewise.
29265 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29266 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29267 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29268 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29269 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29270 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29271 Likewise.
29272 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29273 Likewise.
29274 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29275 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29276 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29277
29278 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29279
29280 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
29281 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
29282 (roundtoint, converttoint): Likewise.
29283 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
29284 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
29285 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
29286 * sysdeps/ieee754/flt-32/math_config.h: New file.
29287 * sysdeps/ieee754/flt-32/math_errf.c: New file.
29288 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
29289 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
29290 * sysdeps/i386/fpu/math_errf.c: New file.
29291 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
29292 * sysdeps/ia64/fpu/math_errf.c: New file.
29293 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
29294 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
29295
29296 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
29297
29298 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
29299 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
29300 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
29301 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
29302 to make sure that these symbols are defined.
29303 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
29304 of <limits.h>
29305 (__need_NULL): Do not define.
29306 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
29307 alignment.
29308 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
29309 CMGROUP_MAX, cmsgcred): Do not define.
29310 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
29311 NULL.
29312 * bits/socket.h: Likewise.
29313 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
29314 __gettimeofday instead of gettimeofday.
29315 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
29316 instead of settimeofday.
29317
29318 2017-09-22 Joseph Myers <joseph@codesourcery.com>
29319
29320 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
29321 (asinhf): Define using libm_alias_float.
29322 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
29323 (atanf): Define using libm_alias_float.
29324 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
29325 (cbrtf): Define using libm_alias_float.
29326 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
29327 (ceilf): Define using libm_alias_float.
29328 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
29329 <libm-alias-float.h>.
29330 (copysignf): Define using libm_alias_float.
29331 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
29332 (cosf): Define using libm_alias_float.
29333 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
29334 (erff): Define using libm_alias_float.
29335 (erfcf): Likewise.
29336 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
29337 (expm1f): Define using libm_alias_float.
29338 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
29339 (fabsf): Define using libm_alias_float.
29340 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
29341 (floorf): Define using libm_alias_float.
29342 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
29343 (frexpf): Define using libm_alias_float.
29344 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
29345 libm_alias_float.
29346 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
29347 <libm-alias-float.h>.
29348 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
29349 libm_alias_float.
29350 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
29351 <libm-alias-float.h>.
29352 (getpayloadf): Define using libm_alias_float.
29353 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
29354 <libm-alias-float.h>.
29355 (llrintf): Define using libm_alias_float.
29356 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
29357 <libm-alias-float.h>.
29358 (llroundf): Define using libm_alias_float.
29359 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
29360 (logbf): Define using libm_alias_float.
29361 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
29362 (lrintf): Define using libm_alias_float.
29363 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
29364 (lroundf): Define using libm_alias_float.
29365 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
29366 (modff): Define using libm_alias_float.
29367 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
29368 <libm-alias-float.h>.
29369 (nearbyintf): Define using libm_alias_float.
29370 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
29371 <libm-alias-float.h>.
29372 (nextafterf): Define using libm_alias_float.
29373 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
29374 <libm-alias-float.h>.
29375 (nextupf): Define using libm_alias_float.
29376 * sysdeps/ieee754/flt-32/s_remquof.c: Include
29377 <libm-alias-float.h>.
29378 (remquof): Define using libm_alias_float.
29379 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
29380 (rintf): Define using libm_alias_float.
29381 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
29382 <libm-alias-float.h>.
29383 (roundevenf): Define using libm_alias_float.
29384 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
29385 (roundf): Define using libm_alias_float.
29386 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
29387 using libm_alias_float.
29388 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
29389 <libm-alias-float.h>.
29390 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
29391 Define using libm_alias_float.
29392 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
29393 <libm-alias-float.h>.
29394 (sincosf): Define using libm_alias_float.
29395 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
29396 (sinf): Define using libm_alias_float.
29397 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
29398 (tanf): Define using libm_alias_float.
29399 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
29400 (tanhf): Define using libm_alias_float.
29401 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
29402 <libm-alias-float.h>.
29403 (totalorderf): Define using libm_alias_float.
29404 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
29405 <libm-alias-float.h>.
29406 (totalordermagf): Define using libm_alias_float.
29407 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
29408 (truncf): Define using libm_alias_float.
29409 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
29410 libm_alias_float.
29411 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
29412 libm_alias_float.
29413
29414 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29415
29416 [BZ #22146]
29417 math/math.h: Let fpclassify use the builtin in C++ mode, even
29418 when optimazing for size.
29419
29420 2017-09-22 Joseph Myers <joseph@codesourcery.com>
29421
29422 * csu/Makefile (generated): Do not add version-info.h.
29423 (before-compile): Likewise.
29424 (all-Banner-files): Remove variable.
29425 ($(objpfx)version-info.h): Remove rule.
29426 * csu/version.c (banner): Do not include "version-info.h".
29427 * libidn/Banner: Remove.
29428 * manual/contrib.texi (Simon Josefsson): New entry.
29429
29430 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29431
29432 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29433 Remove conditionals on LDBL_MANT_DIG.
29434 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29435 (__ieee754_lgammal_r): Likewise.
29436
29437 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29438
29439 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
29440 _Float128 and L().
29441 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
29442 _Float128 and L(). Replace _Float128 with long double and L(x)
29443 with xL, throughout the file.
29444 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29445 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29446 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29447 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29448
29449 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29450
29451 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
29452 sysdeps/ieee754/ldbl-128ibm.
29453 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
29454 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
29455 of including it. Keep _Float128 and L() intact. These will be
29456 reviewed by a separate patch.
29457 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29458 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29459 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29460 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29461
29462 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29463
29464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
29465 (__finitef128): Define to __redirect___finitef128.
29466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
29467 (__isinff128): Define to __redirect___isinff128.
29468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
29469 (__isnanf128): Define to __redirect___isnanf128.
29470
29471 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29472
29473 * sysdeps/powerpc/powerpc64le/Makefile
29474 (CFLAGS-tst-strtod-nan-locale.c): New variable.
29475 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
29476
29477 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
29478 Carlos O'Donell <carlos@redhat.com>
29479
29480 [BZ #22180]
29481 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
29482 * stdlib/test-dlclose-exit-race.c: New file.
29483 * stdlib/test-dlclose-exit-race-helper.c: New file.
29484 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
29485
29486 2017-09-21 Joseph Myers <joseph@codesourcery.com>
29487
29488 * crypt/Banner: Remove file.
29489 * nptl/Banner: Likewise.
29490 * resolv/Banner: Likewise.
29491 * soft-fp/Banner: Likewise.
29492 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
29493 ($(objpfx)version.d): Remove dependency on banner.h.
29494 ($(objpfx)version.os): Likewise.
29495 * nptl/version.c (banner): Do not include banner.h.
29496 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
29497 Jelinek and BIND code.
29498
29499 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29500 Carlos O'Donell <carlos@redhat.com>
29501
29502 * support/xdlfcn.h: New file.
29503 * support/xdlfcn.c: New file.
29504 * support/Makefile (libsupport-routines): Add xdlfcn.
29505 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
29506
29507 2017-09-20 Joseph Myers <joseph@codesourcery.com>
29508
29509 [BZ #20142]
29510 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29511 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
29512 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
29513 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
29514 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
29515 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
29516 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
29517 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
29518
29519 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29520 Ricky Zhou <rickyz@google.com>
29521 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
29522
29523 [BZ #14333]
29524 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
29525 Remove atomics.
29526 (__new_exitfn): Fail registration when we finished at_exit processing.
29527 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29528 * stdlib/on_exit.c (__on_exit): Likewise.
29529 * stdlib/exit.c (__exit_funcs_done): New variable.
29530 (__run_exit_handlers): Use __exit_funcs_lock.
29531 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
29532 declarations.
29533 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
29534 (test-cxa_atexit-race, test-on_exit-race): New tests.
29535 * stdlib/test-atexit-race-common.c: New file.
29536 * stdlib/test-atexit-race.c: New file.
29537 * stdlib/test-at_quick_exit-race.c: New file.
29538 * stdlib/test-cxa_atexit-race.c: New file.
29539 * stdlib/test-on_exit-race.c: New file.
29540
29541 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
29542
29543 * benchtests/Makefile: Add exp2f and log2f benchmarks.
29544 * benchtests/exp2f-inputs: Copy of expf-inputs.
29545 * benchtests/log2f-inputs: Copy of logf-inputs.
29546
29547 2017-09-19 Joseph Myers <joseph@codesourcery.com>
29548
29549 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
29550 Explicitly take address of first element of array arguments in
29551 call to INLINE_SYSCALL.
29552
29553 2017-09-19 Andreas Schwab <schwab@suse.de>
29554
29555 [BZ #22134]
29556 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
29557 execveat first.
29558 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
29559 unimplemented.
29560 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
29561 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
29562 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29563 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
29564 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29565 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29566 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29567 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29568 * posix/Makefile (tests): Add tst-fexecve.
29569 * posix/tst-fexecve.c: New file.
29570
29571 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29572
29573 * benchtests/Makefile: Add logf benchmark.
29574 * benchtests/logf-inputs: Add reduced trace from wrf_r.
29575
29576 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29577
29578 * benchtests/Makefile: Add expf benchmark.
29579 * benchtests/expf-inputs: Add reduced trace from wrf_r.
29580
29581 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29582
29583 * csu/Makefile: Add -funwind-tables to libc-start.c.
29584 * debug/Makefile: Add -funwind-tables to backtrace.c.
29585 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
29586 * sysdeps/arm/Makefile: Likewise.
29587 * sysdeps/i386/Makefile: Likewise.
29588 * sysdeps/m68k/Makefile: Likewise.
29589 * sysdeps/mips/Makefile: Likewise.
29590 * sysdeps/nios2/Makefile: Likewise.
29591 * sysdeps/sh/Makefile: Likewise.
29592 * sysdeps/sparc/Makefile: Likewise.
29593
29594 2017-09-19 Joseph Myers <joseph@codesourcery.com>
29595
29596 * benchtests/Makefile (bench-math): Add trunc and truncf.
29597 (CFLAGS-bench-trunc.c): New variable.
29598 (CFLAGS-bench-truncf.c): Likewise.
29599 * benchtests/trunc-inputs: New file.
29600 * benchtests/truncf-inputs: Likewise.
29601
29602 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29603
29604 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
29605
29606 2017-09-18 Joseph Myers <joseph@codesourcery.com>
29607
29608 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
29609 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
29610 redefine.
29611 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
29612 (exp10l): Define as weak alias.
29613 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
29614 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
29615 and redefine.
29616 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
29617 (remainderl): Define as weak alias.
29618
29619 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
29620 (fmal): Define using libm_alias_ldouble.
29621 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
29622 (acoshl): Define using libm_alias_ldouble.
29623 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
29624 (acosl): Define using libm_alias_ldouble.
29625 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
29626 (asinl): Define using libm_alias_ldouble.
29627 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
29628 (atan2l): Define using libm_alias_ldouble.
29629 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
29630 (atanhl): Define using libm_alias_ldouble.
29631 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
29632 (coshl): Define using libm_alias_ldouble.
29633 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
29634 (exp10l): Define using libm_alias_ldouble.
29635 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
29636 (exp2l): Define using libm_alias_ldouble.
29637 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
29638 (expl): Define using libm_alias_ldouble.
29639 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
29640 (fmodl): Define using libm_alias_ldouble.
29641 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
29642 (hypotl): Define using libm_alias_ldouble.
29643 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
29644 (j0l): Define using libm_alias_ldouble.
29645 (y0l): Likewise.
29646 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
29647 (j1l): Define using libm_alias_ldouble.
29648 (y1l): Likewise.
29649 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
29650 (jnl): Define using libm_alias_ldouble.
29651 (ynl): Likewise.
29652 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
29653 (log10l): Define using libm_alias_ldouble.
29654 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
29655 (log2l): Define using libm_alias_ldouble.
29656 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
29657 (logl): Define using libm_alias_ldouble.
29658 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
29659 (powl): Define using libm_alias_ldouble.
29660 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
29661 (remainderl): Define using libm_alias_ldouble.
29662 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
29663 (sinhl): Define using libm_alias_ldouble.
29664 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
29665 (sqrtl): Define using libm_alias_ldouble.
29666 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
29667 (tgammal): Define using libm_alias_ldouble.
29668 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
29669 (exp10l): Do not use long_double_symbol here.
29670 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
29671 [LIBM_SVID_COMPAT] (remainderl): Likewise.
29672 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
29673 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29674 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29675 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29676 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29677 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29678 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29679 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29680 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29681 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29682 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29683 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29684 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29685 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29686 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29687 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29688 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29689 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29690 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29691 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29692
29693 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
29694
29695 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
29696 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
29697
29698 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
29699
29700 * io/read.c (read): Add libc_hidden_weak.
29701 * sysdeps/mach/hurd/read.c (read): Likewise.
29702 * io/write.c (write): Likewise.
29703 * sysdeps/mach/hurd/write.c (write): Likewise.
29704 * io/pread64.c (__pread64): Likewise.
29705 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
29706 * posix/pread64.c (__pread64): Add libc_hidden_def.
29707
29708 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
29709
29710 * benchtests/scripts/compare_strings.py: New option -g.
29711 (draw_graph): Print a message that a graph is being generated.
29712 (process_results): Generate graph only if -g is passed.
29713 (main): Process option -g.
29714
29715 * benchtests/scripts/compare_strings.py (process_results):
29716 Better spacing for output.
29717
29718 * benchtests/scripts/compare_strings.py: Use argparse.
29719 * benchtests/README: Document existence of compare_strings.py.
29720
29721 2017-09-15 Joseph Myers <joseph@codesourcery.com>
29722
29723 * math/s_fma.c: Include <libm-alias-double.h>.
29724 (fma): Define using libm_alias_double.
29725 * math/s_nextafter.c: Include <libm-alias-double.h>.
29726 (nextafter): Define using libm_alias_double.
29727 * math/w_acos_compat.c: Include <libm-alias-double.h>.
29728 (acos): Define using libm_alias_double.
29729 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
29730 (aocsh): Define using libm_alias_double.
29731 * math/w_asin_compat.c: Include <libm-alias-double.h>.
29732 (asin): Define using libm_alias_double.
29733 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
29734 (atan2): Define using libm_alias_double.
29735 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
29736 (atanh): Define using libm_alias_double.
29737 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
29738 (cosh): Define using libm_alias_double.
29739 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
29740 (exp10): Define using libm_alias_double.
29741 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
29742 (exp2): Define using libm_alias_double.
29743 * math/w_exp_compat.c: Include <libm-alias-double.h>.
29744 (exp): Define using libm_alias_double.
29745 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
29746 (fmod): Define using libm_alias_double.
29747 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
29748 (hypot): Define using libm_alias_double.
29749 * math/w_j0_compat.c: Include <libm-alias-double.h>.
29750 (j0): Define using libm_alias_double.
29751 (y0): Likewise.
29752 * math/w_j1_compat.c: Include <libm-alias-double.h>.
29753 (j1): Define using libm_alias_double.
29754 (y1): Likewise.
29755 * math/w_jn_compat.c: Include <libm-alias-double.h>.
29756 (jn): Define using libm_alias_double.
29757 (yn): Likewise.
29758 * math/w_log10_compat.c: Include <libm-alias-double.h>.
29759 (log10): Define using libm_alias_double.
29760 * math/w_log2_compat.c: Include <libm-alias-double.h>.
29761 (log2): Define using libm_alias_double.
29762 * math/w_log_compat.c: Include <libm-alias-double.h>.
29763 (log): Define using libm_alias_double.
29764 * math/w_pow_compat.c: Include <libm-alias-double.h>.
29765 (pow): Define using libm_alias_double.
29766 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
29767 (remainder): Define using libm_alias_double.
29768 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
29769 (sinh): Define using libm_alias_double.
29770 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
29771 (sqrt): Define using libm_alias_double.
29772 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
29773 (tgamma): Define using libm_alias_double.
29774 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
29775 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
29776 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
29777 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
29778 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
29779 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
29780 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
29781 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
29782 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
29783 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
29784 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
29785 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
29786 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
29787 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
29788 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
29789 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
29790 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
29791 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
29792 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
29793 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
29794 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
29795 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
29796 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
29797 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
29798 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
29799
29800 * math/e_acoshl.c: Remove.
29801 * math/e_acosl.c: Likewise.
29802 * math/e_asinl.c: Likewise.
29803 * math/e_atan2l.c: Likewise.
29804 * math/e_atanhl.c: Likewise.
29805 * math/e_coshl.c: Likewise.
29806 * math/e_expl.c: Likewise.
29807 * math/e_fmodl.c: Likewise.
29808 * math/e_gammal_r.c: Likewise.
29809 * math/e_hypotl.c: Likewise.
29810 * math/e_j0l.c: Likewise.
29811 * math/e_j1l.c: Likewise.
29812 * math/e_jnl.c: Likewise.
29813 * math/e_lgammal_r.c: Likewise.
29814 * math/e_log10l.c: Likewise.
29815 * math/e_log2l.c: Likewise.
29816 * math/e_logl.c: Likewise.
29817 * math/e_powl.c: Likewise.
29818 * math/e_rem_pio2l.c: Likewise.
29819 * math/e_sinhl.c: Likewise.
29820 * math/e_sqrtf128.c: Likewise.
29821 * math/e_sqrtl.c: Likewise.
29822 * math/k_cosl.c: Likewise.
29823 * math/k_sinl.c: Likewise.
29824 * math/k_tanl.c: Likewise.
29825 * math/s_asinhl.c: Likewise.
29826 * math/s_atanl.c: Likewise.
29827 * math/s_cbrtl.c: Likewise.
29828 * math/s_erfl.c: Likewise.
29829 * math/s_expm1l.c: Likewise.
29830 * math/s_log1pl.c: Likewise.
29831 * math/s_tanhl.c: Likewise.
29832
29833 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29834
29835 [BZ #21745]
29836 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
29837 [$(subdir) = math] (sysdep_calls): New variable. Has the
29838 previous contents of sysdep_routines, but re-sorted..
29839 [$(subdir) = math] (sysdep_routines): Re-use the contents from
29840 sysdep_calls.
29841 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
29842 defined in sysdep_calls and replace by the respective m_* names.
29843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
29844 (compat_symbol): Undefine to avoid duplicated compat symbols in
29845 libc.
29846
29847 2017-09-15 Joseph Myers <joseph@codesourcery.com>
29848
29849 * math/s_fmaf.c: Include <libm-alias-float.h>.
29850 (fmaf): Define using libm_alias_float.
29851 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
29852 (acosf): Define using libm_alias_float.
29853 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
29854 (acoshf): Define using libm_alias_float.
29855 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
29856 (asinf): Define using libm_alias_float.
29857 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
29858 (atan2f): Define using libm_alias_float.
29859 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
29860 (atanhf): Define using libm_alias_float.
29861 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
29862 (coshf): Define using libm_alias_float.
29863 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
29864 (exp10f): Define using libm_alias_float.
29865 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
29866 (fmodf): Define using libm_alias_float.
29867 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
29868 (hypotf): Define using libm_alias_float.
29869 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
29870 (j0f): Define using libm_alias_float.
29871 (y0f): Likewise.
29872 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
29873 (j1f): Define using libm_alias_float.
29874 (y1f): Likewise.
29875 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
29876 (jnf): Define using libm_alias_float.
29877 (ynf): Likewise.
29878 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
29879 (log10f): Define using libm_alias_float.
29880 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
29881 (log2f): Define using libm_alias_float.
29882 * math/w_logf_compat.c: Include <libm-alias-float.h>.
29883 (logf): Define using libm_alias_float.
29884 * math/w_powf_compat.c: Include <libm-alias-float.h>.
29885 (powf): Define using libm_alias_float.
29886 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
29887 (remainderf): Define using libm_alias_float.
29888 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
29889 (sinhf): Define using libm_alias_float.
29890 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
29891 (sqrtf): Define using libm_alias_float.
29892 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
29893 (tgammaf): Define using libm_alias_float.
29894
29895 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29896
29897 * include/math.h (roundeven): Change hidden_proto call to
29898 __roundeven.
29899 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
29900 alias.
29901 [NO_LONG_DOUBLE] (__j0l): New strong alias.
29902 (y0): Rename to __y0 and define as weak alias.
29903 [NO_LONG_DOUBLE] (__y0l): New strong alias.
29904 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
29905 alias.
29906 (y0f): Rename to __y0f and define as weak alias.
29907 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
29908 alias.
29909 [NO_LONG_DOUBLE] (__j1l): New strong alias.
29910 (y1): Rename to __y1 and define as weak alias.
29911 [NO_LONG_DOUBLE] (__y1l): New strong alias.
29912 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
29913 alias.
29914 (y1f): Rename to __y1f and define as weak alias.
29915 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
29916 alias.
29917 [NO_LONG_DOUBLE] (__jnl): New strong alias.
29918 (yn): Rename to __yn and define as weak alias.
29919 [NO_LONG_DOUBLE] (__ynl): New strong alias.
29920 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
29921 alias.
29922 (ynf): Rename to __ynf and define as weak alias.
29923 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
29924 (fromfp): Define as weak alias.
29925 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
29926 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
29927 (fromfpx): Define as weak alias.
29928 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
29929 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
29930 __getpayload and define as weak alias.
29931 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29932 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
29933 __roundeven and define as weak alias.
29934 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29935 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
29936 __setpayload.
29937 (setpayload): Define as weak alias.
29938 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
29939 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
29940 __setpayloadsig.
29941 (setpayloadsig): Define as weak alias.
29942 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
29943 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
29944 __totalorder and define as weak alias.
29945 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29946 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
29947 to __totalordermag and define as weak alias.
29948 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29949 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
29950 (ufromfp): Define as weak alias.
29951 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
29952 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
29953 __ufromfpx.
29954 (ufromfpx): Define as weak alias.
29955 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
29956 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
29957 Rename to __getpayload and define as weak alias.
29958 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29959 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
29960 Rename to __roundeven and define as weak alias.
29961 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29962 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
29963 Rename to __totalorder and define as weak alias.
29964 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29965 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
29966 (totalordermag): Rename to __totalordermag and define as weak
29967 alias.
29968 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29969 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
29970 macro.
29971 (__roundevenl): Likewise.
29972 (__totalorderl): Likewise.
29973 (__totalordermagl): Likewise
29974 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
29975 __fromfpf128.
29976 (fromfpf128): Define as weak alias.
29977 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
29978 __fromfpxf128.
29979 (fromfpxf128): Define as weak alias.
29980 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
29981 __setpayloadf128.
29982 (setpayloadf128): Define as weak alias.
29983 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
29984 __setpayloadsigf128.
29985 (setpayloadsigf128): Define as weak alias.
29986 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
29987 __ufromfpf128.
29988 (ufromfpf128): Define as weak alias.
29989 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
29990 __ufromfpxf128.
29991 (ufromfpxf128): Define as weak alias.
29992 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
29993 (fromfpf): Define as weak alias.
29994 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
29995 __fromfpxf.
29996 (fromfpxf): Define as weak alias.
29997 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
29998 __getpayloadf and define as weak alias.
29999 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
30000 __roundevenf and define as weak alias.
30001 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
30002 __setpayloadf.
30003 (setpayloadf): Define as weak alias.
30004 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
30005 __setpayloadsigf.
30006 (setpayloadsigf): Define as weak alias.
30007 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
30008 __totalorderf and define as weak alias.
30009 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
30010 Rename to __totalordermagf and define as weak alias.
30011 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
30012 __ufromfpf.
30013 (ufromfpf): Define as weak alias.
30014 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
30015 __ufromfpxf.
30016 (ufromfpxf): Define as weak alias.
30017 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
30018 __fromfpl.
30019 (fromfpl): Define as weak alias.
30020 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
30021 __fromfpxl.
30022 (fromfpxl): Define as weak alias.
30023 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
30024 to __getpayloadl and define as weak alias.
30025 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
30026 __roundevenl and define as weak alias.
30027 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
30028 __setpayloadl.
30029 (setpayloadl): Define as weak alias.
30030 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
30031 __setpayloadsigl.
30032 (setpayloadsigl): Define as weak alias.
30033 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
30034 to __totalorderl and define as weak alias.
30035 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
30036 Rename to __totalordermagl and define as weak alias.
30037 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
30038 __ufromfpl.
30039 (ufromfpl): Define as weak alias.
30040 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
30041 __ufromfpxl.
30042 (ufromfpxl): Define as weak alias.
30043 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
30044 __fromfpl.
30045 (fromfpl): Define as weak alias.
30046 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
30047 __fromfpxl.
30048 (fromfpxl): Define as weak alias.
30049 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
30050 Rename to __getpayloadl and define as weak alias.
30051 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
30052 to __roundevenl and define as weak alias. Call __roundeven
30053 instead of roundeven.
30054 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
30055 __setpayloadl.
30056 (setpayloadl): Define as weak alias.
30057 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
30058 __setpayloadsigl.
30059 (setpayloadsigl): Define as weak alias.
30060 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
30061 Rename to __totalorderl and define as weak alias.
30062 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
30063 Rename to __totalordermagl and define as weak alias.
30064 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
30065 __ufromfpl.
30066 (ufromfpl): Define as weak alias.
30067 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
30068 __ufromfpxl.
30069 (ufromfpxl): Define as weak alias.
30070 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
30071 __fromfpl.
30072 (fromfpl): Define as weak alias.
30073 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
30074 __fromfpxl.
30075 (fromfpxl): Define as weak alias.
30076 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
30077 __getpayloadl and define as weak alias.
30078 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
30079 __roundevenl and define as weak alias.
30080 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
30081 __setpayloadl.
30082 (setpayloadl): Define as weak alias.
30083 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
30084 __setpayloadsigl.
30085 (setpayloadsigl): Define as weak alias.
30086 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
30087 __totalorderl and define as weak alias.
30088 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
30089 Rename to __totalordermagl and define as weak alias.
30090 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
30091 __ufromfpl.
30092 (ufromfpl): Define as weak alias.
30093 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
30094 __ufromfpxl.
30095 (ufromfpxl): Define as weak alias.
30096
30097 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
30098
30099 * benchtests/bench-string.h (realloc_bufs): New function.
30100 (test_init): Call it.
30101 * benchtests/bench-memset-large.c (do_test): Likewise.
30102 * benchtests/bench-memset.c (do_test): Likewise.
30103
30104 * benchtests/bench-memset-large.c: Print output in JSON
30105 format.
30106 * benchtests/bench-memset.c: Likewise.
30107
30108 2017-09-14 Mike FABIAN <mfabian@redhat.com>
30109
30110 [BZ #21084]
30111 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
30112 * iconvdata/Makefile: Add IBM858.
30113 * iconvdata/gconv-modules: Likewise.
30114 * iconvdata/tst-tables.sh: Likewise.
30115 * iconvdata/ibm858.c: New file.
30116 * localedata/charmaps/IBM858: Likewise.
30117
30118 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
30119
30120 [BZ #22023]
30121 * locales/niu_NZ (LC_TIME): copy "niu_NU".
30122 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
30123
30124 2017-09-14 Mike FABIAN <mfabian@redhat.com>
30125
30126 [BZ #22112]
30127 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
30128 and add tel_int_fmt.
30129
30130 2017-09-14 Joseph Myers <joseph@codesourcery.com>
30131
30132 * sysdeps/generic/libm-alias-float128.h: New file.
30133 * sysdeps/generic/math-type-macros-float128.h: Include
30134 <libm-alias-float128.h>.
30135 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30136
30137 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30138
30139 * sysdeps/generic/libm-alias-ldouble.h: New file.
30140 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
30141 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
30142 * sysdeps/generic/math-type-macros-ldouble.h: Include
30143 <libm-alias-ldouble.h>.
30144 [!declare_mgen_alias] (declare_mgen_alias): Define to use
30145 libm_alias_ldouble.
30146
30147 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
30148
30149 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
30150 * math/w_exp_compat.c: ... here.
30151 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
30152 * math/w_expf_compat.c: ... here.
30153 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
30154 * math/w_expl_compat.c: ... here.
30155 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
30156 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
30157 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
30158 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30159
30160 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30161
30162 * math/w_scalbln_template.c (strong_alias): Do not undefine and
30163 redefine.
30164 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
30165 macro.
30166 (ldexpl): Only define as compat symbol for libc, not libm.
30167 (scalbnl): Define as compat symbol for libc here.
30168 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
30169 define for [IS_IN (libc)].
30170 (__ldexpl_2): Remove alias.
30171 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
30172 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
30173 name in long_double_symbol call.
30174 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
30175 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30176 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30177 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
30178 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
30179 Remove macro.
30180 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
30181 Define as compat symbol.
30182
30183 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30184
30185 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
30186 * sysdeps/unix/sysv/linux/alpha/Makefile
30187 [$(subdir) = csu] (sysdep_routines): Remove rule.
30188
30189 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30190
30191 * sysdeps/generic/libm-alias-double.h: New file.
30192 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
30193 * sysdeps/generic/math-type-macros-double.h: Include
30194 <libm-alias-double.h>.
30195 [declare_mgen_alias] (declare_mgen_alias): Define to use
30196 libm_alias_double.
30197 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
30198 (M_LIBM_NEED_COMPAT): Remove macro.
30199 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
30200 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
30201 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
30202 code.
30203 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30204 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30205 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30206 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30207 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30208 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30209 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30210 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30211 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30212 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30213 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30214 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30215 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30216 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30217 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30218 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30219 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30220 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30221 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30222 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30223 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30224 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30225 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30226 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30227 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30228 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30229 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30230 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
30231 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
30232 macro.
30233 (declare_mgen_alias): New macro.
30234 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
30235 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
30236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
30237 (M_LIBM_NEED_COMPAT): Remove macro.
30238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
30239 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
30240 <first-versions.h>.
30241 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
30242 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
30243
30244 2017-09-12 Joseph Myers <joseph@codesourcery.com>
30245
30246 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
30247 (declare_mgen_alias_2): Remove.
30248 * sysdeps/generic/math-type-macros-double.h
30249 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
30250 Likewise.
30251 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
30252 alias.
30253 (ldexp): Define with declare_mgen_alias.
30254 (scalbn): Likewise.
30255
30256 2017-09-12 Steve Ellcey <sellcey@cavium.com>
30257
30258 * grp/initgroups.c: Include config.h.
30259 (DEFAULT_CONFIG): New macro.
30260 (internal_getgrouplist): Use DEFAULT_CONFIG.
30261 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30262 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
30263 (DEFAULT_DEFCONFIG): New macro.
30264 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
30265 * nss/grp-lookup.c: Include config.h
30266 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
30267 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
30268 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
30269 * manual/nss.texi: Update default values section.
30270
30271 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
30272
30273 [BZ #21967]
30274 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
30275 New.
30276 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
30277 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30278 Handle MathVec_Prefer_No_AVX512.
30279 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
30280 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
30281 is set.
30282
30283 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
30284
30285 * posix/sched_primax.c (__sched_get_priority_max): Add
30286 libc_hidden_def.
30287 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
30288 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30289 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30290 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
30291 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
30292 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
30293 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
30294 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
30295 Add aliases.
30296
30297 2017-09-11 Joseph Myers <joseph@codesourcery.com>
30298
30299 * sysdeps/generic/libm-alias-float.h: New file.
30300 * sysdeps/generic/math-type-macros-float.h: Include
30301 <libm-alias-float.h>.
30302 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30303
30304 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
30305
30306 [BZ #22093]
30307 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
30308 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
30309 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
30310 (HWCAP_IMPORTANT): Likewise.
30311 (HWCAP_X86_64): New enum.
30312 (HWCAP_X86_AVX512_1): Updated.
30313 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
30314 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
30315 (modules-names): Add x86_64/tst-x86_64mod-1.
30316 (LDFLAGS-tst-x86_64mod-1.so): New.
30317 ($(objpfx)tst-x86_64-1): Likewise.
30318 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
30319 (tst-x86_64-1-clean): Likewise.
30320 * sysdeps/x86_64/tst-x86_64-1.c: New file.
30321 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
30322
30323 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30324
30325 * po/sv.po: Update translations.
30326 * po/fr.po: Likewise.
30327
30328 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30329
30330 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
30331 seconds.
30332 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
30333 seconds.
30334 * elf/rtld-Rules: Fix $(error) use.
30335
30336 2017-09-09 Mike FABIAN <mfabian@redhat.com>
30337
30338 [BZ #14925]
30339 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
30340 * locale/iso-639.def: Change “Bengali” to “Bangla”.
30341 * localedata/locales/bn_BD: “Bengali” was still used in some
30342 comments. Change it to “Bangla”.
30343
30344 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
30345
30346 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
30347
30348 2017-09-08 Steve Ellcey <sellcey@cavium.com>
30349
30350 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
30351 thunderx2t99p1 to list of cpu names.
30352 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30353 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
30354
30355 2017-09-08 Steve Ellcey <sellcey@cavium.com>
30356
30357 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
30358 Use strcmp instead of tunable_is_name.
30359
30360 2017-09-08 Joseph Myers <joseph@codesourcery.com>
30361
30362 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30363 (F_GET_RW_HINT): New macro.
30364 [__USE_GNU] (F_SET_RW_HINT): Likewise.
30365 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
30366 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
30367 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
30368 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
30369 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
30370 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
30371 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
30372 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
30373
30374 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30375 (F_ADD_SEALS): New macro.
30376 [__USE_GNU] (F_GET_SEALS): Likewise.
30377 [__USE_GNU] (F_SEAL_SEAL): Likewise.
30378 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
30379 [__USE_GNU] (F_SEAL_GROW): Likewise.
30380 [__USE_GNU] (F_SEAL_WRITE): Likewise.
30381
30382 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30383
30384 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
30385 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
30386 * posix/glob_internal.h (__glob_pattern_type):
30387 * posix/glob.c (glob):
30388 * posix/glob_pattern_p.c (__glob_pattern_p):
30389 Use them.
30390
30391 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
30392 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30393 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
30394 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
30395 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
30397 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
30398 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
30399 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30400 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30401 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30402 * sysdeps/wordsize-64/glob.c: Likewise.
30403 * sysdeps/wordsize-64/glob64.c: Likewise.
30404 * sysdeps/wordsize-64/globfree.c: Likewise.
30405 * sysdeps/wordsize-64/globfree64.c: Likewise.
30406 * sysdeps/unix/sysv/linux/glob.c: New file.
30407 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
30408 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
30409 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
30410 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30411 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
30412 adds !GLOB_NO_OLD_VERSION as an extra condition.
30413 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
30414 using relative path instead of absolute one.
30415 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
30416 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30417 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30418 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
30419 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
30420 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
30421
30422 [BZ #1062]
30423 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
30424 (glob): Use the same scratch buffer for both getlogin_r and
30425 getpwnam_r. Don’t require preallocation of the login name. This
30426 simplifies storage allocation, and corrects the handling of
30427 long login names.
30428
30429 [BZ #1062]
30430 * posix/glob.c (glob): Port recent patches to platforms
30431 lacking getpwnam_r.
30432 (glob): Fix longstanding misuse of errno after getpwnam_r, which
30433 returns an error number rather than setting errno.
30434
30435 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
30436 instead of GCC extension.
30437 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
30438 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
30439 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
30440
30441 [BZ #866]
30442 [BZ #1062]
30443 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
30444 * posix/bug-glob1.c: Remove file.
30445 * posix/tst-glob_symlinks.c: New file.
30446 * posix/glob.c (__lstat64): New macro.
30447 (is_dir): New function.
30448 (glob, glob_in_dir): Match symlinks even if they are dangling.
30449 (link_stat, link_exists_p): Remove. All uses removed.
30450
30451 [BZ #1062]
30452 [BZ #19971]
30453 * posix/glob.c (struct readdir_result): Remove skip_entry member.
30454 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
30455 All uses removed.
30456
30457 [BZ #1062]
30458 CVE-2017-15671
30459 * posix/Makefile (routines): Add globfree, globfree64, and
30460 glob_pattern_p.
30461 * posix/flexmember.h: New file.
30462 * posix/glob_internal.h: Likewise.
30463 * posix/glob_pattern_p.c: Likewise.
30464 * posix/globfree.c: Likewise.
30465 * posix/globfree64.c: Likewise.
30466 * sysdeps/gnu/globfree64.c: Likewise.
30467 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
30468 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30469 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
30470 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30471 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30472 * sysdeps/wordsize-64/globfree.c: Likewise.
30473 * sysdeps/wordsize-64/globfree64.c: Likewise.
30474 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
30475 [NDEBUG): Remove comments.
30476 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
30477 (dirent_type): New type. Use uint_fast8_t not
30478 uint8_t, as C99 does not require uint8_t.
30479 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
30480 (struct readdir_result): Use dirent_type. Do not define skip_entry
30481 unless it is needed; this saves a byte on platforms lacking d_ino.
30482 (readdir_result_type, readdir_result_skip_entry):
30483 New functions, replacing ...
30484 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
30485 these functions, which were removed. This makes the callers
30486 easier to read. All callers changed.
30487 (D_INO_TO_RESULT): Now empty if there is no d_ino.
30488 (size_add_wrapv, glob_use_alloca): New static functions.
30489 (glob, glob_in_dir): Check for size_t overflow in several places,
30490 and fix some size_t checks that were not quite right.
30491 Remove old code using SHELL since Bash no longer
30492 uses this.
30493 (glob, prefix_array): Separate MS code better.
30494 (glob_in_dir): Remove old Amiga and VMS code.
30495 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
30496 separate files.
30497 (glob_in_dir): Do not rely on undefined behavior in accessing
30498 struct members beyond their bounds. Use a flexible array member
30499 instead
30500 (link_stat): Rename from link_exists2_p and return -1/0 instead of
30501 0/1. Caller changed.
30502 (glob): Fix memory leaks.
30503 * posix/glob64 (globfree64): Move to separate file.
30504 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
30505 (globfree64): Remove hidden alias.
30506 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
30507 oldglob.
30508 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
30509 separate file.
30510 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
30511 define.
30512 Move compat code to separate file.
30513 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
30514 separate file.
30515
30516 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
30517
30518 * resolv/tst-resolv-qtypes.c (domain): Changed to
30519 "const char domain[] =".
30520
30521 2017-09-07 Joseph Myers <joseph@codesourcery.com>
30522
30523 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
30524 version to 3.1.6.
30525
30526 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
30527 (TCP_MD5SIG_EXT): Likewise.
30528 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
30529 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
30530 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
30531
30532 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
30533
30534 2017-09-07 Mike FABIAN <mfabian@redhat.com>
30535
30536 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
30537
30538 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
30539
30540 [BZ #22100]
30541 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
30542
30543 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
30544
30545 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
30546 before assuming that the file is empty. Avoid testing buffer content
30547 when nread == 0.
30548
30549 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30550
30551 [BZ #18858]
30552 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30553 Remove define.
30554 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
30555 Likewise.
30556 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
30557 Likewise.
30558 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
30559 Likewise.
30560 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30561 Likewise.
30562 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
30563 Likewise.
30564 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
30565 Likewise.
30566
30567 2017-09-06 Florian Weimer <fweimer@redhat.com>
30568
30569 * malloc/dynarray_emplace_enlarge.c
30570 (__libc_dynarray_emplace_enlarge): Add missing else.
30571
30572 2017-09-06 Florian Weimer <fweimer@redhat.com>
30573
30574 [BZ #22096]
30575 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
30576 case of failure to obtain the global conf object.
30577
30578 2017-09-06 Florian Weimer <fweimer@redhat.com>
30579
30580 [BZ #22095]
30581 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
30582 dynarray allocation failure.
30583
30584 2017-09-06 Florian Weimer <fweimer@redhat.com>
30585
30586 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
30587 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
30588 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
30589 New functions.
30590 (response): Call them. Add 'p', '6' flag processing.
30591 (test_reverse): New function.
30592 (test_get2_any): Call it.
30593 (test_no_inet6): Add 'p' test.
30594 (test_inet6): Likewise.
30595
30596 2017-09-06 Florian Weimer <fweimer@redhat.com>
30597
30598 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
30599 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
30600 the QNAME.
30601 (test_gai): Adjust query names. Add additional tests.
30602 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
30603 test_get2. Adjust query names. Add additional tests.
30604 (test_no_inet6): New function, extracted from threadfunc.
30605 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
30606 Add additional tests.
30607
30608 2017-09-06 Mike FABIAN <mfabian@redhat.com>
30609
30610 [BZ #22070]
30611 * localedata/unicode-gen/utf8_gen.py: Set the width for
30612 characters with Prepended_Concatenation_Mark property to 1
30613 * localedata/charmaps/UTF-8: Updated using the improved script.
30614
30615 2017-09-06 Mike FABIAN <mfabian@redhat.com>
30616
30617 [BZ #21750]
30618 * localedata/unicode-gen/utf8_gen.py: Improve the script to
30619 use the range notation for all ranges of neighbouring characters
30620 with the same width.
30621
30622 2017-09-05 Joseph Myers <joseph@codesourcery.com>
30623
30624 * sysdeps/generic/math-type-macros-double.h: Include
30625 <math-svid-compat.h>.
30626 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30627 * sysdeps/generic/math-type-macros-float.h: Include
30628 <math-svid-compat.h>.
30629 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30630 * sysdeps/generic/math-type-macros-ldouble.h: Include
30631 <math-svid-compat.h>.
30632 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30633 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
30634 condition.
30635 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
30636 * math/w_acosf_compat.c: Likewise.
30637 * math/w_acosh_compat.c: Likewise.
30638 * math/w_acoshf_compat.c: Likewise.
30639 * math/w_acoshl_compat.c: Likewise.
30640 * math/w_acosl_compat.c: Likewise.
30641 * math/w_asin_compat.c: Likewise.
30642 * math/w_asinf_compat.c: Likewise.
30643 * math/w_asinl_compat.c: Likewise.
30644 * math/w_atan2_compat.c: Likewise.
30645 * math/w_atan2f_compat.c: Likewise.
30646 * math/w_atan2l_compat.c: Likewise.
30647 * math/w_atanh_compat.c: Likewise.
30648 * math/w_atanhf_compat.c: Likewise.
30649 * math/w_atanhl_compat.c: Likewise.
30650 * math/w_cosh_compat.c: Likewise.
30651 * math/w_coshf_compat.c: Likewise.
30652 * math/w_coshl_compat.c: Likewise.
30653 * math/w_exp10_compat.c: Likewise.
30654 * math/w_exp10f_compat.c: Likewise.
30655 * math/w_exp10l_compat.c: Likewise.
30656 * math/w_exp2_compat.c: Likewise.
30657 * math/w_exp2f_compat.c: Likewise.
30658 * math/w_exp2l_compat.c: Likewise.
30659 * math/w_fmod_compat.c: Likewise.
30660 * math/w_fmodf_compat.c: Likewise.
30661 * math/w_fmodl_compat.c: Likewise.
30662 * math/w_hypot_compat.c: Likewise.
30663 * math/w_hypotf_compat.c: Likewise.
30664 * math/w_hypotl_compat.c: Likewise.
30665 * math/w_j0_compat.c: Likewise.
30666 * math/w_j0f_compat.c: Likewise.
30667 * math/w_j0l_compat.c: Likewise.
30668 * math/w_j1_compat.c: Likewise.
30669 * math/w_j1f_compat.c: Likewise.
30670 * math/w_j1l_compat.c: Likewise.
30671 * math/w_jn_compat.c: Likewise.
30672 * math/w_jnf_compat.c: Likewise.
30673 * math/w_jnl_compat.c: Likewise.
30674 * math/w_lgamma_r_compat.c: Likewise.
30675 * math/w_lgammaf_r_compat.c: Likewise.
30676 * math/w_lgammal_r_compat.c: Likewise.
30677 * math/w_log10_compat.c: Likewise.
30678 * math/w_log10f_compat.c: Likewise.
30679 * math/w_log10l_compat.c: Likewise.
30680 * math/w_log2_compat.c: Likewise.
30681 * math/w_log2f_compat.c: Likewise.
30682 * math/w_log2l_compat.c: Likewise.
30683 * math/w_log_compat.c: Likewise.
30684 * math/w_logf_compat.c: Likewise.
30685 * math/w_logl_compat.c: Likewise.
30686 * math/w_pow_compat.c: Likewise.
30687 * math/w_powf_compat.c: Likewise.
30688 * math/w_powl_compat.c: Likewise.
30689 * math/w_remainder_compat.c: Likewise.
30690 * math/w_remainderf_compat.c: Likewise.
30691 * math/w_remainderl_compat.c: Likewise.
30692 * math/w_sinh_compat.c: Likewise.
30693 * math/w_sinhf_compat.c: Likewise.
30694 * math/w_sinhl_compat.c: Likewise.
30695 * math/w_sqrt_compat.c: Likewise.
30696 * math/w_sqrtf_compat.c: Likewise.
30697 * math/w_sqrtl_compat.c: Likewise.
30698 * math/w_tgamma_compat.c: Likewise.
30699 * math/w_tgammaf_compat.c: Likewise.
30700 * math/w_tgammal_compat.c: Likewise.
30701 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
30702 [LIBM_SVID_COMPAT].
30703 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
30704 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
30705 [LIBM_SVID_COMPAT].
30706 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
30707 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
30708 [LIBM_SVID_COMPAT].
30709 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
30710 * sysdeps/i386/fpu/w_sqrt.c: New file.
30711 * sysdeps/ia64/fpu/w_acos.c: Likewise.
30712 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
30713 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
30714 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
30715 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
30716 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
30717 * sysdeps/ia64/fpu/w_asin.c: Likewise.
30718 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
30719 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
30720 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
30721 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
30722 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
30723 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
30724 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
30725 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
30726 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
30727 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
30728 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
30729 * sysdeps/ia64/fpu/w_exp.c: Likewise.
30730 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
30731 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
30732 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
30733 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
30734 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
30735 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
30736 * sysdeps/ia64/fpu/w_expf.c: Likewise.
30737 * sysdeps/ia64/fpu/w_expl.c: Likewise.
30738 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
30739 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
30740 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
30741 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
30742 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
30743 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
30744 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
30745 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
30746 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
30747 * sysdeps/ia64/fpu/w_log.c: Likewise.
30748 * sysdeps/ia64/fpu/w_log10.c: Likewise.
30749 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
30750 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
30751 * sysdeps/ia64/fpu/w_log2.c: Likewise.
30752 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
30753 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
30754 * sysdeps/ia64/fpu/w_logf.c: Likewise.
30755 * sysdeps/ia64/fpu/w_logl.c: Likewise.
30756 * sysdeps/ia64/fpu/w_pow.c: Likewise.
30757 * sysdeps/ia64/fpu/w_powf.c: Likewise.
30758 * sysdeps/ia64/fpu/w_powl.c: Likewise.
30759 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
30760 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
30761 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
30762 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
30763 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
30764 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
30765 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
30766 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
30767 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
30768 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
30769 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
30770 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
30771 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
30772 [LIBM_SVID_COMPAT].
30773 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30774 * sysdeps/ieee754/k_standard.c: Likewise.
30775 * sysdeps/ieee754/k_standardf.c: Likewise.
30776 * sysdeps/ieee754/k_standardl.c: Likewise.
30777 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30778 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30779 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30780 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
30781 long_double_symbol call on [LIBM_SVID_COMPAT].
30782 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30783 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30784 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30785 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30786 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30787 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30788 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30789 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30790 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30791 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30792 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30793 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30794 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30795 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30796 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30797 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30798 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
30799 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30800 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30801 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30802 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
30803 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
30804
30805 2017-09-05 Steve Ellcey <sellcey@cavium.com>
30806
30807 * include/shlib-compat.h (TEST_COMPAT): New Macro.
30808 * malloc/tst-mallocstate.c: Convert from test-skeleton
30809 to test-driver. Ifdef code using TEST_COMPAT macro.
30810 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
30811 * math/test-matherr.c: Likewise.
30812
30813 2017-09-05 Joseph Myers <joseph@codesourcery.com>
30814
30815 [BZ #22086]
30816 * debug/pcprofiledump.c (main): Use byte-swapped mask when
30817 comparing word with byte-swapped constant.
30818
30819 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
30820
30821 [BZ #20498]
30822 * locale/iso-639.def: add Miskito.
30823 * localedata/SUPPORTED: Add miq_NI/UTF-8.
30824 * localedata/locales/miq_NI: New file.
30825
30826 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
30827
30828 [BZ #18822]
30829 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
30830 (__mkdir): Likewise.
30831 * io/chmod.c (__chmod): Add libc_hidden_def.
30832 * io/mkdir.c (__mkdir): Likewise.
30833 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
30834 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
30835 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
30836 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
30837
30838 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30839
30840 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
30841 version to 4.13.
30842
30843 [BZ #22082]
30844 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
30845 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
30846
30847 2017-09-04 Florian Weimer <fweimer@redhat.com>
30848
30849 * math/math.h: Issue warning if log is defined.
30850
30851 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30852
30853 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
30854 kernel version to 4.13.
30855
30856 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30857
30858 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
30859 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
30860 parameter.
30861 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
30862 just <bits/types.h>.
30863 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
30864 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
30865 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
30866 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
30867 * misc/preadv2.c: Include <errno.h>.
30868 * misc/preadv64v2.c: Include <errno.h>.
30869 * misc/pwritev2.c: Include <errno.h>.
30870 * misc/pwritev64v2.c: Include <errno.h>.
30871 * sysdeps/posix/preadv2.c: Include <errno.h>.
30872 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
30873 Fix <unistd.h> inclusion.
30874 * sysdeps/posix/pwritev2.c: Include <errno.h>.
30875 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
30876 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
30877 __strtoul_internal): New functions.
30878 * sysdeps/posix/pause.c: Include <sigsetops.h>.
30879 * sysdeps/posix/system.c: Include <sigsetops.h>.
30880 * sysdeps/mach/hurd/i386/Makefile
30881 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
30882 [$(subdir) = csu] (sysdep-only-routines): Likewise.
30883 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
30884 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
30885 __feraiseexcept_renamed to feraiseexcept instead of
30886 __GI_feraiseexcept.
30887 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
30888 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
30889 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
30890 RWF_NOWAIT): Define to 0 if undefined already.
30891 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
30892 boils down to 0.
30893 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
30894 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
30895
30896 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30897
30898 * manual/math.texi (pow10): Do not document.
30899 (pow10f): Likewise.
30900 (pow10l): Likewise.
30901 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
30902 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
30903 * math/libm-test-exp10.inc (pow10_test): Remove.
30904 (do_test): Do not call pow10.
30905 * math/w_exp10_compat.c (pow10): Make into compat symbol.
30906 [NO_LONG_DOUBLE] (pow10l): Likewise.
30907 * math/w_exp10f_compat.c (pow10f): Likewise.
30908 * math/w_exp10l_compat.c (pow10l): Likewise.
30909 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
30910 (pow10): Make into compat symbol.
30911 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
30912 (pow10f): Make into compat symbol.
30913 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
30914 (pow10l): Make into compat symbol.
30915 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
30916 pow10.
30917 (CFLAGS-nldbl-pow10.c): Remove variable..
30918 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
30919 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
30920 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
30921 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
30922 Undefine and redefine.
30923 (pow10l): Make into compat symbol.
30924 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
30925 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30926 * sysdeps/arm/libm-test-ulps: Likewise.
30927 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
30928 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30929 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30930 * sysdeps/microblaze/libm-test-ulps: Likewise.
30931 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30932 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30933 * sysdeps/nios2/libm-test-ulps: Likewise.
30934 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30935 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30936 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30937 * sysdeps/sh/libm-test-ulps: Likewise.
30938 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30939 * sysdeps/tile/libm-test-ulps: Likewise.
30940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30941
30942 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30943
30944 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
30945
30946 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30947
30948 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
30949 "../ChangeLog.old/ChangeLog.8".
30950 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
30951 "../ChangeLog.old/ChangeLog.14".
30952
30953 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30954
30955 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
30956 Threads Library.
30957
30958 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30959
30960 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
30961
30962 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30963
30964 * csu/version.c (banner): Remove "by Roland McGrath et al.".
30965 * nptl/Banner: Remove "by Ulrich Drepper et al.".
30966
30967 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30968
30969 * stdlib/tst-atexit-common.c (do_test): Test support for at least
30970 32 atexit handlers.
30971
30972 2017-09-01 Zack Weinberg <zackw@panix.com>
30973
30974 * math/math.h (HUGE_VAL): Improve commentary.
30975
30976 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30977 Andreas Schwab <schwab@suse.de>
30978
30979 [BZ #21530]
30980 * include/stdio.h (__gen_tempfd): New function.
30981 * stdio-common/Makefile (routines): Add gentempfd.
30982 * stdio-common/gentempfd.c: New file.
30983 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
30984 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
30985 unnamed file first.
30986
30987 2017-09-01 Florian Weimer <fweimer@redhat.com>
30988
30989 [BZ #21915]
30990 [BZ #21922]
30991 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
30992 result to determine success or failure, not the errno value.
30993 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
30994 (tst-nss-files-hosts-erange): Link with -ldl.
30995 * nss/tst-nss-files-hosts-erange.c: New file.
30996 * nss/tst-resolv-basic.c (response): Handle nodata.example.
30997 (do_test): Add NO_DATA tests.
30998 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
30999 (do_test): Call it.
31000
31001 2017-09-01 Florian Weimer <fweimer@redhat.com>
31002
31003 [BZ #21922]
31004 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
31005 coming from gethostbyname2_r.
31006
31007 2017-09-01 Florian Weimer <fweimer@redhat.com>
31008
31009 * support/namespace.h (struct support_chroot_configuration): Add
31010 hosts, host_conf.
31011 (struct support_chroot): Add path_hosts, path_host_conf.
31012 * support/support_chroot.c (write_file): New function.
31013 (support_chroot_create): Call it to process /etc/resolv.conf,
31014 /etc/hosts, /etc/host.conf.
31015 (support_chroot_free): Update.
31016
31017 2017-09-01 Florian Weimer <fweimer@redhat.com>
31018
31019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
31020 status indicates it is set.
31021
31022 2017-09-01 Florian Weimer <fweimer@redhat.com>
31023
31024 [BZ #20532]
31025 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
31026 function lookup failures more reliable.
31027
31028 2017-09-01 Florian Weimer <fweimer@redhat.com>
31029
31030 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
31031 (getcanonname): Likewise.
31032 (gaih_inet): Likewise.
31033
31034 2017-09-01 Florian Weimer <fweimer@redhat.com>
31035
31036 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
31037 (getcanonname): Likewise.
31038 (gaih_inet): Likewise.
31039
31040 2017-08-31 Steve Ellcey <sellcey@cavium.com>
31041 Richard Henderson <rth@twiddle.net>
31042
31043 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
31044 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
31045 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
31046 (IREG_SIZE, OREG_SIZE): New macros.
31047 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
31048 (IREG_SIZE, OREG_SIZE): New macros.
31049 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
31050 (IREG_SIZE): New macro.
31051 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
31052 (IREG_SIZE): New macro.
31053 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
31054 New includes.
31055 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
31056 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31057 (__CONCATX): Handle exceptions correctly on large values that may
31058 set FE_INVALID.
31059 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
31060 Initialize if not already set.
31061 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31062
31063 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31064
31065 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
31066 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
31067 Likewise.
31068 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
31069 Likewise.
31070 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
31071 Likewise.
31072 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
31073 Likewise.
31074 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
31075 Likewise.
31076 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
31077 Likewise.
31078 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
31079 Likewise.
31080 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
31081 (NO_CANCELLATION): Likewise.
31082 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
31083 Likewise.
31084 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
31085 Likewise.
31086 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
31087 Likewise.
31088 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
31089 (NO_CANCELLATION): Likewise.
31090 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
31091 (NO_CANCELLATION): Likewise.
31092 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
31093 Likewise
31094 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
31095 Likewise.
31096 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
31097 Likewise.
31098 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
31099 Likewise.
31100 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
31101 hidden prototype.
31102 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
31103 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
31104
31105 2017-08-31 Steve Ellcey <sellcey@cavium.com>
31106
31107 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
31108 in resolver call.
31109
31110 2017-08-31 Florian Weimer <fweimer@redhat.com>
31111
31112 * include/libc-symbols.h (internal_function): Remove.
31113
31114 2017-08-31 Florian Weimer <fweimer@redhat.com>
31115
31116 * stdlib/fmtmsg.c (internal_addseverity): Remove
31117 internal_function.
31118
31119 2017-08-31 Florian Weimer <fweimer@redhat.com>
31120
31121 * stdio-common/printf_fp.c (group_number): Remove
31122 internal_function.
31123 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
31124
31125 2017-08-31 Florian Weimer <fweimer@redhat.com>
31126
31127 * posix/fnmatch.c (internal_function): Remove definition.
31128 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
31129 * posix/regcomp.c (peek_token, init_word_char)
31130 (duplicate_node_closure, fetch_token, peek_token)
31131 (peek_token_bracket, build_range_exp, build_collating_symbol):
31132 Likewise.
31133 * posix/regex_internal.c (re_string_construct_common)
31134 (create_ci_newstate, create_cd_newstate, re_string_allocate)
31135 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
31136 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
31137 (re_string_translate_buffer, re_string_reconstruct)
31138 (re_string_peek_byte_case, re_string_fetch_byte_case)
31139 (re_string_destruct, re_string_context_at, re_node_set_alloc)
31140 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
31141 (re_node_set_add_intersect, re_node_set_init_union)
31142 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
31143 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
31144 (re_dfa_add_node, calc_state_hash, re_acquire_state)
31145 (re_acquire_state_context): Likewise.
31146 * posix/regex_internal.h (internal_function): Remove definition.
31147 (re_string_realloc_buffers, build_wcs_buffer)
31148 (build_wcs_upper_buffer, build_upper_buffer)
31149 (re_string_translate_buffer, re_string_context_at)
31150 (re_string_char_size_at, re_string_wchar_at)
31151 (re_string_elem_size_at): Likewise.
31152 * posix/regexec.c (match_ctx_init, match_ctx_clean)
31153 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
31154 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
31155 (re_search_internal, re_search_2_stub, re_search_stub)
31156 (re_copy_regs, prune_impossible_nodes, check_matching)
31157 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
31158 (free_fail_stack_return, sift_states_iter_mb)
31159 (sift_states_backward, build_sifted_states)
31160 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
31161 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
31162 (check_subexp_limits, sift_states_bkref, merge_state_array)
31163 (find_recover_state, transit_state, merge_state_with_log)
31164 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
31165 (transit_state_mb, transit_state_bkref, get_subexp)
31166 (get_subexp_sub, find_subexp_node, check_arrival)
31167 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
31168 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
31169 (check_node_accept_bytes, find_collation_sequence_value)
31170 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
31171 (acquire_init_state_context, check_halt_node_context)
31172 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
31173 (sub_epsilon_src_nodes): Likewise.
31174 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
31175 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
31176 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
31177 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
31178 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
31179 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
31180 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
31181 * sysdeps/posix/ttyname.c (getttyname): Likewise.
31182 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
31183 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
31184 (PREADV): Likewise.
31185 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
31186 (PREADV): Likewise.
31187 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
31188 (PWRITEV): Likewise.
31189 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
31190 (PWRITEV): Likewise.
31191 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
31192 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
31193
31194 2017-08-31 Florian Weimer <fweimer@redhat.com>
31195
31196 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
31197 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
31198 Remove internal_function.
31199 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31200 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
31201 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
31202 (__deallocate_stack, __libc_pthread_init)
31203 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
31204 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
31205 (__libc_disable_asynccancel, __librt_disable_asynccancel):
31206 Likewise.
31207 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
31208 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
31209 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
31210 Likewise.
31211 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
31212 (__pthread_mutex_unlock_usercnt): Likewise.
31213
31214 2017-08-31 Florian Weimer <fweimer@redhat.com>
31215
31216 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
31217 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
31218 (fts_safe_changedir): Remove internal_function.
31219 * io/ftw.c (internal_function): Remove definition.
31220 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
31221
31222 2017-08-31 Florian Weimer <fweimer@redhat.com>
31223
31224 * inet/deadline.c (__deadline_current_time)
31225 (__deadline_from_timeval, __deadline_to_ms): Remove
31226 internal_function.
31227 * inet/getnameinfo.c (nrl_domainname): Likewise.
31228 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
31229 * inet/inet6_option.c (add_pad): Likewise.
31230 * inet/net-internal.h (__deadline_current_time)
31231 (__deadline_from_timeval, __deadline_to_ms): Likewise.
31232 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
31233 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
31234 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
31235
31236 2017-08-31 Joseph Myers <joseph@codesourcery.com>
31237
31238 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
31239 include <bits/nan.h>.
31240 * math/Makefile (headers): Remove bits/nan.h.
31241 * bits/nan.h: Remove.
31242 * sysdeps/ieee754/bits/nan.h: Likewise.
31243 * sysdeps/mips/bits/nan.h: Likewise.
31244
31245 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
31246 not include <bits/inf.h>.
31247 * math/Makefile (headers): Remove bits/inf.h.
31248 * bits/inf.h: Remove.
31249 * sysdeps/ieee754/bits/inf.h: Likewise.
31250
31251 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
31252 bits/huge_vall.h or bits/huge_val_flt128.h.
31253 (HUGE_VAL): Define directly here.
31254 [__USE_ISOC99] (HUGE_VALF): Likewise.
31255 [__USE_ISOC99] (HUGE_VALL): Likewise.
31256 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31257 (HUGE_VAL_F128): Likewise.
31258 * math/Makefile (headers): Remove bits/huge_val.h,
31259 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
31260 * bits/huge_val.h: Remove.
31261 * bits/huge_val_flt128.h: Likewise.
31262 * bits/huge_valf.h: Likewise.
31263 * bits/huge_vall.h: Likewise.
31264 * sysdeps/ia64/bits/huge_vall.h: Likewise.
31265 * sysdeps/ieee754/bits/huge_val.h: Likewise.
31266 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
31267 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
31268 * sysdeps/sh/bits/huge_val.h: Likewise.
31269 * sysdeps/sparc/bits/huge_vall.h: Likewise.
31270 * sysdeps/x86/bits/huge_vall.h: Likewise.
31271
31272 2017-08-31 Florian Weimer <fweimer@redhat.com>
31273
31274 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
31275 internal_function.
31276 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
31277 Likewise.
31278 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
31279 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31280 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
31281 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
31282 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31283 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31284 * elf/dl-libc.c (dlerror_run): Likewise.
31285 * elf/dl-load.c (add_name_to_object, decompose_rpath)
31286 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
31287 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
31288 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
31289 Likewise.
31290 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
31291 (_dl_higher_prime_number, _dl_strtoul): Likewise.
31292 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
31293 * elf/dl-profile.c (_dl_start_profile): Likewise.
31294 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
31295 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
31296 Likewise.
31297 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
31298 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
31299 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
31300 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
31301 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
31302 (_dl_allocate_tls_storage): Likewise.
31303 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
31304 (_dl_check_all_versions): Likewise.
31305 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
31306 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
31307 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
31308 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31309 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
31310 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
31311 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
31312 internal_function from __dl_start.
31313 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
31314 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
31315 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
31316 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
31317 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
31318 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
31319 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
31320 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
31321 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
31322 (_dl_next_ld_env_entry, _dl_important_hwcaps)
31323 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
31324 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
31325 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
31326 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
31327 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
31328 Likewise.
31329 (struct rtld_global_ro): Remove internal_function from the
31330 _dl_lookup_symbol_x member.
31331 (_dl_symbol_value): Remove. No longer defined anywhere.
31332 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
31333 internal_function.
31334 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31335 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31336 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
31337 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
31338 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
31339 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
31340 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
31341 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
31342 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
31343 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
31344 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31345 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31346
31347 2017-08-31 Florian Weimer <fweimer@redhat.com>
31348
31349 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
31350 Remove internal_function.
31351 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31352 Likewise.
31353 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31354 Likewise.
31355
31356 2017-08-31 Florian Weimer <fweimer@redhat.com>
31357
31358 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
31359 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
31360 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
31361
31362 2017-08-31 Florian Weimer <fweimer@redhat.com>
31363
31364 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
31365 (__gai_enqueue_request): Remove internal_function.
31366 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
31367 (__gai_remove_request, __gai_notify, __gai_notify_only)
31368 (__gai_sigqueue): Likewise.
31369 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
31370 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
31371 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
31372 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31373 Likewise.
31374
31375 2017-08-31 Florian Weimer <fweimer@redhat.com>
31376
31377 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
31378 * include/dirent.h (__opendirat, __getdents, __getdents64)
31379 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
31380 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
31381 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31382 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31383 Likewise.
31384 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
31385
31386 2017-08-31 Florian Weimer <fweimer@redhat.com>
31387
31388 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
31389 internal_function.
31390 (GETCWD_RETURN_TYPE): Likewise.
31391
31392 2017-08-31 Florian Weimer <fweimer@redhat.com>
31393
31394 * include/time.h (__tz_compute, __strptime_internal): Remove
31395 internal_function.
31396 * time/strptime_l.c (__strptime_internal): Likewise.
31397 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
31398
31399 2017-08-31 Florian Weimer <fweimer@redhat.com>
31400
31401 * iconv/gconv.c (__gconv): Remove internal_function.
31402 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
31403 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
31404 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
31405 (__gconv_release_cache): Likewise.
31406 * iconv/gconv_close.c (__gconv_close): Likewise.
31407 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
31408 (read_conf_file, __gconv_get_path): Likewise.
31409 * iconv/gconv_db.c (derivation_lookup, add_derivation)
31410 (__gconv_release_step, gen_steps, increment_counter)
31411 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
31412 (__gconv_close_transform, free_modules_db): Likewise.
31413 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
31414 Likewise.
31415 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
31416 (__gconv_find_transform, __gconv_lookup_cache)
31417 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
31418 (__gconv_close_transform, __gconv_release_cache)
31419 (__gconv_loaded_object, __gconv_release_shlib)
31420 (__gconv_compare_alias): Likewise.
31421 * iconv/gconv_open.c (__gconv_open): Likewise.
31422 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
31423 * iconv/iconvconfig.c (add_module): Likewise.
31424 * intl/dcigettext.c (plural_lookup, guess_category_value)
31425 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
31426 * intl/eval-plural.h (plural_eval): Likewise.
31427 * intl/finddomain.c (_nl_find_domain): Likewise.
31428 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
31429 (_nl_load_domain, _nl_find_msg): Likewise.
31430 (internal_function): Remove definition.
31431 * intl/loadinfo.h (internal_function): Likewise.
31432 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
31433 internal_function.
31434 * intl/localealias.c (internal_function): Remove definition.
31435 (read_alias_file): Remove internal_function.
31436 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
31437 * intl/plural-exp.h (internal_function): Remove definition.
31438 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
31439 internal_function.
31440 * intl/plural.c: Regenerate.
31441 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
31442 * locale/coll-lookup.c (__collidx_table_lookup)
31443 (__collseq_table_lookup): Likewise.
31444 * locale/coll-lookup.h (__collidx_table_lookup)
31445 (__collseq_table_lookup): Likewise.
31446 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
31447 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31448 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
31449 (_nl_unload_locale): Likewise.
31450 * locale/localeinfo.h (struct __locale_data): Remove
31451 internal_function from cleanup member.
31452 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
31453 (_nl_remove_locale, _nl_load_locale_from_archive)
31454 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
31455 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
31456 (_nl_cleanup_time): Remove internal_function.
31457 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
31458 (_nl_parse_alt_digit): Likewise.
31459 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
31460 (_nl_select_era_entry): Likewise.
31461 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
31462 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31463 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
31464 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31465 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
31466
31467 2017-08-31 Florian Weimer <fweimer@redhat.com>
31468
31469 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
31470 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31471 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
31472 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
31473 Likewise.
31474 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
31475 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
31476 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
31477 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31478 Likewise.
31479 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
31480
31481 2017-08-31 Florian Weimer <fweimer@redhat.com>
31482
31483 * misc/getttyent.c (skip, value): Remove internal_function.
31484 * misc/syslog.c (openlog_internal): Likewise.
31485 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
31486
31487 2017-08-31 Florian Weimer <fweimer@redhat.com>
31488
31489 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
31490 (__nss_rewrite_field): Remove internal_function.
31491 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31492 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31493 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31494 * nss/nsswitch.c (nss_parse_file, nss_getline)
31495 (nss_parse_service_list, nss_new_service): Likewise.
31496 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
31497 * nss/valid_field.c (__nss_valid_field): Likewise.
31498 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
31499
31500 2017-08-31 Florian Weimer <fweimer@redhat.com>
31501
31502 * malloc/arena.c (__malloc_fork_lock_parent)
31503 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
31504 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
31505 internal_function from defintions.
31506 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
31507 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
31508 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
31509 internal_function from declarations.
31510 * malloc/malloc.c (internal_function): Do not define.
31511 (mem2mem_check): Remove internal_function from declaration.
31512 (munmap_chunk, mremap_chunk): Remove internal_function.
31513 * malloc/mtrace.c (tr_where): Likewise.
31514
31515 2017-08-31 Florian Weimer <fweimer@redhat.com>
31516
31517 * include/rpc/pmap_clnt.h (__get_socket): Remove
31518 internal_function.
31519 * sunrpc/auth_des.c (synchronize): Likewise.
31520 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
31521 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
31522 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
31523 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
31524 (key_call): Likewise.
31525 * sunrpc/pm_getport.c (__get_socket): Likewise.
31526 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
31527 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
31528 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
31529 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
31530 (invalidate): Likewise.
31531 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
31532 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
31533 (set_input_fragment, get_input_bytes): Likewise.
31534
31535 2017-08-31 Florian Weimer <fweimer@redhat.com>
31536
31537 * malloc/malloc.c (_int_free): Remove locked variable and related
31538 asserts.
31539
31540 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
31541
31542 [BZ #22051]
31543 * Makerules (build-module-helper-objlist): Filter out
31544 $(elf-objpfx)sofini.os.
31545 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
31546 needed.
31547
31548 2017-08-31 Florian Weimer <fweimer@redhat.com>
31549
31550 * libio/fcloseall.c: Assume weak_alias is defined.
31551 * libio/feof.c: Likewise.
31552 * libio/fileno.c: Likewise.
31553 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
31554 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31555 definitions.
31556 (_IO_file_open): Call __open directly.
31557 (_IO_new_file_sync): Assume ESPIPE is defined.
31558 (_IO_file_seekoff_maybe_mmap): Call __read directly.
31559 (_IO_new_file_write): Call __write directly.
31560 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
31561 * libio/ftello64.c (__ftello64): Assume EIO is defined.
31562 * libio/genops.c: Assume _LIBC is defined.
31563 (save_for_backup): Remove internal_function.
31564 * libio/getc.c: Assume weak_alias is defined.
31565 * libio/getwc.c: Likewise.
31566 * libio/iofclose.c: Assume _LIBC is defined.
31567 * libio/iofdopen.c: Likewise.
31568 (_IO_fcntl): Remove macro definition.
31569 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
31570 Call __fcntl directly.
31571 * libio/iofflush.c: Assume weak_alias is defined.
31572 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
31573 defined.
31574 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
31575 * libio/iofgets.c: Likewise.
31576 * libio/iofopen.c: Assume _LIBC is defined.
31577 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
31578 * libio/iofputs.c: Assume weak_alias is defined.
31579 * libio/iofread.c: Likewise.
31580 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
31581 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
31582 * libio/ioftell.c: Assume weak_alias is defined.
31583 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
31584 * libio/iofwide.c: Assume _LIBC is defined.
31585 (_IO_fwide): Drop SHARED conditional because it is implied by
31586 SHLIB_COMPAT.
31587 * libio/iofwrite.c: Assume weak_alias is defined.
31588 * libio/iogetdelim.c: Likewise.
31589 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
31590 * libio/iogetwline.c (wmemcpy): Remove macro definition.
31591 (_IO_getwline): Call __wmemcpy directly.
31592 * libio/iopopen.c: Assume _LIBC is defined.
31593 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31594 (_IO_close): Remove macro definitions.
31595 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
31596 _exit directly.
31597 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
31598 directly.
31599 * libio/ioputs.c: Assume weak_alias is defined.
31600 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
31601 * libio/iosetbuffer.c: Assume weak_alias is defined.
31602 * libio/iosetvbuf.c: Likewise.
31603 * libio/ioungetc.c: Likewise.
31604 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
31605 libc_hidden_def, libc_hidden_weak, NULL are defined.
31606 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
31607 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
31608 defined.
31609 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31610 definitions.
31611 (_IO_old_file_init_internal): Drop SHARED conditional because it
31612 is implied by SHLIB_COMPAT.
31613 (_IO_old_file_fopen): Call __open directly.
31614 (_IO_old_file_sync): Assume ESPIPE is defined.
31615 (_IO_old_file_write): Call __write directly.
31616 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
31617 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
31618 Call __fcntl directly.
31619 * libio/oldiofgetpos.c: Assume weak_alias is defined.
31620 (_IO_old_fgetpos): Assume EIO is defined.
31621 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
31622 (_IO_old_fgetpos64): Assume EIO is defined.
31623 * libio/oldiofsetpos.c: Assume weak_alias is defined.
31624 (_IO_old_fsetpos): Assume EIO is defined.
31625 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
31626 (_IO_old_fsetpos64): Assume EIO is defined.
31627 * libio/oldiopopen.c: Assume _LIBC is defined.
31628 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31629 (_IO_close): Remove macro definitions.
31630 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
31631 directly.
31632 (_IO_old_proc_close): Call __close, __waitpid directly.
31633 * libio/put.c: Assume weak_alias is defined.
31634 * libio/stdfiles.c: Assume _LIBC is defined.
31635 * libio/stdio.c: Likewise.
31636 * libio/wfileops.c: Likewise.
31637 (_IO_wfile_sync): Assume ESPIPE is defined.
31638 * libio/wgenops.c: Assume _LIBC is defined.
31639 (save_for_wbackup): Remove internal_function.
31640
31641 2017-08-31 Florian Weimer <fweimer@redhat.com>
31642
31643 * malloc/malloc.c (top_check): Change return type to void. Remove
31644 internal_function.
31645 * malloc/hooks.c (top_check): Likewise.
31646 (malloc_check, realloc_check, memalign_check): Adjust.
31647
31648 2017-08-30 Joseph Myers <joseph@codesourcery.com>
31649
31650 [BZ #21457]
31651 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31652 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
31653 sigcontext and namespace requirements.
31654 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31655 * sysdeps/m68k/sys/ucontext.h: Likewise.
31656 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
31657 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
31658 <bits/sigcontext.h>.
31659 (__ctx): Define earlier.
31660 (mcontext_t): Define structure contents rather than using struct
31661 sigcontext.
31662 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
31663 __glibc_reserved1 instead of __reserved.
31664 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
31665 <bits/sigcontext.h>.
31666 (__ctx): Define earlier.
31667 (mcontext_t): Define structure contents rather than using struct
31668 sigcontext.
31669 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
31670 mcontext_t instead of struct sigcontext.
31671 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
31672 <bits/sigcontext.h>.
31673 (__ctx): Define earlier.
31674 (mcontext_t): Define structure contents rather than using struct
31675 sigcontext.
31676 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
31677 <bits/sigcontext.h>.
31678 (__ctx): Define earlier.
31679 (mcontext_t): Define structure contents rather than using struct
31680 sigcontext.
31681 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
31682 mcontext_t instead of struct sigcontext.
31683 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
31684 mcontext_t instead of struct sigcontext.
31685 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
31686 <bits/sigcontext.h>.
31687 (__ctx): New macro.
31688 (struct __ia64_fpreg_mcontext): New type.
31689 (mcontext_t): Define structure contents rather than using struct
31690 sigcontext.
31691 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
31692 (uc_sigmask): Define using __ctx.
31693 (uc_stack): Likewise.
31694 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
31695 <bits/sigcontext.h>.
31696 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31697 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
31698 <bits/sigcontext.h>.
31699 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
31700 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
31701 <bits/sigcontext.h>.
31702 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
31703 <bits/sigcontext.h>.
31704 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
31705 <bits/sigcontext.h>.
31706 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
31707 <bits/sigcontext.h>.
31708 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
31709 <bits/sigcontext.h>.
31710 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
31711 <bits/sigcontext.h>.
31712 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
31713 <bits/sigcontext.h>.
31714 (__ctx): Define earlier.
31715 (mcontext_t): Define structure contents rather than using struct
31716 sigcontext.
31717 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
31718 <bits/sigcontext.h>. Include <bits/types.h>.
31719 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
31720 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
31721 (test-xfail-XPG42/ucontext.h/conform): Likewise.
31722 (test-xfail-UNIX98/signal.h/conform): Likewise.
31723 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31724 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31725 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31726 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31727 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31728 (test-xfail-POSIX2008/signal.h/conform): Likewise.
31729 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31730 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31731 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31732
31733 2017-08-30 Florian Weimer <fweimer@redhat.com>
31734
31735 * malloc/dynarray_emplace_enlarge.c
31736 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
31737 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
31738 * malloc/tst-dynarray.c (test_long_overflow): New function.
31739 (do_test): Call it.
31740
31741 2017-08-30 Florian Weimer <fweimer@redhat.com>
31742
31743 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
31744 (set_arena_corrupt): Remove definitions.
31745 (mtrim): Do not check for corrupt arena.
31746 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
31747 Likewise.
31748
31749 2017-08-30 Florian Weimer <fweimer@redhat.com>
31750
31751 [BZ #21754]
31752 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
31753 check_action.
31754 (ptmalloc_init): Do not set or use check_action.
31755 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
31756 call to malloc_printerr. Remove return statement.
31757 (free_check): Likewise. Remove arena unlock.
31758 (top_check): Update comment. Adjust call to malloc_printerr.
31759 Remove heap repair code.
31760 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
31761 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
31762 (sysmalloc): Adjust call to malloc_printerr.
31763 (munmap_chunk, __libc_realloc): Likewise. Remove return
31764 statement.
31765 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
31766 Remove errout label and corresponding gotos.
31767 (_int_free): Likewise. Remove arena unlock.
31768 (do_set_mallopt_check): Do not set check_action.
31769 (malloc_printerr): Adjust parameter list. Do not mark arena as
31770 corrupt.
31771 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
31772 comment.
31773 * manual/probes.texi (Memory Allocation Probes): Remove
31774 memory_mallopt_check_action.
31775
31776 2017-08-30 Steve Ellcey <sellcey@cavium.com>
31777
31778 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
31779 Use pointer to uint64_t instead of long int for sp.
31780
31781 2017-08-30 Florian Weimer <fweimer@redhat.com>
31782
31783 [BZ #21754]
31784 * malloc/malloc.c (malloc_printerr): Always terminate the process,
31785 without printing a backtrace. Do not leak any information in the
31786 error message.
31787 * manual/memory.texi (Heap Consistency Checking): Update.
31788 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
31789
31790 2017-08-30 Florian Weimer <fweimer@redhat.com>
31791
31792 Do not scale NPTL tests with available number of CPUs.
31793 * nptl/tst-cond16.c (count): Set to constant value of 8.
31794 * nptl/tst-cond18.c (count): Likewise.
31795
31796 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31797
31798 [BZ #22035]
31799 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
31800 Define to take a second argument that is a macro that
31801 concatentates a suffix, not the suffix itself.
31802 (__CONCAT_d): New macro.
31803 (__CONCAT_f): Likewise.
31804 (__CONCAT_l): Likewise.
31805
31806 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
31807
31808 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
31809 by child.
31810
31811 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31812 Aurelien Jarno <aurelien@aurel32.net>
31813 Maciej W. Rozycki <macro@imgtec.com>
31814
31815 [BZ #21956]
31816 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
31817 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
31818 `mips16-syscall6' and `mips16-syscall7'.
31819 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
31820 (CFLAGS-mips16-syscall7.c): Remove.
31821 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
31822 Remove `__mips16_syscall5', `__mips16_syscall6' and
31823 `__mips16_syscall7'.
31824 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
31825 (__mips16_syscall0): Rename `__mips16_syscall_return' to
31826 `__mips_syscall_return'.
31827 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
31828 (__mips16_syscall1): Likewise.
31829 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
31830 (__mips16_syscall2): Likewise.
31831 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
31832 (__mips16_syscall3): Likewise.
31833 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
31834 (__mips16_syscall4): Likewise.
31835 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
31836 Remove.
31837 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
31838 Remove.
31839 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
31840 Remove.
31841 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
31842 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
31843 `__mips16_syscall5'. Remove prototype.
31844 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
31845 `__mips16_syscall6'. Remove prototype.
31846 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
31847 `__mips16_syscall7'. Remove prototype.
31848 (__nomips16, __mips16_syscall_return): Move to...
31849 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
31850 (__nomips16, __mips_syscall_return): ... here.
31851 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
31852 `__mips16_syscall_return' to `__mips_syscall_return'.
31853 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
31854 `internal_syscall##nr'.
31855 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
31856 `internal_syscall##nr'.
31857 (FORCE_FRAME_POINTER): Remove.
31858 (__mips_syscall5): New prototype.
31859 (internal_syscall5): Rewrite to call `__mips_syscall5'.
31860 (__mips_syscall6): New prototype.
31861 (internal_syscall6): Rewrite to call `__mips_syscall6'.
31862 (__mips_syscall7): New prototype.
31863 (internal_syscall7): Rewrite to call `__mips_syscall7'.
31864 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
31865 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
31866 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
31867 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
31868 (sysdep_routines): Add libc-do-syscall.
31869 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
31870 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
31871
31872 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31873
31874 [BZ #21672]
31875 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
31876 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
31877 (advise_stack_range): New function.
31878 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
31879 stack non required to advise_stack_range at allocatestack.c
31880
31881 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31882
31883 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
31884
31885 2017-08-29 Florian Weimer <fweimer@redhat.com>
31886
31887 [BZ #22026]
31888 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
31889 __end_fct. Mangle __end_fct after setting it to NULL.
31890 * iconv/Makefile (tests): Add tst-gconv-init-failure.
31891 (modules-names, modules-names-tests): Add
31892 tst-gconv-init-failure-mod.
31893 (gconv-modules): New target.
31894 (tst-gconv-init-failure-mod.so): Link against libsupport.
31895 (tst-gconv-init-failure): Depend on gconv-modules,
31896 tst-gconv-init-failure-mod.so.
31897 * iconv/tst-gconv-init-failure-mod.c: New file.
31898 * iconv/tst-gconv-init-failure.c: Likewise.
31899 * iconv/test-gconv-modules: Likewise.
31900
31901 2017-08-29 Florian Weimer <fweimer@redhat.com>
31902
31903 [BZ #22025]
31904 * iconv/gconv_db.c (free_derivation): Remove redundant
31905 parentheses.
31906 (gen_steps): Unconditionally mangle __btowc_fct after
31907 initialization.
31908 (increment_counter): Likewise. Do not call init_fct for internal
31909 modules.
31910
31911 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31912
31913 [BZ #22028]
31914 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31915 (_MSUF_): Remove macro.
31916 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
31917 Likewise.
31918 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31919 (__REDIRFROM_X): New macro.
31920 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
31921 Likewise.
31922 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
31923 (__REDIRTO_X): Likewise.
31924 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
31925 arguments.
31926 (__MATH_REDIRCALL_2): Likewise.
31927 (__MATH_REDIRCALL_INTERNAL): Likewise.
31928 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31929 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
31930 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
31931 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31932 * math/test-finite-macros.c: New file.
31933 * math/Makefile (tests): Add test-finite-macros.
31934 (CFLAGS-test-finite-macros.c): New variable.
31935
31936 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
31937 Jeff Law <law@redhat.com>
31938
31939 [BZ #22025]
31940 Mangle NULL pointers in iconv/gconv.
31941 * iconv/gconv_cache.c (find_module): Demangle init_fct before
31942 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
31943 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
31944 is non-NULL before demangling the end_fct. Check for NULL
31945 end_fct after demangling.
31946 (__gconv_release_step): Demangle the end_fct before checking
31947 it for NULL. Remove assert on __shlibc_handle != NULL.
31948 (gen_steps): Don't check btowc_fct for NULL before mangling.
31949 Demangle init_fct before checking for NULL.
31950 (increment_counter): Likewise.
31951 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
31952 end_fct for NULL before mangling.
31953 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
31954 for NULL.
31955
31956 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
31957
31958 [BZ #21971]
31959 * locale/iso-639.def: add Morisyen.
31960
31961 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31962
31963 [BZ #21930]
31964 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
31965 (iszero): New C++ implementation that does not use
31966 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
31967 signaling nans are enabled, since __builtin_types_compatible_p
31968 is a C-only feature.
31969 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
31970 defined, include ieee754_float128.h for access to the union and
31971 member ieee854_float128.ieee.
31972 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
31973 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
31974 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31975 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
31976 options of test-math-zero on powerpc64le.
31977
31978 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
31979
31980 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
31981 Change double to float.
31982
31983 2017-08-28 Joseph Myers <joseph@codesourcery.com>
31984
31985 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
31986 unconditional.
31987 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
31988 conditional code; define contents only for [LIBM_SVID_COMPAT].
31989
31990 2017-08-28 Florian Weimer <fweimer@redhat.com>
31991
31992 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
31993 (abi-lp64_be-options): Remove.
31994 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
31995 (abi-hard-options): Likewise.
31996 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
31997 (abi-o32_hard-options, abi-o32_soft_2008-options)
31998 (abi-o32_hard_2008-options, abi-n32_soft-options)
31999 (abi-n32_hard-options, abi-n32_soft_2008-options)
32000 (abi-n32_hard_2008-options, abi-n64_soft-options)
32001 (abi-n64_hard-options, abi-n64_soft_2008-options)
32002 (abi-n64_hard_2008-options): Likewise.
32003 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
32004 (abi-64-v1-options, abi-64-v2-options): Likewise.
32005 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
32006 (abi-64-options): Likewise.
32007 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
32008 (abi-64-options): Likewise.
32009 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
32010 (abi-64-options): Likewise.
32011 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
32012 (abi-64-options, abi-x32-options): Likewise.
32013
32014 2017-08-28 Florian Weimer <fweimer@redhat.com>
32015
32016 Store supported list of SYS_* system calls in the source tree.
32017 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
32018 (bits/syscall.h): Generate from list file.
32019 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
32020 [$(subdir) = misc] (tests): Add tst-syscall-list.
32021 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
32022 [$(subdir) = misc] (tst-syscall-list-macros.list)
32023 [$(subdir) = misc] (tst-syscall-list-nr.list)
32024 (tst-syscall-list-sys.list): Helper targets for new
32025 tst-syscall-list test.
32026 [$(subdir) = misc] (tst-syscall-list.out): Run test script
32027 tst-syscall-list.sh.
32028 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
32029 target. Do not include bits/syscall.d.
32030 [$(subdir) = misc] (generated): Do not update.
32031 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
32032 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
32033 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
32034 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
32035
32036 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
32037
32038 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
32039 (tst-cxa_atexit, tst-on_exit): Likewise.
32040 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
32041 tst-cxa_atexit, and tst-on_exit.
32042 * stdlib/tst-atexit-common.c: New file.
32043 * stdlib/tst-atexit.c: New file.
32044 * stdlib/tst-at_quick_exit.c: New file.
32045 * stdlib/tst-cxa_atexit.c: New file.
32046 * stdlib/tst-on_exit.c: New file.
32047
32048 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32049
32050 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
32051 * mach/stack_chk_fail_local.c: New file.
32052 * hurd/stack_chk_fail_local.c: New file.
32053 * mach/Machrules ($(interface-library)-routines): Add
32054 stack_chk_fail_local.
32055 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
32056 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
32057 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
32058 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
32059 * hurd/Makefile (CFLAGS-hurdstartup.o,
32060 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
32061
32062 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
32063
32064 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32065 (index_cpu_*, index_arch_*): Removed.
32066
32067 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32068
32069 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
32070 Use uint64_t instead of unsigned long.
32071
32072 2017-08-25 Joseph Myers <joseph@codesourcery.com>
32073
32074 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
32075 [__HAVE_DISTINCT_FLOAT128].
32076
32077 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
32078 of <bits/math-finite.h>.
32079 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
32080 inclusion of <bits/math-finite.h>.
32081 * math/bits/math-finite.h (__REDIRTO_X): Do not define
32082 conditionally on [__MATH_DECLARING_LDOUBLE && defined
32083 __NO_LONG_DOUBLE_MATH].
32084 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
32085 (__MATH_REDIRCALL_2): Likewise.
32086 (__MATH_REDIRCALL_INTERNAL): Likewise.
32087 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32088 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
32089 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32090
32091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
32092 Remove file.
32093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
32094 Likewise.
32095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
32096 Likewise.
32097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
32098 Likewise.
32099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
32100 Likewise.
32101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
32102 Likewise.
32103 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32104 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32105 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32106 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
32108 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
32109 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
32110 w_sqrtf_compat-ppc32.
32111
32112 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32113
32114 * math/math.h [defined __cplusplus] (issignaling): In the long
32115 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
32116 is not defined. Call __issignaling, otherwise.
32117
32118 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32119
32120 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
32121 syscall definitions and replace __builtin_expect with __glibc_likely.
32122 * sysdeps/unix/syscall-template.S: Update comment about cancellable
32123 syscall.
32124 (SYSCALL_CANCELLABLE): Removedefinition
32125 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
32126 definition.
32127 (PSEUDO_END): Likewise.
32128 [IS_IN (libpthread)] (CENABLE): Likewise.
32129 [IS_IN (libpthread)] (CDISABLE): Likewise.
32130 [IS_IN (libc)] (CENABLE): Likewise.
32131 [IS_IN (libc)] (CENABLE): Likewise.
32132 [IS_IN (librt)] (CDISABLE): Likewise.
32133 [IS_IN (librt)] (CDISABLE): Likewise.
32134 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32135 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
32136 definition.
32137 (PSEUDO_END): Likewise.
32138 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
32139 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
32140 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32141 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32142 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32143 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32144 (CENABLE): Likewise.
32145 (CDISABLE): Likewise.
32146 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32147 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
32148 defintion.
32149 (PSEUDO_END): Likewise.
32150 [IS_IN (libpthread)] (CENABLE): Likewise.
32151 [IS_IN (libpthread)] (CDISABLE): Likewise.
32152 [IS_IN (libc)] (CENABLE): Likewise.
32153 [IS_IN (libc)] (CENABLE): Likewise.
32154 [IS_IN (librt)] (CDISABLE): Likewise.
32155 [IS_IN (librt)] (CDISABLE): Likewise.
32156 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32157 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
32158 definition.
32159 (PSEUDO_END): Likewise.
32160 [IS_IN (libpthread)] (CENABLE): Likewise.
32161 [IS_IN (libpthread)] (CDISABLE): Likewise.
32162 [IS_IN (libc)] (CENABLE): Likewise.
32163 [IS_IN (libc)] (CENABLE): Likewise.
32164 [IS_IN (librt)] (CDISABLE): Likewise.
32165 [IS_IN (librt)] (CDISABLE): Likewise.
32166 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32167 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
32168 definition.
32169 (PSEUDO_END): Likewise.
32170 [IS_IN (libpthread)] (CENABLE): Likewise.
32171 [IS_IN (libpthread)] (CDISABLE): Likewise.
32172 [IS_IN (libc)] (CENABLE): Likewise.
32173 [IS_IN (libc)] (CENABLE): Likewise.
32174 [IS_IN (librt)] (CDISABLE): Likewise.
32175 [IS_IN (librt)] (CDISABLE): Likewise.
32176 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32177 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
32178 definition.
32179 (PSEUDO_END): Likewise.
32180 [IS_IN (libpthread)] (CENABLE): Likewise.
32181 [IS_IN (libpthread)] (CDISABLE): Likewise.
32182 [IS_IN (libc)] (CENABLE): Likewise.
32183 [IS_IN (libc)] (CENABLE): Likewise.
32184 [IS_IN (librt)] (CDISABLE): Likewise.
32185 [IS_IN (librt)] (CDISABLE): Likewise.
32186 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32187 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
32188 definition.
32189 (PSEUDO_END): Likewise.
32190 [IS_IN (libpthread)] (CENABLE): Likewise.
32191 [IS_IN (libpthread)] (CDISABLE): Likewise.
32192 [IS_IN (libc)] (CENABLE): Likewise.
32193 [IS_IN (libc)] (CENABLE): Likewise.
32194 [IS_IN (librt)] (CDISABLE): Likewise.
32195 [IS_IN (librt)] (CDISABLE): Likewise.
32196 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32197 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
32198 definition.
32199 (PSEUDO_END): Likewise.
32200 [IS_IN (libpthread)] (CENABLE): Likewise.
32201 [IS_IN (libpthread)] (CDISABLE): Likewise.
32202 [IS_IN (libc)] (CENABLE): Likewise.
32203 [IS_IN (libc)] (CENABLE): Likewise.
32204 [IS_IN (librt)] (CDISABLE): Likewise.
32205 [IS_IN (librt)] (CDISABLE): Likewise.
32206 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32207 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
32208 Remove definition.
32209 (PSEUDO_END): Likewise.
32210 [IS_IN (libpthread)] (CENABLE): Likewise.
32211 [IS_IN (libpthread)] (CDISABLE): Likewise.
32212 [IS_IN (libc)] (CENABLE): Likewise.
32213 [IS_IN (libc)] (CENABLE): Likewise.
32214 [IS_IN (librt)] (CDISABLE): Likewise.
32215 [IS_IN (librt)] (CDISABLE): Likewise.
32216 (SINGLE_THREAD_P): Likewise.
32217 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
32218 definition.
32219 (PSEUDO_END): Likewise.
32220 [IS_IN (libpthread)] (CENABLE): Likewise.
32221 [IS_IN (libpthread)] (CDISABLE): Likewise.
32222 [IS_IN (libc)] (CENABLE): Likewise.
32223 [IS_IN (libc)] (CENABLE): Likewise.
32224 [IS_IN (librt)] (CDISABLE): Likewise.
32225 [IS_IN (librt)] (CDISABLE): Likewise.
32226 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32227 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
32228 definition.
32229 (PSEUDO_END): Likewise.
32230 [IS_IN (libpthread)] (CENABLE): Likewise.
32231 [IS_IN (libpthread)] (CDISABLE): Likewise.
32232 [IS_IN (libc)] (CENABLE): Likewise.
32233 [IS_IN (libc)] (CENABLE): Likewise.
32234 [IS_IN (librt)] (CDISABLE): Likewise.
32235 [IS_IN (librt)] (CDISABLE): Likewise.
32236 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32237 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
32238 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32239 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
32240 * sysdeps/unix/sysv/linux/s390/s390-32/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/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
32251 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 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32260 * sysdeps/unix/sysv/linux/sh/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/sparc/sparc32/sysdep-cancel.h: Remove file.
32271 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32272 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
32273 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
32274 definition.
32275 (PSEUDO_END): Likewise.
32276 [IS_IN (libpthread)] (CENABLE): Likewise.
32277 [IS_IN (libpthread)] (CDISABLE): Likewise.
32278 [IS_IN (libc)] (CENABLE): Likewise.
32279 [IS_IN (libc)] (CENABLE): Likewise.
32280 [IS_IN (librt)] (CDISABLE): Likewise.
32281 [IS_IN (librt)] (CDISABLE): Likewise.
32282 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32283 * sysdeps/unix/sysv/linux/x86_64/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
32294 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
32295
32296 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
32297
32298 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32299
32300 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32301
32302 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32303
32304 [BZ #21982]
32305 * string/stratcliff.c (do_test): Declare size, nchars, inner,
32306 middle and outer with size_t instead of int. Repleace %d and
32307 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
32308 "MAX (outer, nchars - 64)" to support unsigned outer and
32309 nchars. Also exit loop when outer == 0.
32310
32311 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32312
32313 * include/fcntl.h (__fcntl_nocancel): Remove definition.
32314 * include/signal.h (__sigsuspend_nocancel): Likewise.
32315 * include/time.h (__nanosleep_nocancel): Likewise.
32316 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
32317 * login/utmp_file.c: Include non cancellable syscall header.
32318 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
32319 prototype.
32320
32321 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32322
32323 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
32324 .byte sequences with AVX512F instructions.
32325 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
32326 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
32327 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32328 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
32329 Likewise.
32330 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
32331 Likewise.
32332
32333 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
32334 Steve Ellcey <sellcey@cavium.com>
32335
32336 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
32337 Use PTR_REG macro in cmp instruction.
32338
32339 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32340
32341 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
32342 Change the return type of the ifunc resolver to match the return
32343 type of the target function.
32344
32345 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32346
32347 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
32348 (preadv64): Likewise.
32349 (pwrite64(: Likewise.
32350 (pwritev64): Likewise.
32351
32352 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
32353 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
32354 (LOAD_ARGS_0): Likewise.
32355 (LOAD_ARGS_1): Likewise.
32356 (LOAD_ARGS_2): Likewise.
32357 (LOAD_ARGS_3): Likewise.
32358 (LOAD_ARGS_4): Likewise.
32359 (LOAD_ARGS_5): Likewise.
32360 (LOAD_ARGS_6): Likewise.
32361 (LOAD_REGS_0): Likewise.
32362 (LOAD_REGS_1): Likewise.
32363 (LOAD_REGS_2): Likewise.
32364 (LOAD_REGS_3): Likewise.
32365 (LOAD_REGS_4): Likewise.
32366 (LOAD_REGS_5): Likewise.
32367 (LOAD_REGS_6): Likewise.
32368 (ASM_ARGS_0): Likewise.
32369 (ASM_ARGS_1): Likewise.
32370 (ASM_ARGS_2): Likewise.
32371 (ASM_ARGS_3): Likewise.
32372 (ASM_ARGS_4): Likewise.
32373 (ASM_ARGS_5): Likewise.
32374 (ASM_ARGS_6): Likewise.
32375 (LOAD_ARGS_TYPES_1): Likewise.
32376 (LOAD_ARGS_TYPES_2): Likewise.
32377 (LOAD_ARGS_TYPES_3): Likewise.
32378 (LOAD_ARGS_TYPES_4): Likewise.
32379 (LOAD_ARGS_TYPES_5): Likewise.
32380 (LOAD_ARGS_TYPES_6): Likewise.
32381 (LOAD_REGS_TYPES_1): Likewise.
32382 (LOAD_REGS_TYPES_2): Likewise.
32383 (LOAD_REGS_TYPES_3): Likewise.
32384 (LOAD_REGS_TYPES_4): Likewise.
32385 (LOAD_REGS_TYPES_5): Likewise.
32386 (LOAD_REGS_TYPES_6): Likewise.
32387 (TYPEFY): New define.
32388 (ARGIFY): Likewise.
32389 (internal_syscall0): Likewise.
32390 (internal_syscall1): Likewise.
32391 (internal_syscall2): Likewise.
32392 (internal_syscall3): Likewise.
32393 (internal_syscall4): Likewise.
32394 (internal_syscall5): Likewise.
32395 (internal_syscall6): Likewise.
32396 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
32397 (INTERNAL_SYSCALL_NCS): Remove define.
32398 (internal_syscall1): Add define.
32399
32400 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32401
32402 * math/w_remainder_compat.c: Remove duplicate inclusion of
32403 math-svid-compat.h.
32404 * math/w_remainderf_compat.c: Likewise.
32405 * math/w_remainderl_compat.c: Likewise.
32406
32407 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32408
32409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32410
32411 2017-08-22 Joseph Myers <joseph@codesourcery.com>
32412
32413 [BZ #21684]
32414 * math/tgmath.h (__floating_type): Simplify definitions.
32415 (__real_integer_type): New macro.
32416 (__complex_integer_type): Likewise.
32417 (__expr_is_real): Likewise.
32418 (__tgmath_real_type_sub): Update comment to describe handling of
32419 complex types.
32420 (__tgmath_complex_type_sub): New macro.
32421 (__tgmath_complex_type): Likewise.
32422 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32423 (__TGMATH_CF128): Use __expr_is_real.
32424 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
32425 __expr_is_real.
32426 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32427 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
32428 * math/gen-tgmath-tests.py (Type.create_type): Create complex
32429 integer types.
32430
32431 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32432
32433 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
32434 macro.
32435 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
32436 alias.
32437 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
32438 Likewise.
32439
32440 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
32441 nanosleep_not_cancel with __nanosleep_nocancel.
32442 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
32443 (__nanosleep_nocancel): New macro.
32444 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
32445 function.
32446 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
32447 macro.
32448 (__nanosleep_nocancel): New prototype.
32449
32450 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
32451 pause_not_cancel with __pause_nocancel.
32452 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
32453 (__pause_nocancel): New macro.
32454 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
32455 macro.
32456 (__pause_nocancel): New prototype.
32457 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
32458
32459 2017-08-22 Martin Sebor <msebor@redhat.com>
32460
32461 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
32462 to return a pointer to the same type as the target function.
32463
32464 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32465
32466 [BZ #18822]
32467 [BZ #21986]
32468 * include/printf.h (__printf_fphex): Add attribute_hidden.
32469 (__guess_grouping): New prototype.
32470 * stdio-common/printf_fp.c (__guess_grouping): Removed.
32471 * stdio-common/reg-printf.c (__register_printf_specifier): Add
32472 libc_hidden_proto and libc_hidden_def.
32473 * stdlib/strfmon_l.c (__guess_grouping): Removed.
32474 (__vstrfmon_l): Remove the third argument passed to
32475 __guess_grouping.
32476
32477 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32478
32479 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
32480 definition for issignaling that does not rely on __MATH_TG,
32481 since __MATH_TG uses __builtin_types_compatible_p, which is only
32482 available in C mode.
32483 (CFLAGS-test-math-issignaling.cc): New variable.
32484 * math/Makefile [CXX] (tests): Add test-math-issignaling.
32485 * math/test-math-issignaling.cc: New test for C++ implementation
32486 of type-generic issignaling.
32487 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32488 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
32489 options of test-math-issignaling on powerpc64le.
32490
32491 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32492
32493 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32494 building libc.a.
32495 (hidden_proto): Likewise.
32496 (hidden_tls_proto): Likewise.
32497 (__hidden_proto): Likewise.
32498
32499 2017-08-22 Florian Weimer <fweimer@redhat.com>
32500
32501 math: Statically link tests of internal functionality.
32502 * math/Makefile (tests): Remove atest-exp, atest-sincos,
32503 atest-exp2.
32504 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
32505 (gmp-objs): Remove assignment.
32506 (atest-exp, atest-sincos, atest-exp2): Remove targets.
32507
32508 2017-08-22 Joseph Myers <joseph@codesourcery.com>
32509
32510 [BZ #21987]
32511 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
32512 and copy to ...
32513 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
32514 ... here.
32515 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
32516 ... and here.
32517
32518 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
32519 variable definitions above inclusion of ../Rules.
32520
32521 2017-08-21 Joseph Myers <joseph@codesourcery.com>
32522
32523 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
32524 case calling __builtin_unreachable.
32525
32526 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32527
32528 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
32529 __waitpid_nocancel.
32530 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
32531 (__waitpid_nocancel): New macro.
32532 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
32533 macro.
32534 (__waitpid_nocancel): Replace macro with a function.
32535 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
32536 function.
32537
32538 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
32539 __fcntl_nocancel.
32540 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
32541 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
32542
32543 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
32544 __writev_nocancel_nostatus.
32545 (write_call_graph): Likewise.
32546 (write_bb_counts): Likewise.
32547 * resolv/herror.c (herror): Likewise.
32548 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
32549 macro.
32550 (__writev_nocancel_nostatus): New macro.
32551 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
32552 Remove macro.
32553 (__writev_nocancel_nostatus): New function.
32554
32555 2017-08-21 Joseph Myers <joseph@codesourcery.com>
32556
32557 Revert:
32558 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32559
32560 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32561 building libc.a.
32562 (hidden_proto): Likewise.
32563 (hidden_tls_proto): Likewise.
32564 (__hidden_proto): Likewise.
32565
32566 [BZ #21973]
32567 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
32568 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32570 Likewise.
32571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
32572 Likewise.
32573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32574 Likewise.
32575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
32576 Likewise.
32577 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
32578 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32579 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32580 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32581 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
32582 GLIBC_2.0 sqrtl symbol.
32583
32584 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
32585 [__USE_MISC] (_LIB_VERSION): Likewise.
32586 [__USE_MISC] (struct exception): Likewise.
32587 [__USE_MISC] (matherr): Likewise.
32588 [__USE_MISC] (DOMAIN): Likewise.
32589 [__USE_MISC] (SING): Likewise.
32590 [__USE_MISC] (OVERFLOW): Likewise.
32591 [__USE_MISC] (UNDERFLOW): Likewise.
32592 [__USE_MISC] (TLOSS): Likewise.
32593 [__USE_MISC] (PLOSS): Likewise.
32594 [__USE_MISC] (HUGE): Likewise.
32595 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
32596 * math/math-svid-compat.h: New file.
32597 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
32598 and matherrl.
32599 * include/math.h [!_ISOMAC] (__matherr): Remove.
32600 * manual/arith.texi (FP Exceptions): Do not document matherr.
32601 * math/Makefile (tests): Change test-matherr to test-matherr-3.
32602 (tests-internal): New variable.
32603 (install-lib): Do not add libieee.a.
32604 (non-lib.a): Likewise.
32605 (extra-objs): Do not add libieee.a and ieee-math.o.
32606 (CPPFLAGS-s_lib_version.c): Remove variable.
32607 ($(objpfx)libieee.a): Remove rule.
32608 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
32609 * math/ieee-math.c: Remove.
32610 * math/libm-test-support.c (matherr): Remove.
32611 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
32612 and license notices. Include <math-svid-compat.h> and
32613 <shlib-compat.h>.
32614 (matherr): Undefine as macro. Use compat_symbol_reference.
32615 (_LIB_VERSION): Likewise.
32616 * math/test-matherr-2.c: New file.
32617 * math/test-matherr-3.c: Likewise.
32618 * sysdeps/generic/math_private.h (__kernel_standard): Remove
32619 declaration.
32620 (__kernel_standard_f): Likewise.
32621 (__kernel_standard_l): Likewise.
32622 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
32623 <math_private.h>. Include <math-svid-compat.h>.
32624 (_LIB_VERSION): Undefine as macro.
32625 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
32626 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
32627 [LIBM_SVID_COMPAT], use compat_symbol.
32628 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
32629 <math_private.h>. Include <math-svid-compat.h>.
32630 (matherr): Undefine as macro.
32631 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
32632 compat_symbol.
32633 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
32634 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
32635 compat_symbol_reference.
32636 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
32637 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
32638 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
32639 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
32640 (MATHERR_D): Remove declaration.
32641 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
32642 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
32643 [LIBM_BUILD] (pmatherrf): Likewise.
32644 [LIBM_BUILD] (pmatherr): Likewise.
32645 [LIBM_BUILD] (pmatherrl): Likewise.
32646 (DOMAIN): Likewise.
32647 (SING): Likewise.
32648 (OVERFLOW): Likewise.
32649 (UNDERFLOW): Likewise.
32650 (TLOSS): Likewise.
32651 (PLOSS): Likewise.
32652 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
32653 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
32654 compat_symbol.
32655 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
32656 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
32657 compat_symbol.
32658 * math/lgamma-compat.h: Include <math-svid-compat.h>.
32659 * math/w_acos_compat.c: Likewise.
32660 * math/w_acosf_compat.c: Likewise.
32661 * math/w_acosh_compat.c: Likewise.
32662 * math/w_acoshf_compat.c: Likewise.
32663 * math/w_acoshl_compat.c: Likewise.
32664 * math/w_acosl_compat.c: Likewise.
32665 * math/w_asin_compat.c: Likewise.
32666 * math/w_asinf_compat.c: Likewise.
32667 * math/w_asinl_compat.c: Likewise.
32668 * math/w_atan2_compat.c: Likewise.
32669 * math/w_atan2f_compat.c: Likewise.
32670 * math/w_atan2l_compat.c: Likewise.
32671 * math/w_atanh_compat.c: Likewise.
32672 * math/w_atanhf_compat.c: Likewise.
32673 * math/w_atanhl_compat.c: Likewise.
32674 * math/w_cosh_compat.c: Likewise.
32675 * math/w_coshf_compat.c: Likewise.
32676 * math/w_coshl_compat.c: Likewise.
32677 * math/w_exp10_compat.c: Likewise.
32678 * math/w_exp10f_compat.c: Likewise.
32679 * math/w_exp10l_compat.c: Likewise.
32680 * math/w_exp2_compat.c: Likewise.
32681 * math/w_exp2f_compat.c: Likewise.
32682 * math/w_exp2l_compat.c: Likewise.
32683 * math/w_fmod_compat.c: Likewise.
32684 * math/w_fmodf_compat.c: Likewise.
32685 * math/w_fmodl_compat.c: Likewise.
32686 * math/w_hypot_compat.c: Likewise.
32687 * math/w_hypotf_compat.c: Likewise.
32688 * math/w_hypotl_compat.c: Likewise.
32689 * math/w_j0_compat.c: Likewise.
32690 * math/w_j0f_compat.c: Likewise.
32691 * math/w_j0l_compat.c: Likewise.
32692 * math/w_j1_compat.c: Likewise.
32693 * math/w_j1f_compat.c: Likewise.
32694 * math/w_j1l_compat.c: Likewise.
32695 * math/w_jn_compat.c: Likewise.
32696 * math/w_jnf_compat.c: Likewise.
32697 * math/w_jnl_compat.c: Likewise.
32698 * math/w_lgamma_main.c: Likewise.
32699 * math/w_lgamma_r_compat.c: Likewise.
32700 * math/w_lgammaf_main.c: Likewise.
32701 * math/w_lgammaf_r_compat.c: Likewise.
32702 * math/w_lgammal_main.c: Likewise.
32703 * math/w_lgammal_r_compat.c: Likewise.
32704 * math/w_log10_compat.c: Likewise.
32705 * math/w_log10f_compat.c: Likewise.
32706 * math/w_log10l_compat.c: Likewise.
32707 * math/w_log2_compat.c: Likewise.
32708 * math/w_log2f_compat.c: Likewise.
32709 * math/w_log2l_compat.c: Likewise.
32710 * math/w_log_compat.c: Likewise.
32711 * math/w_logf_compat.c: Likewise.
32712 * math/w_logl_compat.c: Likewise.
32713 * math/w_pow_compat.c: Likewise.
32714 * math/w_powf_compat.c: Likewise.
32715 * math/w_powl_compat.c: Likewise.
32716 * math/w_remainder_compat.c: Likewise.
32717 * math/w_remainderf_compat.c: Likewise.
32718 * math/w_remainderl_compat.c: Likewise.
32719 * math/w_scalb_compat.c: Likewise.
32720 * math/w_scalbf_compat.c: Likewise.
32721 * math/w_scalbl_compat.c: Likewise.
32722 * math/w_sinh_compat.c: Likewise.
32723 * math/w_sinhf_compat.c: Likewise.
32724 * math/w_sinhl_compat.c: Likewise.
32725 * math/w_sqrt_compat.c: Likewise.
32726 * math/w_sqrtf_compat.c: Likewise.
32727 * math/w_sqrtl_compat.c: Likewise.
32728 * math/w_tgamma_compat.c: Likewise.
32729 * math/w_tgammaf_compat.c: Likewise.
32730 * math/w_tgammal_compat.c: Likewise.
32731 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
32732 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32733 * sysdeps/ieee754/k_standard.c: Likewise.
32734 * sysdeps/ieee754/k_standardf.c: Likewise.
32735 * sysdeps/ieee754/k_standardl.c: Likewise.
32736 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32737 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32738 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32739 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32740 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32741 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32742 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32743 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
32744 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32746 Likewise.
32747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32748 Likewise.
32749 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
32750 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32751 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32752 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32753
32754 2017-08-21 Florian Weimer <fweimer@redhat.com>
32755
32756 [BZ #21864]
32757 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
32758 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
32759 Move before inclusion of ../Rules.
32760
32761 2017-08-21 Florian Weimer <fweimer@redhat.com>
32762
32763 [BZ #21972]
32764 * assert/assert.h (assert): Use static_cast (bool) for C++.
32765 Use the ternary operator in the warning branch for GNU C.
32766 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
32767 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
32768 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
32769 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
32770 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
32771
32772 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32773
32774 [BZ #18822]
32775 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32776 (__syscall_clock_gettime): Add attribute_hidden.
32777 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
32778 (__start_context): Likewise.
32779
32780 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32781
32782 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32783 building libc.a.
32784 (hidden_proto): Likewise.
32785 (hidden_tls_proto): Likewise.
32786 (__hidden_proto): Likewise.
32787
32788 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32789
32790 * include/libc-symbols.h (attribute_hidden): Enable hidden
32791 visibility in libc.a compiled with PIE.
32792
32793 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32794
32795 [BZ #18822]
32796 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
32797 Add attribute_hidden.
32798
32799 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32800
32801 [BZ #21864]
32802 * Makerules (all-nonlib): Add $(others-extras).
32803 * catgets/Makefile (others-extras): New.
32804 * elf/Makefile (others-extras): Likewise.
32805 * nss/Makefile (others-extras): Likewise.
32806
32807 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32808
32809 [BZ #18822]
32810 * csu/libc-start.c (__libc_multiple_libcs): Removed.
32811 * elf/dl-open.c: Include <libc-internal.h>.
32812 (__libc_multiple_libcs): Removed.
32813 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
32814 <hp-timing.h>.
32815 * include/libc-internal.h (__libc_multiple_libcs): New.
32816 * misc/sbrk.c: Include <libc-internal.h>.
32817 (__libc_multiple_libcs): Removed.
32818
32819 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32820
32821 [BZ #18822]
32822 * grp/initgroups.c (__nss_group_database): Removed.
32823 (__nss_initgroups_database): Likewise.
32824 * nscd/gai.c (__nss_hosts_database): Likewise.
32825 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
32826 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
32827 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
32828 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
32829 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
32830 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
32831 attribute_hidden.
32832 * nss/nsswitch.c (__nss_database_custom): Define only if
32833 USE_NSCD is defined.
32834 (__nss_configure_lookup): Use __nss_database_custom only if
32835 USE_NSCD is defined.
32836 * nss/nsswitch.h (__nss_database_custom): Declare only if
32837 USE_NSCD is defined. Add attribute_hidden.
32838 (__nss_setent): Add attribute_hidden.
32839 (__nss_endent): Likewise.
32840 (__nss_getent_r): Likewise.
32841 (__nss_getent): Likewise.
32842 (DEFINE_DATABASE): Declare __nss_##arg##_database.
32843
32844 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32845
32846 [BZ #18822]
32847 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
32848 libc_hidden_proto and libc_hidden_def.
32849
32850 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32851
32852 [BZ #18822]
32853 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
32854 Add libc_hidden_proto.
32855 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
32856 Add libc_hidden_def.
32857
32858 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32859
32860 [BZ #21974]
32861 * gmon/Makefile (routines): Remove bb_init_func and
32862 bb_exit_func.
32863 (elide-routines.os): Removed.
32864 * gmon/bb_exit_func.c: Likewise.
32865 * gmon/bb_init_func.c: Likewise.
32866 * include/sys/gmon.h (__bb): Likewise.
32867 (__bb_init_func): Likewise.
32868 (__bb_exit_func): Likewise.
32869 * sysdeps/alpha/bb_init_func.S: Likewise.
32870
32871 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32872
32873 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
32874 * include/setjmp.h (____longjmp_chk): Here. Add
32875 attribute_hidden.
32876
32877 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
32878
32879 [BZ #18822]
32880 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
32881 attribute_hidden.
32882 (__strspn_sse2): Likewise.
32883
32884 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32885
32886 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
32887 (close_not_cancel_no_status): Likewise.
32888 (__close_nocancel): New macro.
32889 (__close_nocancel_nostatus): Likewise.
32890 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
32891 macro.
32892 (close_not_cancel): Likewise.
32893 (close_not_cancel_no_status): Likewise.
32894 (__close_nocancel): New prototype.
32895 (__close_nocancel_nostatus): New function.
32896 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
32897 * catgets/open_catalog.c (__open_catalog): Replace
32898 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
32899 * gmon/gmon.c (write_gmon): Likewise.
32900 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32901 * intl/loadmsgcat.c (close): Likewise.
32902 * io/ftw.c (open_dir_stream): Likewise.
32903 (ftw_startup): Likewise.
32904 * libio/fileops.c (_IO_file_open): Likewise.
32905 (_IO_file_close_mmap): Likewise.
32906 (_IO_file_close): Likewise.
32907 * libio/iopopen.c (_IO_dup2): Likewise.
32908 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32909 * locale/loadlocale.c (_nl_load_locale): Likewise.
32910 * login/utmp_file.c (pututline_file): Likewise.
32911 (endutent_file): Likewise.
32912 * misc/daemon.c (daemon): Likewise.
32913 * nscd/nscd_getai.c (__nscd_getai): Likewise.
32914 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32915 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32916 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32917 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32918 * nscd/nscd_helper.c (open_socket): Likewise.
32919 (__nscd_open_socket): Likewise.
32920 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32921 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
32922 (__nscd_innetgr): Likewise.
32923 * nss/nss_db/db-open.c (internal_setent): Likewise.
32924 * resolv/res-close.c (__res_iclose): Likewise.
32925 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
32926 * sysdeps/posix/closedir.c (__closedir): Likewise.
32927 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
32928 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32929 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32930 (opendir_tail): Likewise.
32931 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32932 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
32933 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32934 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32935 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32936 (gethostid): Likewise.
32937 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32938 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32939 Likewise.
32940 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32941 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
32942 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32943 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32944 Likewise.
32945 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
32946 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
32947 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32948 Likewise.
32949 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
32950 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32951 Likewise.
32952 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32953 Likewise.
32954 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32955 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32956 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32957 __close_nocancel.
32958
32959 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
32960 (openat_not_cancel_3): Likewise.
32961 (openat64_not_cancel_3): Likewise).
32962 (openat_not_cancel_3): Likewise).
32963 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
32964 macro.
32965 (openat_not_cancel_3): Likewise.
32966 (openat64_not_cancel): Likewise.
32967 (openat64_not_cancel_3): Likewise.
32968 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
32969 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
32970 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
32971 __open{64}_nocancel.
32972 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32973 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32974 * sysdeps/posix/opendir.c (__opendirat): Likewise.
32975
32976 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32977
32978 [BZ #18822]
32979 * include/argz.h (__argz_create_sep): New function prototype.
32980 (__argz_append): Likewise.
32981 (__argz_add): Likewise.
32982 (__argz_add_sep): Likewise.
32983 (__argz_delete): Likewise.
32984 (__argz_insert): Likewise.
32985 (__argz_replace): Likewise.
32986 * string/argz.h (__argz_create_sep): Removed.
32987 (__argz_append): Likewise.
32988 (__argz_add): Likewise.
32989 (__argz_add_sep): Likewise.
32990 (__argz_delete): Likewise.
32991 (__argz_insert): Likewise.
32992 (__argz_replace): Likewise.
32993
32994 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32995
32996 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
32997 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
32998 (GNU_PROPERTY_STACK_SIZE): Likewie.
32999 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
33000 (GNU_PROPERTY_LOPROC): Likewise.
33001 (GNU_PROPERTY_HIPROC): Likewise.
33002 (GNU_PROPERTY_LOUSER): Likewise.
33003 (GNU_PROPERTY_HIUSER): Likewise.
33004 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
33005 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
33006 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
33007 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
33008 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
33009 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
33010 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
33011 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
33012 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
33013 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
33014 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
33015 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
33016 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
33017 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
33018 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
33019 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
33020 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
33021 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
33022 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
33023 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
33024 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
33025 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
33026 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
33027
33028 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33029
33030 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
33031 in C++ mode.
33032
33033 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33034
33035 [BZ #21930]
33036 * math/math.h (isinf): Check if in C or C++ mode before using
33037 __builtin_types_compatible_p, since this is a C mode feature.
33038
33039 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33040
33041 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
33042 (__write_nocancel): New macro.
33043 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
33044 Rewrite as a function prototype.
33045 (write_not_cancel): Remove macro.
33046 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
33047 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
33048 (write_gmon): Likewise.
33049 * libio/fileops.c (_IO_new_file_write): Likewise.
33050 * login/utmp_file.c (pututline_file): Likewise.
33051 (updwtmp_file): Likewise.
33052 * stdio-common/psiginfo.c (psiginfo): Likewise.
33053 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33054 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33055 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33056 Likewise.
33057 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33058 Likewise.
33059
33060 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
33061 (__read_nocancel): New macro.
33062 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33063 __read_nocancel.
33064 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
33065 macro.
33066 (__read_nocancel): New prototype.
33067 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
33068 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
33069 with __read_nocancel.
33070 * intl/loadmsgcat.c (read): Likewise.
33071 * libio/fileops.c (_IO_file_read): Likewise.
33072 * locale/loadlocale.c (_nl_load_locale): Likewise.
33073 * login/utmp_file.c (getutent_r_file): Likewise.
33074 (internal_getut_r): Likewise.
33075 (getutline_r_file): Likewise.
33076 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33077 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33078 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33079 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33080 Likewise.
33081 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
33082 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33083 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33084 Likewise.
33085 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33086 Likewise.
33087 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33088 Likewise.
33089 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33090 Likewise.
33091 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33092
33093 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33094
33095 [BZ #21966]
33096 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
33097 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
33098 usable.
33099
33100 2017-08-17 DJ Delorie <dj@redhat.com>
33101
33102 * bug17079.c: Update to new test harness.
33103 * test-digits-dots.c: Likewise.
33104 * test-netdb.c: Likewise.
33105 * tst-field.c: Likewise.
33106 * tst-nss-getpwent.c: Likewise.
33107 * tst-nss-static.c: Likewise.
33108 * tst-nss-test1.c: Likewise.
33109 * tst-nss-test2.c: Likewise.
33110 * tst-nss-test3.c: Likewise.
33111 * tst-nss-test4.c: Likewise.
33112 * tst-nss-test5.c: Likewise.
33113
33114 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33115
33116 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
33117 (open_not_cancel_2): Likewise.
33118 (open_nocancel): New macro.
33119 (open64_nocancel): Likewise.
33120 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
33121 (open_not_cancel_2): Likewise.
33122 (__open_nocancel): New prototype.
33123 (__open64_nocancel): Likewise.
33124 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33125 __open_nocancel.
33126 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
33127 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
33128 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
33129 with __open_nocancel.
33130 * csu/check_fds.c (check_one_fd): Likewise.
33131 * gmon/gmon.c (write_gmon): Likewise.
33132 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
33133 * intl/loadmsgcat.c (open): Likewise.
33134 * libio/fileops.c (_IO_file_open): Likewise.
33135 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33136 * locale/loadlocale.c (_nl_load_locale): Likewise.
33137 * login/utmp_file.c (setutent_file): Likewise.
33138 * misc/daemon.c (daemon): Likewise.
33139 * nss/nss_db/db-open.c (internal_setent): Likewise.
33140 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33141 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
33142 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33143 (__opendir): Likewise.
33144 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33145 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33146 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33147 (gethostid): Likewise.
33148 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33149 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33150 Likewise.
33151 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33152 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
33153 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33154 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33155 Likewise.
33156 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33157 Likewise.
33158 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33159 Likewise.
33160 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33161 Likewise.
33162 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33163 Likewise.
33164 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33165 Likewise.
33166 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33167 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33168
33169 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
33170
33171 * benchtests/bench-skeleton.c (main): Add support for
33172 latency benchmarking.
33173 * benchtests/scripts/bench.py: Add support for latency benchmarking.
33174
33175 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
33176
33177 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
33178 the startup object.
33179
33180 2017-08-17 Florian Weimer <fweimer@redhat.com>
33181
33182 * include/sys/socket.h (__opensock): Remove internal_function.
33183 * socket/opensock.c (__opensock): Likewise.
33184 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
33185
33186 2017-08-16 Joseph Myers <joseph@codesourcery.com>
33187
33188 [BZ #21944]
33189 * signal/bits/types/__sigval_t.h: New file.
33190 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
33191 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
33192 and define sigval_t using __sigval_t.
33193 * include/bits/types/__sigval_t.h: New file.
33194 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
33195 instead of <bits/types/__sigval_t.h>.
33196 (struct sigevent): Use __sigval_t instead of sigval_t.
33197 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
33198 instead of <bits/types/__sigval_t.h>.
33199 (siginfo_t): Use __sigval_t instead of sigval_t.
33200 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
33201 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33202 (struct sigevent): Use __sigval_t instead of sigval_t.
33203 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
33204 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33205 (siginfo_t): Use __sigval_t instead of sigval_t.
33206 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
33207
33208 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33209
33210 * NEWS: Remove "[Add new features here]" for 2.27.
33211
33212 2017-08-16 Joseph Myers <joseph@codesourcery.com>
33213
33214 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
33215 libc.so.
33216
33217 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33218
33219 * NEWS: Mention x86-64 FMA optimization.
33220
33221 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33222
33223 [BZ #21912]
33224 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33225 Add e_expf-fma.
33226 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
33227 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
33228 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
33229
33230 2017-08-16 Andreas Schwab <schwab@suse.de>
33231
33232 [BZ #16750]
33233 CVE-2009-5064
33234 * elf/ldd.bash.in: Never run file directly.
33235
33236 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
33237
33238 [BZ #21955]
33239 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
33240 (L(SP_INF_0)): Likewise.
33241
33242 2017-08-15 Florian Weimer <fweimer@redhat.com>
33243
33244 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
33245 run-built-tests.
33246
33247 2017-08-15 Florian Weimer <fweimer@redhat.com>
33248
33249 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
33250 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
33251 BROKEN_THREAD_SIGNALS code.
33252 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
33253 request_list): Remove caller_pid member used for
33254 BROKEN_THREAD_SIGNALS.
33255 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
33256 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33257 Remove BROKEN_THREAD_SIGNALS support.
33258 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
33259 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
33260
33261 2017-08-15 Florian Weimer <fweimer@redhat.com>
33262
33263 * gmon/Makefile (tests): Add tst-gmon.
33264 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
33265 Set.
33266 (tests-special): Add tst-gmon-prof.out.
33267 (tst-gmon.out): Depend on clean-tst-gmon-data.
33268 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
33269 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
33270 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
33271 startup object.
33272 * aclocal.m4 (GPROF): Set and substitute.
33273 * config.amke.in (GPROF): Set.
33274 * configure: Regenerate.
33275
33276 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
33277
33278 * elf/elf.h A (NT_PPC_TAR): New macro.
33279 (NT_PPC_PPR): Likewise.
33280 (NT_PPC_DSCR): Likewise.
33281 (NT_PPC_EBB): Likewise.
33282 (NT_PPC_PMU): Likewise.
33283 (NT_PPC_TM_CGPR): Likewise.
33284 (NT_PPC_TM_CFPR): Likewise.
33285 (NT_PPC_TM_CVMX): Likewise.
33286 (NT_PPC_TM_CVSX): Likewise.
33287 (NT_PPC_TM_SPR): Likewise.
33288 (NT_PPC_TM_CTAR): Likewise.
33289 (NT_PPC_TM_CPPR): Likewise.
33290 (NT_PPC_TM_CDSCR): Likewise.
33291
33292 2017-08-15 Florian Weimer <fweimer@redhat.com>
33293
33294 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
33295 regparm (2) instead of internal_function.
33296 (_MCOUNT_DECL): Adjust.
33297
33298 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33299
33300 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
33301 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
33302
33303 2017-08-14 Joseph Myers <joseph@codesourcery.com>
33304
33305 * conform/data/sys/wait.h-data (si_value): Do not expect for
33306 XPG42.
33307
33308 2017-08-14 Florian Weimer <fweimer@redhat.com>
33309
33310 [BZ #21962]
33311 NSS: Create stubs for accidentally exported lookup functions.
33312 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
33313 Remove declaration.
33314 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
33315 (ether_hostton): Call __nss_ethers_lookup2 instead.
33316 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
33317 (ether_ntohost): Call __nss_ethers_lookup2 instead.
33318 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
33319 (setup): Call __nss_netgroup_lookup2 instead.
33320 * nss/Makefile (routines): Add compat-lookup.
33321 * nss/Versions (GLIBC_2.27): Add symbol version.
33322 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
33323 (DB_COMPAT_FCT): Remove.
33324 * nss/compat-lookup.c: New file.
33325 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
33326 from databases.def.
33327 * nss/service-lookup.c (NO_COMPAT): Remove definition.
33328 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
33329 (netname2user): Call __nss_publickey_lookup2 instead.
33330 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
33331 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
33332 instead.
33333
33334 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33335 Sergei Trofimovich <slyfox@inbox.ru>
33336
33337 [BZ #21908]
33338 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
33339 Rename to MMAP2_PAGE_UNIT.
33340 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
33341 __OFF_T_MATCHES_OFF64_T is not defined.
33342 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
33343 uint64_t.
33344 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
33345 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
33346
33347 2017-08-14 Florian Weimer <fweimer@redhat.com>
33348
33349 i386: Do not set internal_function.
33350 * config.h.in (USE_REGPARMS, internal_function): Remove.
33351 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
33352 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
33353
33354 2017-08-14 Florian Weimer <fweimer@redhat.com>
33355
33356 * elf/dl-init.c (_dl_init): Remove internal_function.
33357 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
33358 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
33359
33360 2017-08-14 Florian Weimer <fweimer@redhat.com>
33361
33362 * elf/rtld.c (_dl_start): Remove internal_function.
33363 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
33364 _dl_start.
33365
33366 2017-08-14 Florian Weimer <fweimer@redhat.com>
33367
33368 * elf/dl-fini.c (_dl_fini): Remove internal_function
33369 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
33370
33371 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
33372
33373 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
33374 (bit_cpu_SHSTK): Likewise.
33375 (index_cpu_IBT): Likewise.
33376 (index_cpu_SHSTK): Likewise.
33377 (reg_IBT): Likewise.
33378 (reg_SHSTK): Likewise.
33379 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33380 Handle index_cpu_IBT and index_cpu_SHSTK.
33381
33382 2017-08-14 Mike FABIAN <mfabian@redhat.com>
33383
33384 [BZ #19982]
33385 * po/fr.po: Fix spelling mistake.
33386
33387 2017-08-13 Florian Weimer <fweimer@redhat.com>
33388
33389 * elf/dl-addr.c (_dl_addr): Remove internal_function.
33390 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
33391 (_dl_catch_error, _dl_receive_error): Likewise.
33392 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
33393 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
33394 (_dl_deallocate_tls): Likewise.
33395 * include/dlfcn.h (_dl_addr): Likewise.
33396 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
33397 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
33398 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
33399 Likewise.
33400
33401 2017-08-13 Florian Weimer <fweimer@redhat.com>
33402
33403 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
33404 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
33405 internal_function.
33406 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
33407
33408 2017-08-13 Florian Weimer <fweimer@redhat.com>
33409
33410 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
33411 internal_function.
33412 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
33413 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
33414 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
33415 internal_function from _dl_make_stack_executable_hook member.
33416 (_dl_make_stack_executable): Remove internal_function.
33417 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
33418 Likewise.
33419 * sysdeps/unix/sysv/linux/dl-execstack.c
33420 (_dl_make_stack_executable): Likewise.
33421
33422 2017-08-13 Florian Weimer <fweimer@redhat.com>
33423
33424 * sysdeps/unix/sysv/linux/netlinkaccess.h
33425 (__netlink_assert_response): Remove internal_function.
33426 * sysdeps/unix/sysv/linux/netlink_assert_response.c
33427 (__netlink_assert_response): Likewise.
33428
33429 2017-08-13 Florian Weimer <fweimer@redhat.com>
33430
33431 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
33432 internal_function.
33433 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
33434
33435 2017-08-13 Florian Weimer <fweimer@redhat.com>
33436
33437 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
33438 internal_function.
33439 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
33440 * inet/netgroup.h (__internal_setnetgrent)
33441 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33442 * inet/getnetgrent_r.c (__internal_setnetgrent)
33443 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33444 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
33445 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
33446 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
33447 * nss/nsswitch.h (db_lookup_function): Likewise.
33448
33449 2017-08-13 Florian Weimer <fweimer@redhat.com>
33450
33451 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
33452 Remove internal_function.
33453 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
33454 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
33455 message argument on the stack.
33456 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
33457 Likeweise.
33458
33459 2017-08-12 Mike FABIAN <mfabian@redhat.com>
33460
33461 Adapt test case data to the changes in the thousands
33462 separators.
33463
33464 [BZ #20756]
33465 * localedata/tst-langinfo.sh: Adapt test case data.
33466 * stdlib/tst-strfmon_l.c: Likewise.
33467 * stdlib/tst-strtod4.c: Likewise.
33468 * stdlib/tst-strtod5i.c: Likewise.
33469
33470 2017-08-11 Florian Weimer <fweimer@redhat.com>
33471
33472 [BZ #21242]
33473 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
33474 Suppress pedantic warning resulting from statement expression.
33475 (__ASSERT_FUNCTION): Add missing __extension__.
33476
33477 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33478
33479 * benchtests/bench-memmove-large.c: Print output in JSON
33480 format.
33481 * benchtests/bench-memmove.c: Likewise.
33482
33483 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
33484 * benchtests/bench-memchr.c (do_one_test): Likewise.
33485 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
33486 * benchtests/bench-memcpy.c (do_one_test): Likewise.
33487 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
33488 * benchtests/bench-memmove.c (do_one_test): Likewise.
33489 * benchtests/bench-memset-large.c (do_one_test): Likewise.
33490 * benchtests/bench-memset.c (do_one_test): Likewise.
33491 * benchtests/bench-string.h (test_init): Remove memsets.
33492
33493 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33494
33495 * manual/lang.texi
33496 (Computing the Width of an Integer Data Type): Rename section to
33497 "Width of an Integer Type". Remove inaccurate statement regarding
33498 lack of C language facilities for determining width of integer
33499 types, and reorder content to improve flow and context of
33500 discussion.
33501
33502 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33503
33504 * lang.texi (va_copy): Change standard from ISO to C99.
33505 (__va_copy): Add standard and header annotation.
33506 Update description for clarity of origins and current use.
33507
33508 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33509
33510 [BZ #21941]
33511 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
33512 xssqrtqp requires operands to be in Vector Registers
33513 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
33514 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
33515 (__ieee754_sqrtf128): Likewise.
33516
33517 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
33518
33519 * sysdeps/aarch64/memcmp.S (memcmp):
33520 Rewrite of optimized memcmp.
33521
33522 2017-08-10 Florian Weimer <fweimer@redhat.com>
33523
33524 Introduce ld.so exceptions.
33525 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
33526 (_dl_exception_create, _dl_exception_create_format)
33527 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
33528 (_dl_catch_exception): Declare.
33529 (_dl_catch_error): Update comment.
33530 * elf/dl-error-skeleton.c (struct catch): Replace objname,
33531 errstring, malloced members with exception member.
33532 (_dl_out_of_memory): Remove.
33533 (fatal_error): New function, extracted from _dl_signal_error.
33534 (_dl_signal_exception, _dl_signal_cexception): New functions.
33535 (_dl_signal_error): Call _dl_exception_create to allocate an
33536 exception object.
33537 (_dl_catch_exception): New function, based on _dl_catch_error.
33538 (_dl_catch_error): Implement using _dl_catch_exception.
33539 * elf/dl-exception.c: New file.
33540 * elf/Makefile (dl-routines): Add dl-exception.
33541 (elide-routines.os): Likewise.
33542 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
33543 _dl_exception_create_format, _dl_exception_free.
33544 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
33545 _dl_signal_exception.
33546 * elf/dl-lookup.c (make_string): Remove.
33547 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
33548 _dl_signal_cexception, _dl_exception_free.
33549 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
33550 _dl_signal_exception.
33551 * elf/dl-sym.c (do_sym): Likewise.
33552 * elf/dl-version.c (make_string): Remove.
33553 (match_symbol): Use _dl_exception_create_format,
33554 _dl_signal_cexception, _dl_exception_free.
33555 (_dl_check_map_versions): Likewise.
33556 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
33557 _dl_catch_exception.
33558 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
33559 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
33560 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
33561 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
33562 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
33563 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
33564 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
33565 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
33566 Likewise.
33567 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
33568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
33569 (ld.so): Likewise.
33570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
33571 (ld.so): Likewise.
33572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
33573 Likewise.
33574 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
33575 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
33576 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
33577 Likewise.
33578 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
33579 Likewise.
33580 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
33581
33582 2017-08-10 Florian Weimer <fweimer@redhat.com>
33583
33584 * inet/net-internal.h (__inet6_scopeid_pton): Remove
33585 attribute_hidden, internal_function.
33586 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
33587 internal_function.
33588
33589 2017-08-10 Florian Weimer <fweimer@redhat.com>
33590
33591 * malloc/malloc.c (get_max_fast): Reimplement as an inline
33592 function which calls __builtin_unreachable.
33593
33594 2017-08-10 Mike FABIAN <mfabian@redhat.com>
33595
33596 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
33597 Indian monetary formatting
33598 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
33599 test cases.
33600
33601 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
33602
33603 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
33604 Fix typo in comment.
33605
33606 [BZ #21928]
33607 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
33608 PTRACE_SEIZE_DEVEL): Remove.
33609 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
33610 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33611 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33612 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33613 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33614
33615 2017-08-09 Joseph Myers <joseph@codesourcery.com>
33616
33617 * posix/bits/types.h (__qaddr_t): Remove.
33618
33619 [BZ #21457]
33620 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
33621 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33622 __glibc_reserved1.
33623 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
33624 (ucontext_t): Use __ctx with uc_flags.
33625 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
33626 (__ctxt): Likewise.
33627 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33628 __glibc_reserved1.
33629 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
33630 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33631 __glibc_reserved1.
33632 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
33633 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33634 __glibc_reserved1.
33635 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
33636 macro.
33637 (ucontext_t): Use __ctx with uc_flags.
33638 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
33639 (ucontext_t): Use __ctx with uc_flags.
33640 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
33641 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
33642 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
33643 (ucontext_t): Use __ctx with uc_flags.
33644 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
33645 undefine further down.
33646 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33647 __glibc_reserved1.
33648 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
33649 undefine further down.
33650 (ucontext_t): Use __ctx with uc_flags.
33651 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
33652 undefine further down.
33653 (ucontext_t): Use __ctx with uc_flags.
33654 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
33655 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
33656 Rename uc_pad to __glibc_reserved1.
33657 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
33658 undefine further down.
33659 (ucontext_t): Use __ctx with uc_flags.
33660 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
33661 further down.
33662 (ucontext_t): Use __ctx with uc_flags.
33663 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
33664 __ctx with uc_flags.
33665 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
33666 (ucontext_t): Use __ctx with uc_flags.
33667 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
33668 __ctx with uc_flags.
33669
33670 2017-08-09 Florian Weimer <fweimer@redhat.com>
33671
33672 [BZ #21932]
33673 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
33674 before early return.
33675
33676 2017-08-09 Andreas Schwab <schwab@suse.de>
33677
33678 [BZ #21041]
33679 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
33680 renamed alias.
33681
33682 [BZ #21041]
33683 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
33684 tst-compat-forwarder.
33685 (modules-names): Add tst-compat-forwarder-mod.
33686 ($(objpfx)tst-compat-forwarder): Depend on
33687 $(objpfx)tst-compat-forwarder-mod.so.
33688 * nptl/tst-compat-forwarder.c: New file.
33689 * nptl/tst-compat-forwarder-mod.c: New file.
33690
33691 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
33692
33693 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
33694 comments.
33695
33696 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
33697 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
33698 memcpy_falkor.
33699 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
33700 Bump.
33701 (__libc_ifunc_impl_list): Add __memcpy_falkor.
33702 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
33703 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
33704 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33705 Add falkor.
33706 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
33707 New macro.
33708
33709 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33710
33711 [BZ #759]
33712 * manual/setjmp.texi (getcontex): Document uc_stack value
33713 compatibility differences.
33714
33715 2017-08-08 Joseph Myers <joseph@codesourcery.com>
33716
33717 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
33718 (old_malloc_hook): Likewise.
33719 (old_memalign_hook): Likewise.
33720 (old_realloc_hook): Likewise.
33721 (struct hdr): Likewise.
33722 (flood): Likewise.
33723 (freehook): Likewise.
33724 (mallochook): Likewise.
33725 (memalignhook): Likewise.
33726 (reallochook): Likewise.
33727 (mprobe): Likewise.
33728 * malloc/mtrace.c (mallwatch): Likewise.
33729 (tr_old_free_hook): Likewise.
33730 (tr_old_malloc_hook): Likewise.
33731 (tr_old_realloc_hook): Likewise.
33732 (tr_old_memalign_hook): Likewise.
33733 (tr_where): Likewise.
33734 (lock_and_info): Likewise.
33735 (tr_freehook): Likewise.
33736 (tr_mallochook): Likewise.
33737 (tr_reallochook): Likewise.
33738 (tr_memalignhook): Likewise.
33739 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
33740 * misc/mmap.c (__mmap): Likewise.
33741 * misc/mmap64.c (__mmap64): Likewise.
33742 * misc/mprotect.c (__mprotect): Likewise.
33743 * misc/msync.c (msync): Likewise.
33744 * misc/munmap.c (__munmap): Likewise.
33745 * posix/posix_madvise.c (posix_madvise): Likewise.
33746 * socket/send.c (__send): Likewise.
33747 * socket/sendto.c (__sendto): Likewise.
33748 * socket/setsockopt.c (__setsockopt): Likewise.
33749 * string/memcmp.c (__ptr_t): Remove macro.
33750 (MEMCMP): Use void * instead of ptr_t.
33751 * string/memrchr.c (__ptr_t): Remove macro.
33752 (__memrchr): Use void * instead of ptr_t.
33753 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
33754 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33755 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33756 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
33757 * sysdeps/mach/msync.c (msync): Likewise.
33758 * sysdeps/mach/munmap.c (__munmap): Likewise.
33759 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
33760 Likewise.
33761 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33762 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
33763 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
33764 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
33765 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
33766 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33767 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
33768 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
33769 Likewise.
33770 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33771 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
33772 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
33773 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
33774 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
33775 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
33776 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
33777 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
33778 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
33779 Likewise.
33780 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
33781 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
33782 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
33783 (MEMCMP): Use void * instead of ptr_t.
33784 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
33785 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
33786
33787 2017-08-08 Florian Weimer <fweimer@redhat.com>
33788
33789 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
33790 return statement.
33791
33792 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
33793
33794 [BZ #21913]
33795 * csu/libc-tls.c: Include <startup.h> first.
33796 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
33797 * elf/dl-tunables.c: Include <startup.h> first.
33798 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
33799 * sysdeps/generic/startup.h: New file.
33800 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
33801 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
33802 (I386_USE_SYSENTER): New. Defined to 0.
33803
33804 2017-08-08 Andreas Schwab <schwab@suse.de>
33805
33806 [BZ #21041]
33807 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
33808 * nptl/pt-system.c (system): Likewise.
33809
33810 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33811
33812 [BZ #21780]
33813 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
33814 EOPNOTSUPP.
33815 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
33816 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
33817 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
33818 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
33819 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
33820 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
33821 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
33822
33823 2017-08-07 Joseph Myers <joseph@codesourcery.com>
33824
33825 [BZ #21899]
33826 * bits/sigaction.h (struct sigaction): Define sa_handler and
33827 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
33828 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33829 [__USE_XOPEN_EXTENDED].
33830 (SA_RESTART): Likewise.
33831 (SA_NODEFER): Likewise.
33832 (SA_RESETHAND): Likewise.
33833 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
33834 (struct sigaction): Define sa_handler and sa_sigaction using union
33835 also for [__USE_XOPEN_EXTENDED].
33836 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33837 [__USE_XOPEN_EXTENDED].
33838 (SA_RESTART): Likewise.
33839 (SA_NODEFER): Likewise.
33840 (SA_RESETHAND): Likewise.
33841 * sysdeps/unix/sysv/linux/bits/sigaction.h
33842 (struct sigaction): Define sa_handler and sa_sigaction using union
33843 also for [__USE_XOPEN_EXTENDED].
33844 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33845 [__USE_XOPEN_EXTENDED].
33846 (SA_RESTART): Likewise.
33847 (SA_NODEFER): Likewise.
33848 (SA_RESETHAND): Likewise.
33849 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
33850 (struct sigaction): Define sa_handler and sa_sigaction using union
33851 also for [__USE_XOPEN_EXTENDED].
33852 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33853 [__USE_XOPEN_EXTENDED].
33854 (SA_RESTART): Likewise.
33855 (SA_NODEFER): Likewise.
33856 (SA_RESETHAND): Likewise.
33857 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
33858 (struct sigaction): Define sa_handler and sa_sigaction using union
33859 also for [__USE_XOPEN_EXTENDED].
33860 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33861 [__USE_XOPEN_EXTENDED].
33862 (SA_RESTART): Likewise.
33863 (SA_NODEFER): Likewise.
33864 (SA_RESETHAND): Likewise.
33865 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
33866 (struct sigaction): Define sa_handler and sa_sigaction using union
33867 also for [__USE_XOPEN_EXTENDED].
33868 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33869 [__USE_XOPEN_EXTENDED].
33870 (SA_RESTART): Likewise.
33871 (SA_NODEFER): Likewise.
33872 (SA_RESETHAND): Likewise.
33873 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33874 (struct sigaction): Define sa_handler and sa_sigaction using union
33875 also for [__USE_XOPEN_EXTENDED].
33876 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33877 [__USE_XOPEN_EXTENDED].
33878 (SA_RESTART): Likewise.
33879 (SA_NODEFER): Likewise.
33880 (SA_RESETHAND): Likewise.
33881 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33882 (struct sigaction): Define sa_handler and sa_sigaction using union
33883 also for [__USE_XOPEN_EXTENDED].
33884 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33885 [__USE_XOPEN_EXTENDED].
33886 (SA_RESTART): Likewise.
33887 (SA_NODEFER): Likewise. Define directly rather than as alias.
33888 (SA_RESETHAND): Likewise.
33889 (SA_INTERRUPT): Define only for [__USE_MISC].
33890 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
33891 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
33892 [__USE_MISC].
33893 (SA_STACK): Define only for [__USE_MISC].
33894 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
33895 (struct sigaction): Define sa_handler and sa_sigaction using union
33896 also for [__USE_XOPEN_EXTENDED].
33897 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33898 [__USE_XOPEN_EXTENDED].
33899 (SA_RESTART): Likewise.
33900 (SA_NODEFER): Likewise.
33901 (SA_RESETHAND): Likewise.
33902 (SA_NOPTRACE): Define only for [__USE_MISC].
33903
33904 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
33905 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
33906 (struct catalog_info): Likewise.
33907 * inet/htontest.c (lo): Likewise.
33908 (foo): Likewise.
33909 * inet/inet_lnaof.c (inet_lnaof): Likewise.
33910 * inet/inet_net.c (inet_network): Likewise.
33911 * inet/inet_netof.c (inet_netof): Likewise.
33912 * inet/rcmd.c (__ivaliduser): Likewise.
33913 (iruserok): Likewise.
33914 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
33915 * locale/programs/locale-spec.c (locale_special): Likewise.
33916 * nis/nis_findserv.c (struct findserv_req): Likewise.
33917 (__nis_findfastest_with_timeout): Likewise.
33918 * nss/test-netdb.c (test_network): Likewise.
33919 * resolv/inet_neta.c (inet_neta): Likewise.
33920 * resolv/ns_date.c (ns_datetosecs): Likewise.
33921 (SECS_PER_DAY): Likewise.
33922 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
33923 Likewise.
33924 * resolv/res_comp.c (__putlong): Likewise.
33925 (__putshort): Likewise.
33926 (_getlong): Likewise.
33927 (_getshort): Likewise.
33928 * resolv/res_debug.c (p_time): Likewise.
33929 (precsize_ntoa): Likewise.
33930 (precsize_aton): Likewise.
33931 (latlon2ul): Likewise.
33932 (loc_aton): Likewise.
33933 (loc_ntoa): Likewise.
33934 * resolv/res_hconf.c (struct netaddr): Likewise.
33935 (_res_hconf_reorder_addrs): Likewise.
33936 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
33937 (clnttcp_control): Likewise.
33938 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33939 (clntudp_control): Likewise.
33940 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
33941 (clntunix_control): Likewise.
33942 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
33943 * sunrpc/rpc/auth.h (union des_block): Likewise.
33944 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
33945 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
33946 (xdrrec_create): Likewise.
33947 (xdrrec_endofrecord): Likewise.
33948 (flush_out): Likewise.
33949 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
33950 (xdrstdio_putlong): Likewise.
33951 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
33952 Likewise.
33953
33954 * misc/sys/cdefs.h (__long_double_t): Remove.
33955 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
33956 instead of __long_double_t,
33957 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
33958
33959 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
33960
33961 * benchtests/scripts/compare_strings.py: Avoid display error when
33962 running on a text terminal.
33963
33964 * benchtests/scripts/compare_strings.py (main): Add an
33965 optional -base option.
33966 (process_results): New argument base_func.
33967
33968 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
33969 hardcoding memcpy.
33970 * benchtests/bench-memcpy-large.c (test_name): Likewise.
33971 * benchtests/bench-memcpy-random.c (test_name): Likewise.
33972
33973 2017-08-07 Andreas Schwab <schwab@suse.de>
33974
33975 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
33976 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33977 * intl/Makefile ($(objpfx)tst-gettext.out)
33978 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
33979 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
33980 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33981 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33982 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
33983 * posix/Makefile ($(objpfx)globtest.out)
33984 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
33985 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
33986 ($(objpfx)tst-printf.out): Likewise.
33987 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
33988 ($(objpfx)tst-setcontext3.out): Likewise.
33989
33990 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
33991
33992 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33993 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
33994 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
33995 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
33996 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
33997 and mptan-fma.
33998 (CFLAGS-doasin-fma.c): New.
33999 (CFLAGS-dosincos-fma.c): Likewise.
34000 (CFLAGS-e_asin-fma.c): Likewise.
34001 (CFLAGS-e_atan2-fma.c): Likewise.
34002 (CFLAGS-e_exp-fma.c): Likewise.
34003 (CFLAGS-e_log-fma.c): Likewise.
34004 (CFLAGS-e_pow-fma.c): Likewise.
34005 (CFLAGS-halfulp-fma.c): Likewise.
34006 (CFLAGS-mpa-fma.c): Likewise.
34007 (CFLAGS-mpatan-fma.c): Likewise.
34008 (CFLAGS-mpatan2-fma.c): Likewise.
34009 (CFLAGS-mpexp-fma.c): Likewise.
34010 (CFLAGS-mplog-fma.c): Likewise.
34011 (CFLAGS-mpsqrt-fma.c): Likewise.
34012 (CFLAGS-mptan-fma.c): Likewise.
34013 (CFLAGS-s_atan-fma.c): Likewise.
34014 (CFLAGS-sincos32-fma.c): Likewise.
34015 (CFLAGS-slowexp-fma.c): Likewise.
34016 (CFLAGS-slowpow-fma.c): Likewise.
34017 (CFLAGS-s_sin-fma.c): Likewise.
34018 (CFLAGS-s_tan-fma.c): Likewise.
34019 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
34020 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
34021 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
34022 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
34023 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
34024 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
34025 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
34026 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
34027 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
34028 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
34029 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
34030 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
34031 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
34032 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
34033 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
34034 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
34035 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
34036 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
34037 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
34038 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
34039 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
34040 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
34041 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
34042 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
34043 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34044 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34045 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34046 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
34047 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34048 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34049 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34050
34051 2017-08-04 Joseph Myers <joseph@codesourcery.com>
34052
34053 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
34054 (min_of_type_f): New macro.
34055 (min_of_type_): Likewise.
34056 (min_of_type_l): Likewise.
34057 (min_of_type_f128): Likewise.
34058 (min_of_type): Define using __MATH_TG and taking an expression
34059 argument.
34060 (math_check_force_underflow): Pass expression instead of type to
34061 min_of_type.
34062 (math_check_force_underflow_nonneg): Likewise.
34063
34064 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34065
34066 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34067 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
34068 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
34069
34070 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34071
34072 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34073 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
34074 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
34075 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
34076 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
34077 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
34078 memcpy_chk-nonshared, mempcpy_chk-nonshared,
34079 memmove_chk-nonshared and memset_chk-nonshared
34080 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
34081 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
34082 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
34083 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
34084 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
34085 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
34086 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
34087 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
34088 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
34089 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
34090 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
34091 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
34092 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
34093 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
34094 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
34095 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
34096 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
34097 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
34098 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
34099 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
34100 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
34101 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
34102 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
34103 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
34104 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
34105 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
34106 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
34107 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
34108 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
34109 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
34110 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
34111 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
34112 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
34113 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34114 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34115 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
34116 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
34117 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
34118 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
34119 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
34120 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
34121 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
34122 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
34123 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
34124 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
34125 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
34126 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
34127 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
34128 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
34129 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
34130 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
34131 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
34132 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
34133 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
34134 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
34135 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
34136 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
34137 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
34138 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
34139 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
34140 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
34141 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
34142 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
34143 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
34144 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
34145 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
34146 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
34147 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
34148 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
34149 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
34150 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
34151 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34152 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34153 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34154 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34155 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34156 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34157 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34158 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34159 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34160 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34161 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34162 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34163 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34164 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34165 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34166 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34167 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34168 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34169 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34170 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34171 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34172 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34173 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34174 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34175 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34176 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34177 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34178 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34179 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34180 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34181 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34182 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34183 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34184 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34185 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34186 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34187 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34188
34189 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34190
34191 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
34192 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
34193 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
34194 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
34195 svml_d_log2_core-sse2, svml_d_log4_core-sse,
34196 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
34197 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
34198 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
34199 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
34200 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
34201 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
34202 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
34203 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
34204 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
34205 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
34206 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
34207 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
34208 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
34209 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
34210 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
34211 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
34212 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
34213 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
34214 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
34215 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
34216 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
34217 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
34218 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
34219 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
34220 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
34221 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
34222 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
34223 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
34224 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
34225 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
34226 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
34227 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
34228 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
34229 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
34230 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
34231 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
34232 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
34233 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
34234 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
34235 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
34236 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
34237 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
34238 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
34239 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
34240 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
34241 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
34242 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
34243 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
34244 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
34245 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
34246 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
34247 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
34248 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
34249 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
34250 ...
34251 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
34252 Don't include <sysdep.h> nor <init-arch.h>.
34253 (_ZGVbN2v_cos): Removed.
34254 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
34255 ...
34256 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
34257 Don't include <sysdep.h> nor <init-arch.h>.
34258 (_ZGVdN4v_cos): Removed.
34259 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
34260 ...
34261 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
34262 Don't include <sysdep.h> nor <init-arch.h>.
34263 (_ZGVeN8v_cos): Removed.
34264 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
34265 ...
34266 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
34267 Don't include <sysdep.h> nor <init-arch.h>.
34268 (_ZGVbN2v_exp): Removed.
34269 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
34270 ...
34271 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
34272 Don't include <sysdep.h> nor <init-arch.h>.
34273 (_ZGVdN4v_exp): Removed.
34274 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
34275 ...
34276 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
34277 Don't include <sysdep.h> nor <init-arch.h>.
34278 (_ZGVeN8v_exp): Removed.
34279 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
34280 ...
34281 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
34282 Don't include <sysdep.h> nor <init-arch.h>.
34283 (_ZGVbN2v_log): Removed.
34284 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
34285 ...
34286 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
34287 Don't include <sysdep.h> nor <init-arch.h>.
34288 (_ZGVdN4v_log): Removed.
34289 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
34290 ...
34291 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
34292 Don't include <sysdep.h> nor <init-arch.h>.
34293 (_ZGVeN8v_log): Removed.
34294 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
34295 ...
34296 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
34297 Don't include <sysdep.h> nor <init-arch.h>.
34298 (_ZGVbN2vv_pow): Removed.
34299 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
34300 ...
34301 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
34302 Don't include <sysdep.h> nor <init-arch.h>.
34303 (_ZGVdN4vv_pow): Removed.
34304 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
34305 ...
34306 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
34307 Don't include <sysdep.h> nor <init-arch.h>.
34308 (_ZGVeN8vv_pow): Removed.
34309 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
34310 ...
34311 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
34312 Don't include <sysdep.h> nor <init-arch.h>.
34313 (_ZGVbN2v_sin): Removed.
34314 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
34315 ...
34316 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
34317 Don't include <sysdep.h> nor <init-arch.h>.
34318 (_ZGVbN4v_sin): Removed.
34319 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
34320 ...
34321 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
34322 Don't include <sysdep.h> nor <init-arch.h>.
34323 (_ZGVbN8v_sin): Removed.
34324 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
34325 ...
34326 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
34327 Don't include <sysdep.h> nor <init-arch.h>.
34328 (_ZGVbN2vvv_sincos): Removed.
34329 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
34330 ...
34331 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
34332 Don't include <sysdep.h> nor <init-arch.h>.
34333 (_ZGVdN4vvv_sincos): Removed.
34334 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
34335 ...
34336 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
34337 Don't include <sysdep.h> nor <init-arch.h>.
34338 (_ZGVeN8vvv_sincos): Removed.
34339 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
34340 ...
34341 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
34342 Don't include <sysdep.h> nor <init-arch.h>.
34343 (_ZGVeN16v_cosf): Removed.
34344 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
34345 ...
34346 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
34347 Don't include <sysdep.h> nor <init-arch.h>.
34348 (_ZGVbN4v_cosf): Removed.
34349 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
34350 ...
34351 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
34352 Don't include <sysdep.h> nor <init-arch.h>.
34353 (_ZGVdN8v_cosf): Removed.
34354 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
34355 ...
34356 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
34357 Don't include <sysdep.h> nor <init-arch.h>.
34358 (_ZGVeN16v_expf): Removed.
34359 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
34360 ...
34361 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
34362 Don't include <sysdep.h> nor <init-arch.h>.
34363 (_ZGVbN4v_expf): Removed.
34364 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
34365 ...
34366 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
34367 Don't include <sysdep.h> nor <init-arch.h>.
34368 (_ZGVdN8v_expf): Removed.
34369 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
34370 ...
34371 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
34372 Don't include <sysdep.h> nor <init-arch.h>.
34373 (_ZGVeN16v_logf): Removed.
34374 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
34375 ...
34376 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
34377 Don't include <sysdep.h> nor <init-arch.h>.
34378 (_ZGVbN4v_logf): Removed.
34379 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
34380 ...
34381 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
34382 Don't include <sysdep.h> nor <init-arch.h>.
34383 (_ZGVdN8v_logf): Removed.
34384 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
34385 ...
34386 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
34387 Don't include <sysdep.h> nor <init-arch.h>.
34388 (_ZGVeN16vv_powf): Removed.
34389 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
34390 ...
34391 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
34392 Don't include <sysdep.h> nor <init-arch.h>.
34393 (_ZGVbN4vv_powf): Removed.
34394 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
34395 ...
34396 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
34397 Don't include <sysdep.h> nor <init-arch.h>.
34398 (_ZGVdN8vv_powf): Removed.
34399 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
34400 ...
34401 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
34402 Don't include <sysdep.h> nor <init-arch.h>.
34403 (_ZGVeN16vvv_sincosf): Removed.
34404 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
34405 ...
34406 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
34407 Don't include <sysdep.h> nor <init-arch.h>.
34408 (_ZGVbN4vvv_sincosf): Removed.
34409 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
34410 ...
34411 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
34412 Don't include <sysdep.h> nor <init-arch.h>.
34413 (_ZGVdN8vvv_sincosf): Removed.
34414 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
34415 ...
34416 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
34417 Don't include <sysdep.h> nor <init-arch.h>.
34418 (_ZGVeN16v_sinf): Removed.
34419 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
34420 ...
34421 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
34422 Don't include <sysdep.h> nor <init-arch.h>.
34423 (_ZGVbN4v_sinf): Removed.
34424 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
34425 ...
34426 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
34427 Don't include <sysdep.h> nor <init-arch.h>.
34428 (_ZGVdN8v_sinf): Removed.
34429
34430 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34431
34432 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34433 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
34434 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
34435 s_rint-sse4_1 and s_rintf-sse4_1.
34436 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
34437 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
34438 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
34439 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
34440 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
34441 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
34442 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
34443 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
34444 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
34445 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
34446 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
34447 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34448 (__ceil): Removed.
34449 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
34450 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
34451 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34452 (__ceilf): Removed.
34453 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
34454 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
34455 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34456 (__floor): Removed.
34457 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
34458 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
34459 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34460 (__floorf): Removed.
34461 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
34462 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
34463 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34464 (__nearbyint): Removed.
34465 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
34466 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
34467 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34468 (__nearbyintf): Removed.
34469 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
34470 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
34471 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34472 (__rint): Removed.
34473 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
34474 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
34475 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34476 (__rintf): Removed.
34477
34478 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34479
34480 * sysdeps/i386/start.S (_start): Check Check PIC instead of
34481 SHARED. Avoid dynamic relocation against main in static PIE.
34482
34483 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34484
34485 [BZ #21815]
34486 * elf/Makefile (CFLAGS-tst-prelink.c): New.
34487 (LDFLAGS-tst-prelink): Likewise.
34488
34489 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34490
34491 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
34492 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
34493 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
34494 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
34495 (INTERNAL_SYSCALL_NCS): Likewise.
34496 (LOADARGS_1): Likewise.
34497 (LOADARGS_5): Likewise.
34498 (RESTOREARGS_1): Likewise.
34499 (RESTOREARGS_5): Likewise.
34500
34501 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34502
34503 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
34504 (MEMPCPY_SYMBOL): Likewise.
34505 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
34506 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
34507 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
34508 in libc.a.
34509 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34510 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
34511 Likewise.
34512 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
34513 (__hidden_ver1): Don't use in libc.a.
34514 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
34515 (__mempcpy): Don't create a weak alias in libc.a.
34516 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
34517 libc.a.
34518 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
34519 (__hidden_ver1): Don't use in libc.a.
34520
34521 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34522
34523 * config.make.in (have-insert): New.
34524 * configure.ac (libc_cv_insert): New. Set to yes if linker
34525 supports INSERT in linker script.
34526 (AC_SUBST(libc_cv_insert): New.
34527 * configure: Regenerated.
34528 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
34529 if $(have-insert) == yes.
34530
34531 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34532
34533 * elf/Makefile (tests): Add vismain only if
34534 $(have-protected-data) == yes.
34535 (tests-pie): Likewise.
34536
34537 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34538
34539 [BZ #21871]
34540 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
34541 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
34542
34543 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34544
34545 [BZ #21790]
34546 * sysdeps/i386/i586/memset.S
34547 (__memset_zero_constant_len_parameter): Removed.
34548 * sysdeps/i386/i686/memset.S
34549 (__memset_zero_constant_len_parameter): Likewise.
34550 * sysdeps/i386/i686/multiarch/memset_chk.S
34551 (__memset_zero_constant_len_parameter): Likewise.
34552 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
34553 Likewise.
34554
34555 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34556
34557 * stdlib/getentropy.c (getentropy): Change return type to int.
34558
34559 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34560
34561 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
34562
34563 2017-08-03 Joseph Myers <joseph@codesourcery.com>
34564
34565 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
34566 u_intN_t.
34567 * math/s_nexttowardf.c (__nexttowardf): Likewise.
34568 * sysdeps/generic/math_private.h (ieee_double_shape_type):
34569 Likewise.
34570 (ieee_float_shape_type): Likewise.
34571 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
34572 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
34573 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34574 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34575 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
34576 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
34577 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
34578 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34579 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
34580 Likewise.
34581 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34582 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34583 (__ieee754_yn): Likewise.
34584 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34585 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34586 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
34587 Likewise.
34588 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34589 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
34590 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
34591 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
34592 (__erfc): Likewise.
34593 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
34594 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
34595 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
34596 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
34597 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
34598 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
34599 Likewise.
34600 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
34601 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
34602 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
34603 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
34604 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34605 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
34606 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
34607 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
34608 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
34609 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
34610 (__issignaling): Likewise.
34611 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
34612 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
34613 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
34614 Likewise.
34615 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34616 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
34617 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
34618 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
34619 Likewise.
34620 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
34621 Likewise.
34622 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
34623 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
34624 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
34625 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
34626 (__erfcf): Likewise.
34627 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
34628 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
34629 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
34630 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
34631 Likewise.
34632 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
34633 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
34634 Likewise.
34635 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
34636 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
34637 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
34638 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
34639 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
34640 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34641 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
34642 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
34643 Likewise.
34644 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
34645 Likewise.
34646 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
34647 Likewise.
34648 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
34649 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
34650 Likewise.
34651 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34652 Likewise.
34653 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34654 (__ieee754_ynl): Likewise.
34655 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
34656 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
34657 Likewise.
34658 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
34659 Likewise.
34660 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
34661 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
34662 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34663 Likewise.
34664 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
34665 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
34666 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
34667 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
34668 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
34669 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
34670 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
34671 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
34672 Likewise.
34673 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
34674 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
34675 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
34676 Likewise.
34677 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
34678 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
34679 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
34680 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
34681 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
34682 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34683 Likewise.
34684 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34685 Likewise.
34686 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34687 Likewise.
34688 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34689 Likewise.
34690 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
34691 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34692 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34693 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
34694 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
34695 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
34696 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
34697 Likewise.
34698 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
34699 Likewise.
34700 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
34701 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34702 Likewise.
34703 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
34704 (__ieee754_remainderl): Likewise.
34705 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34706 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34707 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
34708 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
34709 Likewise.
34710 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
34711 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34712 Likewise.
34713 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34714 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
34715 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
34716 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
34717 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34718 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34719 Likewise.
34720 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
34721 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
34722 (__ieee754_y0l): Likewise.
34723 (pzero): Likewise.
34724 (qzero): Likewise.
34725 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34726 (__ieee754_y1l): Likewise.
34727 (pone): Likewise.
34728 (qone): Likewise.
34729 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34730 (__ieee754_ynl): Likewise.
34731 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
34732 (__ieee754_lgammal_r): Likewise.
34733 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
34734 Likewise.
34735 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
34736 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
34737 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
34738 (__erfcl): Likewise.
34739 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
34740 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
34741 Likewise.
34742 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
34743 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
34744 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
34745 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
34746 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
34747 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34748 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34749 Likewise.
34750 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
34751 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34752 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
34753 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
34754 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34755 Likewise.
34756 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
34757 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
34758 Likewise.
34759 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
34760 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
34761 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
34762 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34763 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
34764
34765 2017-08-03 Florian Weimer <fweimer@redhat.com>
34766
34767 [BZ #21885]
34768 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
34769 on memory allocation failure.
34770
34771 2017-08-03 Alan Modra <amodra@gmail.com>
34772
34773 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
34774 tst-tlsopt-powerpc.c with function name change and no test harness.
34775 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
34776 Call tls_get_addr_opt_test.
34777 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
34778 (modules-names): Add mod-tlsopt-powerpc.
34779 (mod-tlsopt-powerpc.so-no-z-defs): Define.
34780 (tst-tlsopt-powerpc): Depend on .so.
34781 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
34782 define. Expand use in TLS_GD and TLS_LD.
34783
34784 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34785
34786 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
34787 function.
34788 * sysdeps/posix/shm_open.c: Include <pthread.h>.
34789
34790 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34791
34792 [BZ #21686]
34793 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
34794 comparing size with that of double.
34795 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34796 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34797 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34798 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34799 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34800 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
34801 unsigned __int128 types.
34802
34803 2017-08-02 Steve Ellcey <sellcey@cavium.com>
34804
34805 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
34806 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
34807 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
34808 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
34809 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
34810
34811 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34812
34813 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
34814
34815 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34816
34817 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
34818 of SHARED.
34819 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34820 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34821 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34822 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34823 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34824 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34825 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34826
34827 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34828
34829 [BZ #21685]
34830 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
34831 bit-field expressions passed to sizeof or typeof.
34832 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34833 (__TGMATH_F128): Likewise.
34834 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34835 (__TGMATH_CF128): Likewise.
34836 (__TGMATH_UNARY_REAL_ONLY): Likewise.
34837 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
34838 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
34839 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
34840 (__TGMATH_BINARY_REAL_ONLY): Likewise.
34841 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34842 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34843 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34844 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34845 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
34846 (__TGMATH_UNARY_REAL_IMAG): Likewise.
34847 (__TGMATH_UNARY_IMAG): Likewise.
34848 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
34849 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34850 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
34851 type.
34852 (define_vars_for_type): Handle bit_field type specially.
34853 (Tests.__init__): Declare structure with bit-field element.
34854
34855 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34856
34857 [BZ #21791]
34858 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
34859 (MEMCPY_CHK): Define only if SHARED is defined.
34860 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
34861 Likewise.
34862 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
34863 Likewise.
34864
34865 See ChangeLog.18 for earlier changes.