]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Remove powerpc bits/mathinline.h.
[thirdparty/glibc.git] / ChangeLog
1 2019-02-08 Joseph Myers <joseph@codesourcery.com>
2
3 * sysdeps/powerpc/bits/mathinline.h: Remove.
4
5 2019-02-08 Florian Weimer <fweimer@redhat.com>
6
7 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
8 * math/bits/math-finite.h: Move to ...
9 * bits/math-finite.h: ... here.
10
11 2019-02-08 Florian Weimer <fweimer@redhat.com>
12
13 * sysdeps/generic/bits/unistd_ext.h: Move to ...
14 * bits/unistd_ext.h: here.
15
16 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
17
18 [BZ #21915]
19 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
20 * nss/tst-nss-files-hosts-long.c: New file.
21 * nss/tst-nss-files-hosts-long.root: New directory.
22 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
23 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
24
25 2019-02-08 Florian Weimer <fweimer@redhat.com>
26
27 * include/bits/unistd_ext.h: Remove file.
28 * posix/bits/unistd_ext.h: Move to ...
29 * sysdeps/generic/bits/unistd_ext.h: ... here.
30
31 2019-02-08 Florian Weimer <fweimer@redhat.com>
32
33 * include/bits/unistd_ext.h: New file.
34
35 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
36
37 * time/tst-strftime2.c: Use array_length macros instead of magic
38 numbers.
39
40 2019-02-08 Florian Weimer <fweimer@redhat.com>
41
42 [BZ #24161]
43 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
44 argument.
45 * nptl/register-atfork.c (__run_fork_handlers): Only perform
46 locking if the new do_locking argument is true.
47 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
48 __run_fork_handlers.
49
50 2019-02-08 Florian Weimer <fweimer@redhat.com>
51
52 [BZ #6399]
53 Linux: Add gettid system call wrapper.
54 * posix/Makefile (headers): Add bits/unistd_ext.h.
55 * posix/bits/unistd_ext.h: New file.
56 * posix/unistd.h: Include it.
57 * manual/process.texi (Process Identification): Document gettid.
58 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
59 tst-gettid, tst-gettid-kill.
60 (tst-gettid): Link with $(shared-thread-library).
61 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
62 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
63 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
64 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
65 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
66 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
67 Add gettid.
68 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
69 Likewise.
70 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
71 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
72 Likewise.
73 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
74 Likewise.
75 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
76 Likewise.
77 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
78 Likewise.
79 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
80 Likewise.
81 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
82 Likewise.
83 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
84 Likewise.
85 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
86 (GLIBC_2.30): Likewise.
87 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
88 (GLIBC_2.30): Likewise.
89 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
90 (GLIBC_2.30): Likewise.
91 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
92 (GLIBC_2.30): Likewise.
93 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
94 Likewise.
95 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
96 (GLIBC_2.30): Likewise.
97 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
98 (GLIBC_2.30): Likewise.
99 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
100 (GLIBC_2.30): Likewise.
101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
102 (GLIBC_2.30): Likewise.
103 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
104 Likewise.
105 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
106 Likewise.
107 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
108 Likewise.
109 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
110 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
111 Likewise.
112 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
113 Likewise.
114 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
115 Likewise.
116 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
117 Likewise.
118 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
119
120 2019-02-07 Florian Weimer <fweimer@redhat.com>
121
122 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
123 compatibility symbols.
124
125 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
126
127 [BZ #24180]
128 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
129 Add compiler barriers and comments.
130
131 2019-02-07 Florian Weimer <fweimer@redhat.com>
132
133 * include/array_length.h (array_length): Do not use a statement
134 expression and _Static_assert, so that array_length can be used at
135 file scope and as a constant expression.
136
137 2019-02-07 Florian Weimer <fweimer@redhat.com>
138
139 * support/xdlfcn.h (xdlmopen): Declare.
140 * support/xdlmopen.c: New file.
141 * support/Makefile (libsupport-routines): Add xdlmopen.
142
143 2019-02-06 Joseph Myers <joseph@codesourcery.com>
144
145 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
146 before return type, without separate inline.
147 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
148 * elf/dl-tunables.h (tunable_is_name): Likewise.
149 * malloc/malloc.c (do_set_trim_threshold): Likewise.
150 (do_set_top_pad): Likewise.
151 (do_set_mmap_threshold): Likewise.
152 (do_set_mmaps_max): Likewise.
153 (do_set_mallopt_check): Likewise.
154 (do_set_perturb_byte): Likewise.
155 (do_set_arena_test): Likewise.
156 (do_set_arena_max): Likewise.
157 (do_set_tcache_max): Likewise.
158 (do_set_tcache_count): Likewise.
159 (do_set_tcache_unsorted_limit): Likewise.
160 * nis/nis_subr.c (count_dots): Likewise.
161 * nptl/allocatestack.c (advise_stack_range): Likewise.
162 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
163 (do_sin): Likewise.
164 (reduce_sincos): Likewise.
165 (do_sincos): Likewise.
166 * sysdeps/unix/sysv/linux/x86/elision-conf.c
167 (do_set_elision_enable): Likewise.
168 (TUNABLE_CALLBACK_FNDECL): Likewise.
169
170 2019-02-06 Florian Weimer <fweimer@redhat.com>
171
172 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
173 (xdlsym): Use dlerror to detect a NULL symbol.
174
175 2019-02-06 Florian Weimer <fweimer@redhat.com>
176
177 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
178 <stap-probe.h>.
179 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
180
181 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
182
183 * libio/tst-bz24153.c (wide): Use wide char format specifier.
184
185 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
186
187 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
188 __wmemcmp and weak alias to wmemcmp.
189
190 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
191
192 [BZ #23403]
193 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
194 TLS_TCB_AT_TP tls variant.
195 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
196 Add alignment checks.
197 * support/Makefile (libsupport-routines): Add xposix_memalign and
198 xpthread_setstack.
199 * support/support.h: Add xposix_memalign.
200 * support/xthread.h: Add xpthread_attr_setstack.
201 * support/xposix_memalign.c: New File.
202 * support/xpthread_attr_setstack.c: Likewise.
203
204 2019-02-05 Florian Weimer <fweimer@redhat.com>
205
206 [BZ #24164]
207 arm: Use "nr" constraint for Systemtap probes, to avoid the
208 compiler using memory operands for constants, due to the "o"
209 alternative in the default "nor" constraint.
210 * include/stap-probe.h [USE_STAP_PROBE]: Include
211 <stap-probe-machine.h>
212 * sysdeps/generic/stap-probe-machine.h: New file.
213 * sysdeps/arm/stap-probe-machine.h: Likewise.
214
215 2019-02-04 Joseph Myers <joseph@codesourcery.com>
216
217 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
218 with 0, not tcache->entries[tc_idx].
219
220 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
221 once.
222
223 2019-02-04 Andreas Schwab <schwab@suse.de>
224
225 [BZ #16976]
226 [BZ #17396]
227 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
228 looking up collating elements match against (wide) character
229 sequence instead of name. Correct alignment adjustment.
230 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
231 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
232 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
233 (LOCALES): Add cs_CZ.ISO-8859-2.
234 * posix/tst-fnmatch4.c: New file.
235 * posix/tst-fnmatch5.c: New file.
236 * include/wchar.h (__wmemcmp): Declare.
237 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
238 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
239 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
240 * sysdeps/s390/wmemcmp.c: Likewise.
241
242 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
243
244 [BZ #24155]
245 CVE-2019-7309
246 * NEWS: Updated for CVE-2019-7309.
247 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
248 upper 32 bits of RDX register for x32. Use unsigned Jcc
249 instructions, instead of signed.
250 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
251 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
252
253 2019-02-04 Florian Weimer <fweimer@redhat.com>
254
255 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
256 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
257 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
258 Likewise.
259 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
260 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
261 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
262 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
263 Likewise.
264 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
265 Likewise.
266 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
267 Likewise.
268 (posix_spawn_file_actions_addopen): Likewise.
269 (posix_spawn_file_actions_addclose): Likewise.
270 (posix_spawn_file_actions_adddup2): Likewise.
271 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
272 qualifiers.
273 (posix_spawn_file_actions_addfchdir_np): Likewise.
274
275 2019-02-04 David Newall <glibc@davidnewall.com>
276
277 elf: Implement --preload option for the dynamic linker.
278 * elf/rtld.c (preloadarg): New variable.
279 (handle_preload_list): Pass through “where” argument to
280 do_preload.
281 (dl_main): Handle "--preload" and add second call to
282 handle_preload_list.
283 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
284 (tst-rtld-preload-OBJS): Set variable.
285 (tst-rtld-preload.out): New target.
286 * elf/tst-rtld-preload.sh: New file.
287
288 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
289
290 * Makefile (testrun.sh): Exit in case of incorrect argument.
291
292 2019-02-04 Florian Weimer <fweimer@redhat.com>
293
294 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
295 alignment gaps.
296
297 2019-02-03 Florian Weimer <fweimer@redhat.com>
298
299 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
300 implicit overflow checks.
301
302 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
303
304 * stdlib/isomac.c: Include <unistd.h>.
305
306 2019-02-03 Florian Weimer <fweimer@redhat.com>
307
308 * include/time.h (__tzfile_default): Use int, not long int, for
309 the GMT offsets.
310 * time/tzfile.c (struct ttinfo): Change type of the offset member
311 to int.
312 (__tzfile_read): Remove useless cast.
313 (__tzfile_default): Adjust prototype.
314 * time/tzset.c (tz_rule): Change type of the offset member to int.
315 (parse_offset): Change the type of the sign variable to int.
316
317 2019-02-03 Florian Weimer <fweimer@redhat.com>
318
319 [BZ #24153]
320 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
321 * libio/getchar.c (getchar): Likewise.
322 * libio/getchar_u.c (getchar_unlocked): Likewise.
323 * libio/getwchar.c (getwchar): Likewise.
324 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
325 * libio/iogets.c (_IO_gets): Likewise.
326 * libio/vscanf.c (_IO_vscanf): Likewise.
327 * libio/vwscanf.c (__vwscanf): Likewise.
328 * libio/tst-bz24153.c: New file.
329 * libio/Makefile (tests): Add it.
330
331 2019-02-02 Florian Weimer <fweimer@redhat.com>
332
333 [BZ #14829]
334 * manual/resource.texi (Basic Scheduling Functions): Add
335 portability note. Change process to task throughout the section.
336 Remove incorrect comment about sched_yield as it affects
337 tasks/threads, not entire processes.
338 * sysdeps/unix/sysv/linux/bits/posix_opt.h
339 (_POSIX_PRIORITY_SCHEDULING): Update comment.
340
341 2019-02-01 Joseph Myers <joseph@codesourcery.com>
342
343 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
344 * configure: Regenerated.
345 * manual/install.texi (Tools for Compilation): Update minimum GCC
346 version.
347 * INSTALL: Regenerated.
348
349 2019-02-01 Florian Weimer <fweimer@redhat.com>
350
351 * support/support_test_compare_string.c
352 (support_test_compare_string): Use "string" in error message.
353 * support/tst-test_compare_string.c (do_test): Adjust.
354
355 2019-02-01 Florian Weimer <fweimer@redhat.com>
356
357 * support/support_format_address_family.c
358 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
359
360 2019-02-01 Florian Weimer <fweimer@redhat.com>
361
362 * manual/socket.texi (Internet Address Formats): Clarify the byte
363 order of struct sockaddr_in, struct sockaddr_in6. Document
364 sin6_flowinfo and sin6_scope_id.
365
366 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
367
368 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
369 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
370 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
371 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
372 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
373 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
374
375 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
376
377 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
378 [!MEMCHR](MEMCHR): Set to __memchr.
379 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
380 Add memchr_generic and memchr_nosimd.
381 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
382 (__libc_ifunc_impl_list): Add memchr ifuncs.
383 * sysdeps/aarch64/multiarch/memchr.c: New file.
384 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
385 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
386
387 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
388
389 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
390 Add memset_emag.
391 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
392 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
393 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
394 Add IS_EMAG check for ifunc dispatch.
395 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
396 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
397
398 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
399
400 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
401 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
402 Add emag.
403 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
404 New macro.
405
406 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
407
408 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
409
410 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
411
412 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
413 syscall-template file.
414
415 2019-01-31 Carlos O'Donell <carlos@redhat.com>
416 Torvald Riegel <triegel@redhat.com>
417 Rik Prohaska <prohaska7@gmail.com>
418
419 [BZ# 23844]
420 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
421 tst-rwlock-trywrlock-stall.
422 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
423 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
424 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
425 Set __wrphase_fute to 1 only if we started the write phase.
426 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
427 * nptl/tst-rwlock-trywrlock-stall.c: New file.
428 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
429 * support/xpthread_rwlock_destroy.c: New file.
430 * support/xthread.h: Declare xpthread_rwlock_destroy.
431
432 2019-02-01 Joseph Myers <joseph@codesourcery.com>
433
434 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
435 version to 4.0.2.
436
437 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
438
439 [BZ #24051]
440 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
441 * libio/fileops.c (_IO_new_file_underflow): Likewise
442 * libio/wfileops.c (_IO_wfile_underflow): Likewise
443 * libio/putchar.c (putchar): Likewise.
444 * libio/putchar_u.c (putchar_unlocked): Likewise.
445 * libio/putwchar.c (putchar): Likewise.
446 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
447 * libio/tst-bz24051.c: New test.
448 * libio/Makefile (tests): Add tst-bz24051
449
450 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
451
452 regex: fix read overrun [BZ #24114]
453 Problem found by AddressSanitizer, reported by Hongxu Chen in:
454 https://debbugs.gnu.org/34140
455 * posix/regexec.c (proceed_next_node):
456 Do not read past end of input buffer.
457
458 2019-01-31 Florian Weimer <fweimer@redhat.com>
459
460 [BZ #24059]
461 * nss/nss_files/files-alias.c (get_next_alias): Handle
462 continuation line without newline at the end.
463 * nss/tst-nss-files-alias-truncated.c: New file.
464 * nss/Makefile [$(build-shared)] (tests): Add
465 tst-nss-files-alias-truncated.
466 (tst-nss-files-alias-truncated): Link with libnss_files.so.
467 * support/namespace.h (struct support_chroot_configuration): Add
468 aliases member.
469 (struct support_chroot): Add path_aliases member.
470 * support/support_chroot.c (support_chroot_create): Handle
471 aliases.
472 (support_chroot_free): Free path_aliases.
473
474 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
475
476 * version.h (RELEASE): Set to "development".
477 (VERSION): Set to "2.29.9000".
478 * NEWS: Add section for 2.30.
479
480 * version.h (RELEASE): Set to "stable".
481 (VERSION): Set to "2.29".
482 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
483
484 * NEWS: Add the list of bugs fixed in 2.29.
485 * manual/contrib.texi: Update contributors list with some more
486 names.
487 * manual/install.texi: Update latest versions of packages
488 tested.
489 * INSTALL: Regenerated.
490
491 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
492
493 * po/be.po: Update translations.
494 * po/bg.po: Likewise.
495 * po/ca.po: Likewise.
496 * po/cs.po: Likewise.
497 * po/da.po: Likewise.
498 * po/de.po: Likewise.
499 * po/el.po: Likewise.
500 * po/eo.po: Likewise.
501 * po/es.po: Likewise.
502 * po/fi.po: Likewise.
503 * po/fr.po: Likewise.
504 * po/gl.po: Likewise.
505 * po/hr.po: Likewise.
506 * po/hu.po: Likewise.
507 * po/ia.po: Likewise.
508 * po/id.po: Likewise.
509 * po/it.po: Likewise.
510 * po/ja.po: Likewise.
511 * po/ko.po: Likewise.
512 * po/lt.po: Likewise.
513 * po/nb.po: Likewise.
514 * po/nl.po: Likewise.
515 * po/pl.po: Likewise.
516 * po/pt_BR.po: Likewise.
517 * po/ru.po: Likewise.
518 * po/rw.po: Likewise.
519 * po/sk.po: Likewise.
520 * po/sl.po: Likewise.
521 * po/sv.po: Likewise.
522 * po/tr.po: Likewise.
523 * po/uk.po: Likewise.
524 * po/vi.po: Likewise.
525 * po/zh_CN.po: Likewise.
526 * po/zh_TW.po: Likewise.
527
528 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
529
530 [BZ #24130]
531 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
532 of $f3 register on $y_is_neg path.
533
534 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
535
536 [BZ #24110]
537 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
538 sigaltstack.ss_flags.
539
540 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
541
542 [BZ #23758]
543 * manual/time.texi (strftime): Document "%Ey".
544 * time/strftime_l.c (__strftime_internal): Set the default width
545 padding with zero of "%Ey" to 2.
546
547 [BZ #24096]
548 * manual/time.texi (strftime): Document "%EC" and "%EY".
549 * time/Makefile (tests): Add tst-strftime2.
550 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
551 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
552 override padding for "%Ey".
553 If an optional flag ('_' or '-') is specified to "%EY", interpret the
554 "%Ey" in the subformat as if decorated with that flag.
555 * time/tst-strftime2.c: New file.
556
557 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
558
559 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
560 are not defined.
561
562 [BZ #24122]
563 * elf/Makefile (tests): Add tst-audit13.
564 (modules-names): Add tst-audit13mod1.
565 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
566 rule.
567 * elf/rtld.c (dl_main): Handle invalid audit module version.
568 * elf/tst-audit13.c: New file.
569 * elf/tst-audit13mod1.c: Likewise.
570
571 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
572
573 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
574 returned by __hurd_at_flags.
575 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
576 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
577 directly instead of __hurd_file_name_lookup.
578
579 2019-01-21 Joseph Myers <joseph@codesourcery.com>
580
581 * scripts/build-many-glibcs.py (Context.checkout): Default
582 binutils version to 2.32 branch.
583
584 2019-01-21 Florian Weimer <fweimer@redhat.com>
585
586 [BZ #20018]
587 CVE-2016-10739
588 resolv: Reject trailing characters in host names
589 * include/arpa/inet.h (__inet_aton_exact): Declare.
590 (inet_aton): Remove hidden prototype. No longer used internally.
591 * nscd/gai.c (__inet_aton): Do not define.
592 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
593 * nss/digits_dots.c (__inet_aton): Likewise.
594 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
595 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
596 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
597 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
598 (tst-resolv-trailing): Likewise.
599 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
600 libc.
601 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
602 Make static. Add endp parameter.
603 (__inet_aton_exact): New function.
604 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
605 (__inet_addr): Call inet_aton_end.
606 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
607 not just IPv6. Call __inet_aton_exact.
608 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
609 (tests): Make const. Add additional test cases with trailing
610 characters.
611 (do_test): Use array_length.
612 * resolv/tst-inet_aton_exact.c: New file.
613 * resolv/tst-resolv-trailing.c: Likewise.
614 * resolv/tst-resolv-nondecimal.c: Likewise.
615 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
616
617 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
618
619 [BZ# 24097]
620 CVE-2019-6488
621 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
622 Clear the upper 32 bits of RSI register.
623 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
624 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
625 and tst-size_t-wcsnlen.
626 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
627 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
628
629 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
630
631 [BZ# 24097]
632 CVE-2019-6488
633 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
634 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
635 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
636 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
637 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
638
639 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
640
641 [BZ# 24097]
642 CVE-2019-6488
643 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
644 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
645 * sysdeps/x86_64/strcmp.S: Likewise.
646 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
647 tst-size_t-strncmp and tst-size_t-wcsncmp.
648 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
649 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
650 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
651
652 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
653
654 [BZ# 24097]
655 CVE-2019-6488
656 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
657 RDX_LP for length. Clear the upper 32 bits of RDX register.
658 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
659 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
660 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
661 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
662
663 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
664
665 [BZ# 24097]
666 CVE-2019-6488
667 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
668 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
669 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
670 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
671
672 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
673
674 [BZ# 24097]
675 CVE-2019-6488
676 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
677 length. Clear the upper 32 bits of RDX register.
678 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
679 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
680 Likewise.
681 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
682 Likewise.
683 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
684 tst-size_t-wmemchr.
685 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
686
687 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
688
689 [BZ# 24097]
690 CVE-2019-6488
691 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
692 length. Clear the upper 32 bits of RDX register.
693 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
694 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
695 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
696 tst-size_t-wmemcmp.
697 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
698 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
699
700 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
701
702 [BZ# 24097]
703 CVE-2019-6488
704 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
705 upper 32 bits of RDX register.
706 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
707 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
708 tst-size_t-wmemchr.
709 * sysdeps/x86_64/x32/test-size_t.h: New file.
710 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
711 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
712
713 2019-01-18 Florian Weimer <fweimer@redhat.com>
714
715 [BZ #24112]
716 resolv: Do not send queries for non-host-names in nss_dns.
717 * resolv/nss_dns/dns-host.c (check_name): New function.
718 (_nss_dns_gethostbyname2_r): Use it.
719 (_nss_dns_gethostbyname_r): Likewise.
720 (_nss_dns_gethostbyname4_r): Likewise.
721
722 2019-01-21 Florian Weimer <fweimer@redhat.com>
723
724 * resolv/inet_addr.c: Reformat to GNU style.
725 (__inet_addr, __inet_aton): Update comment.
726
727 2019-01-18 Florian Weimer <fweimer@redhat.com>
728
729 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
730 ("malloc: Use current (C11-style) atomics for fastbin access").
731 This commit introduces a substantial performance regression on
732 POWER and Aarch64.
733 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
734 (REMOVE_FB): Define.
735 (_int_malloc): Use it and reindent.
736 (_int_free): Use CAS loop with
737 catomic_compare_and_exchange_val_rel.
738 (malloc_consolidate): Use atomic_exchange_acq.
739
740
741 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
742
743 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
744 -Wl,-z,now.
745 (LDFLAGS-tst-minsigstksz-2): Likewise.
746 (LDFLAGS-tst-minsigstksz-3): Likewise.
747 (LDFLAGS-tst-minsigstksz-3a): Likewise.
748 (LDFLAGS-tst-minsigstksz-4): Likewise.
749
750 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
751
752 * manual/time.texi (strftime): Fix the wording to "alternative" rather
753 than "alternate".
754
755 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
756
757 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
758
759 2019-01-16 Zack Weinberg <zackw@panix.com>
760
761 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
762 (xget_sigstack_location): New test support functions.
763 * support/xsigstack.c: New file, implementing them.
764 * support/tst-xsigstack.c: New test for them.
765 * support/Makefile: Update.
766
767 * signal/tst-minsigstksz-1.c
768 * signal/tst-minsigstksz-2.c
769 * signal/tst-minsigstksz-3.c
770 * signal/tst-minsigstksz-3a.c
771 * signal/tst-minsigstksz-4.c: New tests.
772 * signal/Makefile: Run them.
773
774 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
775
776 * po/libc.pot: Regenerate.
777
778 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
779
780 * math/libm-test-fma.inc (fma_test_data): Set
781 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
782
783 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
784
785 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
786 (do_test): Changed __vector __int128_t to __vector unsigned int.
787
788 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
789
790 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
791 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
792 stpcpy-avx2 and stpncpy-avx2.
793 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
794 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
795 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
796 and __stpncpy_avx2.
797 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
798 ifunc-strcpy.h}: rename header for a more generic name.
799 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
800 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
801 AVX unaligned load is fast and vzeroupper is preferred.
802 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
803 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
804 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
805 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
806 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
807 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
808
809 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
810
811 * argp/argp-help.c: Fix typo in comment.
812 * misc/sys/cdefs.h: Likewise.
813 * posix/regexec.c (sift_states_iter_mb): Likewise.
814 * socket/sockatmark.c: Likewise.
815 * socket/sys/socket.h: Likewise.
816 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
817 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
818 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
819 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
820 * sysdeps/unix/sockatmark.c: Likewise.
821 * time/strptime_l.c: Likewise.
822
823 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
824
825 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
826 missing space after the cast of "_NL_CURRENT".
827
828 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
829
830 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
831 ifdef to fix read of VSCR.
832 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
833 tst-ucontext-ppc64-vscr.c to test list.
834 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
835
836 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
837
838 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
839 fall-through.
840
841 2019-01-09 Jim Wilson <jimw@sifive.com>
842
843 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
844
845 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
846
847 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
848 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
849 __memcpy_falkor for ares.
850 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
851 Add new define.
852 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
853 Add ares cpu.
854
855 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
856
857 [BZ #24066]
858 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
859 4_FP_W_TYPEs are used for IEEE quad precision.
860 * soft-fp/extendhftf2.c: Likewise.
861 * soft-fp/extendsftf2.c: Likewise.
862 * soft-fp/extendxftf2.c: Likewise.
863 * soft-fp/trunctfdf2.c: Likewise.
864 * soft-fp/trunctfhf2.c: Likewise.
865 * soft-fp/trunctfsf2.c: Likewise.
866 * soft-fp/trunctfxf2.c: Likewise.
867 * sysdeps/alpha/ots_cvttx.c: Likewise.
868 * sysdeps/alpha/ots_cvtxt.c: Likewise.
869 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
870 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
871 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
872 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
873 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
874 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
875 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
876 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
877 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
878 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
879 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
880 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
881 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
882 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
883 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
884 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
885
886 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
887
888 [BZ #24024]
889 * Makeconfig: Build libm with -fno-math-errno but build the remaining
890 code with -fmath-errno.
891 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
892 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
893 * string/test-strerror-errno.c: New file.
894
895 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
896
897 [BZ #24046]
898 * localedata/locales/en_US (date_fmt): Add, set to
899 "%a %d %b %Y %r %Z".
900
901 2019-01-07 Florian Weimer <fweimer@redhat.com>
902
903 [BZ #24063]
904 * manual/arith.texi (Math Error Reporting): Use @code{errno}
905 instead of @var{errno}.
906 (Parsing of Integers): Likewise.
907 (Parsing of Floats): Likewise.
908 * manual/filesys.texi (Working with Directory Trees): Likewise.
909 (Temporary Files): Likewise.
910 * manual/job.texi (Terminal Access Functions): Likewise.
911 * manual/llio.texi (Synchronizing I/O): Likewise.
912 * manual/math.texi (SVID Random): Likewise.
913 * manual/message.texi (The catgets Functions): Likewise.
914 (Translation with gettext): Likewise.
915 (Locating gettext catalog): Likewise.
916 (Charset conversion in gettext): Likewise.
917 * manual/nss.texi (NSS Module Function Internals): Likewise.
918 * manual/search.texi (Hash Search Function): Likewise.
919 * manual/setjmp.texi (System V contexts): Likewise.
920 * manual/time.texi (Sleeping): Likewise.
921 * manual/users.texi (Lookup User): Likewise.
922 (Lookup Group): Likewise.
923
924 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
925
926 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
927 fix typo.
928
929 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
930
931 [BZ #19444]
932 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
933 __builtin_unreachable for default case in switch.
934 (__ieee754_yn): Likewise.
935 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
936 (__ieee754_ynl): Likewise.
937 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
938 (__ieee754_ynl): Likewise.
939 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
940 (__ieee754_ynl): Likewise.
941
942 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
943
944 * manual/maint.texi: Use @{ and @}.
945
946 2019-01-04 Florian Weimer <fweimer@redhat.com>
947
948 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
949 function.
950 (do_in_chroot_1): Call it.
951 (run_chroot_tests):
952 Improve error reporting in case it is not possible to create a
953 collision for the PTY name required by the test.
954
955 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
956
957 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
958 lll_wait_tid with timeout.
959 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
960 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
961 futex_reltimed_wait_cancelable for cancelabla mode.
962 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
963 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
964 macros.
965 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
966 * sysdeps/posix/waitid.c (__sigwait): Likewise.
967 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
968 SYSCALL_CANCEL_NCS): New macro.
969 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
970 (lll_timedwait_tid): Remove macro.
971 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
972 Likewise.
973 (lll_timedwait_tid): Likewise.
974 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
975 Likewise.
976 (lll_timedwait_tid): Likewise.
977 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
978 Likewise.
979 (lll_timedwait_tid): Likewise.
980 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
981 Use INTERNAL_SYSCALL_CANCEL.
982 * sysdeps/unix/sysv/linux/futex-internal.h
983 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
984 instead of __pthread_{enable,disable}_asynccancel.
985 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
986 (lll_futex_wait_cancel): New macro.
987
988 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
989 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
990
991 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
992 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
993
994 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
995 in backtrace analysis.
996 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
997 side-effects.
998 (tf_send): Likewise.
999
1000 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
1001 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
1002 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
1003 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
1004 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1005 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1006 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
1007 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
1008 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
1009 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
1010 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
1011 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
1012 Likewise.
1013 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
1014 tst-cancel-wrappers.sh.
1015 (generated): Remove tst-cancel-wrappers.out.
1016 (tst-cancel-wrappers.out): Remove rule.
1017 * nptl/tst-cancel-wrappers.sh: Remove file.
1018
1019 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1020
1021 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
1022 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1023 Update.
1024
1025 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1026
1027 [BZ #23640]
1028 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
1029 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
1030 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
1031 close-on-exec reset for adddup2 file action.
1032 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
1033
1034 2019-01-03 Zack Weinberg <zackw@panix.com>
1035
1036 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
1037 parameter. Only use deprecated scanf when __USE_GNU is defined
1038 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
1039 than 201103L, whichever is relevant for the language being compiled.
1040
1041 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
1042 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
1043 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
1044 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
1045 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
1046
1047 * libio/iovsscanf.c
1048 * libio/fwscanf.c
1049 * libio/iovswscanf.c
1050 * libio/swscanf.c
1051 * libio/vscanf.c
1052 * libio/vwscanf.c
1053 * libio/wscanf.c
1054 * stdio-common/fscanf.c
1055 * stdio-common/scanf.c
1056 * stdio-common/vfscanf.c
1057 * stdio-common/vfwscanf.c
1058 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1059 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
1060 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
1061 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
1062 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
1063 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
1064 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
1065 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
1066 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
1067 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
1068 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
1069 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
1070 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
1071 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
1072 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
1073
1074 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
1075 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
1076 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
1077 not sscanf.
1078 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
1079 with a preprocessor macro.
1080
1081 * stdio-common/bug21.c, stdio-common/scanf14.c:
1082 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
1083 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1084 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
1085 to xscanf, xfscanf, xsscanf.
1086
1087 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
1088 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1089 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
1090 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
1091 xfscanf, xsscanf.
1092 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
1093 override feature selection macros or provide definitions of u_char etc.
1094 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
1095 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
1096 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
1097 with -std=gnu89.
1098
1099 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1100
1101 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1102 bits/termios-misc.h.
1103 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
1104 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1105 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1106 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1107 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
1108 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
1109
1110 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
1111 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1112 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
1113 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
1114 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
1115 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
1116 termios-misc.h.
1117 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
1118 (sysdep_headers): Add termios-misc.h.
1119
1120 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
1121 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1122 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1123
1124 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1125 termios-tcflow.h.
1126 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
1127 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
1128 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
1129 TCSAFLUSH): Move to termios-tcflow.h.
1130 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1131 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1132 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1133 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1134
1135 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1136 termios-c_lflag.h.
1137 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
1138 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
1139 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
1140 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
1141 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
1142 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
1143 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
1144 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
1145 Likewise.
1146 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1147 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1148 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1149 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1150
1151 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1152 termios-c_cflag.h.
1153 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
1154 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
1155 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
1156 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
1157 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
1158 termios-c_cflag.h.
1159 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1160 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1161 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1162 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1163
1164 [BZ #23783]
1165 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1166 termios-baud.h.
1167 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
1168 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
1169 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
1170 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
1171 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
1172 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
1173 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
1174 __MAX_BAUD): Move to termios-baud.h.
1175 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
1176 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
1177 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1178 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1179 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1180
1181 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1182 termios-c_oflag.h.
1183 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
1184 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
1185 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
1186 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
1187 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
1188 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
1189 termios-c_oflag.h.
1190 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
1191 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
1192 FFR1): Likewise.
1193 [USE_MISC] (XTABS): Likewise.
1194 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1195 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1196 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1197 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
1198
1199 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1200 termios-c_iflag.h.
1201 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
1202 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
1203 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
1204 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
1205 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
1206 IUTF8): Move to termios-c_iflag.h.
1207 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1208 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1209 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1210 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1211
1212 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1213 termios-cc.h.
1214 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
1215 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
1216 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
1217 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
1218 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
1219 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
1220 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
1221 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
1222 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1223 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1224 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1225 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1226
1227 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
1228 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
1229 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
1230 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
1231 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1232 termios-struct.h.
1233 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
1234 termios-struct.h.
1235 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
1236 Likewise.
1237 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
1238 Likewise.
1239 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
1240 Likewise.
1241 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
1242 Likewise.
1243 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
1244 _HAVE_C_OSPEED): Define.
1245 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
1246 _HAVE_C_OSPEED): Likewise.
1247 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
1248 _HAVE_C_OSPEED): Likewise.
1249 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
1250 (cfsetospeed): Check for define value instead of existence.
1251 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
1252 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1253 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
1254 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1255 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
1256
1257 [BZ #17783]
1258 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
1259 Define.
1260 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1261 (TIOCSER_TEMT): Likewise.
1262 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
1263 (TEOCSER_TEMT): Likewise.
1264
1265 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
1266
1267 [BZ #24011]
1268 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
1269
1270 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1271
1272 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
1273
1274 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
1275
1276 * sysdeps/htl/pt-barrierattr-setpshared.c
1277 (pthread_barrierattr_setpshared): Add stub warning.
1278 * sysdeps/htl/pt-condattr-setpshared.c
1279 (pthread_condattr_setpshared): Likewise.
1280 * sysdeps/htl/pt-mutexattr-setpshared.c
1281 (pthread_mutexattr_setpshared): Likewise.
1282 * sysdeps/htl/pt-rwlockattr-setpshared.c
1283 (pthread_rwlockattr_setpshared): Likewise.
1284 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
1285 (pthread_mutexattr_setpshared): Likewise.
1286
1287 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1288
1289 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
1290 constants to match with Linux 4.20.
1291
1292 * sysdeps/mips/mips32/libm-test-ulps: Update.
1293 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1294
1295 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
1296
1297 [BZ #24034]
1298 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
1299 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
1300 than __typeof (...) for the a_ptr variable.
1301
1302 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1303
1304 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
1305 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
1306 * libio/Makefile (tests): Add tst-sprintf-ub and
1307 tst-sprintf-chk-ub.
1308 (CFLAGS-tst-sprintf-ub.c): New variable.
1309 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
1310 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
1311 destination buffer and check for overflows in fortified mode.
1312 * libio/libioP.h (PRINTF_CHK): New macro.
1313 * libio/tst-sprintf-chk-ub.c: New file.
1314 * libio/tst-sprintf-ub.c: Likewise.
1315
1316 2019-01-02 Florian Weimer <fweimer@redhat.com>
1317
1318 [BZ #24018]
1319 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
1320 failure.
1321
1322 2019-01-02 Florian Weimer <fweimer@redhat.com>
1323
1324 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
1325
1326 2019-01-01 Joseph Myers <joseph@codesourcery.com>
1327
1328 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
1329 macro.
1330
1331 * sysdeps/unix/sysv/linux/netpacket/packet.h
1332 (PACKET_IGNORE_OUTGOING): New macro.
1333
1334 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
1335 macro.
1336
1337 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1338 version to 4.20.
1339 (riscv_flush_icache): New syscall.
1340
1341 * manual/texinfo.tex: Update to version 2018-12-28.17 with
1342 trailing whitespace removed.
1343 * scripts/config.guess: Update to version 2019-01-01.
1344 * scripts/config.sub: Update to version 2019-01-01.
1345 * scripts/move-if-change: Update from gnulib.
1346
1347 * NEWS: Update copyright dates.
1348 * catgets/gencat.c (print_version): Likewise.
1349 * csu/version.c (banner): Likewise.
1350 * debug/catchsegv.sh: Likewise.
1351 * debug/pcprofiledump.c (print_version): Likewise.
1352 * debug/xtrace.sh (do_version): Likewise.
1353 * elf/ldconfig.c (print_version): Likewise.
1354 * elf/ldd.bash.in: Likewise.
1355 * elf/pldd.c (print_version): Likewise.
1356 * elf/sotruss.sh: Likewise.
1357 * elf/sprof.c (print_version): Likewise.
1358 * iconv/iconv_prog.c (print_version): Likewise.
1359 * iconv/iconvconfig.c (print_version): Likewise.
1360 * locale/programs/locale.c (print_version): Likewise.
1361 * locale/programs/localedef.c (print_version): Likewise.
1362 * login/programs/pt_chown.c (print_version): Likewise.
1363 * malloc/memusage.sh (do_version): Likewise.
1364 * malloc/memusagestat.c (print_version): Likewise.
1365 * malloc/mtrace.pl: Likewise.
1366 * manual/libc.texinfo: Likewise.
1367 * nptl/version.c (banner): Likewise.
1368 * nscd/nscd.c (print_version): Likewise.
1369 * nss/getent.c (print_version): Likewise.
1370 * nss/makedb.c (print_version): Likewise.
1371 * posix/getconf.c (main): Likewise.
1372 * scripts/test-installation.pl: Likewise.
1373 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1374
1375 * All files with FSF copyright notices: Update copyright dates
1376 using scripts/update-copyrights.
1377 * locale/programs/charmap-kw.h: Regenerated.
1378 * locale/programs/locfile-kw.h: Likewise.
1379
1380 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1381
1382 * timezone/zdump.c: Update from tzcode 2018i.
1383 * timezone/zic.c: Likewise.
1384
1385 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
1386
1387 regex: improve Gnulib port to AIX
1388 From the glibc point of view, this removes duplicate macro
1389 definitions and is obviously safe.
1390 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
1391 * posix/regex_internal.h:
1392 (__attribute__, __attribute_warn_unused_result__):
1393 Remove; already defined elsewhere.
1394
1395 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
1396
1397 [BZ #24027]
1398 * malloc/malloc.c (_int_realloc): Always call memcpy for the
1399 copying operation. (ncopies had the wrong type, resulting in an
1400 integer wraparound and too few elements being copied.)
1401
1402 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
1403
1404 [BZ #24022]
1405 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
1406 <asm/syscalls.h> exists with __has_include__ before including it.
1407
1408 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1409
1410 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1411 version to 4.20.
1412
1413 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
1414
1415 * hurd/lookup-retry: Include <unistd.h>.
1416 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
1417 Release it on return. Handle "pid" magical lookup retry.
1418
1419 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1420
1421 [BZ #10496]
1422 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
1423 (t_fmt_ampm): Likewise.
1424 * localedata/locales/aa_ER (t_fmt): Likewise.
1425 (t_fmt_ampm): Likewise.
1426 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
1427 (t_fmt_ampm): Likewise.
1428 * localedata/locales/aa_ET (t_fmt): Likewise.
1429 (t_fmt_ampm): Likewise.
1430 * localedata/locales/am_ET (t_fmt): Likewise.
1431 (t_fmt_ampm): Likewise.
1432 * localedata/locales/byn_ER (t_fmt): Likewise.
1433 (t_fmt_ampm): Likewise.
1434 * localedata/locales/om_ET (t_fmt): Likewise.
1435 (t_fmt_ampm): Likewise.
1436 * localedata/locales/sid_ET (t_fmt): Likewise.
1437 (t_fmt_ampm): Likewise.
1438 * localedata/locales/so_DJ (t_fmt): Likewise.
1439 (t_fmt_ampm): Likewise.
1440 * localedata/locales/so_ET (t_fmt): Likewise.
1441 (t_fmt_ampm): Likewise.
1442 * localedata/locales/so_SO (t_fmt): Likewise.
1443 (t_fmt_ampm): Likewise.
1444 * localedata/locales/ti_ER (t_fmt): Likewise.
1445 (t_fmt_ampm): Likewise.
1446 * localedata/locales/ti_ET (t_fmt): Likewise.
1447 (t_fmt_ampm): Likewise.
1448 * localedata/locales/tig_ER (t_fmt): Likewise.
1449 (t_fmt_ampm): Likewise.
1450 * localedata/locales/wal_ET (t_fmt): Likewise.
1451 (t_fmt_ampm): Likewise.
1452
1453 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
1454 * localedata/locales/ar_IN (t_fmt): Likewise.
1455 * localedata/locales/bhb_IN (t_fmt): Likewise.
1456 * localedata/locales/bho_IN (t_fmt): Likewise.
1457 * localedata/locales/bi_VU (t_fmt): Likewise.
1458 * localedata/locales/bn_BD (t_fmt): Likewise.
1459 * localedata/locales/bn_IN (t_fmt): Likewise.
1460 * localedata/locales/brx_IN (t_fmt): Likewise.
1461 * localedata/locales/doi_IN (t_fmt): Likewise.
1462 * localedata/locales/en_HK (t_fmt): Likewise.
1463 (t_fmt_ampm): Likewise.
1464 * localedata/locales/en_IN (t_fmt): Likewise.
1465 * localedata/locales/en_PH (t_fmt): Likewise.
1466 * localedata/locales/gu_IN (t_fmt): Likewise.
1467 * localedata/locales/hi_IN (t_fmt): Likewise.
1468 * localedata/locales/hif_FJ (t_fmt): Likewise.
1469 * localedata/locales/hne_IN (t_fmt): Likewise.
1470 * localedata/locales/kn_IN (t_fmt): Likewise.
1471 * localedata/locales/kok_IN (t_fmt): Likewise.
1472 * localedata/locales/ks_IN (t_fmt): Likewise.
1473 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
1474 * localedata/locales/mag_IN (t_fmt): Likewise.
1475 * localedata/locales/mai_IN (t_fmt): Likewise.
1476 * localedata/locales/mjw_IN (t_fmt): Likewise.
1477 * localedata/locales/ml_IN (t_fmt): Likewise.
1478 * localedata/locales/mni_IN (t_fmt): Likewise.
1479 * localedata/locales/mr_IN (t_fmt): Likewise.
1480 * localedata/locales/ms_MY (t_fmt): Likewise.
1481 * localedata/locales/pa_IN (t_fmt): Likewise.
1482 * localedata/locales/raj_IN (t_fmt): Likewise.
1483 * localedata/locales/sa_IN (t_fmt): Likewise.
1484 * localedata/locales/sat_IN (t_fmt): Likewise.
1485 * localedata/locales/sd_IN (t_fmt): Likewise.
1486 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
1487 * localedata/locales/tcy_IN (t_fmt): Likewise.
1488 * localedata/locales/the_NP (t_fmt): Likewise.
1489 * localedata/locales/to_TO (t_fmt): Likewise.
1490 * localedata/locales/ur_IN (t_fmt): Likewise.
1491
1492 * localedata/locales/hif_FJ (d_t_fmt): Set to
1493 "%A %d %b %Y %I:%M:%S %p".
1494 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
1495
1496 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
1497 * localedata/locales/ar_BH (t_fmt): Likewise.
1498 * localedata/locales/ar_DZ (t_fmt): Likewise.
1499 * localedata/locales/ar_EG (t_fmt): Likewise.
1500 * localedata/locales/ar_IQ (t_fmt): Likewise.
1501 * localedata/locales/ar_JO (t_fmt): Likewise.
1502 * localedata/locales/ar_KW (t_fmt): Likewise.
1503 * localedata/locales/ar_LB (t_fmt): Likewise.
1504 * localedata/locales/ar_LY (t_fmt): Likewise.
1505 * localedata/locales/ar_OM (t_fmt): Likewise.
1506 * localedata/locales/ar_QA (t_fmt): Likewise.
1507 * localedata/locales/ar_SD (t_fmt): Likewise.
1508 * localedata/locales/ar_SS (t_fmt): Likewise.
1509 * localedata/locales/ar_SY (t_fmt): Likewise.
1510 * localedata/locales/ar_TN (t_fmt): Likewise.
1511 * localedata/locales/ar_YE (t_fmt): Likewise.
1512
1513 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
1514 (t_fmt_ampm): Likewise.
1515 * localedata/locales/gez_ET (t_fmt): Likewise.
1516 (t_fmt_ampm): Likewise.
1517
1518 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
1519 (t_fmt_ampm): Likewise.
1520 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
1521
1522 * localedata/locales/zh_HK (t_fmt):
1523 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
1524
1525 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
1526 because this locale does not use the 12-hour clock.
1527 (t_fmt): Set to "%Z %H:%M:%S".
1528 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
1529
1530 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
1531 because this locale does not use the 12-hour clock.
1532 (t_fmt): Set to "%H:%M:%S %Z".
1533 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
1534
1535 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
1536 because this locale does not use the 12-hour clock.
1537 (t_fmt): Set to "%T".
1538 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
1539 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
1540
1541 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
1542 because this locale does not use the 12-hour clock.
1543 (t_fmt): Set to "%H:%M:%S %Z".
1544 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
1545
1546 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
1547 because this locale does not use the 12-hour clock.
1548 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
1549 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
1550
1551 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1552
1553 [BZ #10496]
1554 [BZ #23724]
1555 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
1556 (t_fmt_ampm): Likewise.
1557 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
1558 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
1559 (d_fmt): Set to "%-d.%-m.%y".
1560
1561 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1562
1563 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
1564 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
1565 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
1566 Likewise.
1567 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
1568 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
1569 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
1570 function.
1571 * support/blob_repeat.c (check_mul_overflow_size_t,
1572 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
1573
1574 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
1575
1576 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
1577
1578 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
1579
1580 regex: simplify Gnulib port
1581 This simplifies the code, by removing stuff intended for porting
1582 to Gnulib but no longer needed there.
1583 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
1584 uses of libc_hidden_def, weak_alias.
1585 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
1586 _Restrict_ except for public-facing headers.
1587 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
1588 Remove; already defined elsewhere.
1589 * posix/regex.c, posix/regex_internal.h:
1590 Use __GNUC_PREREQ instead of rolling our own.
1591 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
1592
1593 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
1594
1595 * benchtests/bench-strlen.c (generic_strlen): New function.
1596 (memchr_strlen): New function.
1597
1598 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1599
1600 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
1601 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
1602 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
1603
1604 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1605
1606 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1607
1608 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1609
1610 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
1611 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
1612 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
1613 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
1614 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
1615 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
1616 <sysdeps/ieee754/flt-32/s_sincosf.c>.
1617
1618 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1619
1620 [BZ #24023]
1621 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
1622 PLT reference in libc.so.
1623 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
1624 _Q_lltoq and _Q_qtod PLT references in libc.so.
1625
1626 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
1627
1628 * benchtests/bench-memchr.c: Cleanup defines.
1629 * benchtests/bench-memcmp.c: Likewise.
1630 * benchtests/bench-memset.c: Likewise.
1631 * benchtests/bench-memset-large.c: Likewise.
1632 * benchtests/bench-memset-walk.c: Likewise.
1633 * benchtests/bench-stpcpy.c: Likewise.
1634 * benchtests/bench-stpncpy.c: Likewise.
1635 * benchtests/bench-strcat.c: Likewise.
1636 * benchtests/bench-strchr.c: Likewise.
1637 * benchtests/bench-strcmp.c: Likewise.
1638 * benchtests/bench-strcpy.c: Likewise.
1639 * benchtests/bench-strcspn.c: Likewise.
1640 * benchtests/bench-string.h: Likewise.
1641 * benchtests/bench-strlen.c: Likewise.
1642 * benchtests/bench-strncat.c: Likewise.
1643 * benchtests/bench-strncmp.c: Likewise.
1644 * benchtests/bench-strncpy.c: Likewise.
1645 * benchtests/bench-strnlen.c: Likewise.
1646 * benchtests/bench-strpbrk.c: Likewise.
1647 * benchtests/bench-strrchr.c: Likewise.
1648 * benchtests/bench-strspn.c: Likewise.
1649
1650 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1651
1652 * stdlib/longlong.h: Update from GCC.
1653
1654 [BZ #23993]
1655 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
1656 * configure: Regenerated.
1657 * manual/install.texi (Tools for Compilation): Update minimum GCC
1658 version.
1659 * INSTALL: Regenerated.
1660
1661 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
1662
1663 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
1664
1665 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
1666
1667 * malloc/malloc.c (mremap_chunk): Additional checks.
1668
1669 2018-12-21 Mao Han <han_mao@c-sky.com>
1670
1671 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
1672 * scripts/build-many-glibcs.py: Add C-SKY targets.
1673 * sysdeps/csky/Implies: New file.
1674 * sysdeps/csky/Makefile: Likewise.
1675 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
1676 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
1677 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
1678 * sysdeps/csky/abiv2/memcmp.S: Likewise.
1679 * sysdeps/csky/abiv2/memcpy.S: Likewise.
1680 * sysdeps/csky/abiv2/memmove.S: Likewise.
1681 * sysdeps/csky/abiv2/memset.S: Likewise.
1682 * sysdeps/csky/abiv2/setjmp.S: Likewise.
1683 * sysdeps/csky/abiv2/start.S: Likewise.
1684 * sysdeps/csky/abiv2/strcmp.S: Likewise.
1685 * sysdeps/csky/abiv2/strcpy.S: Likewise.
1686 * sysdeps/csky/abiv2/strlen.S: Likewise.
1687 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
1688 * sysdeps/csky/abort-instr.h: Likewise.
1689 * sysdeps/csky/atomic-machine.h: Likewise.
1690 * sysdeps/csky/bits/endian.h: Likewise.
1691 * sysdeps/csky/bits/fenv.h: Likewise.
1692 * sysdeps/csky/bits/link.h: Likewise.
1693 * sysdeps/csky/bits/setjmp.h: Likewise.
1694 * sysdeps/csky/bsd-_setjmp.S: Likewise.
1695 * sysdeps/csky/bsd-setjmp.S: Likewise.
1696 * sysdeps/csky/configure: Likewise.
1697 * sysdeps/csky/configure.ac: Likewise.
1698 * sysdeps/csky/dl-machine.h: Likewise.
1699 * sysdeps/csky/dl-procinfo.c: Likewise.
1700 * sysdeps/csky/dl-procinfo.h: Likewise.
1701 * sysdeps/csky/dl-sysdep.h: Likewise.
1702 * sysdeps/csky/dl-tls.h: Likewise.
1703 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
1704 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
1705 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
1706 * sysdeps/csky/fpu/fegetenv.c: Likewise.
1707 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
1708 * sysdeps/csky/fpu/fegetmode.c: Likewise.
1709 * sysdeps/csky/fpu/fegetround.c: Likewise.
1710 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
1711 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
1712 * sysdeps/csky/fpu/fenv_private.h: Likewise.
1713 * sysdeps/csky/fpu/fesetenv.c: Likewise.
1714 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
1715 * sysdeps/csky/fpu/fesetmode.c: Likewise.
1716 * sysdeps/csky/fpu/fesetround.c: Likewise.
1717 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
1718 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
1719 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
1720 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
1721 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
1722 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
1723 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
1724 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
1725 * sysdeps/csky/fpu_control.h: Likewise.
1726 * sysdeps/csky/gccframe.h: Likewise.
1727 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
1728 * sysdeps/csky/ldsodefs.h: Likewise.
1729 * sysdeps/csky/libc-tls.c: Likewise.
1730 * sysdeps/csky/linkmap.h: Likewise.
1731 * sysdeps/csky/machine-gmon.h: Likewise.
1732 * sysdeps/csky/memusage.h: Likewise.
1733 * sysdeps/csky/nofpu/Implies: Likewise.
1734 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
1735 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
1736 * sysdeps/csky/nptl/Makefile: Likewise.
1737 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
1738 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
1739 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
1740 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
1741 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
1742 * sysdeps/csky/nptl/tls.h: Likewise.
1743 * sysdeps/csky/preconfigure: Likewise.
1744 * sysdeps/csky/sfp-machine.h: Likewise.
1745 * sysdeps/csky/sotruss-lib.c: Likewise.
1746 * sysdeps/csky/stackinfo.h: Likewise.
1747 * sysdeps/csky/sysdep.h: Likewise.
1748 * sysdeps/csky/tininess.h: Likewise.
1749 * sysdeps/csky/tst-audit.h: Likewise.
1750 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
1751 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
1752 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
1753 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
1754 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1755 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
1756 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1757 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
1758 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
1759 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
1760 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
1761 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
1762 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
1763 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
1764 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
1765 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
1766 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
1767 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
1768 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
1769 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
1770 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
1771 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
1772 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
1773 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1774 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
1775 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
1776 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1777 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
1778 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
1779 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
1780 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
1781 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
1782 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
1783 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
1784 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
1785 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
1786 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
1787 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
1788 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
1789 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
1790 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
1791 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
1792 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
1793 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
1794
1795 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1796
1797 * include/time.h (__difftime64): Add.
1798 * time/difftime.c (subtract): convert to 64-bit time.
1799 * time/difftime.c (__difftime64): Add.
1800 * time/difftime.c (__difftime): Wrap around __difftime64.
1801
1802 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1803
1804 * manual/examples/add.c: Remove redundant "if not".
1805 * manual/examples/argp-ex1.c: Likewise.
1806 * manual/examples/argp-ex2.c: Likewise.
1807 * manual/examples/argp-ex3.c: Likewise.
1808 * manual/examples/argp-ex4.c: Likewise.
1809 * manual/examples/atexit.c: Likewise.
1810 * manual/examples/db.c: Likewise.
1811 * manual/examples/dir.c: Likewise.
1812 * manual/examples/dir2.c: Likewise.
1813 * manual/examples/execinfo.c: Likewise.
1814 * manual/examples/filecli.c: Likewise.
1815 * manual/examples/filesrv.c: Likewise.
1816 * manual/examples/fmtmsgexpl.c: Likewise.
1817 * manual/examples/genpass.c: Likewise.
1818 * manual/examples/inetcli.c: Likewise.
1819 * manual/examples/inetsrv.c: Likewise.
1820 * manual/examples/isockad.c: Likewise.
1821 * manual/examples/longopt.c: Likewise.
1822 * manual/examples/memopen.c: Likewise.
1823 * manual/examples/memstrm.c: Likewise.
1824 * manual/examples/mkdirent.c: Likewise.
1825 * manual/examples/mkfsock.c: Likewise.
1826 * manual/examples/mkisock.c: Likewise.
1827 * manual/examples/mygetpass.c: Likewise.
1828 * manual/examples/pipe.c: Likewise.
1829 * manual/examples/popen.c: Likewise.
1830 * manual/examples/rprintf.c: Likewise.
1831 * manual/examples/search.c: Likewise.
1832 * manual/examples/select.c: Likewise.
1833 * manual/examples/setjmp.c: Likewise.
1834 * manual/examples/sigh1.c: Likewise.
1835 * manual/examples/sigusr.c: Likewise.
1836 * manual/examples/stpcpy.c: Likewise.
1837 * manual/examples/strdupa.c: Likewise.
1838 * manual/examples/strftim.c: Likewise.
1839 * manual/examples/subopt.c: Likewise.
1840 * manual/examples/swapcontext.c: Likewise.
1841 * manual/examples/termios.c: Likewise.
1842 * manual/examples/testopt.c: Likewise.
1843 * manual/examples/testpass.c: Likewise.
1844 * manual/examples/timeval_subtract.c: Likewise.
1845
1846 2018-12-19 Joseph Myers <joseph@codesourcery.com>
1847
1848 * sysdeps/x86/fpu/math_private.h: New file.
1849 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
1850
1851 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
1852 definition.
1853 (cosh): Likewise.
1854 (tanh): Likewise.
1855
1856 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1857
1858 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
1859 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
1860 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
1861 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
1862 fields.
1863 (_dl_show_auxv): Give a special treatment to
1864 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
1865 and AT_L3_CACHEGEOMETRY.
1866 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
1867 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
1868 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
1869 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
1870
1871 2018-12-19 Andreas Schwab <schwab@suse.de>
1872
1873 * nscd/connections.c (check_use): Don't abort on invalid len.
1874
1875 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
1876
1877 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
1878 values in the 64bit value cases.
1879
1880 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1881
1882 * include/time.h
1883 (__ctime64_r): Add.
1884 * time/ctime_r.c
1885 (__ctime64_r): Add.
1886 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
1887
1888 * include/time.h
1889 (__ctime64): Add.
1890 * time/gmtime.c
1891 (__ctime64): Add.
1892 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
1893
1894 * include/time.h
1895 (__gmtime64_r): Add.
1896 * time/gmtime.c
1897 (__gmtime64_r): Add.
1898 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1899
1900 * include/time.h
1901 (__gmtime64): Add.
1902 * time/gmtime.c
1903 (__gmtime64): Add.
1904 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1905
1906 * include/time.h
1907 (__localtime64_r): Add.
1908 * time/localtime.c
1909 (__localtime64_r): Add.
1910 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
1911
1912 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1913
1914 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
1915 kernel_sigction definition.
1916
1917 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
1918
1919 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
1920
1921 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
1922 __syscall_rt_sigaction.
1923 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
1924 (kernel_sigaction): Use Linux generic defintion.
1925 (STUB): Define.
1926 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
1927 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
1928 (__syscall_rt_sigaction): Remove implementation.
1929 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
1930 hidden.
1931 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
1932 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
1933 INTERNAL_SYSCALL): Remove definitions.
1934 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
1935 action and signal set size.
1936 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
1937 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
1938
1939 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1940 James Clarke <jrtc27@jrtc27.com>
1941
1942 [BZ #23967]
1943 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
1944 Define if SA_RESTORER is defined.
1945 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
1946 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
1947 already defined.
1948 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
1949 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
1950 definitions.
1951 (HAS_SA_RESTORER): Define.
1952 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
1953 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
1954 (HAS_SA_RESTORER): Define.
1955 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
1956 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
1957 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
1958 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
1959 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1960
1961 2018-12-18 Joseph Myers <joseph@codesourcery.com>
1962
1963 * sysdeps/unix/sysv/linux/kernel-features.h
1964 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
1965 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1966 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
1967 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1968 (__ASSUME_ST_INO_64_BIT): Likewise.
1969 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1970 <kernel-features.h>.
1971 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1972 Remove conditional code.
1973 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1974 <kernel-features.h>.
1975 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1976 Remove conditional code.
1977 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
1978 <kernel-features.h>.
1979 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1980 Remove conditional code.
1981 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
1982 <kernel-features.h>.
1983 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
1984 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
1985
1986 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1987
1988 * sysdeps/s390/multiarch/ifunc-resolve.h
1989 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
1990 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
1991 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
1992 Delete macro definition.
1993 (s390_libc_ifunc_init): Rename to
1994 s390_libc_ifunc_expr_stfle_init.
1995 * sysdeps/s390/bzero: Use
1996 s390_libc_ifunc_expr_stfle_init instead of
1997 s390_libc_ifunc_init.
1998 * sysdeps/s390/memcmp.c: Likewise.
1999 * sysdeps/s390/memcpy.c: Likewise.
2000 * sysdeps/s390/mempcpy.c: Likewise.
2001 * sysdeps/s390/memset.c: Likewise.
2002
2003 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2004
2005 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
2006 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
2007
2008 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2009
2010 * sysdeps/s390/multiarch/Makefile
2011 (sysdep_routines): Remove wmemcmp variants.
2012 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
2013 * sysdeps/s390/multiarch/ifunc-impl-list.c
2014 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
2015 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
2016 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
2017 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
2018 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
2019 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
2020 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
2021 * sysdeps/s390/ifunc-wmemcmp.h: New file.
2022
2023 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2024
2025 * sysdeps/s390/multiarch/Makefile
2026 (sysdep_routines): Remove wmemset variants.
2027 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
2028 * sysdeps/s390/multiarch/ifunc-impl-list.c
2029 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
2030 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
2031 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
2032 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
2033 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
2034 * sysdeps/s390/multiarch/wmemset.c: Move to ...
2035 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
2036 * sysdeps/s390/ifunc-wmemset.h: New file.
2037
2038 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2039
2040 * sysdeps/s390/multiarch/Makefile
2041 (sysdep_routines): Remove wmemchr variants.
2042 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
2043 * sysdeps/s390/multiarch/ifunc-impl-list.c
2044 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
2045 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
2046 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
2047 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
2048 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
2049 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
2050 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
2051 * sysdeps/s390/ifunc-wmemchr.h: New file.
2052
2053 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2054
2055 * sysdeps/s390/multiarch/Makefile
2056 (sysdep_routines): Remove wcscspn variants.
2057 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
2058 * sysdeps/s390/multiarch/ifunc-impl-list.c
2059 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
2060 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
2061 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
2062 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
2063 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
2064 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
2065 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
2066 * sysdeps/s390/ifunc-wcscspn.h: New file.
2067
2068 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2069
2070 * sysdeps/s390/multiarch/Makefile
2071 (sysdep_routines): Remove wcspbrk variants.
2072 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
2073 * sysdeps/s390/multiarch/ifunc-impl-list.c
2074 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
2075 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
2076 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
2077 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
2078 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
2079 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
2080 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
2081 * sysdeps/s390/ifunc-wcspbrk.h: New file.
2082
2083 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2084
2085 * sysdeps/s390/multiarch/Makefile
2086 (sysdep_routines): Remove wcsspn variants.
2087 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
2088 * sysdeps/s390/multiarch/ifunc-impl-list.c
2089 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
2090 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
2091 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
2092 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
2093 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
2094 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
2095 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
2096 * sysdeps/s390/ifunc-wcsspn.h: New file.
2097
2098 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2099
2100 * sysdeps/s390/multiarch/Makefile
2101 (sysdep_routines): Remove wcsrchr variants.
2102 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
2103 * sysdeps/s390/multiarch/ifunc-impl-list.c
2104 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
2105 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
2106 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
2107 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
2108 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
2109 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
2110 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
2111 * sysdeps/s390/ifunc-wcsrchr.h: New file.
2112
2113 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2114
2115 * sysdeps/s390/multiarch/Makefile
2116 (sysdep_routines): Remove wcschrnul variants.
2117 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
2118 * sysdeps/s390/multiarch/ifunc-impl-list.c
2119 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
2120 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
2121 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
2122 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
2123 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
2124 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
2125 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
2126 * sysdeps/s390/ifunc-wcschrnul.h: New file.
2127
2128 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2129
2130 * sysdeps/s390/multiarch/Makefile
2131 (sysdep_routines): Remove wcschr variants.
2132 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
2133 * sysdeps/s390/multiarch/ifunc-impl-list.c
2134 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
2135 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
2136 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
2137 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
2138 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
2139 * sysdeps/s390/multiarch/wcschr.c: Move to ...
2140 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
2141 * sysdeps/s390/ifunc-wcschr.h: New file.
2142
2143 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2144
2145 * sysdeps/s390/multiarch/Makefile
2146 (sysdep_routines): Remove wcsncmp variants.
2147 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
2148 * sysdeps/s390/multiarch/ifunc-impl-list.c
2149 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
2150 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
2151 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
2152 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
2153 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
2154 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
2155 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
2156 * sysdeps/s390/ifunc-wcsncmp.h: New file.
2157
2158 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2159
2160 * sysdeps/s390/multiarch/Makefile
2161 (sysdep_routines): Remove wcscmp variants.
2162 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
2163 * sysdeps/s390/multiarch/ifunc-impl-list.c
2164 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
2165 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
2166 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
2167 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
2168 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
2169 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
2170 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
2171 * sysdeps/s390/ifunc-wcscmp.h: New file.
2172
2173 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2174
2175 * sysdeps/s390/multiarch/Makefile
2176 (sysdep_routines): Remove wcsncat variants.
2177 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
2178 * sysdeps/s390/multiarch/ifunc-impl-list.c
2179 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
2180 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
2181 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
2182 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
2183 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
2184 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
2185 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
2186 * sysdeps/s390/ifunc-wcsncat.h: New file.
2187
2188 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2189
2190 * sysdeps/s390/multiarch/Makefile
2191 (sysdep_routines): Remove wcscat variants.
2192 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
2193 * sysdeps/s390/multiarch/ifunc-impl-list.c
2194 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
2195 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
2196 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
2197 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
2198 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
2199 * sysdeps/s390/multiarch/wcscat.c: Move to ...
2200 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
2201 * sysdeps/s390/ifunc-wcscat.h: New file.
2202
2203 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2204
2205 * sysdeps/s390/multiarch/Makefile
2206 (sysdep_routines): Remove wcpncpy variants.
2207 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
2208 * sysdeps/s390/multiarch/ifunc-impl-list.c
2209 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
2210 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
2211 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
2212 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
2213 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
2214 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
2215 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
2216 * sysdeps/s390/ifunc-wcpncpy.h: New file.
2217
2218 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2219
2220 * sysdeps/s390/multiarch/Makefile
2221 (sysdep_routines): Remove wcsncpy variants.
2222 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
2223 * sysdeps/s390/multiarch/ifunc-impl-list.c
2224 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
2225 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
2226 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
2227 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
2228 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
2229 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
2230 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
2231 * sysdeps/s390/ifunc-wcsncpy.h: New file.
2232
2233 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2234
2235 * sysdeps/s390/multiarch/Makefile
2236 (sysdep_routines): Remove wcpcpy variants.
2237 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
2238 * sysdeps/s390/multiarch/ifunc-impl-list.c
2239 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
2240 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
2241 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
2242 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
2243 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
2244 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
2245 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
2246 * sysdeps/s390/ifunc-wcpcpy.h: New file.
2247
2248 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2249
2250 * sysdeps/s390/multiarch/Makefile
2251 (sysdep_routines): Remove wcscpy variants.
2252 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
2253 * sysdeps/s390/multiarch/ifunc-impl-list.c
2254 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
2255 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
2256 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
2257 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
2258 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
2259 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
2260 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
2261 * sysdeps/s390/ifunc-wcscpy.h: New file.
2262
2263 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2264
2265 * sysdeps/s390/multiarch/Makefile
2266 (sysdep_routines): Remove wcsnlen variants.
2267 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
2268 * sysdeps/s390/multiarch/ifunc-impl-list.c
2269 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
2270 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
2271 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
2272 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
2273 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
2274 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
2275 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
2276 * sysdeps/s390/ifunc-wcsnlen.h: New file.
2277
2278 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2279
2280 * sysdeps/s390/multiarch/Makefile
2281 (sysdep_routines): Remove wcslen variants.
2282 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
2283 * sysdeps/s390/multiarch/ifunc-impl-list.c
2284 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
2285 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
2286 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
2287 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
2288 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
2289 * sysdeps/s390/multiarch/wcslen.c: Move to ...
2290 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
2291 * sysdeps/s390/ifunc-wcslen.h: New file.
2292
2293 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2294
2295 * sysdeps/s390/multiarch/Makefile
2296 (sysdep_routines): Remove memrchr variants.
2297 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
2298 * sysdeps/s390/multiarch/ifunc-impl-list.c
2299 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
2300 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
2301 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
2302 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
2303 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
2304 * sysdeps/s390/multiarch/memrchr.c: Move to ...
2305 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
2306 * sysdeps/s390/ifunc-memrchr.h: New file.
2307
2308 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2309
2310 * sysdeps/s390/multiarch/Makefile
2311 (sysdep_routines): Remove memccpy variants.
2312 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
2313 * sysdeps/s390/multiarch/ifunc-impl-list.c
2314 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
2315 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
2316 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
2317 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
2318 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
2319 * sysdeps/s390/multiarch/memccpy.c: Move to ...
2320 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
2321 * sysdeps/s390/ifunc-memccpy.h: New file.
2322
2323 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2324
2325 * sysdeps/s390/multiarch/Makefile
2326 (sysdep_routines): Remove rawmemchr variants.
2327 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
2328 * sysdeps/s390/multiarch/ifunc-impl-list.c
2329 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
2330 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
2331 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
2332 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
2333 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
2334 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
2335 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
2336 * sysdeps/s390/ifunc-rawmemchr.h: New file.
2337
2338 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2339
2340 * sysdeps/s390/multiarch/Makefile
2341 (sysdep_routines): Remove memchr variants.
2342 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
2343 * sysdeps/s390/multiarch/ifunc-impl-list.c
2344 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
2345 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
2346 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
2347 * sysdeps/s390/multiarch/memchr.c: Move to ...
2348 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
2349 * sysdeps/s390/ifunc-memchr.h: New file.
2350 * sysdeps/s390/s390-64/memchr.S: Move to ...
2351 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
2352 for 31/64bit and ifunc handling.
2353 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
2354 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2355 * sysdeps/s390/s390-32/memchr.S: Likewise.
2356
2357 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2358
2359 * sysdeps/s390/multiarch/Makefile
2360 (sysdep_routines): Remove strcspn variants.
2361 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
2362 * sysdeps/s390/multiarch/ifunc-impl-list.c
2363 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
2364 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
2365 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
2366 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
2367 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
2368 * sysdeps/s390/multiarch/strcspn.c: Move to ...
2369 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
2370 * sysdeps/s390/ifunc-strcspn.h: New file.
2371
2372 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2373
2374 * sysdeps/s390/multiarch/Makefile
2375 (sysdep_routines): Remove strpbrk variants.
2376 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
2377 * sysdeps/s390/multiarch/ifunc-impl-list.c
2378 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
2379 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
2380 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
2381 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
2382 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
2383 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
2384 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
2385 * sysdeps/s390/ifunc-strpbrk.h: New file.
2386
2387 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2388
2389 * sysdeps/s390/multiarch/Makefile
2390 (sysdep_routines): Remove strspn variants.
2391 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
2392 * sysdeps/s390/multiarch/ifunc-impl-list.c
2393 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
2394 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
2395 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
2396 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
2397 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
2398 * sysdeps/s390/multiarch/strspn.c: Move to ...
2399 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
2400 * sysdeps/s390/ifunc-strspn.h: New file.
2401
2402 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2403
2404 * sysdeps/s390/multiarch/Makefile
2405 (sysdep_routines): Remove strrchr variants.
2406 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
2407 * sysdeps/s390/multiarch/ifunc-impl-list.c
2408 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
2409 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
2410 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
2411 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
2412 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
2413 * sysdeps/s390/multiarch/strrchr.c: Move to ...
2414 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
2415 * sysdeps/s390/ifunc-strrchr.h: New file.
2416
2417 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2418
2419 * sysdeps/s390/multiarch/Makefile
2420 (sysdep_routines): Remove strchrnul variants.
2421 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
2422 * sysdeps/s390/multiarch/ifunc-impl-list.c
2423 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
2424 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
2425 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
2426 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
2427 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
2428 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
2429 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
2430 * sysdeps/s390/ifunc-strchrnul.h: New file.
2431
2432 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2433
2434 * sysdeps/s390/multiarch/Makefile
2435 (sysdep_routines): Remove strchr variants.
2436 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
2437 * sysdeps/s390/multiarch/ifunc-impl-list.c
2438 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
2439 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
2440 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
2441 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
2442 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
2443 * sysdeps/s390/multiarch/strchr.c: Move to ...
2444 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
2445 * sysdeps/s390/ifunc-strchr.h: New file.
2446
2447 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2448
2449 * sysdeps/s390/multiarch/Makefile
2450 (sysdep_routines): Remove strncmp variants.
2451 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
2452 * sysdeps/s390/multiarch/ifunc-impl-list.c
2453 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
2454 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
2455 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
2456 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
2457 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
2458 * sysdeps/s390/multiarch/strncmp.c: Move to ...
2459 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
2460 * sysdeps/s390/ifunc-strncmp.h: New file.
2461
2462 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2463
2464 * sysdeps/s390/multiarch/Makefile
2465 (sysdep_routines): Remove strcmp variants.
2466 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
2467 * sysdeps/s390/multiarch/ifunc-impl-list.c
2468 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
2469 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
2470 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
2471 * sysdeps/s390/multiarch/strcmp.c: Move to ...
2472 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
2473 * sysdeps/s390/ifunc-strcmp.h: New file.
2474 * sysdeps/s390/s390-64/strcmp.S: Move to ...
2475 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
2476 for 31/64bit and ifunc handling.
2477 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
2478 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2479 * sysdeps/s390/s390-32/strcmp.S: Likewise.
2480
2481 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2482
2483 * sysdeps/s390/multiarch/Makefile
2484 (sysdep_routines): Remove strncat variants.
2485 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
2486 * sysdeps/s390/multiarch/ifunc-impl-list.c
2487 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
2488 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
2489 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
2490 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
2491 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
2492 * sysdeps/s390/multiarch/strncat.c: Move to ...
2493 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
2494 * sysdeps/s390/ifunc-strncat.h: New file.
2495
2496 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2497
2498 * sysdeps/s390/multiarch/Makefile
2499 (sysdep_routines): Remove strcat variants.
2500 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
2501 * sysdeps/s390/multiarch/ifunc-impl-list.c
2502 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
2503 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
2504 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
2505 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
2506 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
2507 * sysdeps/s390/multiarch/strcat.c: Move to ...
2508 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
2509 * sysdeps/s390/ifunc-strcat.h: New file.
2510
2511 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2512
2513 * sysdeps/s390/multiarch/Makefile
2514 (sysdep_routines): Remove stpncpy variants.
2515 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
2516 * sysdeps/s390/multiarch/ifunc-impl-list.c
2517 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
2518 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
2519 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
2520 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
2521 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
2522 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
2523 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
2524 * sysdeps/s390/ifunc-stpncpy.h: New file.
2525
2526 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2527
2528 * sysdeps/s390/multiarch/Makefile
2529 (sysdep_routines): Remove strncpy variants.
2530 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
2531 * sysdeps/s390/multiarch/ifunc-impl-list.c
2532 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
2533 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
2534 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
2535 * sysdeps/s390/multiarch/strncpy.c: Move to ...
2536 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
2537 * sysdeps/s390/ifunc-strncpy.h: New file.
2538 * sysdeps/s390/s390-64/strncpy.S: Move to ...
2539 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
2540 and adjust ifunc handling.
2541 * sysdeps/s390/s390-32/strncpy.S: Move to ...
2542 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
2543 and adjust ifunc handling.
2544 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
2545 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2546
2547 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2548
2549 * sysdeps/s390/multiarch/Makefile
2550 (sysdep_routines): Remove stpcpy variants.
2551 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
2552 * sysdeps/s390/multiarch/ifunc-impl-list.c
2553 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
2554 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
2555 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
2556 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
2557 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
2558 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
2559 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
2560 * sysdeps/s390/ifunc-stpcpy.h: New file.
2561
2562 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2563
2564 * sysdeps/s390/multiarch/Makefile
2565 (sysdep_routines): Remove strcpy variants.
2566 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
2567 * sysdeps/s390/multiarch/ifunc-impl-list.c
2568 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
2569 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
2570 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
2571 * sysdeps/s390/multiarch/strcpy.c: Move to ...
2572 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
2573 * sysdeps/s390/ifunc-strcpy.h: New file.
2574 * sysdeps/s390/s390-64/strcpy.S: Move to ...
2575 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
2576 for 31/64bit and ifunc handling.
2577 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
2578 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2579 * sysdeps/s390/s390-32/strcpy.S: Likewise.
2580
2581 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2582
2583 * sysdeps/s390/multiarch/Makefile
2584 (sysdep_routines): Remove strnlen variants.
2585 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
2586 * sysdeps/s390/multiarch/ifunc-impl-list.c
2587 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
2588 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
2589 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
2590 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
2591 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
2592 * sysdeps/s390/multiarch/strnlen.c: Move to ...
2593 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
2594 * sysdeps/s390/ifunc-strnlen.h: New file.
2595
2596 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2597
2598 * sysdeps/s390/multiarch/Makefile
2599 (sysdep_routines): Remove strlen variants.
2600 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
2601 * sysdeps/s390/multiarch/ifunc-impl-list.c
2602 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
2603 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
2604 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
2605 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
2606 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
2607 * sysdeps/s390/multiarch/strlen.c: Move to ...
2608 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
2609 * sysdeps/s390/ifunc-strlen.h: New file.
2610
2611 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2612
2613 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
2614 * sysdeps/s390/multiarch/ifunc-impl-list.c
2615 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
2616 * sysdeps/s390/ifunc-memmem.h: New file.
2617 * sysdeps/s390/memmem.c: Likewise.
2618 * sysdeps/s390/memmem-c.c: Likewise.
2619 * sysdeps/s390/memmem-vx.c: Likewise.
2620
2621 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2622
2623 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
2624 * sysdeps/s390/multiarch/ifunc-impl-list.c
2625 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
2626 * sysdeps/s390/ifunc-strstr.h: New file.
2627 * sysdeps/s390/strstr.c: Likewise.
2628 * sysdeps/s390/strstr-c.c: Likewise.
2629 * sysdeps/s390/strstr-vx.c: Likewise.
2630
2631 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2632
2633 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
2634 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
2635 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
2636 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
2637 New defines.
2638 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
2639 * sysdeps/s390/memmove-c.c: New file.
2640 * sysdeps/s390/memmove.c: Likewise.
2641 * sysdeps/s390/multiarch/ifunc-impl-list.c
2642 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
2643
2644 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2645
2646 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
2647 * sysdeps/s390/configure.ac: Add check for z13 support.
2648 * sysdeps/s390/configure: Regenerated.
2649
2650 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2651
2652 * sysdeps/s390/memcopy.h: New file.
2653
2654 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2655
2656 * sysdeps/s390/s390-32/bcopy.S: Remove.
2657 * sysdeps/s390/s390-64/bcopy.S: Likewise.
2658
2659 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2660
2661 * sysdeps/s390/ifunc-memcpy.h: New File.
2662 * sysdeps/s390/memcpy.S: Move to ...
2663 * sysdeps/s390/memcpy-z900.S ... here.
2664 Move implementations from memcpy-s390x.s to here.
2665 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
2666 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2667 Remove memcpy/mempcpy variants.
2668 * sysdeps/s390/Makefile (sysdep_routines):
2669 Add memcpy/mempcpy variants.
2670 * sysdeps/s390/multiarch/ifunc-impl-list.c
2671 (__libc_ifunc_impl_list): Adjust ifunc variants for
2672 memcpy and mempcpy.
2673 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
2674 to ...
2675 * sysdeps/s390/memcpy.c: ... here.
2676 Adjust ifunc variants for memcpy.
2677 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
2678 * sysdeps/s390/mempcpy.c: ... here.
2679 Adjust ifunc variants for mempcpy.
2680 * sysdeps/s390/mempcpy.S: Delete file.
2681
2682 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2683
2684 * sysdeps/s390/s390-64/memcpy.S: Move to ...
2685 * sysdeps/s390/memcpy.S: ... here.
2686 Adjust to be usable for 31/64bit.
2687 * sysdeps/s390/s390-32/memcpy.S: Delete File.
2688 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
2689 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
2690 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2691 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
2692 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
2693 Adjust to be usable for 31/64bit.
2694 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
2695 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
2696 * sysdeps/s390/multiarch/memcpy.c: ... here.
2697 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
2698
2699 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2700
2701 * sysdeps/s390/ifunc-memcmp.h: New File.
2702 * sysdeps/s390/memcmp.S: Move to ...
2703 * sysdeps/s390/memcmp-z900.S ... here.
2704 Move implementations from memcmp-s390x.s to here.
2705 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
2706 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2707 Remove memcmp variants.
2708 * sysdeps/s390/Makefile (sysdep_routines):
2709 Add memcmp variants.
2710 * sysdeps/s390/multiarch/ifunc-impl-list.c
2711 (__libc_ifunc_impl_list): Adjust ifunc variants for
2712 memcmp.
2713 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
2714 to ...
2715 * sysdeps/s390/memcmp.c: ... here.
2716 Adjust ifunc variants for memcmp.
2717
2718 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2719
2720 * sysdeps/s390/s390-64/memcmp.S: Move to ...
2721 * sysdeps/s390/memcmp.S: ... here.
2722 Adjust to be usable for 31/64bit.
2723 * sysdeps/s390/s390-32/memcmp.S: Delete File.
2724 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
2725 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2726 Remove memcmp.
2727 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2728 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
2729 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
2730 Adjust to be usable for 31/64bit.
2731 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
2732 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
2733 * sysdeps/s390/multiarch/memcmp.c: ... here.
2734 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
2735
2736 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2737
2738 * sysdeps/s390/s390-32/bzero.S: Delete file.
2739 * sysdeps/s390/s390-64/bzero.S: Likewise.
2740 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
2741 * sysdeps/s390/bzero.c: New file.
2742 * sysdeps/s390/memset-z900.S: Add bzero entry points.
2743 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
2744 * sysdeps/s390/multiarch/ifunc-impl-list.c
2745 (__libc_ifunc_impl_list): Add bzero ifunc variants.
2746
2747 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2748
2749 * sysdeps/s390/ifunc-memset.h: New File.
2750 * sysdeps/s390/memset.S: Move to ...
2751 * sysdeps/s390/memset-z900.S ... here.
2752 Move implementations from memset-s390x.s to here.
2753 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
2754 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2755 Remove memset variants.
2756 * sysdeps/s390/Makefile (sysdep_routines):
2757 Add memset variants.
2758 * sysdeps/s390/multiarch/ifunc-impl-list.c
2759 (__libc_ifunc_impl_list): Adjust ifunc variants for
2760 memset.
2761 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
2762 to ...
2763 * sysdeps/s390/memset.c: ... here.
2764 Adjust ifunc variants for memset.
2765
2766 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2767
2768 * sysdeps/s390/s390-64/memset.S: Move to ...
2769 * sysdeps/s390/memset.S: ... here.
2770 Adjust to be usable for 31/64bit.
2771 * sysdeps/s390/s390-32/memset.S: Delete File.
2772 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
2773 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2774 Remove memset.
2775 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2776 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
2777 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
2778 Adjust to be usable for 31/64bit.
2779 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
2780 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
2781 * sysdeps/s390/multiarch/memset.c: ... here.
2782 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
2783
2784 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2785
2786 * sysdeps/s390/multiarch/ifunc-resolve.h
2787 (s390_libc_ifunc_init, s390_libc_ifunc,
2788 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
2789
2790 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2791
2792 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
2793 * sysdeps/s390/configure.ac: Add check for z10 support.
2794 * sysdeps/s390/configure: Regenerated.
2795
2796 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
2797
2798 * sysdeps/i386/atomic-machine.h: Merged with ...
2799 * sysdeps/x86_64/atomic-machine.h: To ...
2800 * sysdeps/x86/atomic-machine.h: This. New file.
2801
2802 2018-12-18 Florian Weimer <fweimer@redhat.com>
2803
2804 Rewrite locale/gen-translit.pl in Python.
2805 * locale/Makefile (generated): Add C-translit.h.
2806 (before-compile): Add $(objpfx)C-translit.h.
2807 (C-translit.h): Move to $(objpfx). Create target directory.
2808 Build using Python script.
2809 * locale/gen-translit.py: New file.
2810 * locale/gen-translit.pl: Remove file.
2811 * locale/C-translit.h.in: Change comment character to '#' for
2812 easier parsing without a C preprocessor.
2813 * locale/C-translit.h: Remove generated file.
2814 * manual/install.texi (Tools for Compilation): Do not mention
2815 C-translit.h.
2816 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
2817 Remove locale/C-translit.h.
2818 * scripts/update-copyrights: Likewise.
2819 * INSTALL: Regenerate.
2820
2821 2018-12-18 Florian Weimer <fweimer@redhat.com>
2822
2823 [BZ #23995]
2824 * localedata/locales/bi_VU: Remove executable bit from file.
2825
2826 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
2827
2828 * include/time.h
2829 (__localtime64): Add.
2830 * manual/maint.texi: Document Y2038 symbol handling.
2831 * time/localtime.c
2832 (__localtime64): Add.
2833 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
2834
2835 2018-12-17 Joseph Myers <joseph@codesourcery.com>
2836
2837 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
2838 Do not clobber r12.
2839
2840 * scripts/glibcextract.py (compare_macro_consts): Take parameters
2841 to allow extra macros from first or second sources.
2842 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
2843 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2844 (tests-special): Add $(objpfx)tst-mman-consts.out.
2845 ($(objpfx)tst-mman-consts.out): New makefile target.
2846
2847 2018-12-17 Mao Han <han_mao@c-sky.com>
2848
2849 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
2850 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
2851 without stat64 system call support.
2852 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
2853 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
2854 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2855 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
2856 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
2857 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
2858 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
2859 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
2860 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
2861 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
2862 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
2863
2864 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
2865
2866 regex: fix storage-exhaustion error
2867 [BZ #18040]
2868 * posix/regexec.c (get_subexp):
2869 Do not continue if storage is exhausted.
2870
2871 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
2872
2873 regex: fix heap-use-after-free error
2874 [BZ #18040]
2875 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
2876 https://debbugs.gnu.org/32592
2877 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
2878 call extend_buffers which reallocates the re_string_t internal buffer.
2879 Local variable 'buf' was not updated in such case, resulting in
2880 use-after-free.
2881 * posix/regexec.c (get_subexp): Update 'buf' after call to
2882 get_subexp_sub.
2883
2884 2018-12-15 Florian Weimer <fweimer@redhat.com>
2885
2886 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
2887 (minimum_stride_size): Use it.
2888 (support_blob_repeat_allocate): Likewise.
2889
2890 2018-12-14 Joseph Myers <joseph@codesourcery.com>
2891
2892 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
2893 definition.
2894 (acosh): Likewise.
2895 (atanh): Likewise.
2896
2897 2018-12-14 Florian Weimer <fweimer@redhat.com>
2898
2899 * manual/process.texi (Process Creation Concepts): Remove
2900 documentation of process (ID) lifetime. List more process
2901 creation functions. Reference Process Identification section.
2902 (Process Identification): Add information about process ID
2903 lifetime. Describe Linux thread/task IDs.
2904 * manual/signal.texi (Signaling Another Process): Mention that the
2905 signal is always sent to the process.
2906
2907 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2908
2909 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
2910 and tst-ldbl-efgcvt.
2911 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
2912 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
2913 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
2914 (fcvt_tests, output_error, output_r_error, do_test): Use the
2915 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
2916 select the type of floating-point variables and arguments; to
2917 produce extra tests for double and conversion specifiers for
2918 printf; and to set the names of called functions.
2919 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
2920 in tst-efgcvt-template.c.
2921 * misc/tst-ldbl-efgcvt.c: Likewise.
2922
2923 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
2924
2925 * nss/Makefile (tst-nss-test3.out): New rule.
2926
2927 2018-12-13 Joseph Myers <joseph@codesourcery.com>
2928
2929 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
2930 clobber sp.
2931
2932 2018-12-13 fanjinke <fanjinke@hygon.cn>
2933
2934 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
2935 "HygonGenuine".
2936
2937 2018-12-13 Andreas Schwab <schwab@suse.de>
2938
2939 [BZ #23861]
2940 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
2941 (__pthread_rwlock_rdlock_full): Update expected value for
2942 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
2943 * nptl/tst-rwlock-pwn.c: New file.
2944 * nptl/Makefile (tests): Add tst-rwlock-pwn.
2945
2946 2018-12-12 Joseph Myers <joseph@codesourcery.com>
2947
2948 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
2949 definition.
2950
2951 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2952
2953 * benchtests/scripts/compare_bench.py (do_compare): write to
2954 stderr in casestat is not present.
2955 * benchtests/scripts/compare_bench.py (plot_graphs): write to
2956 stderr in case timings field is not present. Also string showing
2957 the output filename goes into the stderr.
2958
2959 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2960
2961 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
2962 and ZeroDivisorError exceptions.
2963 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
2964 argument to loop through user provided statistics.
2965 * benchtests/scripts/compare_bench.py (main): Include the --stats
2966 argument.
2967
2968 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2969
2970 * benchtests/scripts/compare_bench.py (compare_runs): Continue
2971 instead of return.
2972
2973 2018-12-12 Florian Weimer <fweimer@redhat.com>
2974
2975 * sysdeps/posix/timespec_get.c: Add missing “any later version”
2976 clause to copyright header.
2977
2978 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2979
2980 [BZ #23614]
2981 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
2982 registers saved in the stack frame.
2983 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
2984 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
2985
2986 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2987
2988 * include/bits/monetary-ldbl.h: New file.
2989 * include/bits/printf-ldbl.h: Likewise.
2990 * include/bits/stdio-ldbl.h: Likewise.
2991 * include/bits/stdlib-ldbl.h: Likewise.
2992 * include/bits/syslog-ldbl.h: Likewise.
2993 * include/bits/wchar-ldbl.h: Likewise.
2994
2995 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2996
2997 * libio/libio.h: Remove redirection for _IO_vfprintf.
2998
2999 2018-12-11 Andreas Schwab <schwab@suse.de>
3000
3001 * Makerules: Remove all references to abilist-pattern.
3002 (update-all-abi): Simplify find expression.
3003
3004 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3005
3006 [BZ #23961]
3007 * math/auto-libm-test-in: Add new test case.
3008 * math/auto-libm-test-out-pow: Regenerated.
3009 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
3010
3011 2018-12-10 DJ Delorie <dj@redhat.com>
3012
3013 [BZ #23948]
3014 * support/test-container.c: Move postclean step to before we
3015 change namespaces.
3016
3017 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3018
3019 * scripts/gen-as-const.py (main): Handle --python option.
3020 * scripts/gen-py-const.awk: Remove.
3021 * Makerules (py-const-script): Use gen-as-const.py.
3022 ($(py-const)): Likewise.
3023 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
3024 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
3025 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
3026 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
3027 ~PTHREAD_MUTEX_NO_ELISION_NP.
3028 * manual/README.pretty-printers: Update reference to
3029 gen-py-const.awk.
3030
3031 * scripts/glibcextract.py: New file.
3032 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
3033 or tempfile. Import glibcexctract.
3034 (compute_c_consts): Remove. Moved to glibcextract.py.
3035 (gen_test): Update reference to compute_c_consts.
3036 (main): Likewise.
3037 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
3038 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
3039 * sysdeps/unix/sysv/linux/Makefile
3040 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
3041 Redirect stderr as well as stdout.
3042
3043 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
3044
3045 [BZ #19767]
3046 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
3047 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
3048 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
3049 ALWAYS_USE_VSYSCALL.
3050 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
3051 ALWAYS_USE_VSYSCALL.
3052 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
3053 ALWAYS_USE_VSYSCALL.
3054
3055 2018-12-10 Florian Weimer <fweimer@redhat.com>
3056
3057 [BZ #23972]
3058 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
3059 offset instead of count for clarity. Fix typo in comment.
3060 (__old_getdents64): Keep track of previous offset. Use it to call
3061 handle_overflow.
3062 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
3063 that d_off is never zero.
3064
3065 2018-12-10 Andreas Schwab <schwab@suse.de>
3066
3067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
3068 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
3069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
3070 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
3071 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
3072
3073 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3074
3075 * timezone/private.h: Update from tzcode 2018g.
3076 * timezone/tzfile.h: Likewise.
3077 * timezone/tzselect.ksh: Likewise.
3078 * timezone/zdump.c: Likewise.
3079 * timezone/zic.c: Likewise.
3080
3081 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3082
3083 [BZ #23490]
3084 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
3085 (do_test): Adjust buffer size and fix format.
3086
3087 2018-12-07 DJ Delorie <dj@redhat.com>
3088
3089 [BZ #23907]
3090 * malloc/tst-tcfree3.c: New.
3091 * malloc/Makefile: Add it.
3092
3093 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3094
3095 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
3096
3097 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3098
3099 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
3100 used as a mask for the mode argument of __vfscanf_internal and
3101 __vfwscanf_internal.
3102 * stdio-common/vfscanf-internal.c
3103 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
3104 (__strtof128_internal): Define to __wcstof128_internal.
3105 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
3106 __strtof128_internal or __wcstof128_internal when the format of
3107 long double is the same as _Float128.
3108
3109 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
3110
3111 * include/unistd.h (__confstr): Add prototype and hidden prototype.
3112 * posix/confstr.c (confstr): Rename to __confstr.
3113 (__confstr): Add hidden def.
3114 (confstr): Add weak alias for __confstr.
3115 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
3116 confstr.
3117
3118 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3119
3120 * NEWS: Mention getcpu.
3121 * include/sched.h (__getcpu): New libc_hidden_proto.
3122 * manual/resource.texi: Document getcpu.
3123 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
3124 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
3125 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
3126 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3127 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3128 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3129 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3130 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3131 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3132 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3133 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3134 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3135 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3136 Likewise.
3137 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3138 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3139 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3141 Likewise.
3142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3143 Likewise.
3144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3145 Likewise.
3146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3147 Likewise.
3148 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3149 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3150 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3151 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3152 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3153 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3154 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3155 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3156 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
3157 * sysdeps/unix/sysv/linux/getcpu.c: New file.
3158 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
3159 Also check getcpu.
3160
3161 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3162
3163 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
3164 functions.
3165 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
3166
3167 2018-12-07 Florian Weimer <fweimer@redhat.com>
3168
3169 [BZ #17405]
3170 * posix/Makefile (routines): Add spawn_faction_addfchdir.
3171 * posix/Versions (GLIBC_2.29): Export
3172 posix_spawn_file_actions_addfchdir_np.
3173 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
3174 * posix/spawn_faction_destroy.c
3175 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
3176 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
3177 and the field action.fchdir_action.
3178 * posix/tst-spawn-chdir.c (add_chdir): New function.
3179 (do_test): Add do_fchdir loop. Call add_chdir.
3180 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
3181 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3182 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
3183 posix_spawn_file_actions_addfchdir_np.
3184 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
3185 Likewise.
3186 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
3187 Likewise.
3188 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
3189 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
3190 Likewise.
3191 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
3192 Likewise.
3193 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
3194 Likewise.
3195 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
3196 Likewise.
3197 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
3198 Likewise.
3199 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
3200 Likewise.
3201 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3202 (GLIBC_2.29): Likewise.
3203 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3204 (GLIBC_2.29): Likewise.
3205 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3206 (GLIBC_2.29): Likewise.
3207 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3208 (GLIBC_2.29): Likewise.
3209 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
3210 Likewise.
3211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3212 (GLIBC_2.29): Likewise.
3213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3214 (GLIBC_2.29): Likewise.
3215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3216 (GLIBC_2.29): Likewise.
3217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3218 (GLIBC_2.29): Likewise.
3219 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
3220 Likewise.
3221 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
3222 Likewise.
3223 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
3224 Likewise.
3225 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
3226 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
3227 Likewise.
3228 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
3229 Likewise.
3230 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
3231 Likewise.
3232 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
3233 Likewise.
3234
3235 2018-12-06 Joseph Myers <joseph@codesourcery.com>
3236
3237 * manual/texinfo.tex: Update to version 2018-09-21.20 with
3238 trailing whitespace removed.
3239 * scripts/config.guess: Update to version 2018-11-28.
3240 * scripts/config.sub: Update to version 2018-11-28.
3241 * scripts/install-sh: Update to version 2018-03-11.20.
3242 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
3243 * scripts/move-if-change: Update to version 2018-03-07 03:47.
3244
3245 2018-12-07 Florian Weimer <fweimer@redhat.com>
3246
3247 [BZ #23927]
3248 CVE-2018-19591
3249 * inet/tst-if_index-long.c: New file.
3250 * inet/Makefile (tests): Add tst-if_index-long.
3251
3252 2018-12-07 Florian Weimer <fweimer@redhat.com>
3253
3254 * support/check.h (support_record_failure_is_failed): Declare.
3255 * support/descriptors.h: New file.
3256 * support/support_descriptors.c: Likewise.
3257 * support/tst-support_descriptors.c: Likewise.
3258 * support/support_record_failure.c
3259 (support_record_failure_is_failed): New function.
3260 * support/Makefile (libsupport-routines): Add support_descriptors.
3261 (tests): Add tst-support_descriptors.
3262
3263 2018-12-05 Zack Weinberg <zackw@panix.com>
3264 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3265
3266 * stdio-common/vfprintf-internal.c
3267 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
3268 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
3269 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
3270 and __no_long_double.
3271 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
3272 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
3273 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
3274 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
3275 and __nldbl_*syslog* functions.
3276 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
3277 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
3278 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
3279 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
3280 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
3281 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
3282 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
3283 (__nldbl_vwprintf, __nldbl_wprintf):
3284 Directly call the appropriate __v*printf_internal routine, passing
3285 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
3286 variable names.
3287 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
3288 (__nldbl___printf_chk, __nldbl___snprintf_chk)
3289 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
3290 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
3291 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
3292 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3293 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
3294 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
3295 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
3296 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
3297 Likewise, and also pass PRINTF_FORTIFY when appropriate.
3298 (__nldbl_syslog, __nldbl_vsyslog):
3299 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
3300 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3301 appropriate.
3302 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3303 appropriate.
3304
3305 2018-12-05 Zack Weinberg <zackw@panix.com>
3306 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3307
3308 [BZ #11319]
3309 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
3310 Moved here from debug/vsprintf_chk.c.
3311 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
3312 and completion logic for the strfile to match exactly what
3313 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
3314 _IO_str_init_static_internal instead of maxlen-1.
3315 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3316 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
3317 __vsprintf_internal.
3318
3319 * debug/vsprintf_chk.c (__vsprintf_chk)
3320 * debug/sprintf_chk.c (__sprintf_chk):
3321 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
3322 'flags' argument is positive, and slen as maxlen. No need to lock
3323 the FILE and/or construct a temporary FILE. Minimize and normalize
3324 header inclusions and variable names. Do not libc_hidden_def anything.
3325
3326 * debug/asprintf_chk.c (__asprintf_chk)
3327 * debug/dprintf_chk.c (__dprintf_chk)
3328 * debug/fprintf_chk.c (__fprintf_chk)
3329 * debug/fwprintf_chk.c (__fwprintf_chk)
3330 * debug/printf_chk.c (__printf_chk)
3331 * debug/snprintf_chk.c (__snprintf_chk)
3332 * debug/swprintf_chk.c (__swprintf_chk)
3333 * debug/vasprintf_chk.c (__vasprintf_chk)
3334 * debug/vdprintf_chk.c (__vdprintf_chk)
3335 * debug/vfprintf_chk.c (__vfprintf_chk)
3336 * debug/vfwprintf_chk.c (__vfwprintf_chk)
3337 * debug/vprintf_chk.c (__vprintf_chk)
3338 * debug/vsnprintf_chk.c (__vsnprintf_chk)
3339 * debug/vswprintf_chk.c (__vswprintf_chk)
3340 * debug/vwprintf_chk.c (__vwprintf_chk)
3341 * debug/wprintf_chk.c (__wprintf_chk):
3342 Directly call the corresponding vxxprintf_internal function, passing
3343 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
3344 the FILE and/or construct a temporary FILE. Minimize and normalize
3345 header inclusions and variable names. Do not libc_hidden_def anything.
3346
3347 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
3348 __obstack_vprintf_internal.
3349 (__obstack_vprintf_chk): Convert into a wrapper that calls
3350 __obstack_vprintf_internal (these two functions already had the
3351 same code) and move to new file...
3352 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
3353 file.
3354 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
3355 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
3356 * debug/Makefile (routines): Add vobprintf_chk.
3357
3358 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3359 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3360 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
3361 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3362 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
3363 (__nldbl___obstack_vfprintf_chk):
3364 Directly call the corresponding vxxprintf_internal function,
3365 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
3366 duplicate comparison of slen with 0 or maxlen from the corresponding
3367 non-__nldbl function.
3368
3369 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
3370 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
3371 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
3372 Remove libc_hidden_proto.
3373
3374 * stdio-common/vfprintf-internal.c
3375 (__vfprintf_internal, __vfwprintf_internal):
3376 Do not check _IO_FLAGS2_FORTIFY.
3377 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
3378 * libio/libioP.h: Update prototype of __vsprintf_internal and add
3379 a comment explaining why it has the maxlen argument.
3380 (_IO_acquire_lock_clear_flags2_fct): Remove.
3381 (_IO_acquire_lock_clear_flags2): Remove.
3382 (_IO_release_lock): Remove conditional statement which will
3383 now never execute.
3384 (_IO_acquire_lock): Remove variable which is now unused.
3385 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3386 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3387
3388 * stdio-common/Makefile (tests): Add tst-bz11319 and
3389 tst-bz11319-fortify2.
3390 (CFLAGS-tst-bz11319-fortify2.c): New macro.
3391 * stdio-common/tst-bz11319-fortify2.c: New file.
3392 * stdio-common/tst-bz11319.c: Likewise.
3393
3394 2018-12-05 Zack Weinberg <zackw@panix.com>
3395 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3396
3397 * misc/syslog.c: Include libioP.h, not iolibio.h.
3398 (__vsyslog_internal): New function with the former body of
3399 __vsyslog_chk; takes mode_flags argument same as
3400 __v*printf_internal. Call __vfprintf_internal directly.
3401
3402 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
3403 Remove libc_hidden_def.
3404 (__syslog, __syslog_chk): Use __vsyslog_internal.
3405 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
3406
3407 * include/sys/syslog.h: Add multiple inclusion guard.
3408 Add prototype for __vsyslog_internal.
3409 Remove declaration and libc_hidden_proto for __vsyslog_chk.
3410
3411 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
3412 Use __vsyslog_internal.
3413
3414 2018-12-05 Zack Weinberg <zackw@panix.com>
3415 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3416
3417 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
3418 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
3419 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
3420 New functions.
3421 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
3422 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
3423
3424 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
3425 Include wctype.h here if COMPILE_WPRINTF is defined.
3426 Define __vfprintf_internal or __vfwprintf_internal, depending
3427 on COMPILE_WPRINTF.
3428 Temporarily, on entry to this function, update mode_flags
3429 according to the environmental settings corresponding to
3430 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
3431 Throughout, check mode_flags instead of __ldbl_is_dbl and
3432 _IO_FLAGS2_FORTIFY on the destination FILE.
3433 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
3434 Include vfprintf-internal.c. Don't include wctype.h.
3435 * stdio-common/vfprintf.c: New file. Just define __vfprintf
3436 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
3437 and vfprintf.
3438 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
3439 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
3440 and vfwprintf.
3441 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
3442
3443 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
3444 and add mode_flags argument; use __vfprintf_internal.
3445 (__vdprintf): New function. Alias vdprintf to this.
3446 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
3447 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
3448 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
3449 (__obstack_printf): Use __obstack_printf_internal.
3450 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
3451 public aliases __vsnprintf and vsnprintf.
3452 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
3453 called internally.
3454 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
3455 public aliases _IO_vsprintf and vsprintf.
3456 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
3457 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
3458 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
3459 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
3460 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
3461
3462 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
3463 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
3464 * stdio-common/fprintf.c, stdio-common/fxprintf.c
3465 * stdio-common/printf.c: Use __vfprintf_internal.
3466
3467 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
3468 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
3469 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
3470
3471 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
3472 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
3473 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
3474 __vfwprintf_internal.
3475
3476 * libio/libio.h: Remove libc_hidden_proto and declaration for
3477 _IO_vfprintf.
3478 Remove declaration of _IO_vfwprintf.
3479 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
3480 _IO_vsprintf.
3481 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
3482 _IO_obstack_printf.
3483 * include/stdio.h: Add prototype for __vasprintf.
3484 (__vsnprintf): Remove declaration, because there are no more
3485 internal calls.
3486 * include/wchar.h (__vfwprintf, __vswprintf): Remove
3487 declaration, because there are no more internal calls.
3488
3489 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
3490 __vsnprintf_internal, instead of _IO_vsnprintf.
3491 * argp/argp-help.c (__argp_error, __argp_failure): Use
3492 __vasprintf_internal, instead of _IO_vasprintf.
3493 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
3494 redefine, because there are no more internal calls.
3495
3496 2018-12-05 Zack Weinberg <zackw@panix.com>
3497 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3498
3499 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
3500 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
3501 Include libio/strfile.h instead of libioP.h.
3502 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
3503 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
3504 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
3505 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
3506 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
3507 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
3508 necessary. Do not set __no_long_double. Normalize variable names.
3509 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
3510 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
3511 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
3512 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
3513 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
3514 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
3515 Call __vfscanf_internal / __vfwscanf_internal directly, passing
3516 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
3517 Do not set __no_long_double. Normalize variable names.
3518
3519 2018-12-05 Zack Weinberg <zackw@panix.com>
3520 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3521
3522 * stdio-common/isoc99_scanf.c
3523 * stdio-common/isoc99_fscanf.c
3524 * stdio-common/isoc99_sscanf.c
3525 * stdio-common/isoc99_vscanf.c
3526 * stdio-common/isoc99_vfscanf.c
3527 * stdio-common/isoc99_vsscanf.c
3528 * wcsmbs/isoc99_wscanf.c
3529 * wcsmbs/isoc99_fwscanf.c
3530 * wcsmbs/isoc99_swscanf.c
3531 * wcsmbs/isoc99_vwscanf.c
3532 * wcsmbs/isoc99_vfwscanf.c
3533 * wcsmbs/isoc99_vswscanf.c:
3534 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
3535 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
3536 No need to lock and unlock the FILE passed to that function.
3537
3538 * stdio-common/vfscanf-internal.c
3539 (__vfscanf_internal, __vfwscanf_internal):
3540 Don't look at _IO_FLAGS2_SCANF_STD.
3541 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
3542 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
3543 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
3544
3545 2018-12-05 Zack Weinberg <zackw@panix.com>
3546 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3547
3548 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
3549 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
3550 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
3551 * libio/strfile.h: Add multiple inclusion guard.
3552 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
3553
3554 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
3555 consistency with the other version of this file.
3556 (ldbl_compat_symbol): New macro.
3557 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
3558 New macro.
3559
3560 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
3561 Define __vfscanf_internal or __vfwscanf_internal, depending on
3562 COMPILE_WSCANF; don't define any other public symbols.
3563 Remove errval and code to set errp.
3564 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
3565 as the mode_flags argument.
3566 (encode_error, conv_error, input_error): Don't set errval.
3567 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
3568 Include vfscanf-internal.c.
3569 * stdio-common/vfscanf.c: New file defining the public entry
3570 point vfscanf, which calls __vfscanf_internal.
3571 * stdio-common/vfwscanf.c: New file defining the public entry
3572 point vfwscanf, which calls __vfwscanf_internal.
3573
3574 * stdio-common/iovfscanf.c: New file.
3575 * stdio-common/iovfwscanf.c: Likewise.
3576
3577 * stdio-common/Makefile (routines): Add vfscanf-internal,
3578 vfwscanf-internal, iovfscanf, iovfwscanf.
3579 * stdio-common/Versions: Mention GLIBC_2.29, so that
3580 it can be used in SHLIB_COMPAT expressions.
3581 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
3582 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
3583 Call __vfscanf_internal, instead of _IO_vfscanf.
3584 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
3585 _IO_vfscanf.
3586 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
3587 _IO_vfwscanf.
3588
3589 * libio/iovsscanf.c: Clean up includes, when possible. Use
3590 _IO_strfile_read or _IO_strfile_readw, when needed. Call
3591 __vfscanf_internal or __vfwscanf_internal directly.
3592 * libio/iovswscanf.c: Likewise.
3593 * libio/swscanf.c: Likewise.
3594 * libio/vscanf.c: Likewise.
3595 * libio/vwscanf.c: Likewise.
3596 * libio/wscanf.c: Likewise.
3597 * stdio-common/isoc99_fscanf.c: Likewise.
3598 * stdio-common/isoc99_scanf.c: Likewise.
3599 * stdio-common/isoc99_sscanf.c: Likewise.
3600 * stdio-common/isoc99_vfscanf.c: Likewise.
3601 * stdio-common/isoc99_vscanf.c: Likewise.
3602 * stdio-common/isoc99_vsscanf.c: Likewise.
3603 * stdio-common/scanf.c: Likewise.
3604 * stdio-common/sscanf.c: Likewise.
3605 * wcsmbs/isoc99_fwscanf.c: Likewise.
3606 * wcsmbs/isoc99_swscanf.c: Likewise.
3607 * wcsmbs/isoc99_vfwscanf.c: Likewise.
3608 * wcsmbs/isoc99_vswscanf.c: Likewise.
3609 * wcsmbs/isoc99_vwscanf.c: Likewise.
3610 * wcsmbs/isoc99_wscanf.c: Likewise.
3611
3612 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
3613
3614 * include/time.h
3615 (__tz_compute): Replace time_t with __time64_t.
3616 (__tz_convert): Replace time_t* with __time64_t.
3617 (__offtime): Replace time_t* with __time64_t.
3618 * time/gmtime.c
3619 (__gmtime_r): Adjust call to __tz_convert.
3620 (gmtime): Likewise.
3621 * time/localtime.c
3622 (__localtime_r): Likewise.
3623 (localtime): Likewise.
3624 * time/offtime.c: Replace time_t with __time64_t.
3625 * time/tzset.c: Likewise.
3626
3627 2018-12-04 Joseph Myers <joseph@codesourcery.com>
3628
3629 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
3630 dynamic linker unless [$(run-built-tests) = yes].
3631
3632 2018-12-03 DJ Delorie <dj@delorie.com>
3633
3634 * support/test-container.c (check_for_unshare_hints): New.
3635 (main): Call it if unshare fails. Add support for "su" scriptlet
3636 command.
3637
3638 2018-12-03 Joseph Myers <joseph@codesourcery.com>
3639
3640 * scripts/gen-as-const.py (compute_c_consts): Take an argument
3641 'START' to indicate that start text should be output.
3642 (gen_test): Likewise.
3643 (main): Generate 'START' for first symbol or '--' line, or at end
3644 of input if not previously generated.
3645
3646 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
3647
3648 [BZ #19767]
3649 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
3650 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
3651 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
3652 ALWAYS_USE_VSYSCALL.
3653
3654 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3655
3656 [BZ #23913]
3657 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
3658 new_argv by one.
3659
3660 2018-12-03 Carlos O'Donell <carlos@redhat.com>
3661
3662 [BZ #23923]
3663 * locale/programs/localedef.c: Declare boolean hard_links default true.
3664 (options): Add --no-hard-links option.
3665 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
3666 * locale/programs/localedef.h: Declare prototype for hard_links.
3667 * locale/programs/locfile.c (write_locale_data): Don't use hard
3668 links if hard_links is false.
3669
3670 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
3671
3672 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
3673 cpu_features_basic.
3674 (__cache_sysconf): Likewise.
3675 (init_cacheinfo): Likewise.
3676 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
3677 populate COMMON_CPUID_INDEX_80000007 and
3678 COMMON_CPUID_INDEX_80000008.
3679 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
3680 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
3681 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
3682 (init_cpu_features): Use _Static_assert on
3683 index_arch_Fast_Unaligned_Load.
3684 __get_cpuid_registers and __get_arch_feature. Updated for
3685 cpu_features_basic. Set stepping in cpu_features.
3686 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
3687 (FEATURE_INDEX_2): New.
3688 (FEATURE_INDEX_MAX): Changed to enum.
3689 (COMMON_CPUID_INDEX_D_ECX_1): New.
3690 (COMMON_CPUID_INDEX_80000007): Likewise.
3691 (COMMON_CPUID_INDEX_80000008): Likewise.
3692 (cpuid_registers): Likewise.
3693 (cpu_features_basic): Likewise.
3694 (CPU_FEATURE_USABLE): Likewise.
3695 (bit_arch_XXX_Usable): Likewise.
3696 (cpu_features): Use cpuid_registers and cpu_features_basic.
3697 (bit_arch_XXX): Reweritten.
3698 (bit_cpu_XXX): Likewise.
3699 (index_cpu_XXX): Likewise.
3700 (reg_XXX): Likewise.
3701 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
3702 <support/check.h>.
3703 (CHECK_CPU_FEATURE): New.
3704 (CHECK_CPU_FEATURE_USABLE): Likewise.
3705 (cpu_kinds): Likewise.
3706 (do_test): Print vendor, family, model and stepping. Check
3707 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
3708 (TEST_FUNCTION): Removed.
3709 Include <support/test-driver.c> instead of
3710 "../../test-skeleton.c".
3711 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
3712 Check POPCNT instead of POPCOUNT.
3713 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
3714
3715 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3716
3717 * scripts/gen-as-const.py (main): Avoid emitting empty line when
3718 there is no element in `consts'.
3719
3720 2018-12-01 Florian Weimer <fweimer@redhat.com>
3721
3722 * support/support_capture_subprocess.c
3723 (support_capture_subprocess): Check that pipe descriptors have
3724 expected values. Close original pipe descriptors in subprocess.
3725
3726 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
3727
3728 [BZ #23032]
3729 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
3730 attr with __pthread_default_barrierattr.
3731 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
3732 attr with __pthread_default_condattr.
3733 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
3734 attr with __pthread_default_mutexattr.
3735 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
3736 attr with __pthread_default_rwlockattr.
3737
3738 2018-12-01 Kemi Wang <kemi.wang@intel.com>
3739
3740 * manual/tunables.texi (POSIX Thread Tunables): New node.
3741 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
3742 * nptl/nptl-init.c: Include pthread_mutex_conf.h
3743 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
3744 __pthread_tunables_init.
3745 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
3746 (max_adaptive_count): Define.
3747 * nptl/pthread_mutex_conf.c: New file.
3748 * nptl/pthread_mutex_conf.h: New file.
3749 * sysdeps/generic/adaptive_spin_count.h: New file.
3750 * sysdeps/nptl/dl-tunables.list: New file.
3751 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3752 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
3753 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
3754 Likewise.
3755
3756 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
3757
3758 [BZ #20544]
3759 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
3760 * stdlib/on_exit.c (__on_exit): Likewise.
3761 * stdlib/Makefile (tests): Add tst-bz20544.
3762 * stdlib/tst-bz20544.c: New test.
3763
3764 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
3765
3766 [BZ #19767]
3767 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
3768 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
3769 New.
3770
3771 2018-11-30 Florian Weimer <fweimer@redhat.com>
3772
3773 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
3774 Extend error logging.
3775 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
3776 symbol.
3777
3778 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3779
3780 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
3781 __sigismember instead of sigismember.
3782 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
3783 cancel_handler): New definitions.
3784 (do_system): Use posix_spawn instead of fork and execl and remove
3785 reentracy code.
3786 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
3787 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
3788 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
3789 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3790 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3791 * sysdeps/unix/sysv/linux/system.c: Likewise.
3792
3793 [BZ #22834]
3794 [BZ #17490]
3795 * NEWS: Add new semantic for atfork with popen and system.
3796 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
3797 fork and execl.
3798
3799 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3800
3801 [BZ #23690]
3802 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
3803 modification order when accessing reloc_result->addr.
3804 * include/link.h (reloc_result): Add field init.
3805 * nptl/Makefile (tests): Add tst-audit-threads.
3806 (modules-names): Add tst-audit-threads-mod1 and
3807 tst-audit-threads-mod2.
3808 Add rules to build tst-audit-threads.
3809 * nptl/tst-audit-threads-mod1.c: New file.
3810 * nptl/tst-audit-threads-mod2.c: Likewise.
3811 * nptl/tst-audit-threads.c: Likewise.
3812 * nptl/tst-audit-threads.h: Likewise.
3813
3814 2018-11-30 Joseph Myers <joseph@codesourcery.com>
3815
3816 * scripts/gen-as-const.py: New file.
3817 * scripts/gen-as-const.awk: Remove.
3818 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
3819 gen-as-const.py.
3820 ($(objpfx)test-as-const-%.c): Likewise.
3821
3822 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3823
3824 * elf/dl-exception.c: Include <_itoa.h>.
3825
3826 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
3827
3828 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
3829 returned by __f_setlk.
3830
3831 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3832 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3833
3834 * elf/Makefile (tests-internal): Add tst-create_format1.
3835 * elf/dl-exception.c (_dl_exception_create_format): Support
3836 %x, %lx and %zx.
3837 * elf/tst-create_format1.c: New file.
3838
3839 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
3840
3841 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
3842 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
3843 gnulib.)
3844 * argp/argp-help.c (__argp_failure): Likewise.
3845
3846 2018-11-29 Mao Han <han_mao@c-sky.com>
3847
3848 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
3849 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
3850 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
3851 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
3852 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
3853 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
3854 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
3855 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
3856 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
3857 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
3858 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
3859 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
3860 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
3861 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
3862 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
3863 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
3864 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
3865 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
3866 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
3867 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
3868 (R_CKCORE_TLS_TPOFF32): New defines.
3869
3870 2018-11-29 Florian Weimer <fweimer@redhat.com>
3871
3872 * posix/Makefile (before-compile): Remove testcases.h and
3873 ptestcases.h.
3874 (generated): Add testcases.h and ptestcases.h.
3875 (testcases.h, ptestcases.h): Move to $(objpfx).
3876 (runtests.o): Add dependency on testcases.h.
3877 (runptests.o): Add dependency on ptestcases.h.
3878 * posix/testcases.h, posix/ptestcases.h: Remove files.
3879 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
3880 not touch posix/testcases.h and posix/ptestcases.h.
3881
3882 2018-11-28 Florian Weimer <fweimer@redhat.com>
3883
3884 support: Add signal support to support_capture_subprocess_check.
3885 * support/capture_subprocess.h (support_capture_subprocess_check):
3886 Adjust comment and rename parameter.
3887 * support/support_capture_subprocess_check.c
3888 (print_actual_status): New function.
3889 (support_capture_subprocess_check): Support negative
3890 status_or_signal. Call print_actual_status.
3891 * support/tst-support_capture_subprocess.c (do_test): Call
3892 support_capture_subprocess_check.
3893 * libio/tst-vtables-common.c (termination_status)
3894 (init_termination_status): Remove.
3895 (check_for_termination): Adjust support_capture_subprocess_check
3896 call.
3897 (do_test): Remove call to init_termination_status.
3898
3899 2018-11-28 Joseph Myers <joseph@codesourcery.com>
3900
3901 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
3902 source directory instead of a copy.
3903 (CommandList.create_copy_dir): Remove.
3904
3905 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
3906
3907 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3908
3909 2018-11-28 Florian Weimer <fweimer@redhat.com>
3910
3911 * support/support.h (support_quote_string): Do not use str
3912 parameter name.
3913
3914 2018-11-27 Joseph Myers <joseph@codesourcery.com>
3915
3916 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
3917 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
3918
3919 2018-11-27 Florian Weimer <fweimer@redhat.com>
3920
3921 * support/support.h (support_quote_string): Declare.
3922 * support/support_quote_string.c: New file.
3923 * support/tst-support_quote_string.c: Likewise.
3924 * support/Makefile (libsupport-routines): Add
3925 support_quote_string.
3926 (tests): Add tst-support_quote_string.
3927
3928 2018-11-27 Florian Weimer <fweimer@redhat.com>
3929
3930 [BZ #23927]
3931 CVE-2018-19591
3932 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
3933 descriptor leak in case of ENODEV error.
3934
3935 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
3936
3937 [BZ #19767]
3938 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
3939 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
3940 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
3941
3942 2018-11-26 Carlos O'Donell <carlos@redhat.com>
3943
3944 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
3945 Error for unknown lines.
3946
3947 2018-11-26 Joseph Myers <joseph@codesourcery.com>
3948
3949 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3950 Touch additional files.
3951
3952 2018-11-26 Florian Weimer <fweimer@redhat.com>
3953
3954 [BZ #23907]
3955 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
3956 double-frees.
3957
3958 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
3959
3960 [BZ #19767]
3961 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
3962 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
3963 SHARED. Include sysdep.h.
3964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
3965 ALWAYS_USE_VSYSCALL.
3966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
3967 ALWAYS_USE_VSYSCALL.
3968
3969 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
3970
3971 [BZ #19767]
3972 * nptl/Makefile (tests-static): Add tst-cond11-static.
3973 (tests): Likewise.
3974 * nptl/tst-cond11-static.c: New File.
3975 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
3976 tst-affinity-static.
3977 (tests): Likewise.
3978 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
3979 instead of SHARED.
3980 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
3981 (USE_VSYSCALL): Likewise.
3982 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
3983 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
3984 instead of SHARED.
3985 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
3986 SHARED.
3987 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
3988 New.
3989
3990 2018-11-23 Joseph Myers <joseph@codesourcery.com>
3991
3992 [BZ #23915]
3993 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3994 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
3995 Undefine.
3996
3997 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
3998
3999 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
4000 (tst-cet-legacy-1a-ARGS): New.
4001 ($(objpfx)tst-cet-legacy-1a): New target.
4002 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
4003
4004 2018-11-22 Joseph Myers <joseph@codesourcery.com>
4005
4006 * conform/conformtest.py (CompileSubTest.__init__): Set
4007 self.run_early to False.
4008 (ExecuteSubTest.__init__): Likewise.
4009 (HeaderTests.run): Try running all non-optional, non-XFAILed
4010 compilation tests in a single execution of the compiler.
4011
4012 * conform/conformtest.py (CompileSubTest): New class.
4013 (ExecuteSubTest): Likewise.
4014 (ElementTest.run): Rename to gen_subtests. Append tests to
4015 self.subtests instead of running them.
4016 (ConstantTest.run): Likewise.
4017 (SymbolTest.run): Likewise.
4018 (TypeTest.run): Likewise.
4019 (TagTest.run): Likewise.
4020 (FunctionTest.run): Likewise.
4021 (VariableTest.run): Likewise.
4022 (MacroFunctionTest.run): Likewise.
4023 (MacroStrTest.run): Likewise.
4024 (HeaderTests.handle_test_line): Generate subtests for tests.
4025 (HeaderTests.run): Run subtests for tests.
4026
4027 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4028
4029 * math/Versions (GLIBC_2.29): Add pow.
4030 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
4031 symbol.
4032 * math/w_pow.c: New file.
4033 * sysdeps/i386/fpu/w_pow.c: New file.
4034 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
4035 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
4036 and add necessary aliases.
4037 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
4038 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
4039 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4040 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4041 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4042 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4043 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4044 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4045 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4046 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4047 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4048 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4049 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4050 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4051 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4056 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4057 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4058 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4059 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4060 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4061 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4062 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4063 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
4064 __pow.
4065 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
4066 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
4067 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
4068
4069 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4070
4071 * math/Versions (GLIBC_2.29): Add log2.
4072 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
4073 symbol.
4074 * math/w_log2.c: New file.
4075 * sysdeps/i386/fpu/w_log2.c: New file.
4076 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
4077 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
4078 and add necessary aliases.
4079 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
4080 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
4081 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4082 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4083 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4084 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4085 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4086 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4087 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4088 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4089 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4090 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4091 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4092 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4093 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4098 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4099 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4100 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4101 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4102 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4103 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4104 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4105
4106 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4107
4108 * math/Versions (GLIBC_2.29): Add log.
4109 * math/w_log_compat.c (__log_compat): Change to versioned compat
4110 symbol.
4111 * math/w_log.c: New file.
4112 * sysdeps/i386/fpu/w_log.c: New file.
4113 * sysdeps/ia64/fpu/e_log.S: Update.
4114 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
4115 and add necessary aliases.
4116 * sysdeps/ieee754/dbl-64/w_log.c: New file.
4117 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
4118 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4119 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4120 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4121 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4122 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4123 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4124 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4125 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4126 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4127 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4128 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4129 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4130 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4135 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4136 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4137 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4138 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4139 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4140 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4141 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4142 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
4143 __log.
4144 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
4145 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
4146 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
4147 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
4148
4149 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4150
4151 * math/Versions (GLIBC_2.29): Add exp and exp2.
4152 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
4153 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
4154 * math/w_exp_compat.c (__exp_compat): Likewise.
4155 * math/w_exp.c: New file.
4156 * math/w_exp2.c: New file.
4157 * sysdeps/i386/fpu/w_exp.c: New file.
4158 * sysdeps/i386/fpu/w_exp2.c: New file.
4159 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
4160 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
4161 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
4162 and add necessary aliases.
4163 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
4164 and add necessary aliases.
4165 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
4166 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
4167 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
4168 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
4169 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4170 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4171 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4172 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4173 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4174 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4175 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4176 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4177 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4178 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4179 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4180 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4181 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4186 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4187 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4188 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4189 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4190 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4191 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4192 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4193 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
4194 (__ieee754_exp): Rename to __exp.
4195 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
4196 (__ieee754_exp): Rename to __exp.
4197 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
4198 (__ieee754_exp): Rename to __exp.
4199 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
4200 __exp.
4201 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
4202
4203 2018-11-20 DJ Delorie <dj@redhat.com>
4204
4205 * malloc/malloc.c (tcache_entry): Add key field.
4206 (tcache_put): Set it.
4207 (tcache_get): Likewise.
4208 (_int_free): Check for double free in tcache.
4209 * malloc/tst-tcfree1.c: New.
4210 * malloc/tst-tcfree2.c: New.
4211 * malloc/Makefile: Run the new tests.
4212 * manual/probes.texi: Document memory_tcache_double_free probe.
4213
4214 * dlfcn/dlerror.c (check_free): Prevent double frees.
4215
4216 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
4217
4218 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
4219
4220 2018-11-20 Joseph Myers <joseph@codesourcery.com>
4221
4222 * conform/conformtest.py (ElementTest.run): Use unique identifiers
4223 in tests. Use names for format arguments.
4224 (ConstantTest.run): Likewise.
4225 (SymbolTest.run): Likewise.
4226 (TypeTest.run): Likewise.
4227 (TagTest.run): Likewise.
4228 (FunctionTest.run): Likewise.
4229 (VariableTest.run): Likewise.
4230 (MacroFunctionTest.run): Likewise.
4231 (MacroStrTest.run): Likewise.
4232 (HeaderTests.__init__): Set self.num_tests.
4233 (HeaderTests.handle_test_line): Set test.num. Increment
4234 self.num_tests.
4235
4236 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
4237
4238 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
4239 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
4240 SEEK_SET.
4241
4242 2018-11-19 Mao Han <han_mao@c-sky.com>
4243
4244 * scripts/config.guess: Update to version 2018-08-29.
4245 * scripts/config.sub: Update to version 2018-08-29.
4246
4247 2018-11-19 Florian Weimer <fweimer@redhat.com>
4248
4249 support: Print timestamps in timeout handler.
4250 * support/support_test_main.c (print_timestamp): New function.
4251 (signal_handler): Use it to print the termination time and the
4252 time of the last write to standard output.
4253
4254 2018-11-16 Zack Weinberg <zackw@panix.com>
4255 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4256
4257 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
4258 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
4259 argument.
4260 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
4261 and add flags argument. Check flags instead of __ldbl_is_dbl when
4262 deciding whether to set is_long_double.
4263 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
4264 passing zero for flags argument.
4265 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
4266
4267 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4268 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
4269 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
4270 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
4271 variable names. Remove libc_hidden_def/libc_hidden_proto from
4272 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
4273 longer called from within the library.
4274 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
4275 for __nldbl___vstrfmon_l, declare it explicitly.
4276
4277 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
4278
4279 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
4280
4281 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
4282 macros
4283 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
4284 F_SETLK64, F_SETLKW64, respectively.
4285 * sysdeps/mach/hurd/f_setlk.c: New file.
4286 * sysdeps/mach/hurd/f_setlk.h: New file.
4287 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
4288 f_setlk.
4289 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
4290 (__libc_fcntl): Move non-flock operations to...
4291 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
4292 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
4293
4294 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
4295
4296 mktime: DEBUG_MKTIME cleanup
4297 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
4298 And it’s no longer needed now that glibc and Gnulib both have
4299 their own testing mechanisms for mktime.
4300 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
4301
4302 mktime: fix non-EOVERFLOW errno handling
4303 [BZ#23789]
4304 mktime was not properly reporting failures when the underlying
4305 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
4306 them like EOVERFLOW failures, and set errno to EOVERFLOW.
4307 The problem could happen on non-glibc platforms, with Gnulib.
4308 * time/mktime.c (guess_time_tm): Remove, replacing with ...
4309 (tm_diff): ... this simpler function, which does not change errno.
4310 All callers changed to deal with errno themselves.
4311 (ranged_convert, __mktime_internal): Return failure immediately if
4312 the underlying function reports any failure other than EOVERFLOW.
4313 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
4314 gap code fails.
4315
4316 mktime: fix bug with Y2038 DST transition
4317 [BZ#23789]
4318 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
4319 mishandle a DST transition that jumps over the Y2038 boundary.
4320 No such DST transitions are known so this is only a theoretical
4321 bug, but we might as well do things right.
4322
4323 mktime: make more room for overflow
4324 [BZ#23789]
4325 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
4326 This is so that we can add tm_diff results to a previous guess,
4327 which will be useful in a later patch.
4328
4329 mktime: simplify offset guess
4330 [BZ#23789]
4331 * time/mktime.c (__mktime_internal): Omit excess precision.
4332
4333 mktime: new test for mktime failure
4334 [BZ#23789]
4335 Based on a test suggested by Albert Aribaud in:
4336 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
4337 * time/Makefile (tests): Add bug-mktime4.
4338 * time/bug-mktime4.c: New file.
4339
4340 mktime: fix EOVERFLOW bug
4341 [BZ#23789]
4342 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
4343 Include libc-config.h, not config.h, for __set_errno.
4344 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
4345
4346 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
4347
4348 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
4349 __attribute_copy__ to copy attributes from name. Drop static qualifier
4350 to avoid warnings about leaf attribute not having effect on static
4351 functions.
4352
4353 2018-11-13 Florian Weimer <fweimer@redhat.com>
4354
4355 * malloc/malloc.c (fastbin_push_entry): New function.
4356 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
4357 (REMOVE_FB): Remove macro.
4358 (_int_malloc): Use fastbin_pop_entry and reindent.
4359 (_int_free): Use fastbin_push_entry.
4360 (malloc_consolidate): Use atomic_exchange_acquire.
4361
4362 2018-11-13 Joseph Myers <joseph@codesourcery.com>
4363
4364 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
4365 alias attribute, not with strong_alias.
4366
4367 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
4368 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
4369 with additional parameter thread.
4370 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
4371 in terms of __hidden_ver2.
4372 (hidden_tls_def): New macro.
4373 (libc_hidden_tls_def): Likewise.
4374 (rtld_hidden_tls_def): Likewise.
4375 (libm_hidden_tls_def): Likewise.
4376 (libmvec_hidden_tls_def): Likewise.
4377 (libresolv_hidden_tls_def): Likewise.
4378 (librt_hidden_tls_def): Likewise.
4379 (libdl_hidden_tls_def): Likewise.
4380 (libnss_files_hidden_tls_def): Likewise.
4381 (libnsl_hidden_tls_def): Likewise.
4382 (libnss_nisplus_hidden_tls_def): Likewise.
4383 (libutil_hidden_tls_def): Likewise.
4384 (libutil_hidden_tls_def): Likweise.
4385 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
4386 libc_hidden_tls_def.
4387 (__sim_disabled_exceptions_thread): Likewise.
4388 (__sim_round_mode_thread): Likewise.
4389
4390 * sysdeps/sparc/sparc-ifunc.h [SHARED]
4391 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
4392 copy attributes from name.
4393
4394 2018-11-12 Joseph Myers <joseph@codesourcery.com>
4395
4396 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
4397 Use __attribute_copy__ to copy attributes from name.
4398
4399 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
4400 with __hidden_ver1 call.
4401 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
4402 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
4403 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
4404 (__cosf): Do not declare here.
4405 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
4406 (__sincosf): Do not declare here.
4407 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
4408 (__sinf): Do not declare here.
4409
4410 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
4411 (__BIG_ENDIAN): Likewise.
4412 (__BYTE_ORDER): Likewise.
4413 (strong_alias): Likewise.
4414 (_strong_alias): Likewise.
4415
4416 2018-11-12 Florian Weimer <fweimer@redhat.com>
4417
4418 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
4419 function. Move after the definition of in_smallbin_range. Do not
4420 use __builtin_expect for paths that lead to a noreturn function.
4421 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
4422 because it is unclear whether this is in fact an unlikely
4423 condition.
4424 (_int_malloc, _int_free): Adjust.
4425 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
4426 variables.
4427 * malloc/arena.c (heap_trim): Likewise.
4428
4429 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4430
4431 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
4432 it, free it if needed.
4433 (reauthenticate): Test and use ccwdir.
4434 (child_init_port): In non-resetids case, test and use ccwdir.
4435 (child_chdir): New nested function to set ccwdir.
4436 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
4437 * hurd/hurd/port.h (_hurd_port_move): New function.
4438 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
4439 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
4440 * hurd/Versions (_hurd_port_move): Export function.
4441 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
4442 symbol.
4443 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
4444 of dtablesize for allocating dtable_cloexec.
4445
4446 2018-11-09 Martin Sebor <msebor@redhat.com>
4447
4448 * include/libc-symbols.h (__attribute_copy__): Define macro unless
4449 it's already defined.
4450 (_strong_alias): Use __attribute_copy__.
4451 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
4452 * misc/sys/cdefs.h (__attribute_copy__): New macro.
4453 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
4454 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
4455 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
4456 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
4457 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
4458 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
4459 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
4460 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
4461 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
4462 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
4463 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
4464 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
4465 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
4466 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
4467 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
4468 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
4469 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
4470
4471 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4472
4473 * misc/tst-efgcvt.c: Include support/check.h and
4474 support/test-driver.c. Do not include test-skeleton.c.
4475 (error_count): Remove.
4476 (output_error): Replace increments to error_count with calls to
4477 support_record_failure.
4478 (output_r_error): Likewise.
4479 (special): Likewise.
4480 (do_test): Unconditionally return zero.
4481 (TEST_FUNCTION): Remove.
4482
4483 2018-11-09 Joseph Myers <joseph@codesourcery.com>
4484
4485 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
4486 not $(@D)/scratch.
4487 ($(linknamespace-header-tests)): Likewise.
4488
4489 * conform/conformtest.py: New file.
4490 * conform/conformtest.pl: Remove.
4491 * conform/GlibcConform.pm: Likewise.
4492 * conform/glibcconform.py (KEYWORDS_C90): New constant.
4493 (KEYWORDS_C99): Likewise.
4494 (KEYWORDS): Likewise.
4495 * conform/Makefile ($(conformtest-header-tests)): Use
4496 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
4497 option. Use --header instead of --headers.
4498 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
4499 function entries.
4500 * conform/data/spawn.h-data: Likewise.
4501 * conform/data/fcntl.h-data (openat): Add space after function
4502 name.
4503 * conform/data/wchar.h-data (wcscasecmp): Likewise.
4504 (wcscasecmp_l): Likewise.
4505 * conform/data/termios.h-data (c_cc): Add space after element
4506 name.
4507
4508 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4509
4510 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
4511 instead of manually comparing and reporting mismatching strings.
4512 * misc/tst-ldbl-error.c (do_one_test): Likewise.
4513 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
4514
4515 2018-11-08 Joseph Myers <joseph@codesourcery.com>
4516
4517 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
4518 __ASSUME_SOCKETCALL.
4519 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4520 (__ASSUME_SOCKETCALL): Remove.
4521 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4522 (__ASSUME_SOCKETCALL): Likewise.
4523 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4524 (__ASSUME_SOCKETCALL): Likewise.
4525 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4526 (__ASSUME_SOCKETCALL): Likewise.
4527 * sysdeps/unix/sysv/linux/s390/kernel-features.h
4528 (__ASSUME_SOCKETCALL): Likewise.
4529 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4530 (__ASSUME_SOCKETCALL): Likewise.
4531 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4532 (__ASSUME_SOCKETCALL): Likewise.
4533
4534 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
4535
4536 [BZ #23509]
4537 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
4538 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
4539 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
4540 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
4541 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
4542 lc_unknown.
4543
4544 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
4545
4546 [BZ #17630]
4547 * resolv/tst-resolv-network.c: Add test for getnetbyname.
4548
4549 2018-11-07 Joseph Myers <joseph@codesourcery.com>
4550
4551 [BZ #23867]
4552 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4553 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4554 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4555 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4556
4557 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4558
4559 * support/support_test_compare_string.c
4560 (support_test_compare_string): Fix printf format.
4561
4562 2018-11-07 Florian Weimer <fweimer@redhat.com>
4563
4564 Implement TEST_COMPARE_STRING.
4565 * support/check.h (TEST_COMPARE_STRING): Define.
4566 (support_test_compare_string): Declare.
4567 * support/Makefile (libsupport-routines): Add
4568 support_test_compare_string.
4569 (tests): Add tst-test_compare_string.
4570 * support/support_test_compare_string.c: New file.
4571 * support/tst-test_compare_string.c: Likewise.
4572
4573 2018-11-07 Andreas Schwab <schwab@suse.de>
4574
4575 [BZ #23864]
4576 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
4577 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
4578 Undef.
4579
4580 2018-11-06 Joseph Myers <joseph@codesourcery.com>
4581
4582 [BZ #23862]
4583 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4584 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
4585 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
4586 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
4587 Likewise.
4588
4589 2018-11-06 Florian Weimer <fweimer@redhat.com>
4590
4591 [BZ #17405]
4592 * posix/Makefile (routines): Add spawn_faction_addchdir.
4593 (tests): Add tst-spawn-chdir.
4594 * posix/Versions (GLIBC_2.29): Add
4595 posix_spawn_file_actions_addchdir_np.
4596 * posix/spawn_faction_addchdir.c: New file.
4597 * posix/spawn_faction_destroy.c
4598 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
4599 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
4600 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
4601 chdir_action.
4602 * posix/tst-spawn-chdir.c: New file.
4603 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
4604 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4605 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4606 posix_spawn_file_actions_addchdir_np.
4607 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4608 Likewise.
4609 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4610 Likewise.
4611 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4612 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4613 Likewise.
4614 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4615 Likewise.
4616 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4617 Likewise.
4618 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4619 Likewise.
4620 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4621 Likewise.
4622 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4623 Likewise.
4624 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4625 (GLIBC_2.29): Likewise.
4626 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4627 (GLIBC_2.29): Likewise.
4628 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4629 (GLIBC_2.29): Likewise.
4630 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4631 (GLIBC_2.29): Likewise.
4632 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4633 Likewise.
4634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4635 (GLIBC_2.29): Likewise.
4636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4637 (GLIBC_2.29): Likewise.
4638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4639 (GLIBC_2.29): Likewise.
4640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4641 (GLIBC_2.29): Likewise.
4642 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4643 Likewise.
4644 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4645 Likewise.
4646 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4647 Likewise.
4648 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4649 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4650 Likewise.
4651 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4652 Likewise.
4653 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4654 Likewise.
4655 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4656 Likewise.
4657
4658 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4659
4660 * misc/Makefile (tests): Add tst-ldbl-error.
4661 * misc/tst-ldbl-error.c: New file.
4662
4663 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4664
4665 * misc/Makefile (tests): Add tst-ldbl-warn.
4666 * misc/tst-ldbl-warn.c: New file.
4667
4668 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4669
4670 * argp/Makefile (tests): Add tst-ldbl-argp.
4671 * argp/tst-ldbl-argp.c: New file.
4672
4673 2018-11-05 Arjun Shankar <arjun@redhat.com>
4674
4675 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
4676 __gconv_path_elem and call __gconv_get_path unconditionally.
4677
4678 2018-11-05 Andreas Schwab <schwab@suse.de>
4679
4680 [BZ #22927]
4681 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
4682 creating the first helper thread failed.
4683
4684 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4685
4686 * sysdeps/mach/hurd/msync.c: New file.
4687
4688 2018-11-02 Florian Weimer <fweimer@redhat.com>
4689
4690 * support/shell-container.c (copy_func): Call
4691 support_copy_file_range instead of copy_file_range to support
4692 cross-device copies.
4693
4694 2018-11-02 Florian Weimer <fweimer@redhat.com>
4695
4696 * support/test-container.c: Include <libc-pointer-arith.h> for
4697 ALIGN_UP.
4698
4699 2018-11-01 Zong Li <zong@andestech.com>
4700
4701 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
4702 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
4703 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
4704 (__FP_FRAC_SET_8): Add implementation for RV32 use.
4705
4706 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
4707 variable to avoid overlap arguments.
4708
4709 2018-11-01 Joseph Myers <joseph@codesourcery.com>
4710
4711 * posix/bug-regex22.c (main): Use puts with distinct error
4712 messages for unexpected success of re_compile_pattern, not printf
4713 with NULL argument to %s.
4714
4715 * stdio-common/bug22.c: Include <libc-diag.h>.
4716 (do_test): Disable -Wformat-overflow= warnings around fprintf
4717 calls outputting more than INT_MAX characters.
4718 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
4719 around printf call with NULL %s argument.
4720
4721 [BZ #23848]
4722 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
4723 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
4724 Undefine.
4725 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4726 (__ASSUME_RECVMSG_SYSCALL): Likewise.
4727 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4728 (__ASSUME_SENDTO_SYSCALL): Likewise.
4729 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4730 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
4731 [!__arch64__].
4732 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4733 (__ASSUME_CONNECT_SYSCALL): Likewise.
4734 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4735 (__ASSUME_RECVFROM_SYSCALL): Likewise.
4736 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
4737 Define.
4738 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
4739 Likewise.
4740 [__LINUX_KERNEL_VERSION >= 0x040400]
4741 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4742 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
4743 Remove.
4744 (listen): Likewise.
4745 (setsockopt): Likewise.
4746
4747 2018-11-01 Fredrik Noring <noring@nocrew.org>
4748
4749 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
4750 with the ISA override.
4751
4752 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
4753
4754 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
4755 #endif.
4756
4757 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
4758
4759 * manual/errno.texi (EIEIO): Document how translators should
4760 translate the error message.
4761 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
4762 printing trailing whitespaces refused by git.
4763 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
4764 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4765 * hurd/Makefile (user-interfaces): Add pci.
4766
4767 2018-10-30 Joseph Myers <joseph@codesourcery.com>
4768
4769 * conform/linknamespace.py: New file.
4770 * conform/linknamespace.pl: Remove file.
4771 * conform/Makefile ($(linknamespace-header-tests)): Use
4772 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
4773 option.
4774
4775 2018-10-30 Florian Weimer <fweimer@redhat.com>
4776
4777 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
4778 memory leaks.
4779
4780 2018-10-30 Florian Weimer <fweimer@redhat.com>
4781
4782 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
4783
4784 2018-10-30 Florian Weimer <fweimer@redhat.com>
4785
4786 * stdlib/tst-strtod-overflow.c (do_test): Switch to
4787 support_blob_repeat.
4788
4789 2018-10-30 Florian Weimer <fweimer@redhat.com>
4790
4791 Avoid spurious test failures in stdlib/test-bz22786.
4792 * support/Makefile (libsupport-routines): Add blob_repeat.
4793 (tests): Add tst-support_blob_repeat.
4794 * support/blob_repeat.h: New file.
4795 * support/blob_repeat.c: Likewise.
4796 * support/tst-support_blob_repeat.c: Likewise.
4797 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
4798 support_blob_repeat_allocate.
4799
4800 2018-10-30 Andreas Schwab <schwab@suse.de>
4801
4802 [BZ #23125]
4803 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
4804 Don't use tail call.
4805 * elf/tst-unwind-main.c: New file.
4806 * elf/Makefile (tests): Add tst-unwind-main.
4807 (CFLAGS-tst-unwind-main.c): Define.
4808
4809 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
4810
4811 [BZ #23791]
4812 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
4813 n_cs_precedes to 0.
4814 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
4815
4816 2018-10-29 Joseph Myers <joseph@codesourcery.com>
4817
4818 * conform/glibcconform.py: Do not import shutil.
4819 (list_exported_functions): Use tempfile.TemporaryDirectory instead
4820 of mkdtemp.
4821
4822 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
4823 critic_missing for versions before 3.4.
4824 * configure: Regenerated.
4825 * manual/install.texi (Tools for Compilation): Document
4826 requirement for Python to build glibc.
4827 * INSTALL: Regenerated.
4828 * Rules [PYTHON]: Make code unconditional.
4829 * benchtests/Makefile [PYTHON]: Likewise.
4830 * conform/Makefile [PYTHON]: Likewise.
4831 * manual/Makefile [PYTHON]: Likewise.
4832 * math/Makefile [PYTHON]: Likewise.
4833
4834 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4835
4836 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
4837 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
4838 answer to interrupt_operation, return EIEIO instead of EINTR.
4839 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
4840 _hurd_intr_rpc_msg_about_to global point to start of controlled
4841 assembly snippet. Make it check canceled flag.
4842 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
4843 the _hurd_intr_rpc_msg_about_to point.
4844 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
4845 issue, remove cancel flag check.
4846
4847 2018-10-26 Joseph Myers <joseph@codesourcery.com>
4848
4849 * scripts/build-many-glibcs.py: Remove compatibility for missing
4850 os.cpu_count and re.fullmatch.
4851
4852 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
4853
4854 [BZ #23822]
4855 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
4856 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
4857 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
4858
4859 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4860
4861 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
4862 macro.
4863
4864 2018-10-25 Florian Weimer <fweimer@redhat.com>
4865
4866 [BZ #23562]
4867 [BZ #23821]
4868 XFAIL siginfo_t si_band conform test on sparc64.
4869 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4870 (__SI_BAND_TYPE): Only override long int default type on sparc64.
4871 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4872 (conformtest-xfail-conds): Add sparc64-linux.
4873 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
4874 sparc64.
4875 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
4876
4877 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4878
4879 * elf/elf.h (NT_MIPS_DSP): New macro.
4880 (NT_MIPS_FP_MODE): Likewise.
4881
4882 2018-10-25 Zong Li <zong@andestech.com>
4883
4884 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
4885 name by adding the file extension (.so).
4886
4887 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
4888
4889 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
4890 (test-xfail-ISO11/threads.h/linknamespace,
4891 test-xfail-ISO11/threads.h/conform): Add.
4892
4893 2018-10-24 Joseph Myers <joseph@codesourcery.com>
4894
4895 * math/gen-libm-test.py: Import os.
4896 (ALL_FLOATS_MANUAL): New constant.
4897 (ALL_FLOATS_SUFFIX): Likewise.
4898 (Ulps.all_functions): New function.
4899 (real_all_ulps): Likewise.
4900 (generate_err_table_sub): Likewise.
4901 (generate_err_table): Likewise.
4902 (main): Handle -s and -m options.
4903 * manual/libm-err-tab.pl: Remove.
4904 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
4905 instead of libm-err-tab.pl.
4906 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
4907 != no].
4908 * manual/install.texi (Tools for Compilation): Document
4909 requirement for Python to build manual.
4910 * INSTALL: Regenerated.
4911
4912 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4913
4914 * bits/time64.h: New file.
4915 * include/time.h: Replace internal_time_t with __time64_t.
4916 * posix/bits/types (__time64_t): Add.
4917 * stdlib/Makefile: Add bits/time64.h to includes.
4918 * time/tzfile.c: Replace internal_time_t with __time64_t.
4919
4920 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4921
4922 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
4923 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
4924 __posix_spawn_file_actions_init, __posix_spawnattr_init,
4925 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
4926 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
4927 prototype.
4928 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
4929 * posix/spawn_faction_addclose.c
4930 (__posix_spawn_file_actions_addclose): Add hidden definition.
4931 * posix/spawn_faction_adddup2.c
4932 (__posix_spawn_file_actions_adddup2): Likewise.
4933 * posix/spawn_faction_destroy.c
4934 (__posix_spawn_file_actions_destroy): Likewise.
4935 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
4936 Likewise.
4937 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
4938 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
4939 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
4940 Likewise.
4941 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
4942 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
4943 Likewise.
4944
4945 2018-10-24 Andreas Schwab <schwab@suse.de>
4946
4947 [BZ #18093]
4948 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
4949 format cache.
4950 * elf/cache.c (print_cache): Likewise.
4951
4952 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4953
4954 * bits/timesize.h: New file.
4955 * stdlib/Makefile (headers): Add bits/timesize.h.
4956 * sysdeps/unix/sysv/linux/bits/msq-pad.h
4957 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
4958 * sysdeps/unix/sysv/linux/bits/sem-pad.h
4959 (__SEM_PAD_AFTER_TIME): Likewise.
4960 * sysdeps/unix/sysv/linux/bits/shm-pad.h
4961 (__SHM_PAD_AFTER_TIME): Likewise.
4962 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
4963 (__MSQ_PAD_BEFORE_TIME): Likewise.
4964 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
4965 (__SEM_PAD_BEFORE_TIME): Likewise.
4966 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
4967 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4968 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
4969 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
4970 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
4971 (__MSQ_PAD_BEFORE_TIME): Likewise.
4972 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
4973 (__SEM_PAD_BEFORE_TIME): Likewise.
4974 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
4975 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4976 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
4977 (__MSQ_PAD_BEFORE_TIME): Likewise.
4978 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
4979 (__SEM_PAD_BEFORE_TIME): Likewise.
4980 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
4981 (__SHM_PAD_BEFORE_TIME): Likewise.
4982 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
4983 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
4984 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
4985
4986 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
4987
4988 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
4989 USE_RDTSCP is defined.
4990 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
4991 USE_RDTSCP is defined.
4992
4993 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4994
4995 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
4996 defined.
4997
4998 [BZ #23709]
4999 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
5000 independently of other flags.
5001
5002 2018-10-23 Florian Weimer <fweimer@redhat.com>
5003
5004 * time/tst-mktime2.c (N_STRINGS): Remove.
5005 (set_timezone): New function.
5006 (spring_forward_gap): Call it. Use FAIL_EXIT1.
5007 (mktime_test1): Report localtime failure and check errno value.
5008 Use TEST_COMPARE.
5009 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
5010 (do_test): Remove alarm call. Use set_timezone and array_length.
5011
5012 2018-10-23 Andreas Schwab <schwab@suse.de>
5013
5014 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
5015 (__start_context): Use END instead of PSEUDO_END.
5016
5017 2018-10-22 Joseph Myers <joseph@codesourcery.com>
5018
5019 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5020 version to 4.19.
5021
5022 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5023 version to 4.19.
5024
5025 [BZ #23793]
5026 * wcsmbs/c32rtomb.c: New file.
5027 * wcsmbs/mbrtoc32.c: Likewise.
5028 * wcsmbs/tst-c32-state.c: Likewise.
5029 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
5030 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
5031 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
5032 (tests): Add tst-c32-state.
5033 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
5034 $(gen-locales).
5035
5036 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
5037
5038 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
5039 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
5040
5041 2018-10-19 Joseph Myers <joseph@codesourcery.com>
5042
5043 [BZ #23794]
5044 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
5045 pair and return 0 in that case, and use saved character to
5046 interpret following character.
5047 * wcsmbs/tst-c16-surrogate.c: New file.
5048 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
5049 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
5050 Depend on $(gen-locales)
5051
5052 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
5053
5054 [BZ #23562]
5055 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
5056 (struct siginfo_t): Use correct type for si_band.
5057
5058 2018-10-19 Florian Weimer <fweimer@redhat.com>
5059
5060 [BZ #23689]
5061 * resource/bits/types/struct_rusage.h (struct rusage): Update
5062 comment on struct. Remove extraneous field comment.
5063
5064 2018-10-18 David S. Miller <davem@davemloft.net>
5065
5066 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
5067 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
5068 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
5069 sysdep_routines in subdir elf.
5070 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
5071 version for __vdso_clock_gettime.
5072 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
5073 Define.
5074 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5075 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5076
5077 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
5078
5079 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
5080
5081 * sysdeps/i386/init-arch.h: Removed.
5082 * sysdeps/i386/i586/init-arch.h: Likewise.
5083 * sysdeps/i386/i686/init-arch.h: Likewise.
5084 * sysdeps/i386/i686/hp-timing.h: Likewise.
5085 * sysdeps/x86_64/hp-timing.h: Likewise.
5086 * sysdeps/i386/isa.h: New file.
5087 * sysdeps/i386/i586/isa.h: Likewise.
5088 * sysdeps/i386/i686/isa.h: Likewise.
5089 * sysdeps/x86_64/isa.h: Likewise.
5090 * sysdeps/x86/hp-timing.h: New file.
5091 * sysdeps/x86/init-arch.h: Include <isa.h>.
5092
5093 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5094
5095 * math/libm-test-pow.inc (pow_test_data): Do not allow
5096 divide-by-zero exception for pow(+/- 0, -Inf).
5097
5098 2018-10-17 Zack Weinberg <zackw@panix.com>
5099
5100 * manual/job.texi (Job Control is Optional): Remove node, as
5101 job control has not been optional in quite some time.
5102 (Job Control): Mention briefly that systems older than
5103 POSIX.1-2001 might not support job control.
5104 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
5105 defined on systems conforming to POSIX.1-2001.
5106
5107 2018-10-17 Arjun Shankar <arjun@redhat.com>
5108
5109 [BZ #22062]
5110 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
5111 indentation.
5112 * (__gconv_read_conf): Mark function static.
5113 * (once): New static variable.
5114 * (__gconv_load_conf): New function.
5115 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
5116 * iconv/gconv_db.c (once): Remove static variable.
5117 * (__gconv_compare_alias): Use __gconv_load_conf instead of
5118 __gconv_read_conf.
5119 * (__gconv_find_transform): Likewise.
5120 * iconv/tst-iconv-mt.c: New test.
5121 * iconv/Makefile: Add tst-iconv_mt.
5122
5123 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5124
5125 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5126 bits/shm-pad.h.
5127 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
5128 (shmatt_t): Define as __syscall_ulong_t.
5129 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
5130 and [__SHM_PAD_AFTER_TIME].
5131 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
5132 Define shm_segsz and associated padding based on
5133 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
5134 Use __syscall_ulong_t instead of unsigned long int.
5135 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
5136 unsigned long int.
5137 [__USE_MISC] (struct shm_info): Likewise.
5138 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
5139 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
5140 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
5141 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
5142 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
5143 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5144 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
5145 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
5146 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5147 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5148 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5149
5150 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5151 bits/shmlba.h.
5152 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
5153 (SHMLBA): Remove macro.
5154 (__getpagesize): Remove function declaration.
5155 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
5156 <bits/shmlba.h>.
5157 (SHMLBA): Remove macro.
5158 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
5159 <bits/shmlba.h>.
5160 (SHMLBA): Remove macro.
5161 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
5162 <bits/shmlba.h>.
5163 (SHMLBA): Remove macro.
5164 (__getpagesize): Remove function declaration.
5165 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
5166 <bits/shmlba.h>.
5167 (SHMLBA): Remove macro.
5168 (__getshmlba): Remove function declaration.
5169 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
5170 (SHMLBA): Remove macro.
5171 (__getpagesize): Remove function declaration.
5172 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
5173 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
5174 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5175 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
5176 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
5177 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
5178 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
5179 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
5180 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
5181 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
5182
5183 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
5184
5185 [BZ #23275]
5186 * nptl/tst-mutex10.c: New File.
5187 * nptl/Makefile (tests): Add tst-mutex10.
5188 (tst-mutex10-ENV): New variable.
5189 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
5190 Ensure that elision path is used if elision is available.
5191 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
5192 Likewise.
5193 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
5194 Likewise.
5195 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
5196 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
5197 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
5198 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
5199 Likewise.
5200 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
5201 (__pthread_mutex_cond_lock_adjust): Likewise.
5202 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5203 Likewise.
5204 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
5205 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5206 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5207 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
5208 Add comments.
5209 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5210 Use atomic_load_relaxed and atomic_store_relaxed.
5211 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
5212 Use atomic_store_relaxed.
5213
5214 2018-10-17 Andreas Schwab <schwab@suse.de>
5215
5216 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
5217 * crypt/badsalttest.c (TIMEOUT): Likewise.
5218 * crypt/sha256c-test.c (TIMEOUT): Likewise.
5219 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
5220 * io/test-lfs.c (TIMEOUT): Likewise.
5221 * libio/tst-atime.c (TIMEOUT): Likewise.
5222 * localedata/tst-leaks.c (TIMEOUT): Likewise.
5223 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
5224 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
5225 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
5226 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
5227 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
5228 * nptl/tst-cond11.c (TIMEOUT): Likewise.
5229 * nptl/tst-cond14.c (TIMEOUT): Likewise.
5230 * nptl/tst-cond15.c (TIMEOUT): Likewise.
5231 * nptl/tst-cond24.c (TIMEOUT): Likewise.
5232 * nptl/tst-cond25.c (TIMEOUT): Likewise.
5233 * nptl/tst-kill2.c (TIMEOUT): Likewise.
5234 * nptl/tst-kill3.c (TIMEOUT): Likewise.
5235 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
5236 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
5237 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
5238 * nptl/tst-once2.c (TIMEOUT): Likewise.
5239 * nptl/tst-once3.c (TIMEOUT): Likewise.
5240 * nptl/tst-once4.c (TIMEOUT): Likewise.
5241 * nptl/tst-robust8.c (TIMEOUT): Likewise.
5242 * nptl/tst-robust9.c (TIMEOUT): Likewise.
5243 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
5244 * nptl/tst-sem14.c (TIMEOUT): Likewise.
5245 * nptl/tst-sem6.c (TIMEOUT): Likewise.
5246 * nptl/tst-signal3.c (TIMEOUT): Likewise.
5247 * nptl/tst-spin4.c (TIMEOUT): Likewise.
5248 * nptl/tst-tls3.c (TIMEOUT): Likewise.
5249 * nptl/tst-tls4.c (TIMEOUT): Likewise.
5250 * posix/tst-chmod.c (TIMEOUT): Likewise.
5251 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
5252 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
5253 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
5254 * posix/tst-regex2.c (TIMEOUT): Likewise.
5255 * posix/tst-waitid.c (TIMEOUT): Likewise.
5256 * rt/tst-aio.c (TIMEOUT): Likewise.
5257 * rt/tst-aio10.c (TIMEOUT): Likewise.
5258 * rt/tst-aio4.c (TIMEOUT): Likewise.
5259 * rt/tst-aio5.c (TIMEOUT): Likewise.
5260 * rt/tst-aio6.c (TIMEOUT): Likewise.
5261 * rt/tst-aio64.c (TIMEOUT): Likewise.
5262 * rt/tst-aio7.c (TIMEOUT): Likewise.
5263 * rt/tst-aio9.c (TIMEOUT): Likewise.
5264 * rt/tst-clock.c (TIMEOUT): Likewise.
5265 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
5266 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
5267 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
5268 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
5269 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
5270 * rt/tst-timer4.c (TIMEOUT): Likewise.
5271 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
5272 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
5273 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
5274 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
5275 * time/tst-ftime.c (TIMEOUT): Likewise.
5276 * timezone/tst-tzset.c (TIMEOUT): Likewise.
5277
5278 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
5279
5280 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
5281 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
5282 for thunderX2.
5283
5284 2018-10-15 Joseph Myers <joseph@codesourcery.com>
5285
5286 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5287 bits/sem-pad.h.
5288 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
5289 instead of <bits/wordsize.h>.
5290 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
5291 and [__SEM_PAD_AFTER_TIME].
5292 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
5293 __syscall_ulong_t instead of unsigned long int.
5294 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
5295 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
5296 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
5297 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
5298 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
5299 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
5300 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
5301 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
5302 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5303 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5304 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5305
5306 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
5307
5308 regex: simplify by using intprops.h
5309 [BZ#23744]
5310 * posix/regex_internal.h [_LIBC]: Include intprops.h.
5311 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
5312 intprops.h defines them.
5313
5314 regex: __builtin_expect → __glibc_unlikely
5315 [BZ#23744]
5316 This refactoring was prompted by a problem when the regex code is
5317 used as part of Gnulib and when the builder’s compiler does not grok
5318 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
5319 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
5320 Although this refactoring does not fix the problem directly,
5321 we might as well have Gawk use the now-preferred glibc style for when
5322 __builtin_expect is unavailable.
5323 * posix/regex_internal.h (BE): Remove.
5324 All uses replaced by __glibc_unlikely or __glibc_likely.
5325
5326 2018-10-11 Joseph Myers <joseph@codesourcery.com>
5327
5328 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5329 bits/msq-pad.h.
5330 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
5331 instead of <bits/wordsize.h>.
5332 (msgqnum_t): Define as __syscall_ulong_t.
5333 (msglen_t): Likewise.
5334 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
5335 and [__MSQ_PAD_AFTER_TIME].
5336 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
5337 __syscall_ulong_t instead of unsigned long int.
5338 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
5339 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
5340 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
5341 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
5342 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
5343 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
5344 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
5345 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
5346 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5347 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5348 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5349
5350 2018-10-10 Joseph Myers <joseph@codesourcery.com>
5351
5352 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
5353 (struct shmid_ds): Condition padding after time fields on
5354 [__WORDSIZE == 32].
5355 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
5356 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
5357 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5358
5359 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
5360 (struct semid_ds): Condition padding after time fields on
5361 [__WORDSIZE == 32].
5362 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
5363 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
5364 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
5365 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5366
5367 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
5368 (struct msqid_ds): Condition padding after time fields on
5369 [__WORDSIZE == 32].
5370 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
5371 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
5372 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
5373 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5374
5375 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5376
5377 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
5378
5379 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5380
5381 * libio/tst-readline.c (TIMEOUT): Define.
5382
5383 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
5384
5385 mktime fix for Gnulib + coreutils
5386 [BZ#23745]
5387 This fix affects only Gnulib. Problem discovered when
5388 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
5389 * time/mktime.c:
5390 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
5391 Do not define since it is not used. Defining an unused static
5392 function prompts a warning from GCC when Coreutils is configured
5393 with --enable-gcc-warnings.
5394
5395 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5396
5397 * benchtests/scripts/compare_bench.py (main): set float type on
5398 threshold argument.
5399
5400 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
5401
5402 [BZ #23740]
5403 * localedata/locales/kl_GL (mon): Update, the relative case.
5404 (alt_mon): Add, fill with month names in the nominative case.
5405 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
5406 (d_fmt): Set to "%b %d %Y".
5407
5408 2018-10-04 Joseph Myers <joseph@codesourcery.com>
5409
5410 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
5411 <bits/mman-linux.h>.
5412 (PROT_READ): Don't define here.
5413 (PROT_WRITE): Likewise.
5414 (PROT_EXEC): Likewise.
5415 (PROT_NONE): Likewise.
5416 (PROT_GROWSDOWN): Likewise.
5417 (PROT_GROWSUP): Likewise.
5418 (MAP_SHARED): Likewise.
5419 (MAP_PRIVATE): Likewise.
5420 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
5421 [__USE_MISC] (MAP_FILE): Likewise.
5422 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
5423 [__USE_MISC] (MAP_ANON): Likewise.
5424 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
5425 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
5426 (MCL_CURRENT): Likewise.
5427 (MCL_FUTURE): Likewise.
5428 (MCL_ONFAULT): Likewise.
5429 [__USE_MISC] (MADV_NORMAL): Likewise.
5430 [__USE_MISC] (MADV_RANDOM): Likewise.
5431 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
5432 [__USE_MISC] (MADV_WILLNEED): Likewise.
5433 [__USE_MISC] (MADV_DONTNEED): Likewise.
5434 [__USE_MISC] (MADV_FREE): Likewise.
5435 [__USE_MISC] (MADV_REMOVE): Likewise.
5436 [__USE_MISC] (MADV_DONTFORK): Likewise.
5437 [__USE_MISC] (MADV_DOFORK): Likewise.
5438 [__USE_MISC] (MADV_HWPOISON): Likewise.
5439 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
5440 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
5441 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
5442 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
5443 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
5444 (__MAP_ANONYMOUS): New macro.
5445 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
5446 <bits/mman-linux.h> inclusion.
5447 (MAP_FIXED): Likewise.
5448 (MS_SYNC): Likewise.
5449 (MS_ASYNC): Likewise.
5450 (MS_INVALIDATE): Likewise.
5451 [__USE_MISC] (MADV_MERGEABLE): Likewise.
5452 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
5453 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
5454 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
5455 [__USE_MISC] (MADV_DONTDUMP): Likewise.
5456 [__USE_MISC] (MADV_DODUMP): Likewise.
5457 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
5458 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
5459
5460 [BZ #23735]
5461 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
5462 Define.
5463 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
5464 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
5465 Add test-nldbl-redirect.
5466 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
5467 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
5468 $(objpfx)libnldbl_nonshared.a.
5469
5470 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
5471
5472 * support/support.h (support_objdir_elf_ldso): New variable.
5473 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
5474 * support/Makefile (CFLAGS-support_paths.c): Add definition
5475 for OBJDIR_ELF_LDSO_PATH.
5476 * support/test-container.c (main): Search for the ld.so
5477 which is also used by the testsuite.
5478
5479 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
5480
5481 [BZ #20209]
5482 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
5483 should be "sap" rather than "sab".
5484 (day): Fix spelling of Sunday, should be "sapaat" rather than
5485 "sabaat".
5486
5487 2018-10-02 Joseph Myers <joseph@codesourcery.com>
5488
5489 * math/libm-test-fma.inc (fma_test_data): Add more tests.
5490
5491 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
5492
5493 [BZ #19444]
5494 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
5495 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
5496 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
5497
5498 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5499
5500 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
5501
5502 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
5503
5504 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
5505 Add -mrtm.
5506 (CFLAGS-elision-unlock.c): Likewise.
5507 (CFLAGS-elision-timed.c): Likewise.
5508 (CFLAGS-elision-trylock.c): Likewise.
5509 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
5510
5511 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5512
5513 [BZ #21037]
5514 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
5515 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
5516 new fd_to_filename interface.
5517 * libio/freopen64.c (freopen64): Likewise.
5518 * libio/tst-memstream.h: New file.
5519 * libio/tst-memstream4.c: Likewise.
5520 * libio/tst-wmemstream4.c: Likewise.
5521 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
5522 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
5523 and remove internal dynamic allocation.
5524
5525 2018-10-01 Joseph Myers <joseph@codesourcery.com>
5526
5527 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
5528 (MREMAP_MAYMOVE): Do not define here.
5529 [__USE_GNU] (MREMAP_FIXED): Likewise.
5530 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
5531 (MREMAP_MAYMOVE): Define here instead.
5532 [__USE_GNU] (MREMAP_FIXED): Likewise.
5533 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
5534 (MREMAP_MAYMOVE): Remove.
5535 [__USE_GNU] (MREMAP_FIXED): Likewise.
5536
5537 2018-09-28 Joseph Myers <joseph@codesourcery.com>
5538
5539 * math/fromfp.h: Do not include <math_private.h>.
5540 * math/s_cacosh_template.c: Likewise.
5541 * math/s_casin_template.c: Likewise.
5542 * math/s_casinh_template.c: Likewise.
5543 * math/s_ccos_template.c: Likewise.
5544 * math/s_cproj_template.c: Likewise.
5545 * math/s_fdim_template.c: Likewise.
5546 * math/s_fmaxmag_template.c: Likewise.
5547 * math/s_fminmag_template.c: Likewise.
5548 * math/s_iseqsig_template.c: Likewise.
5549 * math/s_ldexp_template.c: Likewise.
5550 * math/s_nextdown_template.c: Likewise.
5551 * math/w_log1p_template.c: Likewise.
5552 * math/w_scalbln_template.c: Likewise.
5553 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
5554 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
5555 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
5556 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
5557 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
5558 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
5559 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
5560 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
5561 * sysdeps/i386/fpu/s_atanl.c: Likewise.
5562 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
5563 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
5564 * sysdeps/i386/fpu/s_fdim.c: Likewise.
5565 * sysdeps/i386/fpu/s_logbl.c: Likewise.
5566 * sysdeps/i386/fpu/s_rintl.c: Likewise.
5567 * sysdeps/i386/fpu/s_significandl.c: Likewise.
5568 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
5569 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
5570 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5571 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5572 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
5573 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5574 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5575 * sysdeps/ieee754/k_standardf.c: Likewise.
5576 * sysdeps/ieee754/k_standardl.c: Likewise.
5577 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5578 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5579 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
5580 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5581 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5582 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5583 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5584 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5585 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5586 * sysdeps/ieee754/s_signgam.c: Likewise.
5587 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5588 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
5589 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
5590 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5591 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5592 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
5593 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5594 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
5595 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5596 * sysdeps/riscv/rvd/s_finite.c: Likewise.
5597 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
5598 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
5599 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
5600 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
5601 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
5602 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
5603 * sysdeps/riscv/rvf/fegetround.c: Likewise.
5604 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
5605 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
5606 * sysdeps/riscv/rvf/fesetround.c: Likewise.
5607 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
5608 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
5609 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
5610 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5611 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
5612 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5613 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
5614 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
5615 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
5616 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
5617 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
5618 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
5619 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
5620 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
5621 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5622 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5623 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
5624 <math_private.h>.
5625 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
5626
5627 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
5628
5629 [BZ #23716]
5630 * sysdeps/i386/dl-cet.c: Removed.
5631 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
5632 prototype.
5633 (_dl_runtime_profile_shstk): Likewise.
5634 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
5635 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
5636
5637 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5638
5639 [BZ #23579]
5640 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
5641 do_test_with_invalid_iov): New tests.
5642 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
5643 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
5644 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
5645 errno is ENOSYS.
5646 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
5647 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
5648 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
5649
5650 2018-09-27 Joseph Myers <joseph@codesourcery.com>
5651
5652 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5653 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
5654 (MATH_REDIRECT_BINARY_ARGS): New macro.
5655 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5656 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
5657 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
5658 header inclusion.
5659 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
5660 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5661 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
5662 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5663 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5664 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5665 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5667 Likewise.
5668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
5669 Likewise.
5670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
5672 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
5673 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
5674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
5675 Likewise.
5676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
5677 Likewise.
5678 * sysdeps/generic/math_private_calls.h
5679 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
5680 Do not declare and define as an inline function.
5681 * math/divtc3.c (__divtc3): Use copysign functions instead of
5682 __copysign variants.
5683 * math/multc3.c (__multc3): Likewise.
5684 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
5685 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
5686 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5687 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5688 Likewise.
5689 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5690 (__ieee754_yn): Likewise.
5691 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5692 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
5693 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5694 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5695 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
5696 (__sin): Likewise.
5697 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
5698 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5699 Likewise.
5700 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5701 Likewise.
5702 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5703 Likewise.
5704 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5705 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5706 Likewise.
5707 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5708 (__ieee754_ynf): Likewise.
5709 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
5710 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5711 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
5712 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5713 Likewise.
5714 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5715 (__ieee754_ynl): Likewise.
5716 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5717 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5718 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5719 Likewise.
5720 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5721 (__ieee754_ynl): Likewise.
5722 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
5723 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5724 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5725 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5726 Likewise.
5727 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5728 (__ieee754_ynl)
5729 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
5730 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5731 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
5732 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5733 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5734
5735 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5736 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
5737 using MATH_REDIRECT.
5738 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
5739 header inclusion.
5740 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
5741 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5742 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5743 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
5744 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5745 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5746 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
5748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
5749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
5750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
5751 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5752 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5753 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5754 (round): Redirect to __round.
5755 (__roundl): Call round instead of __round.
5756 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
5757 Remove macro.
5758 [_ARCH_PWR5X] (__roundf): Likewise.
5759 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
5760 functions instead of __round variants.
5761 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5762 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5763 Likewise.
5764 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5765 Likewise.
5766 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5767 Likewise.
5768 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
5769 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
5770 __lroundl.
5771 (__ieee754_expl): Call roundl instead of __roundl.
5772
5773 2018-09-27 Andreas Schwab <schwab@suse.de>
5774
5775 [BZ #23717]
5776 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
5777 (do_test): Make st1 static.
5778
5779 2018-09-26 Andreas Schwab <schwab@suse.de>
5780
5781 [BZ #23707]
5782 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
5783 * elf/Makefile (tests): Add tst-unwind-ctor.
5784 (modules-names): Add tst-unwind-ctor-lib.
5785 ($(objpfx)tst-unwind-ctor): Depend on
5786 $(objpfx)tst-unwind-ctor-lib.so.
5787
5788 2018-09-26 Joseph Myers <joseph@codesourcery.com>
5789
5790 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
5791 file. Most contents moved from ....
5792 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
5793 and include <bits/mman-map-flags-generic.h>.
5794 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5795 (sysdep_headers): Add bits/mman-map-flags-generic.h.
5796 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
5797 <bits/mman-map-flags-generic.h>.
5798 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
5799 macros defined in <bits/mman-map-flags-generic.h>.
5800 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
5801 <bits/mman-map-flags-generic.h>.
5802 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
5803 defined in <bits/mman-map-flags-generic.h>.
5804
5805 2018-09-26 Andreas Schwab <schwab@suse.de>
5806
5807 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
5808 output.
5809
5810 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
5811 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5812 Fangrui Song <maskray@google.com>
5813
5814 [BZ #20480]
5815 * config.make.in (have-textrel_ifunc): New define.
5816 * configure.ac: Add check if linker supports textrel relocation with
5817 ifunc.
5818 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
5819 tst-ifunc-textrel.
5820 (CFLAGS-tst-ifunc-textrel.c): New rule.
5821 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
5822 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
5823 * elf/tst-ifunc-textrel.c: New file.
5824
5825 2018-09-25 Joseph Myers <joseph@codesourcery.com>
5826
5827 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5828 <bits/procfs-prregset.h>.
5829 (prgregset_t): Define using __prgregset_t.
5830 (prfpregset_t): Define using __prfpregset_t.
5831 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5832 (sysdep_headers): Add bits/procfs-prregset.h.
5833 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
5834 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
5835 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
5836 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
5837
5838 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5839 <bits/procfs-id.h> and <bits/procfs-extra.h>.
5840 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
5841 pr_uid and pr_gid.
5842 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5843 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
5844 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
5845 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
5846 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
5847 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
5848 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
5849 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
5850 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
5851 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
5852 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
5853 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
5854 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
5855 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
5856 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
5857 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
5858 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
5859 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
5860 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
5861 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
5862 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
5863 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
5864 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5865 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
5866
5867 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
5868 AArch64 version. Include <bits/procfs.h>.
5869 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5870 (sysdep_headers): Add bits/procfs.h.
5871 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
5872 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
5873 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
5874 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
5875 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
5876 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
5877 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
5878 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
5879 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
5880 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
5881 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
5882 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
5883 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
5884 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
5885 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
5886 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5887 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
5888
5889 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5890
5891 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
5892 Use libsupport.
5893
5894 2018-09-25 Arjun Shankar <arjun@redhat.com>
5895
5896 * iconv/gconv_int.h (__gconv_path_elem): Remove.
5897 (__gconv_max_path_elem_len): Likewise.
5898 (__gconv_nmodules): Likewise.
5899 (__gconv_get_path): Likewise.
5900 (path_elem): Move to ...
5901 * iconv/gconv_conf.c: ... here.
5902 (__gconv_get_path): Mark function static.
5903 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
5904 * iconv/gconv_open.c: ... here.
5905
5906 2018-09-24 Andreas Schwab <schwab@suse.de>
5907
5908 * scripts/haveversions.awk: New file.
5909 * Makerules ($(common-objpfx)Versions.def)
5910 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5911 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5912 Move rules ...
5913 * Makeconfig ($(common-objpfx)Versions.def)
5914 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5915 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5916 ... here.
5917 ($(common-objpfx)Versions.mk): New rule. Include it.
5918 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
5919 Emit error if build-obsolete-nsl = yes.
5920 * manual/install.texi (Configuring and compiling): Describe
5921 --enable-obsolete-nsl as unavaiable after version 2.28.
5922 * INSTALL: Regenerate.
5923
5924 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5925
5926 * NEWS: Add note about new TLE support on powerpc64le.
5927 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
5928 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
5929 __ununsed1.
5930 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
5931 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
5932 * sysdeps/powerpc/powerpc32/sysdep.h,
5933 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
5934 ABORT_TRANSACTION): Remove macros.
5935 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
5936 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
5937 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
5938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
5939 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5940 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
5941 usage.
5942 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
5943
5944 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
5945
5946 [BZ #10425]
5947 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
5948 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
5949 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
5950 which is the same as in it_IT.
5951 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
5952 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
5953
5954 2018-09-20 Joseph Myers <joseph@codesourcery.com>
5955
5956 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5957 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
5958 using MATH_REDIRECT.
5959 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
5960 header inclusion.
5961 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
5962 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5963 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
5964 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5965 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5966 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
5968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
5969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
5970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
5971 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5972 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5973 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5974 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5975 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
5976 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
5977 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
5978 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5979 (ceil): Redirect to __ceil.
5980 (floor): Redirect to __floor.
5981 (trunc): Redirect to __trunc.
5982 (__truncl): Call trunc instead of __trunc.
5983 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
5984 Remove macro.
5985 [_ARCH_PWR5X] (__truncf): Likewise.
5986 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
5987 trunc functions instead of __trunc variants.
5988 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5989 Likewise.
5990 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5991 Likewise.
5992 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5993 Likewise.
5994 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5995 Likewise.
5996
5997 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
5998 [__i586__ || __pentium__].
5999 [__i486__]: Handle explicitly.
6000 (HAS_CPUID): Define to 1 if above macros are undefined.
6001 (HAS_I586): Likewise.
6002 (HAS_I686): Likewise.
6003
6004 2018-09-20 Florian Weimer <fweimer@redhat.com>
6005
6006 * misc/tst-gethostid.c: New file.
6007 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
6008 (tst-gethostid): Link with -ldl.
6009
6010 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
6011
6012 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
6013 value from gethostbyname_r.
6014
6015 2018-09-19 Carlos O'Donell <carlos@redhat.com>
6016
6017 * stdlib/tst-setcontext9.c (f1): Rename to...
6018 (f1a): ... this.
6019 (f1b): New function implementing lower half of f1 in alternate stack.
6020
6021 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
6022
6023 Fix mktime localtime offset confusion
6024 [BZ #23603]
6025 * include/time.h (__mktime_internal): The localtime offset is now
6026 of type long int instead of time_t. This is the longstanding type
6027 in glibc, and it is more than enough to represent difference
6028 between localtime and gmtime even if it is 32 bits and time_t is
6029 64. Changing it now will let us avoid an unnecessary change when
6030 time_t is widened to 64 bits on 32-bit platforms.
6031 * time/mktime-internal.h (mktime_offset_t): Now long int.
6032
6033 Merge mktime, timegm from upstream Gnulib
6034 [BZ #23603][BZ #16346]
6035 This fixes some obscure problems with integer overflow.
6036 Although it looks scary, it is almost all a byte-for-byte copy
6037 from Gnulib, and the Gnulib code has been tested reasonably well.
6038 * include/intprops.h: New file, copied from Gnulib.
6039 * include/verify.h, time/mktime-internal.h:
6040 New tiny files, simplified from Gnulib.
6041 * time/mktime.c: Copy from Gnulib. This has the following changes:
6042 Do not include config.h if DEBUG_MKTIME is nonzero.
6043 Include stdbool.h, intprops.h, verify.h.
6044 Include string.h only if needed.
6045 Include stdlib.h on MS-Windows.
6046 Include mktime-internal.h.
6047 (DEBUG_MKTIME): Default to 0, and simplify later uses.
6048 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
6049 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
6050 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
6051 simplify later conditionals; default the others to zero. Use
6052 these conditionals to express only the code needed on the current
6053 platform. In uses of these conditionals, explicitly spell out how
6054 _LIBC affects things, so it’s easier to review from a glibc
6055 viewpoint.
6056 (WRAPV): Remove; no longer needed now that we have
6057 systematic overflow checking.
6058 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
6059 compartmentalize tzset issues. Move system-dependent tzsettish
6060 code here from mktime.
6061 (verify): Remove; now done by verify.h. All uses changed.
6062 (long_int): Use a more-conservative definition, to avoid
6063 integer overflow.
6064 (SHR): Remove, replacing with ...
6065 (shr): New function, which means we needn’t worry about side
6066 effects in args, and conversion analysis is simpler.
6067 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
6068 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
6069 (time_t_avg, time_t_add_ok): Remove.
6070 (mktime_min, mktime_max): New constants.
6071 (leapyear, isdst_differ): Use bool for booleans.
6072 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
6073 Use long_int, not time_t, for mktime differences.
6074 (long_int_avg): New function, replacing time_t_avg.
6075 INT_ADD_WRAPV replaces time_t_add_ok.
6076 (guess_time_tm): 6th arg is now long_int, not time_t const *.
6077 All uses changed.
6078 (convert_time): New function.
6079 (ranged_convert): Use it.
6080 (__mktime_internal): Last arg now points to mktime_offset_t, not
6081 time_t. All uses changed. This is a no-op on glibc, where
6082 mktime_offset_t is always time_t. Use int, not time_t, for UTC
6083 offset guess. Directly check for integer overflow instead of
6084 using a heuristic that works only 99.9...% of the time.
6085 Access *OFFSET only once, to avoid an unlikely race if the
6086 compiler delays a load and if this cascades into a signed integer
6087 overflow.
6088 (mktime): Move tzsettish code to my_tzset, and move
6089 localtime_offset to within mktime so that it doesn’t
6090 need a separate ifdef.
6091 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
6092 instead of localtime.
6093 * time/timegm.c: Copy from Gnulib. This has the following changes:
6094 Include mktime-internal.h.
6095 [!_LIBC]: Include config.h and time.h. Do not include
6096 timegm.h or time_r.h. Make __mktime_internal a macro,
6097 and include mktime-internal.h to get its declaration.
6098 (timegm): Temporary is now mktime_offset_t, not time_t.
6099 This affects only Gnulib.
6100
6101 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
6102
6103 [BZ #23637]
6104 * string/test-strstr.c (pr23637): New function.
6105 (test_main): Add tests with longer needles.
6106 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
6107 * string/strstr.c (AVAILABLE): Likewise.
6108
6109 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6110
6111 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
6112
6113 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6114
6115 * NEWS: Mention pow improvements.
6116 * math/Makefile (type-double-routines): Add e_pow_log_data.
6117 * sysdeps/generic/math_private.h (__exp1): Remove.
6118 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
6119 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
6120 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
6121 contraction.
6122 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
6123 (exp_inline): Remove.
6124 (__ieee754_exp): Only single double input is handled.
6125 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
6126 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
6127 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
6128 (__pow_log_data): Define.
6129 * sysdeps/ieee754/dbl-64/upow.h: Remove.
6130 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
6131 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
6132 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
6133 contraction.
6134 (CFLAGS-e_pow-fma4.c): Likewise.
6135
6136 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
6137
6138 Simplify tzfile fstat failure code
6139 [BZ #21716]
6140 * time/tzfile.c (__tzfile_read): Simplify slightly.
6141
6142 Fix tzfile low-memory assertion failure
6143 [BZ #21716]
6144 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
6145 when registering time zone abbreviations.
6146
6147 2018-09-18 Joseph Myers <joseph@codesourcery.com>
6148
6149 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
6150 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
6151 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
6152 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
6153 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
6154 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
6155 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
6156 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6157 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6158
6159 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
6160 __ceil.
6161 (__ceill): Call ceil instead of __ceil.
6162 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
6163 __floor.
6164 (__floorl): Call floor instead of __floor.
6165
6166 2018-09-17 Joseph Myers <joseph@codesourcery.com>
6167
6168 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6169 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
6170 using MATH_REDIRECT.
6171 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
6172 header inclusion.
6173 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
6174 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6175 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6176 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
6177 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6178 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6179 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6180 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
6181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
6182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
6183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
6184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
6185 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6186 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6187 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
6188 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
6189 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
6190 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
6191 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
6192 Remove macro.
6193 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
6194 functions instead of __ceil variants.
6195 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6196 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6197 Likewise.
6198 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6199 Likewise.
6200 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6201 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6202 Likewise.
6203 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6204 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6205
6206 [BZ #21286]
6207 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
6208 constant.
6209 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
6210 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
6211 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
6212 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
6213 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
6214 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
6215 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
6216 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
6217 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
6218 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
6219 (ILL_BADIADDR): Remove constant.
6220 (TRAP_BRANCH): Likewise.
6221 (TRAP_HWBKPT): Likewise.
6222
6223 2018-09-14 Joseph Myers <joseph@codesourcery.com>
6224
6225 [BZ #23656]
6226 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
6227 Remove [_MIPS_SIM = _ABIN32] conditional case.
6228 (struct elf_prpsinfo): Likewise.
6229
6230 [BZ #23649]
6231 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
6232 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
6233 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
6234 Likewise.
6235 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
6236 elf_prpsinfo): Likewise.
6237 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
6238 elf_prpsinfo): Likewise.
6239 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
6240 Likewise.
6241
6242 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6243 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
6244 using MATH_REDIRECT.
6245 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
6246 header inclusion.
6247 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
6248 * sysdeps/alpha/fpu/s_rint.c: Likewise.
6249 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
6250 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6251 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6252 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6253 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
6254 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6255 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6256 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6257 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
6258 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
6259 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
6260 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
6261 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
6262 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6263 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6264 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
6265 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
6267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
6268 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
6269 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
6270 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
6271 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
6272 * sysdeps/x86_64/fpu/math_private.h: Remove file.
6273 * math/e_scalb.c (invalid_fn): Use rint functions instead of
6274 __rint variants.
6275 * math/e_scalbf.c (invalid_fn): Likewise.
6276 * math/e_scalbl.c (invalid_fn): Likewise.
6277 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6278 Likewise.
6279 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6280 Likewise.
6281 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6282 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
6283 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6284 Likewise.
6285 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6286 Likewise.
6287 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6288 Likewise.
6289 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
6290 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
6291
6292 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6293 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
6294 New macro.
6295 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6296 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
6297 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6298 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
6299 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6300 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
6301 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6302 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
6303 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6304 && !NO_MATH_REDIRECT] (floor): Likewise.
6305 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
6306 header inclusion.
6307 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
6308 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6309 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6310 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
6311 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6312 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6313 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6314 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
6315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
6316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
6317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
6318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
6319 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6320 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6321 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
6322 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
6323 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
6324 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
6325 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
6326 Remove macro.
6327 [_ARCH_PWR5X] (__floorf): Likewise.
6328 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
6329 inline function.
6330 [__SSE4_1__] (__floorf): Likewise.
6331 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
6332 instead of __floor variants.
6333 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
6334 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
6335 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
6336 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
6337 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
6338 * math/w_tgamma_compat.c (__tgamma): Likewise.
6339 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
6340 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
6341 * math/w_tgammal_compat.c (__tgammal): Likewise.
6342 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
6343 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6344 Likewise.
6345 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
6346 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
6347 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
6348 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6349 Likewise.
6350 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6351 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
6352 Likewise.
6353 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6354 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
6355 Likewise.
6356 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6357 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
6358 Likewise.
6359 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6360 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6361 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
6362 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
6363 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6364 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6365
6366 2018-09-12 Joseph Myers <joseph@codesourcery.com>
6367
6368 * elf/Makefile (modules-names-tests): New variable.
6369
6370 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6371
6372 * NEWS: Mention log2 improvements.
6373 * math/Makefile (type-double-routines): Add e_log2_data.
6374 * sysdeps/i386/fpu/e_log2_data.c: New file.
6375 * sysdeps/ia64/fpu/e_log2_data.c: New file.
6376 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
6377 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
6378 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
6379 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
6380 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
6381
6382 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6383
6384 * NEWS: Mention log improvement.
6385 * math/Makefile (type-double-routines): Add e_log_data.
6386 * sysdeps/i386/fpu/e_log_data.c: New file.
6387 * sysdeps/ia64/fpu/e_log_data.c: New file.
6388 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
6389 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
6390 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
6391 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
6392 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
6393 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
6394
6395 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
6396 Xuepeng Guo <xuepeng.guo@intel.com>
6397
6398 [BZ #23606]
6399 * sysdeps/i386/start.S: Include <sysdep.h>
6400 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
6401 enabled. Add cfi_undefined (eip).
6402
6403 2018-09-11 Joseph Myers <joseph@codesourcery.com>
6404
6405 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
6406 (MOVQ): Likewise.
6407 (EXTRACT_WORDS64): Likewise.
6408 (INSERT_WORDS64): Likewise.
6409 (GET_FLOAT_WORD): Likewise.
6410 (SET_FLOAT_WORD): Likewise.
6411
6412 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
6413 argument.
6414 (Config.build_gcc): Use --disable-libsanitizer for first GCC
6415 build, but not for second build if --full-gcc. Use
6416 --enable-languages=all for second build if --full-gcc.
6417 (get_parser): Add --full-gcc option.
6418 (main): Update call to Context.
6419
6420 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
6421
6422 [BZ #10797]
6423 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
6424 Single Quotation Mark).
6425 (thousands_sep): Likewise.
6426 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
6427 * localedata/locales/it_IT (thousands_sep): Use ".".
6428 (grouping): Use "3;3".
6429
6430 2018-09-10 Joseph Myers <joseph@codesourcery.com>
6431
6432 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
6433 x86_64 and i686 configs using --enable-obsolete-rpc
6434 --enable-obsolete-nsl.
6435
6436 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6437
6438 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6439
6440 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6441
6442 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
6443 Increment size of new_argv by one.
6444
6445 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
6446
6447 [BZ #17426]
6448 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
6449 * localedata/locales/ar_IN (d_fmt): Likewise.
6450 * localedata/locales/bhb_IN (d_fmt): Likewise.
6451 * localedata/locales/bho_IN (d_fmt): Likewise.
6452 * localedata/locales/bn_BD (d_fmt): Likewise.
6453 * localedata/locales/bn_IN (d_fmt): Likewise.
6454 * localedata/locales/doi_IN (d_fmt): Likewise.
6455 * localedata/locales/gu_IN (d_fmt): Likewise.
6456 * localedata/locales/hi_IN (d_fmt): Likewise.
6457 * localedata/locales/hne_IN (d_fmt): Likewise.
6458 * localedata/locales/kn_IN (d_fmt): Likewise.
6459 * localedata/locales/mag_IN (d_fmt): Likewise.
6460 * localedata/locales/mai_IN (d_fmt): Likewise.
6461 * localedata/locales/mjw_IN (d_fmt): Likewise.
6462 * localedata/locales/ml_IN (d_fmt): Likewise.
6463 * localedata/locales/mni_IN (d_fmt): Likewise.
6464 * localedata/locales/mr_IN (d_fmt): Likewise.
6465 * localedata/locales/pa_IN (d_fmt): Likewise.
6466 * localedata/locales/raj_IN (d_fmt): Likewise.
6467 * localedata/locales/sat_IN (d_fmt): Likewise.
6468 * localedata/locales/sd_IN (d_fmt): Likewise.
6469 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
6470 * localedata/locales/ta_IN (d_fmt): Likewise.
6471 * localedata/locales/ta_LK (d_fmt): Likewise.
6472 * localedata/locales/tcy_IN (d_fmt): Likewise.
6473 * localedata/locales/ur_IN (d_fmt): Likewise.
6474
6475 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
6476 * localedata/locales/ks_IN (d_fmt): Likewise.
6477 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
6478
6479 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
6480 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
6481 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
6482 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
6483
6484 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
6485
6486 * NEWS: Mention exp and exp2 improvements.
6487 * math/Makefile (libm-support): Remove t_exp.
6488 (type-double-routines): Add math_err and e_exp_data.
6489 * sysdeps/aarch64/libm-test-ulps: Update.
6490 * sysdeps/arm/libm-test-ulps: Update.
6491 * sysdeps/i386/fpu/e_exp_data.c: New file.
6492 * sysdeps/i386/fpu/math_err.c: New file.
6493 * sysdeps/i386/fpu/t_exp.c: Remove.
6494 * sysdeps/ia64/fpu/e_exp_data.c: New file.
6495 * sysdeps/ia64/fpu/math_err.c: New file.
6496 * sysdeps/ia64/fpu/t_exp.c: Remove.
6497 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
6498 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
6499 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
6500 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
6501 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
6502 * sysdeps/ieee754/dbl-64/math_config.h: New file.
6503 * sysdeps/ieee754/dbl-64/math_err.c: New file.
6504 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
6505 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
6506 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
6507 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
6508 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
6509 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
6510 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
6511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6512 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6513
6514 2018-09-05 Joseph Myers <joseph@codesourcery.com>
6515
6516 * sysdeps/alpha/fpu/math_private.h: Remove.
6517
6518 * sysdeps/generic/math_private.h
6519 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
6520 Move this inline function ....
6521 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
6522 * include/math.h [!_ISOMAC]: To here....
6523
6524 2018-09-04 Joseph Myers <joseph@codesourcery.com>
6525
6526 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
6527 code ....
6528 [!FE_HAVE_ROUNDING_MODES]: And this code ....
6529 * include/fenv.h [!_ISOMAC]: ... to here.
6530 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
6531 (feraiseexcept): Likewise.
6532 * math/fromfp.h: Do not include <fenv_private.h>.
6533 * math/s_cexp_template.c: Likewise.
6534 * math/s_csin_template.c: Likewise.
6535 * math/s_csinh_template.c: Likewise.
6536 * math/s_ctan_template.c: Likewise.
6537 * math/s_ctanh_template.c: Likewise.
6538 * math/s_iseqsig_template.c: Likewise.
6539 * math/w_acos_compat.c: Likewise.
6540 * math/w_acosf_compat.c: Likewise.
6541 * math/w_acosl_compat.c: Likewise.
6542 * math/w_asin_compat.c: Likewise.
6543 * math/w_asinf_compat.c: Likewise.
6544 * math/w_asinl_compat.c: Likewise.
6545 * math/w_j0_compat.c: Likewise.
6546 * math/w_j0f_compat.c: Likewise.
6547 * math/w_j0l_compat.c: Likewise.
6548 * math/w_j1_compat.c: Likewise.
6549 * math/w_j1f_compat.c: Likewise.
6550 * math/w_j1l_compat.c: Likewise.
6551 * math/w_jn_compat.c: Likewise.
6552 * math/w_jnf_compat.c: Likewise.
6553 * math/w_log10_compat.c: Likewise.
6554 * math/w_log10f_compat.c: Likewise.
6555 * math/w_log10l_compat.c: Likewise.
6556 * math/w_log2_compat.c: Likewise.
6557 * math/w_log2f_compat.c: Likewise.
6558 * math/w_log2l_compat.c: Likewise.
6559 * math/w_log_compat.c: Likewise.
6560 * math/w_logf_compat.c: Likewise.
6561 * math/w_logl_compat.c: Likewise.
6562 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6563 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6564 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6565 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6566 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6567 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6568 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6569 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6570 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6571 * sysdeps/ieee754/k_standardl.c: Likewise.
6572 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6573 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6574 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6575 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6576 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6577 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6578 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6579 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6580 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6581 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6582 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6583 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6584 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6585 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6586 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6587 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6588 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6589 * math/w_ilogb_template.c: Include <fenv.h> instead of
6590 <fenv_private.h>.
6591 * math/w_llogb_template.c: Likewise.
6592 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6593 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6594
6595 2018-09-03 Joseph Myers <joseph@codesourcery.com>
6596
6597 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
6598 * math/fromfp.h: Include <fenv_private.h>.
6599 * math/math-narrow.h: Likewise.
6600 * math/s_cexp_template.c: Likewise.
6601 * math/s_csin_template.c: Likewise.
6602 * math/s_csinh_template.c: Likewise.
6603 * math/s_ctan_template.c: Likewise.
6604 * math/s_ctanh_template.c: Likewise.
6605 * math/s_iseqsig_template.c: Likewise.
6606 * math/w_acos_compat.c: Likewise.
6607 * math/w_acosf_compat.c: Likewise.
6608 * math/w_acosl_compat.c: Likewise.
6609 * math/w_asin_compat.c: Likewise.
6610 * math/w_asinf_compat.c: Likewise.
6611 * math/w_asinl_compat.c: Likewise.
6612 * math/w_ilogb_template.c: Likewise.
6613 * math/w_j0_compat.c: Likewise.
6614 * math/w_j0f_compat.c: Likewise.
6615 * math/w_j0l_compat.c: Likewise.
6616 * math/w_j1_compat.c: Likewise.
6617 * math/w_j1f_compat.c: Likewise.
6618 * math/w_j1l_compat.c: Likewise.
6619 * math/w_jn_compat.c: Likewise.
6620 * math/w_jnf_compat.c: Likewise.
6621 * math/w_llogb_template.c: Likewise.
6622 * math/w_log10_compat.c: Likewise.
6623 * math/w_log10f_compat.c: Likewise.
6624 * math/w_log10l_compat.c: Likewise.
6625 * math/w_log2_compat.c: Likewise.
6626 * math/w_log2f_compat.c: Likewise.
6627 * math/w_log2l_compat.c: Likewise.
6628 * math/w_log_compat.c: Likewise.
6629 * math/w_logf_compat.c: Likewise.
6630 * math/w_logl_compat.c: Likewise.
6631 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6632 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6633 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6634 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6635 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6636 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6637 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6638 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6639 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6640 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6641 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6642 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6643 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
6644 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
6645 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6646 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6647 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6648 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6649 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6650 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6651 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6652 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6653 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6654 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6655 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6656 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6657 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6658 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
6659 * sysdeps/ieee754/float128/float128_private.h: Likewise.
6660 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6661 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6662 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6663 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
6664 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6665 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6666 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6667 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6668 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6669 * sysdeps/ieee754/k_standardl.c: Likewise.
6670 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6671 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6672 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6673 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6674 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6675 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6676 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6677 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6678 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6679 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6680 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6681 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6682 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6683 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6684 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6685 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6686 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6687 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
6688 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6689 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6690 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6691 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6692 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6693 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6694 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6695 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6696 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6697 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6698 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
6699 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6700 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6701 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6702 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6703 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6704 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6705 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6706 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6707 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6708 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6709 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6710 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6711 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6712 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6713 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6714 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6715 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6716 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6717 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6718 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6719 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6720 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6721 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6722 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6723 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6724 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6725 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6726 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6727 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6728 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6729 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6730 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6731 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6732 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6733 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6734 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6735 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6736 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6737 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6738 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6739 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6740 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6741
6742 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6743
6744 [BZ #20271]
6745 * include/stdio.h (__libc_fatal): Mention newline in comment.
6746 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
6747 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
6748 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6749 * nss/nsswitch.c (__nss_next2): Likewise.
6750 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
6751 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
6752 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
6753 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6754 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
6755 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
6756 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
6757 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
6758 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
6759 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
6760 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
6761 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6762 (__netlink_assert_response): Likewise.
6763
6764 2018-08-31 Joseph Myers <joseph@codesourcery.com>
6765
6766 * conform/glibcconform.py: New file.
6767 * conform/list-header-symbols.py: Likewise.
6768 * conform/list-header-symbols.pl: Remove.
6769 * conform/Makefile (tests-special): Only add linknamespace tests
6770 if [PYTHON].
6771 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
6772
6773 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
6774
6775 [BZ #23597]
6776 * support/Makefile (libsupport-routines): Add
6777 support_copy_file_range and xcopy_file_range.
6778 * support/support.h: Include <sys/types.h>.
6779 (support_copy_file_range): New prototype.
6780 * support/support_copy_file_range.c: New file. Copied and
6781 modified from io/copy_file_range-compat.c.
6782 * support/test-container.c (copy_one_file): Call xcopy_file_rang
6783 instead of copy_file_range.
6784 * support/xcopy_file_range.c: New file.
6785 * support/xunistd.h (xcopy_file_range): New prototype.
6786
6787 2018-08-30 Carlos O'Donell <carlos@redhat.com>
6788
6789 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
6790 xpthread_create and xpthread_join.
6791
6792 2018-08-30 Florian Weimer <fweimer@redhat.com>
6793
6794 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
6795
6796 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
6797
6798 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
6799 if malloc fails.
6800
6801 2018-08-29 Joseph Myers <joseph@codesourcery.com>
6802
6803 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
6804 and minus_oflow as non-finite.
6805
6806 2018-08-28 Joseph Myers <joseph@codesourcery.com>
6807
6808 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
6809 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
6810 moved to fenv_private.h except for ...
6811 (TOINT_INTRINSICS): Kept in math_private.h.
6812 (roundtoint): Likewise.
6813 (converttoint): Likewise.
6814 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
6815 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6816 * sysdeps/arm/math_private.h: Remove.
6817 * sysdeps/generic/fenv_private.h: New file. Contents moved from
6818 ....
6819 * sysdeps/generic/math_private.h: ... this file. Include
6820 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
6821 Include <fenv_private.h>. Remove functions and macros moved to
6822 fenv_private.h.
6823 * sysdeps/i386/fpu/math_private.h: Remove.
6824 * sysdeps/mips/math_private.h: Move to ....
6825 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
6826 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
6827 [__mips_hard_float] conditional. Include next <fenv_private.h>.
6828 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
6829 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6830 * sysdeps/powerpc/fpu/math_private.h: Do not include
6831 <fenv_private.h>.
6832 * sysdeps/riscv/rvf/math_private.h: Move to ....
6833 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
6834 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
6835 <fenv_private.h>.
6836 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
6837 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6838 * sysdeps/sparc/fpu/math_private.h: Remove.
6839 * sysdeps/i386/fpu/fenv_private.h: Move to ....
6840 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
6841 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
6842 <fenv_private.h>.
6843 * sysdeps/x86_64/fpu/math_private.h: Do not include
6844 <sysdeps/i386/fpu/fenv_private.h>.
6845
6846 2018-08-28 Florian Weimer <fweimer@redhat.com>
6847
6848 [BZ #23578]
6849 * posix/tst-regcomp-truncated.c: New file.
6850 * posix/Makefile (tests): Add it.
6851 (tst-regcomp-truncated.out): Depend on generated locales.
6852
6853 2018-08-28 Florian Weimer <fweimer@redhat.com>
6854
6855 * support/test-container.c (main): Treat unshare failure with
6856 EPERM as an unsupported test.
6857
6858 2018-08-28 Florian Weimer <fweimer@redhat.com>
6859
6860 [BZ #23520]
6861 nscd: Fix use-after-free in addgetnetgrentX and its callers.
6862 * nscd/netgroupcache.c
6863 (addgetnetgrentX): Add tofreep parameter. Do not free
6864 heap-allocated buffer.
6865 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
6866 (addgetnetgrentX_ignore): New function.
6867 (addgetnetgrent): Call it.
6868 (readdgetnetgrent): Likewise.
6869
6870 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6871
6872 * string/memmem.c: Use memcmp for first match.
6873
6874 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6875
6876 [BZ #17426]
6877 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
6878
6879 2018-08-27 DJ Delorie <dj@redhat.com>
6880
6881 * support/Makefile (others): Don't list programs explicitly as a
6882 dependency of "others".
6883
6884 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6885
6886 * sysdeps/generic/math-tests-trap-force.h: New file.
6887 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
6888 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
6889 * sysdeps/powerpc/math-tests.h: Remove file.
6890 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
6891
6892 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
6893 Torvald Riegel <triegel@redhat.com>
6894
6895 [BZ #23538]
6896 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
6897 Update r to include the set wake-request flag if waiters are
6898 remaining after spinning.
6899
6900 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6901
6902 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
6903
6904 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
6905
6906 [BZ #23578]
6907 regex: fix uninitialized memory access
6908 I introduced this bug into gnulib in commit
6909 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
6910 eventually it was merged into glibc. The bug was found by
6911 project-repo <bugs@feusi.co> and reported here:
6912 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
6913 Diagnosis and draft fix reported by Assaf Gordon here:
6914 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
6915 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
6916 * posix/regex_internal.c (build_wcs_upper_buffer):
6917 Fix bug when mbrtowc returns 0.
6918
6919 2018-08-24 Carlos O'Donell <carlos@redhat.com>
6920
6921 * po/be.po: Update translation.
6922
6923 2018-08-24 DJ Delorie <dj@delorie.com>
6924
6925 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
6926 $(libunwind).
6927
6928 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6929
6930 [BZ #23400]
6931 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
6932 create temporary files in source tree.
6933
6934 2018-08-24 Joseph Myers <joseph@codesourcery.com>
6935
6936 * sysdeps/generic/math-tests-trap.h: New file.
6937 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
6938 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
6939 * sysdeps/aarch64/math-tests.h: Remove file.
6940 * sysdeps/arm/math-tests.h: Likewise.
6941 * sysdeps/riscv/math-tests.h: Likewise.
6942 * sysdeps/aarch64/math-tests-trap.h: New file.
6943 * sysdeps/arm/math-tests-trap.h: Likewise.
6944 * sysdeps/riscv/math-tests-trap.h: Likewise.
6945
6946 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
6947
6948 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
6949 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
6950 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
6951 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
6952 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
6953 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
6954 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6955 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
6956 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
6957 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6958 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6959 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6960 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6961 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
6962 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
6963 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
6964 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6965 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6966
6967 2018-08-23 Joseph Myers <joseph@codesourcery.com>
6968
6969 * sysdeps/generic/math-tests-exceptions.h: New file.
6970 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
6971 (EXCEPTION_TESTS_float): Do not define here.
6972 (EXCEPTION_TESTS_double): Likewise.
6973 (EXCEPTION_TESTS_long_double): Likewise.
6974 (EXCEPTION_TESTS_float128): Likewise.
6975 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
6976 Likewise.
6977 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
6978 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
6979 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
6980 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
6981 * sysdeps/mips/math-tests.h: Likewise.
6982 * sysdeps/nios2/math-tests.h: Likewise.
6983 * sysdeps/riscv/math-tests.h [!__riscv_flen]
6984 (EXCEPTION_TESTS_float): Do not define here.
6985 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
6986 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
6987 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
6988
6989 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6990
6991 * NEWS: Move optimized sinf entry to 2.29.
6992
6993 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6994
6995 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
6996
6997 2018-08-22 DJ Delorie <dj@redhat.com>
6998
6999 * Makefile (testroot.pristine): New rules to initialize the
7000 test-in-container "testroot".
7001 * Makerules (all-testsuite): Add tests-container.
7002 * Rules (tests-expected): Add tests-container.
7003 (binaries-all-tests): Likewise.
7004 (tests-container): New, run these tests in the testroot container.
7005 * support/Makefile (others): Add *-container, support_paths.c,
7006 xmkdirp, and links-dso-program.
7007 * support/links-dso-program-c.c: New.
7008 * support/links-dso-program.cc: New.
7009 * support/test-container.c: New.
7010 * support/shell-container.c: New.
7011 * support/echo-container.c: New.
7012 * support/true-container.c: New.
7013 * support/xmkdirp.c: New.
7014 * support/xsymlink.c: New.
7015 * support/support_paths.c: New.
7016 * support/support.h: Add support paths prototypes.
7017 * support/xunistd.h: Add xmkdirp () and xsymlink ().
7018
7019 * nss/tst-nss-test3.c: Convert to test-in-container.
7020 * nss/tst-nss-test3.root/: New.
7021
7022 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
7023
7024 regex: port Gnulib code to z/OS POSIX environment
7025 Problem reported by Arnold Robbins in:
7026 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
7027 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
7028 Undef.
7029
7030 2018-08-22 Joseph Myers <joseph@codesourcery.com>
7031
7032 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
7033 (ROUNDING_TESTS_double): Remove.
7034 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
7035 (ROUNDING_TESTS_double): Remove.
7036 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
7037 (ROUNDING_TESTS_double): Remove.
7038 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
7039 (ROUNDING_TESTS_float): Remove.
7040 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
7041 (ROUNDING_TESTS_float): Remove.
7042 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
7043 (ROUNDING_TESTS_float): Remove.
7044 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
7045 !TEST_MATHVEC here.
7046 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7047 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7048
7049 * sysdeps/generic/math-tests-rounding.h: New file.
7050 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
7051 (ROUNDING_TESTS_float): Do not define here.
7052 (ROUNDING_TESTS_double): Likewise.
7053 (ROUNDING_TESTS_long_double): Likewise.
7054 (ROUNDING_TESTS_float128): Likewise.
7055 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
7056 (ROUNDING_TESTS_double): Undefine before defining.
7057 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
7058 (ROUNDING_TESTS_double): Undefine before defining.
7059 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
7060 (ROUNDING_TESTS_double): Undefine before defining.
7061 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
7062 (ROUNDING_TESTS_float): Undefine before defining.
7063 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
7064 (ROUNDING_TESTS_float): Undefine before defining.
7065 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
7066 (ROUNDING_TESTS_float): Undefine before defining.
7067 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
7068 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
7069 not define here.
7070 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
7071 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
7072 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
7073 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7074 (ROUNDING_TESTS_float): Do not define here.
7075 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
7076 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
7077 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
7078 (ROUNDING_TESTS_float): Likewise.
7079 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
7080 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
7081 * sysdeps/mips/math-tests.h [__mips_soft_float]
7082 (ROUNDING_TESTS_float): Likewise.
7083 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
7084 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
7085 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
7086 (ROUNDING_TESTS_double): Likewise.
7087 (ROUNDING_TESTS_long_double): Likewise.
7088
7089 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
7090
7091 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
7092 (PF_XDP): New macro.
7093 (AF_XDP): New macro.
7094 (SOL_XDP): New macro.
7095
7096 2018-08-21 Joseph Myers <joseph@codesourcery.com>
7097
7098 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
7099 (TCP_INQ): Likewise.
7100 (TCP_CM_INQ): Likewise.
7101 (TCP_REPAIR_ON): Likewise.
7102 (TCP_REPAIR_OFF): Likewise.
7103 (TCP_REPAIR_OFF_NO_WP): Likewise.
7104 (struct tcp_zerocopy_receive): New type.
7105
7106 2018-08-21 Florian Weimer <fweimer@redhat.com>
7107
7108 * support/support.h (support_descriptor_supports_holes): Declare.
7109 * support/Makefile (libsupport-routines): Add
7110 support_descriptor_supports_holes.
7111 * support/support_descriptor_supports_holes.c: New file.
7112 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
7113 and stop testing if holes are not supported.
7114 * io/test-lfs.c (do_prepare): Likewise.
7115 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
7116 Likewise.
7117 * timezone/tst-tzset.c (create_tz_file): Likewise.
7118 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
7119 variable.
7120 (do_prepare): Set it.
7121 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
7122
7123 2018-08-21 Florian Weimer <fweimer@redhat.com>
7124
7125 [BZ #17248]
7126 * Makeconfig (+cflags): Do not sort (and deduplicate).
7127
7128 2018-08-21 Florian Weimer <fweimer@redhat.com>
7129
7130 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
7131 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
7132
7133 2018-08-20 Florian Weimer <fweimer@redhat.com>
7134
7135 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
7136 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
7137
7138 2018-08-20 Joseph Myers <joseph@codesourcery.com>
7139
7140 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
7141 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
7142 and ssi_arch members.
7143
7144 * elf/elf.c (NT_VMCOREDD): New macro.
7145 (AT_MINSIGSTKSZ): Likewise.
7146
7147 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7148
7149 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7150 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
7151 s_cosf-ppc64 and s_cosf-power8.
7152 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
7153 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7154 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7155 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
7157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
7158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
7159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
7160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
7161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
7162 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
7163 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
7164
7165 2018-08-17 Florian Weimer <fweimer@redhat.com>
7166
7167 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7168
7169 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
7170
7171 * malloc/malloc.c (_int_malloc): Additional binning code checks.
7172
7173 2018-08-16 Florian Weimer <fweimer@redhat.com>
7174
7175 * configure.ac: Add --with-nonshared-cflags option.
7176 * config.make.in (extra-nonshared-cflags): Set variable.
7177 * Makeconfig (CFLAGS-.oS): Use it.
7178 * manual/install.texi (Configuring and compiling): Document
7179 --with-nonshared-cflags.
7180 * configure: Regenerate.
7181 * INSTALL: Likewise.
7182
7183 2018-08-16 Florian Weimer <fweimer@redhat.com>
7184
7185 * Makeconfig (ASFLAGS): Always append required assembler flags.
7186
7187 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
7188
7189 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
7190 (malloc_consolidate): Likewise.
7191
7192 2018-08-16 Pochang Chen <johnchen902@gmail.com>
7193
7194 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
7195
7196 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7197
7198 * benchtests/bench-strlen.c (do_test): Allocate buffers before
7199 every strlen call.
7200
7201 * benchtests/bench-strlen.c: Print performance numbers in json.
7202
7203 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7204
7205 * sysdeps/powerpc/powerpc64/multiarch/Makefile
7206 (sysdep_routines): Build strcmp-power9 and strncmp-power9
7207 only for little endian.
7208 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7209 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
7210 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
7211 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
7212 Add check for little endian.
7213 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
7214 (__strcmp_power9): Add check for little endian.
7215 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
7216 Add check for little endian.
7217 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
7218 (__strncmp_power9): Add check for little endian.
7219 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
7220 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
7221 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
7222 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
7223 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
7224
7225 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
7226
7227 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
7228 [!STRLEN](STRLEN): Set to __strlen.
7229 * sysdeps/aarch64/multiarch/strlen.c: New file.
7230 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
7231 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
7232 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7233 (__libc_ifunc_impl_list): Add strlen.
7234 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
7235 strlen_generic and strlen_asimd.
7236
7237 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7238
7239 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
7240 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
7241 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7242
7243 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7244
7245 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
7246
7247 2018-08-14 Florian Weimer <fweimer@redhat.com>
7248
7249 [BZ #23519]
7250 * include/stdio.h (__vfxprintf): Declare.
7251 * stdio-common/fxprintf.c (__vfxprintf): New function.
7252 (__fxprintf): Call it.
7253 * misc/err.c (convert_and_print): Remove function.
7254 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
7255 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
7256 * misc/Makefile (tests): Add tst-warn-wide.
7257 * misc/tst-warn-wide.c: New file.
7258
7259 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
7260 Szabolcs Nagy <szabolcs.nagy@arm.com>
7261
7262 * NEWS: Mention sinf, cosf, sincosf.
7263 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
7264 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
7265 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
7266 constants rather than including generic sincosf.h.
7267 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
7268 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
7269 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
7270 (reduced_cos): Remove.
7271 (sinf_poly): New function.
7272 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
7273
7274 2018-08-14 Florian Weimer <fweimer@redhat.com>
7275
7276 [BZ #23521]
7277 [BZ #23522]
7278 * nss/nss_files/files-alias.c (get_next_alias): During :include:
7279 processing, bail out if no room, and close the stream before
7280 returning ERANGE.
7281 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
7282 (tst-nss-files-alias-leak): Link with libdl.
7283 (tst-nss-files-alias-leak.out): Depend on nss_files.
7284
7285 * nss/tst-nss-files-alias-leak.c: New file.
7286
7287 2018-08-14 Florian Weimer <fweimer@redhat.com>
7288
7289 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
7290 server_user, stat_user.
7291
7292 2018-08-13 Joseph Myers <joseph@codesourcery.com>
7293
7294 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7295 version to 4.18.
7296 (io_pgetevents): New syscall.
7297 (rseq): Likewise.
7298
7299 * manual/install.texi (Configuring and compiling): Do not list
7300 tools used for testing pretty printers here.
7301 (Tools for Compilation): List Python, PExpect and GDB here.
7302 Update descriptions of uses of Perl and Python.
7303 * INSTALL: Regenerate.
7304
7305 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7306 version to 4.18.
7307
7308 2018-08-13 Florian Weimer <fweimer@redhat.com>
7309
7310 * misc/error.c (error): Add missing va_end call.
7311 (error_at_line): Likewise.
7312
7313 2018-08-13 Florian Weimer <fweimer@redhat.com>
7314
7315 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
7316
7317 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
7318
7319 * benchtests/scripts/benchout.schema.json (properties): Add
7320 new properties.
7321
7322 * benchtests/bench-skeleton.c (main): Add duration and
7323 iterations attributes.
7324
7325 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
7326
7327 regex: Gnulib unibyte RRI uses bytes not chars
7328 Adjust the non-glibc code to agree with what Gawk needs for
7329 rational range interpretation (RRI) for regular expression ranges.
7330 In unibyte locales, Gawk wants ranges to use the underlying byte
7331 rather than the character code point. This change does not affect
7332 glibc proper.
7333 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
7334 In unibyte locales, use the byte value rather than
7335 running it through btowc.
7336
7337 2018-08-10 Joseph Myers <joseph@codesourcery.com>
7338
7339 * sysdeps/generic/math-tests-snan.h: New file.
7340 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
7341 (SNAN_TESTS_float): Do not define here.
7342 (SNAN_TESTS_double): Likewise.
7343 (SNAN_TESTS_long_double): Likewise.
7344 (SNAN_TESTS_float128): Likewise.
7345 * sysdeps/i386/fpu/math-tests-snan.h: New file.
7346 * sysdeps/i386/fpu/math-tests.h: Remove file.
7347 * sysdeps/ia64/math-tests-snan.h: New file.
7348 * sysdeps/ia64/math-tests.h: Remove file.
7349 * sysdeps/x86/math-tests.h: Likewise.
7350 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
7351
7352 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7353 Szabolcs Nagy <szabolcs.nagy@arm.com>
7354
7355 * math/Makefile: Add s_sincosf_data.c.
7356 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
7357 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
7358 (sincosf_poly): Likewise.
7359 (reduce_small): Likewise.
7360 (reduce_large): Likewise.
7361 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
7362 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
7363 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
7364 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
7365
7366 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7367 Szabolcs Nagy <szabolcs.nagy@arm.com>
7368
7369 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
7370 (converttoint): Use lround.
7371 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
7372 document the semantics when TOINT_INTRINSICS is set.
7373 (converttoint): Likewise.
7374 (TOINT_RINT): Remove.
7375 (TOINT_SHIFT): Remove.
7376 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
7377 path.
7378
7379 2018-08-10 Florian Weimer <fweimer@redhat.com>
7380
7381 [BZ #23497]
7382 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
7383 function.
7384 (__old_getdents64): Use getdents64. Convert entries without
7385 moving them.
7386 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
7387 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
7388 tst-readdir64-compat.
7389
7390 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7391
7392 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
7393 Fix unwind.
7394
7395 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7396
7397 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
7398 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
7399 code to s390x-mcount.h and #include it.
7400 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
7401 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7402 (__fentry__): Add.
7403
7404 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7405
7406 * stdlib/Versions: Remove __fentry__.
7407 * sysdeps/i386/Versions: Add __fentry__.
7408 * sysdeps/x86_64/Versions: Add __fentry__.
7409
7410 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7411
7412 * sysdeps/s390/Makefile: Register the new tests.
7413 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
7414 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
7415 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
7416 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
7417 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
7418 * sysdeps/s390/tst-dl-runtime.c: New file.
7419
7420 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7421
7422 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7423 Do not clobber R0.
7424
7425 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7426
7427 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7428 Do not clobber R0.
7429
7430 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7431
7432 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7433 Do not clobber R0.
7434
7435 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7436
7437 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7438 Do not clobber R0.
7439
7440 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7441
7442 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7443 Use symbolic offsets for stack variables.
7444
7445 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7446
7447 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7448 Use symbolic offsets for stack variables.
7449
7450 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7451
7452 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7453 Use symbolic offsets for stack variables.
7454
7455 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7456
7457 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7458 Use symbolic offsets for stack variables.
7459
7460 2018-08-09 Joseph Myers <joseph@codesourcery.com>
7461
7462 * math/gen-libm-test.py: New file.
7463 * math/gen-libm-test.pl: Remove.
7464 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
7465 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
7466 gen-libm-test.pl.
7467 ($(libm-test-c-noauto-obj)): Likewise.
7468 ($(libm-test-c-auto-obj)): Likewise.
7469 ($(libm-test-c-narrow-obj)): Likewise.
7470 (regen-ulps): Likewise.
7471 * math/README.libm-test: Update references to gen-libm-test.pl.
7472 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
7473 referencing gen-libm-test.pl.
7474 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
7475 * math/libm-test-support.c: Likewise.
7476 * math/libm-test-support.h: Likewise.
7477 * sysdeps/generic/libm-test-ulps: Likewise.
7478
7479 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
7480
7481 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
7482 Fix value.
7483
7484 2018-08-08 Joseph Myers <joseph@codesourcery.com>
7485
7486 * math/libm-test-nextdown.inc (do_test): Move comment to ....
7487 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
7488
7489 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7490
7491 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
7492 symbols.
7493 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
7494 __pthread_setspecific): Add hidden proto.
7495 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
7496 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
7497
7498 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7499
7500 * benchtests/bench-string.h (buf1_size, buf2_size): New
7501 variables.
7502 (init_sizes): New function.
7503 (test_init): Use it.
7504 (alloc_buf, exit_error): New functions.
7505 (alloc_bufs): Use ALLOC_BUF.
7506 (realloc_bufs): Remove.
7507 * benchtests/bench-memcmp.c (do_test): Adjust.
7508 * benchtests/bench-memset-large.c (do_test): Likewise.
7509 * benchtests/bench-memset-walk.c (do_test): Likewise.
7510 * benchtests/bench-memset.c (do_test): Likewise.
7511 * benchtests/bench-strncmp.c (do_test): Likewise.
7512
7513 2018-08-06 Andreas Schwab <schwab@suse.de>
7514
7515 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
7516 of CONST_THREAD_AREA.
7517
7518 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
7519
7520 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
7521 (STATE_SAVE_MASK): Likewise.
7522 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
7523 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
7524 (STATE_SAVE_MASK): Likewise.
7525 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
7526 instead of <cpu-features.h>.
7527
7528 2018-08-03 DJ Delorie <dj@redhat.com>
7529
7530 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
7531 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
7532
7533 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7534
7535 2018-08-03 Joseph Myers <joseph@codesourcery.com>
7536
7537 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
7538 after TEST_* calls.
7539 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
7540 * math/libm-test-logb.inc (logb_test_data): Likewise.
7541
7542 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
7543
7544 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
7545 * string/strstr.c (AVAILABLE): Likewise.
7546
7547 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7548
7549 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
7550 <init-arch.h>.
7551 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
7552 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
7553 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
7554
7555 2018-08-03 Carlos O'Donell <carlos@redhat.com>
7556
7557 * po/be.po: Update translation.
7558
7559 * po/be.po: Update translation.
7560
7561 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7562
7563 * sysdeps/x86/cpu-features-offsets.sym
7564 (rtld_global_ro_offsetof): Removed.
7565 (CPU_FEATURES_SIZE): Likewise.
7566 (CPUID_OFFSET): Likewise.
7567 (CPUID_SIZE): Likewise.
7568 (CPUID_EAX_OFFSET): Likewise.
7569 (CPUID_EBX_OFFSET): Likewise.
7570 (CPUID_ECX_OFFSET): Likewise.
7571 (CPUID_EDX_OFFSET): Likewise.
7572 (FAMILY_OFFSET): Likewise.
7573 (MODEL_OFFSET): Likewise.
7574 (FEATURE_OFFSET): Likewise.
7575 (FEATURE_SIZ): Likewise.
7576 (COMMON_CPUID_INDEX_1): Likewise.
7577 (COMMON_CPUID_INDEX_7): Likewise.
7578 (FEATURE_INDEX_1): Likewise.
7579 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
7580
7581 2018-08-02 Carlos O'Donell <carlos@redhat.com>
7582
7583 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
7584 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
7585 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
7586 (install-locales): Depend on install-locale-archive.
7587 (install-locale-archive): Define.
7588 (install-locale-files): Define.
7589 (build-one-locale): Define macro.
7590 * manual/install.texi (Running make install): Document.
7591 * manual/INSTALL: Regenerate.
7592
7593 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
7594
7595 * benchtests/scripts/compare_strings.py: Import traceback.
7596 (parse_file): Pretty-print error.
7597
7598 * NEWS: Mention the change.
7599 * elf/dl-tunables.list: Rename tune namespace to cpu.
7600 * sysdeps/powerpc/dl-tunables.list: Likewise.
7601 * sysdeps/x86/dl-tunables.list: Likewise.
7602 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
7603 cpu.name.
7604 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
7605 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
7606 * manual/README.tunables: Likewise.
7607 * manual/tunables.texi: Likewise.
7608 * sysdeps/powerpc/cpu-features.c: Likewise.
7609 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
7610 (init_cpu_features): Likewise.
7611 * sysdeps/x86/cpu-features.c: Likewise.
7612 * sysdeps/x86/cpu-features.h: Likewise.
7613 * sysdeps/x86/cpu-tunables.c: Likewise.
7614 * sysdeps/x86_64/Makefile: Likewise.
7615 * sysdeps/x86/dl-cet.c: Likewise.
7616
7617 2018-08-02 Joseph Myers <joseph@codesourcery.com>
7618
7619 [BZ #23479]
7620 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
7621 [__mips_hard_float].
7622 (FE_UNDERFLOW): Likewise.
7623 (FE_OVERFLOW): Likewise.
7624 (FE_DIVBYZERO): Likewise.
7625 (FE_INVALID): Likewise.
7626 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
7627 (FE_TOWARDZERO): Define only if [__mips_hard_float].
7628 (FE_UPWARD): Likewise.
7629 (FE_DOWNWARD): Likewise.
7630 (__FE_UNDEFINED): Define if [!__mips_hard_float]
7631 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
7632 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
7633 [__mips_hard_float].
7634 (FP_ROUNDMODE): Likewise.
7635 (FP_RND_NEAREST): Likewise.
7636 (FP_RND_ZERO): Likewise.
7637 (FP_RND_PINF): Likewise.
7638 (FP_RND_MINF): Likewise.
7639 (FP_EX_INVALID): Likewise.
7640 (FP_EX_OVERFLOW): Likewise.
7641 (FP_EX_UNDERFLOW): Likewise.
7642 (FP_EX_DIVZERO): Likewise.
7643 (FP_EX_INEXACT): Likewise.
7644 (FP_INIT_ROUNDMODE): Likewise.
7645 * sysdeps/mips/nofpu/fesetenv.c: New file.
7646 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
7647
7648 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7649
7650 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
7651 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
7652 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
7653 conditional on [FE_UPWARD].
7654
7655 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
7656
7657 regex: fix memory leak in Gnulib
7658 Problem and fix reported by Assaf Gordon in:
7659 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
7660 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
7661 range_ends members too, as they are defined in 'struct
7662 re_charset_t' even if not _LIBC. This affects only Gnulib.
7663
7664 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
7665
7666 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
7667 ...
7668 (get_common_indices): This.
7669 (init_cpu_features): Updated.
7670
7671 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7672
7673 * sysdeps/generic/math-tests-snan-payload.h: New file.
7674 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
7675 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
7676 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
7677 * sysdeps/generic/math-tests.h: Include
7678 <math-tests-snan-payload.h>.
7679 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7680 * sysdeps/hppa/math-tests.h: Remove file.
7681 * sysdeps/mips/math-tests.h [!__mips_nan2008]
7682 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7683 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
7684 Likewise.
7685
7686 * sysdeps/generic/math-tests-snan-cast.h: New file.
7687 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
7688 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
7689 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
7690 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
7691
7692 2018-08-01 Carlos O'Donel <carlos@redhat.com>
7693
7694 * version.h (RELEASE): Set to "development".
7695 (VERSION): Set to "2.28.9000".
7696 * NEWS (2.29): New section.
7697
7698 * version.h (RELEASE): Set to "stable".
7699 (VERSION): Set to "2.28".
7700 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
7701 * NEWS: Add the list of bugs fixed in 2.28.
7702
7703 * po/ca.po: Update to latest version.
7704 * po/cs.po: Likewise
7705 * po/da.po: Likewise
7706 * po/el.po: Likewise
7707 * po/eo.po: Likewise
7708 * po/es.po: Likewise
7709 * po/fi.po: Likewise
7710 * po/fr.po: Likewise
7711 * po/gl.po: Likewise
7712 * po/hu.po: Likewise
7713 * po/ia.po: Likewise
7714 * po/id.po: Likewise
7715 * po/it.po: Likewise
7716 * po/ja.po: Likewise
7717 * po/ko.po: Likewise
7718 * po/lt.po: Likewise
7719 * po/nb.po: Likewise
7720 * po/nl.po: Likewise
7721 * po/pt_BR.po: Likewise
7722 * po/ru.po: Likewise
7723 * po/rw.po: Likewise
7724 * po/sk.po: Likewise
7725 * po/sl.po: Likewise
7726 * po/tr.po: Likewise
7727 * po/zh_CN.po: Likewise
7728 * po/zh_TW.po: Likewise
7729
7730 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7731
7732 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
7733 initialization...
7734 (init): ... before initializing libpthread.
7735
7736 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
7737 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
7738 (__mach_setup_tls): ... new function.
7739 (mach_setup_tls): New alias.
7740 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
7741 __mach_setup_thread.
7742 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
7743 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
7744 * mach/Versions [libc] (mach_setup_tls): Add symbol.
7745 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
7746
7747 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7748
7749 * manual/install.texi: Update versions.
7750 * INSTALL: Regenerate.
7751
7752 * manual/contrib.texi (Contributors): Update contributions.
7753
7754 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7755
7756 * po/be.po: Update translations.
7757
7758 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7759
7760 * sysdeps/sh/libm-test-ulps: Update.
7761
7762 2018-07-30 Carlos O'Donell <carlos@redhat.com>
7763
7764 * po/bg.po: Update translations.
7765 * po/de.po: Likewise.
7766 * po/hr.po: Likewise.
7767 * po/pt_BR.po: Likewise.
7768 * po/sv.po: Likewise.
7769 * po/vi.po: Likewise.
7770
7771 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7772
7773 [BZ #23467]
7774 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7775 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
7776 (CFLAGS-tst-cet-property-1.o): New.
7777 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
7778 ($(objpfx)tst-cet-property-2): Likewise.
7779 ($(objpfx)tst-cet-property-2.out): Likewise.
7780 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
7781 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
7782 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
7783 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
7784 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
7785
7786 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7787
7788 [BZ #23458]
7789 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
7790
7791 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7792
7793 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
7794 __sbrk): Do not set attribute_hidden.
7795 * sysdeps/mach/hurd/not-errno.h: New file.
7796 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7797 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
7798
7799 2018-07-27 Carlos O'Donell <carlos@redhat.com>
7800
7801 * po/uk.po: Update translations.
7802 * po/cs.po: Likewise.
7803 * po/pl.po: Likewise.
7804
7805 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
7806
7807 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
7808 parse beyond the note end.
7809
7810 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7811
7812 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
7813 kernel does not support OFD locks.
7814 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
7815
7816 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7817
7818 * sysdeps/mach/hurd/Versions (libc): Make __access and
7819 __access_noerrno external so they can override the ld symbols.
7820 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
7821 __writev, __open64, __access_noerrno extern so they can be overrided.
7822 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
7823 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7824
7825 2018-07-26 Carlos O'Donell <carlos@redhat.com>
7826
7827 * po/libc.pot: Regenerate.
7828
7829 2018-07-26 Joseph Myers <joseph@codesourcery.com>
7830
7831 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7832
7833 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7834
7835 [BZ #23459]
7836 * sysdeps/x86/cpu-features.c (get_extended_indices): New
7837 function.
7838 (init_cpu_features): Call get_extended_indices for both Intel
7839 and AMD CPUs.
7840 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
7841 Remove "for AMD" comment.
7842
7843 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7844
7845 [BZ # 23456]
7846 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
7847 COMMON_CPUID_INDEX_80000001.
7848
7849 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
7850
7851 * string/tst-xbzero-opt.c (use_test_buffer): New function.
7852 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
7853
7854 2018-07-26 Florian Weimer <fweimer@redhat.com>
7855
7856 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
7857 aliases for symbols not in the implementation namespace.
7858
7859 2018-07-25 Carlos O'Donell <carlos@redhat.com>
7860
7861 [BZ #23393]
7862 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
7863 lowercase in LATIN script.
7864 * localedata/Makefile (test-input): Add en_US.UTF-8.
7865 * localedata/en_US.UTF-8.in: New file.
7866 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
7867 and restore old tests.
7868 * posix/tst-regexloc.c (do_test): Add back range expression test.
7869
7870 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7871
7872 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
7873
7874 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7875
7876 * nptl/threads.h: Move to ...
7877 * sysdeps/nptl/threads.h: ... here.
7878 * sysdeps/hurd/stdc-predef.h: New file.
7879
7880 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7881
7882 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7883 tst-cet-setcontext-1 if CET is enabled.
7884 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
7885 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
7886
7887 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7888
7889 * include/threads.h: Move to ...
7890 * sysdeps/nptl/threads.h: ... here.
7891 * sysdeps/htl/threads.h: New file.
7892 * conform/Makefile (linknamespace-libs-ISO11): Use
7893 static-thread-library instead of linking libpthread.
7894 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
7895
7896 2018-07-25 Florian Weimer <fweimer@redhat.com>
7897
7898 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
7899 nanoseconds into seconds.
7900 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
7901 (do_test): Likewise.
7902 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
7903 (do_test): Likewise. Avoid nanosecond overflow and spurious
7904 timeouts due to system load.
7905 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
7906 (child_wait): Increment it.
7907 (do_test): Wait as long as necessary until all expected threads
7908 have arrived.
7909
7910 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
7911 H.J. Lu <hongjiu.lu@intel.com>
7912
7913 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
7914 __ssp.
7915 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
7916 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
7917 (__push___start_context): New.
7918 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
7919 <asm/prctl.h>.
7920 (__getcontext): Record the current shadow stack base. Save the
7921 caller's shadow stack pointer and base.
7922 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
7923 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
7924 (__push___start_context): New prototype.
7925 (__makecontext): Call __push___start_context to allocate a new
7926 shadow stack, push __start_context onto the new stack as well
7927 as the new shadow stack.
7928 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
7929 <asm/prctl.h>.
7930 (__setcontext): Restore the target shadow stack.
7931 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
7932 <asm/prctl.h>.
7933 (__swapcontext): Record the current shadow stack base. Save
7934 the caller's shadow stack pointer and base. Restore the target
7935 shadow stack.
7936 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7937 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
7938 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
7939
7940 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7941
7942 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
7943 tst-setcontext8 and tst-setcontext9.
7944 * stdlib/tst-setcontext6.c: New file.
7945 * stdlib/tst-setcontext7.c: Likewise.
7946 * stdlib/tst-setcontext8.c: Likewise.
7947 * stdlib/tst-setcontext9.c: Likewise.
7948
7949 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7950
7951 * stdlib/Makefile ((tests): Add tst-setcontext5.
7952 * stdlib/tst-setcontext5.c: New file.
7953
7954 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7955
7956 * stdlib/Makefile (tests): Add tst-setcontext4.
7957 * stdlib/tst-setcontext4.c: New file.
7958
7959 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7960
7961 * stdlib/Makefile (tests): Add tst-swapcontext1.
7962 * stdlib/tst-swapcontext1.c: New test.
7963
7964 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7965
7966 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
7967 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
7968 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
7969 and tst-cet-legacy-4c.
7970 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
7971 and tst-cet-legacy-mod-4.
7972 (CFLAGS-tst-cet-legacy-2.c): New.
7973 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
7974 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
7975 (CFLAGS-tst-cet-legacy-3.c): Likewise.
7976 (CFLAGS-tst-cet-legacy-4.c): Likewise.
7977 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
7978 ($(objpfx)tst-cet-legacy-1): Likewise.
7979 ($(objpfx)tst-cet-legacy-2): Likewise.
7980 ($(objpfx)tst-cet-legacy-2.out): Likewise.
7981 ($(objpfx)tst-cet-legacy-2a): Likewise.
7982 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
7983 ($(objpfx)tst-cet-legacy-4): Likewise.
7984 ($(objpfx)tst-cet-legacy-4.out): Likewise.
7985 ($(objpfx)tst-cet-legacy-4a): Likewise.
7986 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
7987 (tst-cet-legacy-4a-ENV): Likewise.
7988 ($(objpfx)tst-cet-legacy-4b): Likewise.
7989 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
7990 (tst-cet-legacy-4b-ENV): Likewise.
7991 ($(objpfx)tst-cet-legacy-4c): Likewise.
7992 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
7993 (tst-cet-legacy-4c-ENV): Likewise.
7994 * sysdeps/x86/tst-cet-legacy-1.c: New file.
7995 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
7996 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
7997 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
7998 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
7999 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
8000 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
8001 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
8002 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
8003 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
8004 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
8005
8006 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8007
8008 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8009 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8010 with ssp_base.
8011 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8012 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8013 with ssp_base.
8014
8015 2018-07-25 Andreas Schwab <schwab@suse.de>
8016
8017 [BZ #23442]
8018 * locale/weightwc.h (findidx): Handle the case where usrc is a
8019 prefix of cp but one character too short.
8020
8021 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8022
8023 * NEWS: Add ISO C threads addition.
8024
8025 2018-07-24 Florian Weimer <fweimer@redhat.com>
8026
8027 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8028 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
8029 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
8030 4.13.
8031
8032 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8033
8034 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
8035 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
8036 <sys/prctl.h> and <asm/prctl.h>.
8037 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
8038 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
8039 and <asm/prctl.h>.
8040 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
8041 ARCH_CET_LEGACY_BITMAP.
8042 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
8043 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
8044 * sysdeps/x86/libc-start.c: Include <startup.h>.
8045
8046 2018-07-24 Florian Weimer <fweimer@redhat.com>
8047
8048 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
8049 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
8050
8051 2018-07-24 Rical Jasan <rj@2c3t.io>
8052 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8053 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8054
8055 [BZ #14092]
8056 * manual/debug.texi: Update adjacent chapter name.
8057 * manual/probes.texi: Likewise.
8058 * manual/threads.texi (ISO C Threads): New section.
8059 (POSIX Threads): Convert to a section.
8060
8061 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8062 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8063
8064 [BZ# 14092]
8065 * nptl/Makefile (tests): Add new test files.
8066 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
8067 * nptl/tst-cnd-basic.c: Likewise.
8068 * nptl/tst-cnd-broadcast.c: Likewise.
8069 * nptl/tst-cnd-timedwait.c: Likewise.
8070 * nptl/tst-mtx-basic.c: Likewise.
8071 * nptl/tst-mtx-recursive.c: Likewise.
8072 * nptl/tst-mtx-timedlock.c: Likewise.
8073 * nptl/tst-mtx-trylock.c: Likewise.
8074 * nptl/tst-thrd-basic.c: Likewise.
8075 * nptl/tst-thrd-detach.c: Likewise.
8076 * nptl/tst-thrd-sleep.c: Likewise.
8077 * nptl/tst-tss-basic.c: Likewise.
8078
8079 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8080
8081 [BZ #14092]
8082 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
8083 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
8084 symbols.
8085 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8086 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8087 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8088 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8089 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8090 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8091 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8092 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8093 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8094 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8095 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8096 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8098 Likewise.
8099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8100 Likewise.
8101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
8102 Likewise.
8103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8104 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8105 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8106 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8107 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8108 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8109 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8110 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8111 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8112 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
8113 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
8114 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
8115 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
8116 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
8117 Likewise.
8118 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
8119 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
8120 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
8121 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
8122 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
8123 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
8124 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
8125 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
8126 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
8127 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
8128 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
8129 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
8130 ikewise.
8131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
8132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8133 Likewise.
8134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8135 Likewise.
8136 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
8137 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
8138 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
8139 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
8140 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
8141 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
8142 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
8143 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
8144
8145 [BZ #14092]
8146 * conform/data/threads.h-data (thread_local): New macro.
8147 (TSS_DTOR_ITERATIONS): Likewise.
8148 (tss_t): New type.
8149 (tss_dtor_t): Likewise.
8150 (tss_create): New function.
8151 (tss_get): Likewise.
8152 (tss_set): Likewise.
8153 (tss_delete): Likewise.
8154 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
8155 tss_get, and tss_set objects.
8156 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8157 * nptl/tss_create.c: New file.
8158 * nptl/tss_delete.c: Likewise.
8159 * nptl/tss_get.c: Likewise.
8160 * nptl/tss_set.c: Likewise.
8161 * sysdeps/nptl/threads.h (thread_local): New define.
8162 (TSS_DTOR_ITERATIONS): Likewise.
8163 (tss_t): New typedef.
8164 (tss_dtor_t): Likewise.
8165 (tss_create): New prototype.
8166 (tss_get): Likewise.
8167 (tss_set): Likewise.
8168 (tss_delete): Likewise.
8169
8170 [BZ #14092]
8171 * conform/data/threads.h-data (cnd_t): New type.
8172 (cnd_init): New function.
8173 (cnd_signal): Likewise.
8174 (cnd_broadcast): Likewise.
8175 (cnd_wait): Likewise.
8176 (cnd_timedwait): Likewise.
8177 (cnd_destroy): Likewise.
8178 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
8179 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
8180 object.
8181 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8182 * nptl/cnd_broadcast.c: New file.
8183 * nptl/cnd_destroy.c: Likewise.
8184 * nptl/cnd_init.c: Likewise.
8185 * nptl/cnd_signal.c: Likewise.
8186 * nptl/cnd_timedwait.c: Likewise.
8187 * nptl/cnd_wait.c: Likewise.
8188 * sysdeps/nptl/threads.h (cnd_t): New type.
8189 (cnd_init): New prototype.
8190 (cnd_signa): Likewise.
8191 (cnd_broadcast): Likewise.
8192 (cnd_wait): Likewise.
8193 (cnd_timedwait): Likewise.
8194 (cnd_destroy): Likewise.
8195
8196 [BZ #14092]
8197 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
8198 (once_flag): New type.
8199 (call_once): New function.
8200 * nptl/Makefile (libpthread-routines): Add call_once object.
8201 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
8202 * nptl/call_once.c: New file.
8203 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
8204 (once_flag): New type.
8205 (call_once): New prototype.
8206
8207 [BZ #14092]
8208 * conform/data/threads.h-data (mtx_plain): New constant.
8209 (mtx_recursive): Likewise.
8210 (mtx_timed): Likewise.
8211 (mtx_t): New type.
8212 (mtx_init): New function.
8213 (mtx_lock): Likewise.
8214 (mtx_timedlock): Likewise.
8215 (mtx_trylock): Likewise.
8216 (mtx_unlock): Likewise.
8217 (mtx_destroy): Likewise.
8218 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
8219 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
8220 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
8221 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
8222 * nptl/mtx_destroy.c: New file.
8223 * nptl/mtx_init.c: Likewise.
8224 * nptl/mtx_lock.c: Likewise.
8225 * nptl/mtx_timedlock.c: Likewise.
8226 * nptl/mtx_trylock.c: Likewise.
8227 * nptl/mtx_unlock.c: Likewise.
8228 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
8229 (mtx_recursive): Likewise.
8230 (mtx_timed): Likewise.
8231 (mtx_t): New type.
8232 (mtx_init): New prototype.
8233 (mtx_lock): Likewise.
8234 (mtx_timedlock): Likewise.
8235 (mtx_trylock): Likewise.
8236 (mtx_unlock): Likewise.
8237 (mtx_destroy): Likewise.
8238
8239 [BZ #14092]
8240 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
8241 (linknamespace-libs-ISO11): Add libpthread.a.
8242 * conform/data/threads.h-data: New file: add C11 thrd_* types and
8243 functions.
8244 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
8245 * nptl/Makefile (headers): Add threads.h.
8246 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
8247 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
8248 thrd_yield.
8249 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
8250 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
8251 thrd_join, thrd_sleep, and thrd_yield symbols.
8252 * nptl/descr.h (struct pthread): Add c11 field.
8253 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
8254 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
8255 routine with expected function prototype.
8256 (__pthread_create_2_1): Add C11 threads check based on attribute
8257 value.
8258 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
8259 * nptl/thrd_create.c: New file.
8260 * nptl/thrd_current.c: Likewise.
8261 * nptl/thrd_detach.c: Likewise.
8262 * nptl/thrd_equal.c: Likewise.
8263 * nptl/thrd_exit.c: Likewise.
8264 * nptl/thrd_join.c: Likewise.
8265 * nptl/thrd_priv.h: Likewise.
8266 * nptl/thrd_sleep.c: Likewise.
8267 * nptl/thrd_yield.c: Likewise.
8268 * include/threads.h: Likewise.
8269
8270 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8271
8272 * bits/indirect-return.h: New file.
8273 * misc/sys/cdefs.h (__glibc_has_attribute): New.
8274 * sysdeps/x86/bits/indirect-return.h: Likewise.
8275 * stdlib/Makefile (headers): Add bits/indirect-return.h.
8276 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
8277 (swapcontext): Add __INDIRECT_RETURN.
8278 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
8279 (prepare_test_buffer): Use it.
8280
8281 2018-07-24 Andreas Schwab <schwab@suse.de>
8282
8283 [BZ #23448]
8284 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
8285 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
8286
8287 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8288
8289 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
8290 Redefine if shadow stack is enabled.
8291 (SYSCALL_ERROR_LABEL): Likewise.
8292 (__vfork): Pop shadow stack and jump back to to caller directly
8293 when shadow stack is in use.
8294 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
8295 Redefine if shadow stack is enabled.
8296 (SYSCALL_ERROR_LABEL): Likewise.
8297 (__vfork): Pop shadow stack and jump back to to caller directly
8298 when shadow stack is in use.
8299
8300 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8301
8302 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
8303 enabled.
8304 (foo): Likewise.
8305 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
8306 (foo): Likewise.
8307
8308 2018-07-20 Joseph Myers <joseph@codesourcery.com>
8309
8310 * scripts/build-many-glibcs.py (Context.checkout): Default
8311 binutils version to 2.31 branch.
8312
8313 2018-07-20 Zong Li <zong@andestech.com>
8314
8315 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
8316 URL of gcc's tarball.
8317
8318 2018-07-20 Florian Weimer <fweimer@redhat.com>
8319
8320 [BZ #23396]
8321 * posix/regcomp.c (build_equiv_class): When comparing weights, do
8322 not compare an extra byte after the end of the weights.
8323
8324 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
8325
8326 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
8327 to 1.
8328 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
8329 hidden prototypes.
8330 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
8331 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
8332 * scripts/check-execstack.awk: Consider `xfail' variable containing a
8333 list of libraries whose stack executability is expected.
8334 * elf/Makefile ($(objpfx)check-execstack.out): Pass
8335 $(check-execstack-xfail) to check-execstack.awk through `xfail'
8336 variable.
8337 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
8338 libc.so libpthread.so.
8339
8340 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
8341
8342 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
8343 SOCK_NONBLOCK.
8344 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
8345 and SOCK_NONBLOCK.
8346 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
8347 implement __pipe2.
8348 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
8349
8350 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8351
8352 * benchtests/scripts/compare_bench.py (__main__): use the argparse
8353 library to improve command line parsing.
8354 (__main__): make schema file as optional parameter (--schema),
8355 defaulting to benchtests/scripts/benchout.schema.json.
8356 (main): move out of the parsing stuff to __main_  and leave it
8357 only as caller of main comparison functions.
8358
8359 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
8360
8361 * NEWS: Add a note for Intel CET status.
8362 * manual/install.texi: Likewise.
8363 * INSTALL: Regenerated.
8364
8365 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
8366
8367 [BZ #23140]
8368 * localedata/locales/oc_FR (mon): Rename to...
8369 (alt_mon): This, then update October (typo fix).
8370 (mon): New content (genitive case, month names preceded by
8371 "de" or "d’").
8372
8373 [BZ #23422]
8374 * localedata/locales/oc_FR (abday): Update all items.
8375 (day): Update Wednesday and Saturday (typo fixes).
8376 (abmon): Update all items, except May.
8377 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
8378 (LC_IDENTIFICATION): Bump the revision number and date.
8379 Keep the "category" entries in alphabetic order.
8380 (LC_ADDRESS): Remove no longer needed comment.
8381 (LC_COLLATE): Use “copy "ca_ES"”.
8382 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
8383 "name_mrs".
8384
8385 2018-07-18 Joseph Myers <joseph@codesourcery.com>
8386
8387 * grp/tst_fgetgrent.c: Include <unistd.h>.
8388 (main): Use mkstemp instead of tmpnam.
8389 * io/test-utime.c (main): Likewise.
8390 * posix/annexc.c (macrofile): Change to modifiable array.
8391 (main): Remove macrofile here.
8392 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8393 macrofile here.
8394 (check_header): Do not remove macrofile here.
8395 * posix/bug-getopt1.c: Include <stdlib.h>.
8396 (do_test): Use mkstemp instead of tmpnam.
8397 * posix/bug-getopt2.c: Include <stdlib.h>.
8398 (do_test): Use mkstemp instead of tmpnam.
8399 * posix/bug-getopt3.c: Include <stdlib.h>.
8400 (do_test): Use mkstemp instead of tmpnam.
8401 * posix/bug-getopt4.c: Include <stdlib.h>.
8402 (do_test): Use mkstemp instead of tmpnam.
8403 * posix/bug-getopt5.c: Include <stdlib.h>.
8404 (do_test): Use mkstemp instead of tmpnam.
8405 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
8406 (main): Use mkstemp instead of tmpnam.
8407 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
8408 (main): Use mkstemp instead of tmpnam.
8409 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
8410 (main): use mkstemp instead of tmpnam.
8411 * stdlib/isomac.c (macrofile): Change to modifiable array.
8412 (main): Remove macrofile here.
8413 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8414 macrofile here.
8415 (check_header): Do not remove macrofile here.
8416
8417 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8418
8419 * manual/tunables.texi: Document glibc.tune.x86_ibt and
8420 glibc.tune.x86_shstk.
8421
8422 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8423
8424 * NEWS: Mention --enable-cet.
8425 * manual/install.texi: Document --enable-cet.
8426 * INSTALL: Regenerated.
8427
8428 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8429
8430 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
8431 Add _CET_NOTRACK before indirect jump to jump table.
8432
8433 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8434
8435 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
8436 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8437 to jump table.
8438
8439 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8440
8441 * sysdeps/i386/i686/multiarch/strcat-sse2.S
8442 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8443 to jump table.
8444
8445 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8446
8447 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
8448 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8449 to jump table.
8450
8451 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8452
8453 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
8454 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8455 to jump table.
8456
8457 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8458
8459 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
8460 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8461 to jump table.
8462 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
8463
8464 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8465
8466 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
8467 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8468 to jump table.
8469
8470 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8471
8472 * sysdeps/i386/i686/multiarch/memset-sse2.S
8473 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8474 to jump table.
8475
8476 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8477
8478 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
8479 indirect jump to jump table.
8480
8481 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8482
8483 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
8484 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8485 to jump table.
8486 (MEMCPY): Likewise.
8487
8488 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8489
8490 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
8491 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8492 to jump table.
8493 (MEMCPY): Likewise.
8494
8495 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8496
8497 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8498 _CET_NOTRACK before indirect jump to jump table.
8499
8500 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8501
8502 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
8503 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8504 to jump table.
8505
8506 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8507
8508 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
8509 indirect jump to jump table.
8510
8511 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
8512
8513 [BZ #22241]
8514 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
8515 (LOCALES): Likewise.
8516 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
8517 * localedata/locales/sah_RU: New file.
8518 * localedata/sah_RU.UTF-8.in: New file.
8519
8520 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8521
8522 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
8523 "sysdep.h".
8524 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8525 _CET_ENDBR to indirect jump targets and adjust jump destination
8526 for _CET_ENDBR.
8527 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
8528 "sysdep.h".
8529 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8530 _CET_ENDBR to indirect jump targets and adjust jump destination
8531 for _CET_ENDBR.
8532 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
8533 "sysdep.h".
8534 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
8535 _CET_ENDBR to indirect jump targets and adjust jump destination
8536 for _CET_ENDBR.
8537
8538 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8539
8540 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8541 _CET_ENDBR.
8542
8543 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8544
8545 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
8546 _CET_ENDBR.
8547 (_dl_tlsdesc_undefweak): Likewise.
8548 (_dl_tlsdesc_dynamic): Likewise.
8549 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
8550 (_dl_tlsdesc_resolve_rel): Likewise.
8551 (_dl_tlsdesc_resolve_rela): Likewise.
8552 (_dl_tlsdesc_resolve_hold): Likewise.
8553 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
8554 (_dl_tlsdesc_undefweak): Likewise.
8555 (_dl_tlsdesc_dynamic): Likewise.
8556 (_dl_tlsdesc_resolve_rela): Likewise.
8557 (_dl_tlsdesc_resolve_hold): Likewise.
8558
8559 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8560
8561 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
8562 (_fini): Likewise.
8563 * sysdeps/x86_64/crti.S (_init): Likewise.
8564 (_fini): Likewise.
8565
8566 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
8567
8568 [BZ #23140]
8569 * localedata/locales/os_RU (mon): Rename to...
8570 (alt_mon): This.
8571 (mon): Import from CLDR (genitive case).
8572
8573 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8574
8575 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
8576 cet-tunables.h> when CET is enabled.
8577
8578 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
8579
8580 [BZ #21598]
8581 * configure.ac: Add --enable-cet.
8582 * configure: Regenerated.
8583 * elf/Makefille (all-built-dso): Add a comment.
8584 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
8585 Include <dl-prop.h>.
8586 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
8587 segment.
8588 * elf/dl-open.c: Include <dl-prop.h>.
8589 (dl_open_worker): Call _dl_open_check.
8590 * elf/rtld.c: Include <dl-prop.h>.
8591 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
8592 _rtld_main_check.
8593 * sysdeps/generic/dl-prop.h: New file.
8594 * sysdeps/i386/dl-cet.c: Likewise.
8595 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
8596 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
8597 * sysdeps/x86/cet-tunables.h: Likewise.
8598 * sysdeps/x86/check-cet.awk: Likewise.
8599 * sysdeps/x86/configure: Likewise.
8600 * sysdeps/x86/configure.ac: Likewise.
8601 * sysdeps/x86/dl-cet.c: Likewise.
8602 * sysdeps/x86/dl-procruntime.c: Likewise.
8603 * sysdeps/x86/dl-prop.h: Likewise.
8604 * sysdeps/x86/libc-start.h: Likewise.
8605 * sysdeps/x86/link_map.h: Likewise.
8606 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
8607 _CET_ENDBR.
8608 (_dl_runtime_profile): Likewise.
8609 (_dl_runtime_resolve_shstk): New.
8610 (_dl_runtime_profile_shstk): Likewise.
8611 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
8612 if CET is enabled.
8613 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
8614 (CFLAGS-.os): Likewise.
8615 (CFLAGS-.op): Likewise.
8616 (CFLAGS-.oS): Likewise.
8617 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
8618 is enabled.
8619 (tests-special): Add $(objpfx)check-cet.out.
8620 (cet-built-dso): New.
8621 (+$(cet-built-dso:=.note)): Likewise.
8622 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
8623 ($(objpfx)check-cet.out): New.
8624 (generated): Add check-cet.out.
8625 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
8626 <cet-tunables.h>.
8627 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
8628 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8629 (init_cpu_features): Call get_cet_status to check CET status
8630 and update dl_x86_feature_1 with CET status. Call
8631 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
8632 (set_x86_shstk). Disable and lock CET in libc.a.
8633 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
8634 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
8635 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8636 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
8637 (_CET_ENDBR): Define if not defined.
8638 (ENTRY): Add _CET_ENDBR.
8639 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
8640 x86_shstk.
8641 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
8642 _CET_ENDBR.
8643 (_dl_runtime_profile): Likewise.
8644
8645 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
8646
8647 [BZ #21895]
8648 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
8649 restore r2 on longjmp.
8650 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
8651 test list.
8652 Added rules to build test tst-setjmp-bug21895-static.
8653 Added module setjmp-bug21895 and rules to build a shared object from it.
8654 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
8655 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
8656
8657 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
8658
8659 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
8660 * benchtests/bench-strstr.c: Likewise.
8661 * string/memmem.c (FASTSEARCH): Define.
8662 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
8663 Add support for FASTSEARCH.
8664 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
8665 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
8666 (FASTSEARCH): Define.
8667 * string/test-strcasestr.c: Rename __strnlen to strnlen.
8668 * string/test-strstr.c: Likewise.
8669
8670 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
8671
8672 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
8673 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
8674
8675 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
8676 H.J. Lu <hongjiu.lu@intel.com>
8677
8678 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
8679 (__longjmp): Restore shadow stack pointer if shadow stack is
8680 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8681 isn't defined for __longjmp_cancel.
8682 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
8683 (_setjmp): Save shadow stack pointer if shadow stack is enabled
8684 and SHADOW_STACK_POINTER_OFFSET is defined.
8685 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
8686 (setjmp): Save shadow stack pointer if shadow stack is enabled
8687 and SHADOW_STACK_POINTER_OFFSET is defined.
8688 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
8689 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8690 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8691 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
8692 <jmp_buf-ssp.h>.
8693 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8694 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8695 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
8696 Remove jmp_buf-ssp.sym.
8697 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8698 <jmp_buf-ssp.h>.
8699 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8700 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8701 * sysdeps/x86/Makefile (gen-as-const-headers): Add
8702 jmp_buf-ssp.sym.
8703 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
8704 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
8705 (__longjmp): Restore shadow stack pointer if shadow stack is
8706 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8707 isn't defined for __longjmp_cancel.
8708 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
8709 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8710 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8711
8712 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
8713
8714 [BZ #22563]
8715 * nptl/pthread_create.c: Include <tls-setup.h>.
8716 (__pthread_create_2_1): Call tls_setup_tcbhead.
8717 * sysdeps/generic/tls-setup.h: New file.
8718 * sysdeps/x86/nptl/tls-setup.h: Likewise.
8719 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
8720 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
8721 Likewise.
8722 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
8723 to feature_1.
8724 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
8725 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
8726 (X86_FEATURE_1_SHSTK): Likewise.
8727 (CET_ENABLED): Likewise.
8728 (IBT_ENABLED): Likewise.
8729 (SHSTK_ENABLED): Likewise.
8730
8731 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
8732
8733 [BZ #23208]
8734 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
8735 (LOCALES): Likewise.
8736 * localedata/dsb_DE.UTF-8.in: New file.
8737 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
8738
8739 2018-07-12 Florian Weimer <fweimer@redhat.com>
8740
8741 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
8742 __mprotect, not mprotect.
8743
8744 2018-07-11 Florian Weimer <fweimer@redhat.com>
8745
8746 * io/Makefile (headers): Add bits/statx.h.
8747
8748 2018-07-10 Mike FABIAN <mfabian@redhat.com>
8749
8750 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
8751 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
8752 and headers.
8753 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
8754 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
8755 for utf8_gen.py
8756
8757 2018-07-10 Florian Weimer <fweimer@redhat.com>
8758
8759 * io/Makefile (routines): Add statx.
8760 (tests-internal): Add tst-statx.
8761 * io/Versions (GLIBC_2.28): Export statx.
8762 * io/bits/statx.h: New file.
8763 * io/sys/stat.h [__USE_GNU]: Include it.
8764 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
8765 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
8766 Define.
8767 * io/statx.c: New file.
8768 * io/statx_generic.: Likewise.
8769 * io/tst-statx.: Likewise.
8770 * include/bits/statx.h: Likewise.
8771 * sysdeps/unix/sysv/linux/kernel-features.h
8772 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
8773 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8774 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
8775 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
8776 Undefine.
8777 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8778 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
8779 * sysdeps/unix/sysv/linux/statx.c: New file.
8780 * manual/filesys.texi: Note that statx is undocumented.
8781 * sysdeps/**/libc*.abilist: Update.
8782
8783 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8784
8785 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
8786 a kernel issue which lead to test failure in some cases.
8787
8788 2018-07-10 Florian Weimer <fweimer@redhat.com>
8789
8790 [BZ #23036]
8791 * posix/regexec.c (check_node_accept_bytes): When comparing
8792 weights, do not compare an extra byte after the end of the
8793 weights.
8794
8795 2018-07-10 Florian Weimer <fweimer@redhat.com>
8796
8797 * libio/readline.c: Fix copyright year.
8798 * libio/tst-readline.c Likewise.
8799 * nss/tst-nss-files-hosts-getent.c: Likewise.
8800
8801 2018-07-06 Florian Weimer <fweimer@redhat.com>
8802
8803 [BZ #18991]
8804 * nss/nss_files/files-XXX.c (internal_getent): Use
8805 __libc_readline_unlocked. Seek back to the start of the line if
8806 parsing failes with ERANGE.
8807 (get_contents_ret, get_contents): Remove.
8808 * nss/tst-nss-files-hosts-getent.c: New file.
8809 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
8810 (tst-nss-files-hosts-getent): Link with -ldl.
8811
8812 2018-07-06 Florian Weimer <fweimer@redhat.com>
8813
8814 * include/stdio.h (__libc_readline_unlocked): Declare.
8815 (__ftello64, __fseeko64): Declare aliases.
8816 * libio/readline.c: New file.
8817 * libio/tst-readline.c: Likewise.
8818 (routines): Add readline.
8819 (tests-internal): Add tst-readlime.
8820 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
8821 __libc_readline_unlocked.
8822 * libio/fseeko.c (__fseeko): Rename from fseeko.
8823 (fseeko): Add alias.
8824 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
8825 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
8826 (fseeko64): Add alias.
8827 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
8828 * libio/ftello64.c (__ftello64): Rename from ftello64.
8829 (ftello64): Add alias.
8830
8831 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8832
8833 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
8834 HWCAP_ATOMICS.
8835
8836 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8837
8838 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
8839 Use dl_hwcap without masking.
8840 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
8841 Remove HWCAP_CPUID.
8842
8843 2018-07-06 Florian Weimer <fweimer@redhat.com>
8844
8845 * conform/conformtest.pl (checknamespace): Escape literal braces
8846 in regular expressions.
8847
8848 2018-07-06 Amit Pawar <amit.pawar@amd.com>
8849
8850 * sysdeps/x86/cpu-features.c (get_common_indeces):
8851 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
8852 * sysdeps/x86/cpu-features.c (init_cpu_features):
8853 AVX_Fast_Unaligned_Load is disabled for Excavator core.
8854
8855 2018-07-05 Florian Weimer <fweimer@redhat.com>
8856
8857 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
8858 protector.
8859 (CFLAGS-elf-init.oS): Likewise.
8860
8861 2018-07-05 Florian Weimer <fweimer@redhat.com>
8862 Carlos O'Donell <carlos@redhat.com>
8863
8864 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
8865 $(no-stack-protector). stack_chk_fail_local.c can be compiled
8866 with stack protector enabled because there is no risk of infinite
8867 recursion.
8868
8869 2018-07-05 Maciej W. Rozycki <macro@mips.com>
8870
8871 [BZ #19818]
8872 [BZ #23307]
8873 * libc-abis (ABSOLUTE): New ABI.
8874 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
8875 * NEWS: Mention the new ABI.
8876
8877 2018-07-05 Florian Weimer <fweimer@redhat.com>
8878
8879 [BZ # 17662]
8880 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
8881 (RENAME_WHITEOUT): Define.
8882 [__USE_GNU] (renameat2): Declare.
8883 * stdio-common/Makefile (routines): Add renameat2.
8884 (tests): Add tst-renameat2.
8885 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
8886 * stdio-common/renameat2.c: New file.
8887 * stdio-common/tst-renameat2.c: Likewise.
8888 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
8889 * manual/filesys.texi (Temporary Files): Note that renameat2 is
8890 undocumented.
8891 * sysdeps/unix/sysv/linux/kernel-features.h
8892 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
8893 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8894 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8895 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8896 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8897 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8898 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
8899 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8900 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
8901 * include/stdio.h (__renameat): Add alias for renameat.
8902 * stdio-common/renameat.c (__renameat): Rename from renameat.
8903 Add hidden definition and alias.
8904 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
8905 * sysdeps/mach/hurd/renameat.c: Likewise.
8906 * sysdeps/**/libc*.abilist: Add renameat2.
8907
8908 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8909
8910 * posix/bug-regex33.c: Fix build after regex sync.
8911
8912 2018-07-04 Carlos O'Donell <carlos@redhat.com>
8913
8914 [BZ #23164]
8915 * localedata/tst-langinfo-setlocale.c: New file.
8916 * localedata/tst-langinfo-setlocale-static.c: New file.
8917 * localedata/tst-langinfo-newlocale.c: New file.
8918 * localedata/tst-langinfo-newlocale-static.c: New file.
8919 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
8920 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
8921 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
8922 (tests-static): Remove tst-langinfo-static. Add
8923 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
8924 (tests-special): Remove $(objpfx)tst-langinfo.out,
8925 $(objpfx)tst-langinfo-static.out. Add
8926 $(objpfx)tst-langinfo-setlocale.out,
8927 $(objpfx)tst-langinfo-newlocale.out,
8928 $(objpfx)tst-langinfo-setlocale-static.out,
8929 $(objpfx)tst-langinfo-newlocale-static.out.
8930 ($(objpfx)tst-langinfo.out): Remove.
8931 ($(objpfx)tst-langinfo-static.out): Remove.
8932 ($(objpfx)tst-langinfo-newlocale.out): New target.
8933 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
8934 (test-xfail-tst-langinfo-newlocale-static): Add.
8935 ($(objpfx)tst-langinfo-setlocale.out): New target.
8936 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
8937 * localedata/tst-langinfo.c: Call test_locale.
8938 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
8939 data.
8940
8941 2018-07-04 Florian Weimer <fweimer@redhat.com>
8942
8943 testrun.sh: Implement --tool=strace, --tool=valgrind
8944 * Makefile (testrun-script): Define variable.
8945 (testrun.sh): Use variable.
8946 * manual/install.texi (Tools for Compilation): make 4.0 or later
8947 is required.
8948 * configure.ac: Check for make 4.0 or later.
8949 * INSTALL: Regenerate.
8950 * configure: Likewise.
8951
8952 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8953
8954 [BZ #23233]
8955 [BZ #21163]
8956 [BZ #18986]
8957 [BZ #13762]
8958 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
8959 * posix/PCRE.tests: Remove invalid test.
8960 * posix/bug-regex28.c: Fix expected values for used syntax.
8961 * posix/bug-regex37.c: New file.
8962 * posix/bug-regex38.c: Likewise.
8963 * posix/regcomp.c: Sync with gnulib.
8964 * posix/regex.c: Likewise.
8965 * posix/regex.h: Likewise.
8966 * posix/regex_internal.c: Likewise.
8967 * posix/regex_internal.h: Likewise.
8968 * posix/regexec.c: Likewise.
8969
8970 2018-06-26 Mike FABIAN <mfabian@redhat.com>
8971
8972 [BZ #23308]
8973 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
8974 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
8975 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
8976 * localedata/unicode-gen/PropList.txt: likewise.
8977 * localedata/unicode-gen/UnicodeData.txt: likewise.
8978 * localedata/charmaps/UTF-8: Regenerate.
8979 * localedata/locales/i18n_ctype: likewise.
8980 * localedata/locales/tr_TR: likewise.
8981 * localedata/locales/translit_circle: likewise.
8982 * localedata/locales/translit_cjk_compat: likewise.
8983 * localedata/locales/translit_combining: likewise.
8984 * localedata/locales/translit_compat: likewise.
8985 * localedata/locales/translit_font: likewise.
8986 * localedata/locales/translit_fraction: likewise.
8987
8988 2018-07-03 Florian Weimer <fweimer@redhat.com>
8989
8990 [BZ #23363]
8991 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
8992 * stdio-common/tst-printf.sh: Adjust expected output.
8993 * LICENSES: Update.
8994
8995 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8996
8997 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
8998 symbol.
8999
9000 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9001
9002 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
9003 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
9004 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
9005 * stdio-common/tst-printfsz-islongdouble.c: New file.
9006 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
9007 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
9008 [subdir == stdio-common] (routines): Add ieee128-printf_size.
9009 [subdir == stdio-common] (tests-internal): Add
9010 test-printf-size-ieee128, and test-printf-size-ibm128.
9011 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
9012 (CFLAGS-test-printf-size-ibm128.c): New variables.
9013 [subdir == stdio-common] (tests-special): Add
9014 $(objpfx)test-printf-size-ieee128.out and
9015 $(objpfx)test-printf-size-ibm128.out.
9016 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
9017 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
9018 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
9019 __printf_sizeieee128.
9020 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
9021 New file.
9022 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
9023 Likewise.
9024 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
9025 Likewise.
9026
9027 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9028
9029 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
9030 (exp2f_inline): Likewise.
9031 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
9032 (__math_uflowf): Likewise.
9033 (__math_may_uflowf): Likewise.
9034 (__math_divzerof): Likewise.
9035 (__math_invalidf): Likewise.
9036 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
9037 (__math_oflowf): Likewise.
9038 (__math_uflowf): Likewise.
9039 (__math_may_uflowf): Likewise.
9040 (__math_divzerof): Likewise.
9041 (__math_invalidf): Likewise.
9042
9043 2018-06-29 DJ Delorie <dj@redhat.com>
9044 Carlos O'Donell <carlos@redhat.com>
9045
9046 [BZ #23329]
9047 * include/libc-symbols.h: Comment the freeres framework.
9048 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
9049 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
9050 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
9051 * dlfcn/dlerror.c: Include libc-symbols.h
9052 (__dlerror_main_freeres): New function.
9053 * dlfcn/dlfreeres.c: New file.
9054 * dlfcn/sdlfreeres.c: New file.
9055 * include/dlfcn.h: Declare __dlerror_main_freeres.
9056 * malloc/set-freeres.c: Declare __libdl_freeres, and
9057 __libpthread_freeres.
9058 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
9059 the releavant libraries are loaded.
9060 * malloc/thread-freeres.c: Add comments.
9061 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
9062 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
9063 * nptl/allocatestack.c (__nptl_free_stacks): New function.
9064 (__free_stacks): Rename to...
9065 (free_stacks): ...this. Mark static.
9066 (queue_stack): Call free_stacks.
9067 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
9068 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
9069 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
9070 ptr_freeres element from struct.
9071 (pthread_functions): Remove .ptr_freeres from struct initializer.
9072 [SHARED] (nptl_freeres): Remove.
9073 * nptl/nptlfreeres.c: New file.
9074 * nptl/pthreadP.h
9075 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
9076 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
9077 attribute_hidden.
9078 (__free_stacks): Rename to...
9079 (__nptl_stacks_freeres): ...this.
9080 (__shm_directory_freeres): Declare.
9081 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
9082 (__nptl_unwind_freeres): ...this.
9083 * resolv/res-close.c: Add comment.
9084 * resolv/resolv_conf.c: Include libc-symbols.h.
9085 * string/strerror_l.c: Include libc-symbols.h.
9086 * sunrpc/rpc_thread.c: Include libc-symbols.h.
9087 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
9088 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
9089 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
9090
9091 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9092
9093 * stdlib/tst-strfmon_l.c: Add tests for long double.
9094
9095 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
9096
9097 [BZ #23208]
9098 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
9099 * localedata/locales/dsb_DE: New file.
9100
9101 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9102
9103 [BZ #23140]
9104 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
9105 genitive case).
9106 (alt_mon): New entry, import from CLDR (nominative case).
9107
9108 2018-06-29 Sylvain Lesage <severo@rednegra.net>
9109
9110 [BZ #22996]
9111 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
9112
9113 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
9114
9115 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
9116 Use vector registers.
9117
9118 * sysdeps/aarch64/multiarch/memmove_falkor.S
9119 (__memcpy_falkor): Use vector registers.
9120
9121 2018-06-29 Martin Sebor <msebor@redhat.com>
9122
9123 * manual/stdio.texi (Customizing Printf): Mention interaction
9124 with GCC built-ins.
9125
9126 2018-06-29 Maciej W. Rozycki <macro@mips.com>
9127
9128 [BZ #23307]
9129 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
9130 `st_value' is 0 if `st_shndx' is SHN_ABS.
9131 * elf/tst-absolute-zero.c: New file.
9132 * elf/tst-absolute-zero-lib.c: New file.
9133 * elf/tst-absolute-zero-lib.lds: New file.
9134 * elf/Makefile (tests): Add `tst-absolute-zero'.
9135 (modules-names): Add `tst-absolute-zero-lib'.
9136 (LDLIBS-tst-absolute-zero-lib.so): New variable.
9137 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
9138 ($(objpfx)tst-absolute-zero: New dependency.
9139
9140 2018-06-29 Zack Weinberg <zackw@panix.com>
9141
9142 * configure.ac: New command-line option --disable-crypt.
9143 Force --disable-nss-crypt when --disable-crypt is given, with a
9144 warning if it was explicitly enabled.
9145 * configure: Regenerate.
9146 * config.make.in: New boolean substitution variable $(build-crypt).
9147 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
9148 when $(build-crypt).
9149 * manual/install.texi: Document --disable-crypt.
9150 * INSTALL: Regenerate.
9151
9152 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
9153 which is never set.
9154 * conform/Makefile: Only include libcrypt.a in
9155 linknamespace-libs-xsi and linknamespace-libs-XPG4
9156 when $(build-crypt).
9157 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
9158 USE_CRYPT to 1 when $(build-crypt).
9159 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
9160 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
9161 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
9162
9163 2018-06-29 Zack Weinberg <zackw@panix.com>
9164
9165 * crypt/crypt.h, posix/unistd.h: Update comments and
9166 prototypes for crypt and crypt_r.
9167
9168 * manual/crypt.texi (Cryptographic Functions): New initial
9169 exposition.
9170 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
9171 (Unpredictable Bytes): Improve initial exposition. Clarify error
9172 behavior of getentropy and getrandom.
9173 * manual/examples/genpass.c: Generate a salt using getentropy
9174 instead of the current time. Use hash $5$ (SHA-2-256).
9175 * manual/examples/testpass.c: Demonstrate validation against
9176 hashes generated with three different one-way functions.
9177
9178 * manual/intro.texi: crypt.texi does not need an overview
9179 anymore.
9180
9181 * manual/nss.texi, manual/memory.texi, manual/socket.texi
9182 * manual/terminal.texi: Consistently refer to "passphrases"
9183 * instead of "passwords", and to the "user database" instead
9184 * of the "password database".
9185 * manual/users.texi: Similarly. Add notes about how actual
9186 passphrase hashes are now stored in the shadow database.
9187 Remove 20-year-old junk todo note.
9188
9189 2018-06-29 Zack Weinberg <zackw@panix.com>
9190
9191 * manual/crypt.texi: Use a normal top-level @node declaration.
9192 Move most of the introductory text to the 'crypt' section.
9193 Move the example programs below the @deftypefun for 'crypt_r'.
9194 Move the 'getpass' section...
9195 * manual/terminal.texi: ...here.
9196
9197 2018-06-29 Zack Weinberg <zackw@panix.com>
9198 Florian Weimer <fweimer@redhat.com>
9199
9200 * posix/unistd.h: Do not declare encrypt.
9201 (_XOPEN_CRYPT): Remove macro definition.
9202 (crypt): Declare only for _USE_MISC.
9203 * stdlib/stdlib.h: Do not declare setkey.
9204 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
9205 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
9206
9207 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
9208 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
9209 into compat symbols. Don't define initial_perm if it's not
9210 going to be used.
9211 * crypt/cert.c: Link explicitly with the expected versions for
9212 setkey and encrypt. If they are not available at all, mark
9213 the test as unsupported.
9214
9215 * sunrpc/des_crypt.c: Unconditionally block linkage with
9216 cbc_crypt and ecb_crypt for new binaries.
9217 * sunrpc/des_soft.c: Unconditionally block linkage with
9218 des_setparity for new binaries.
9219
9220 * manual/crypt.texi: Remove the entire "DES Encryption"
9221 section. Also remove the paragraph talking about FIPS 140-2
9222 from the introduction.
9223 * manual/string.texi (strfry, memfrob): Revise. Recommend use
9224 of libgcrypt for "real" encryption, not DES.
9225 * manual/conf.texi (Constants for Sysconf): Mention that
9226 _XOPEN_CRYPT is no longer impelemented.
9227
9228 * conform/data/unistd.h-data: Remove crypt function declaration.
9229
9230 2018-06-29 Florian Weimer <fweimer@redhat.com>
9231
9232 [BZ #23351]
9233 * malloc/hooks.c: Update comments on restoring of dumped heaps.
9234 (disallow_malloc_check): Remove variable.
9235 (__malloc_check_init): Adjust.
9236 (malloc_set_state): Update comment.
9237 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
9238 declarations.
9239
9240 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9241
9242 [BZ #23140]
9243 * localedata/locales/ast_ES (mon): Rename to...
9244 (alt_mon): This.
9245 (mon): Import from CLDR (genitive case).
9246
9247 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
9248 Jakub Sitnicki <jkbs@redhat.com>
9249
9250 [BZ #21812]
9251 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
9252 on NLM_F_DUMP_INTR.
9253
9254 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
9255
9256 * manual/llio.texi: Remove spurious space.
9257
9258 2018-06-28 Florian Weimer <fweimer@redhat.com>
9259
9260 [BZ #23349]
9261 * time/bits/types/struct_timespec.h: Change header inclusion guard to
9262 _STRUCT_TIMESPEC.
9263
9264 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9265
9266 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
9267 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
9268 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
9269 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
9270 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
9271 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
9272 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
9273
9274 2018-06-27 Maciej W. Rozycki <macro@mips.com>
9275
9276 [BZ #23266]
9277 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
9278 Copy and null-terminate entries that are not terminated, in
9279 addition to empty ones.
9280
9281 2018-06-27 Florian Weimer <fweimer@redhat.com>
9282
9283 [BZ #18023]
9284 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
9285 (extend_alloca_account): Remove.
9286 * manual/stdio.texi (Variable Arguments Output): Update comment.
9287
9288 2018-06-27 Joseph Myers <joseph@codesourcery.com>
9289
9290 * nptl/sockperf.c: Remove file.
9291
9292 2018-06-27 Florian Weimer <fweimer@redhat.com>
9293
9294 [BZ #18023]
9295 * elf/dl-deps.c (_dl_map_object_deps): Use struct
9296 scratch_buffer instead of extend_alloca.
9297
9298 2018-06-27 Florian Weimer <fweimer@redhat.com>
9299
9300 [BZ #18023]
9301 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
9302 scratch_buffer instead of extend_alloca. Update comments.
9303
9304 2018-06-27 Florian Weimer <fweimer@redhat.com>
9305
9306 [BZ #18023]
9307 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
9308 instead of extend_alloca.
9309
9310 2018-06-26 Joseph Myers <joseph@codesourcery.com>
9311
9312 [BZ #13888]
9313 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
9314 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
9315 /tmp.
9316 * scripts/test-installation.pl: Put temporary files in build
9317 directory, not /tmp.
9318 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
9319 (CFLAGS-bug4.c): Likewise.
9320 (CFLAGS-bug5.c): Likewise.
9321 (CFLAGS-test-fseek.c): Likewise.
9322 (CFLAGS-test-popen.c): Likewise.
9323 (CFLAGS-test_rdwr.c): Likewise.
9324 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
9325 /tmp.
9326 * stdio-common/bug4.c (main): Likewise.
9327 * stdio-common/bug5.c (main): Likewise.
9328 * stdio-common/test-fseek.c (TESTFILE): Likewise.
9329 * stdio-common/test-popen.c (do_test): Likewise.
9330 * stdio-common/test_rdwr.c (main): Likewise.
9331
9332 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
9333
9334 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
9335 (sem_open): Set sem.newsem.pad to zero for valgrind.
9336
9337 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9338
9339 [BZ #20251]
9340 * NEWS: Mention fcntl64 addition.
9341 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
9342 * login/utmp_file.c: Likewise.
9343 * sysdeps/posix/fdopendir.c: Likewise.
9344 * sysdeps/posix/opendir.c: Likewise.
9345 * sysdeps/unix/pt-fcntl.c: Likewise.
9346 * include/fcntl.h (__libc_fcntl64, __fcntl64,
9347 __fcntl64_nocancel_adjusted): New prototype.
9348 (__fcntl_nocancel_adjusted): Remove prototype.
9349 * io/Makefile (routines): Add fcntl64.
9350 (CFLAGS-fcntl64.c): New rule.
9351 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
9352 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
9353 * io/fcntl.h (fcntl64): Add prototype and redirect if
9354 __USE_FILE_OFFSET64 is defined.
9355 * io/fcntl64.c: New file.
9356 * manual/llio.text: Add a note for which commands fcntl acts a
9357 cancellation point.
9358 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
9359 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
9360 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
9361 New symbols.
9362 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
9363 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
9364 non-LFS case.
9365 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
9366 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
9367 to __fcntl64_nocancel.
9368 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
9369 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
9370 to __fcntl64_nocancel.
9371 * sysdeps/generic/not-cancel.h: Likewise.
9372 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
9373 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
9374 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9375 (fcntl64): New symbol.
9376 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9377 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9378 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9381 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9382 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9383 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9384 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9385 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9386 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
9387 fcntl64): Likewise.
9388 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9389 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
9390 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9391 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9392 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9393 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9394 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9395 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9396 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9398 Likewise.
9399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9400 Likewise.
9401 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9402 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9403 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9404
9405 2018-06-26 Florian Weimer <fweimer@redhat.com>
9406
9407 Run thread shutdown functions in an explicit order.
9408 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
9409 definition.
9410 (__libc_thread_freeres): Call thread shutdown functions
9411 explicitly.
9412 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
9413 * include/string.h (__strerror_thread_freeres): Declare.
9414 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
9415 arena_thread_freeres. No longer static. Remove thread shutdown
9416 hook registration.
9417 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
9418 Declare.
9419 * resolv/res-close.c (__res_thread_freeres): Renamed from
9420 res_thread_freeres. No longer static. Remove thread shutdown
9421 hook registration.
9422 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
9423 * resolv/resolv_conf.c (freeres): Remove incorrect section
9424 attribute and use libc_freeres_fn.
9425 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
9426 strerror_thread_freeres. No longer static. Remove thread
9427 shutdown hook registration.
9428 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
9429 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
9430 shutdown hook registration.
9431 * Makerules (shlib.lds): Do not provide section boundary symbols
9432 for __libc_thread_subfreeres.
9433 * manual/memory.texi (Basic Allocation): Update comment.
9434
9435 2018-06-26 Florian Weimer <fweimer@redhat.com>
9436
9437 Remove always-defined _RPC_THREAD_SAFE_ macro.
9438 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
9439 Do not define _RPC_THREAD_SAFE_.
9440 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
9441 conditional.
9442 * sunrpc/clnt_perr.c: Likewise.
9443 * sunrpc/clnt_raw.c: Likewise.
9444 * sunrpc/clnt_simp.c: Likewise.
9445 * sunrpc/key_call.c: Likewise.
9446 * sunrpc/rpc_common.c: Likewise.
9447 * sunrpc/rpc_main.c: Likewise.
9448 * sunrpc/rpc_thread.c: Likewise.
9449 * sunrpc/svc.c: Likewise.
9450 * sunrpc/svc_raw.c: Likewise.
9451 * sunrpc/svc_simple.c: Likewise.
9452 * sumrpc/svcauth_des.c: Likewise.
9453
9454 2018-06-26 Florian Weimer <fweimer@redhat.com>
9455
9456 * libio/Makefile (tests-internal): Add tst-vtables,
9457 tst-vtables-interposed.
9458 * libio/tst-vtables.c: New file.
9459 * libio/tst-vtables-common.c: Likewise.
9460 * libio/tst-vtables-interposed.c: Likewise.
9461
9462 2018-06-26 Florian Weimer <fweimer@redhat.com>
9463
9464 * support/support_test_main.c (support_test_main): Only call
9465 setvbuf if not disables.
9466 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
9467 * support/test-driver.h (struct test_config): Add no_setvbuf member.
9468
9469 2018-06-26 Florian Weimer <fweimer@redhat.com>
9470
9471 [BZ #23313]
9472 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
9473
9474 2018-06-25 Florian Weimer <fweimer@redhat.com>
9475
9476 [BZ #18023]
9477 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9478 Use struct scratch_buffer instead of extend_alloca.
9479
9480 2018-06-25 Florian Weimer <fweimer@redhat.com>
9481
9482 [BZ #18023]
9483 * nss/getent.c (initgroups_keys): Use dynarray instead of
9484 extend_alloca.
9485
9486 2018-06-25 Florian Weimer <fweimer@redhat.com>
9487
9488 [BZ #18023]
9489 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
9490 Use struct scratch_buffer instead of extend_alloca.
9491
9492 2018-06-25 Florian Weimer <fweimer@redhat.com>
9493
9494 [BZ #18023]
9495 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
9496 back to malloc directly, without stack allocations.
9497
9498 2018-06-25 Florian Weimer <fweimer@redhat.com>
9499
9500 [BZ #18023]
9501 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
9502 of extend_alloca.
9503
9504 2018-06-25 Florian Weimer <fweimer@redhat.com>
9505
9506 [BZ #18023]
9507 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
9508 of extend_alloca.
9509 * nscd/hstcache.c (addhstbyX): Likewise.
9510 * nscd/pwdcache.c (addpwbyX): Likewise.
9511 * nscd/servicescache.c (addservbyX): Likewise.
9512
9513 2018-06-25 Florian Weimer <fweimer@redhat.com>
9514
9515 [BZ #18023]
9516 * nscd/connections.c (read_cmdline): New function.
9517 (restart): Use it. Update comment.
9518
9519 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9520
9521 [BZ #23140]
9522 * localedata/locales/csb_PL (mon): Rename to...
9523 (alt_mon): This.
9524 (abmon): Rename to...
9525 (ab_alt_mon): This.
9526 (mon): Add with proper genitive forms, copy from Wikipedia.
9527 (abmon): Likewise.
9528
9529 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9530
9531 [BZ #19485]
9532 * localedata/locales/csb_PL (mon): Fix typos:
9533 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
9534 (yesstr): Add, value is "jo".
9535 (nostr): Add, value is "nié".
9536
9537 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9538
9539 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
9540 all log1p and significand functions on m680x0.
9541 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
9542 of s_significand.c..
9543 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
9544 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
9545 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
9546 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
9547 s_log1p.c and include it..
9548
9549 2018-06-21 Vincent Chen <vincentc@andestech.com>
9550
9551 * elf/elf.h (R_NDS32_NONE): New define.
9552 (R_NDS32_32_RELA): Likewise.
9553 (R_NDS32_COPY): Likewise.
9554 (R_NDS32_GLOB_DAT): Likewise.
9555 (R_NDS32_JUMP_SLOT): Likewise.
9556 (R_NDS32_RELATIVE): Likewise.
9557 (R_NDS32_TLS_TPOFF): Likewise.
9558 (R_NDS32_TLS_DESC): Likewise.
9559
9560 2018-06-21 Mark Wielaard <mark@klomp.org>
9561
9562 * elf/elf.h (R_BPF_MAP_FD): Removed.
9563 (R_BPF_64_64, R_BPF_64_32): New.
9564
9565 2018-06-21 Florian Weimer <fweimer@redhat.com>
9566
9567 [BZ #23253]
9568 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
9569 Renamed from libc_feholdsetround_ctx.
9570 (default_libc_feresetround_ctx): Renamed from
9571 libc_feresetround_ctx.
9572 (default_libc_feholdsetround_noex_ctx): Renamed from
9573 libc_feholdsetround_noex_ctx.
9574 (default_libc_feresetround_noex_ctx): Renamed from
9575 libc_feresetround_noex_ctx.
9576 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
9577 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
9578 forwardning to the old implementations under the new names.
9579 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
9580 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
9581 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
9582 (libc_feresetround_ctx): Forward to default implements for i386
9583 and MATH_SET_BOTH_ROUNDING_MODES.
9584 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
9585 Add -DMATH_SET_BOTH_ROUNDING_MODES.
9586
9587 2018-06-20 Joseph Myers <joseph@codesourcery.com>
9588
9589 * string/tst-cmp.c: Include <libc-diag.h>.
9590 (strncmp_max): Disable -Wstringop-overflow= around call to
9591 strncmp.
9592 (strncasecmp_max): Disable -Wstringop-overflow= around call to
9593 strncasecmp.
9594
9595 * string/bug-strpbrk1.c: Include <libc-diag.h>.
9596 (main): Disable -Wunused-value around call to strpbrk.
9597 * string/bug-strspn1.c: Include <libc-diag.h>.
9598 (main): Disable -Wunused-value around call to strspn.
9599
9600 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9601 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9602
9603 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
9604 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
9605
9606 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9607
9608 * math/Makefile (libm-calls): Move s_significandF to...
9609 (gen-libm-calls): ... here.
9610 * math/s_significand_template.c: New file.
9611 * math/s_significand.c: Removed.
9612 * math/s_significandf.c: Removed.
9613 * math/s_significandl.c: Removed.
9614 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
9615 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
9616
9617 * math/e_exp2_template.c (declare_mgen_finite_alias,
9618 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
9619 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
9620 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
9621
9622 2018-06-20 Florian Weimer <fweimer@redhat.com>
9623
9624 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
9625
9626 2018-06-19 Joseph Myers <joseph@codesourcery.com>
9627
9628 [BZ #23280]
9629 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
9630 floating-point number to strtod functions rather than possibly
9631 negating result of those functions.
9632 * stdio-common/tst-scanf-round.c: New file.
9633 * stdio-common/Makefile (tests): Add tst-scanf-round.
9634 ($(objpfx)tst-scanf-round): Depend on $(libm).
9635
9636 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
9637
9638 * sysdeps/mach/hurd/localplt.data: Move to...
9639 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
9640 R_386_GLOB_DAT like on Linux i386.
9641
9642 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9643
9644 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
9645 (SHM_STAT_ANY): New macro.
9646 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
9647 (SHM_STAT_ANY): Likewise.
9648 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
9649 (SHM_STAT_ANY): Likewise.
9650 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
9651 (SHM_STAT_ANY): Likewise.
9652 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
9653 (SHM_STAT_ANY): Likewise.
9654 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
9655 (SHM_STAT_ANY): Likewise.
9656 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
9657 (SHM_STAT_ANY): Likewise.
9658 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
9659 (SHM_STAT_ANY): Likewise.
9660 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
9661 (SHM_STAT_ANY): Likewise.
9662 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
9663 (SHM_STAT_ANY): Likewise.
9664 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
9665 (SHM_STAT_ANY): Likewise.
9666 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
9667 (SHM_STAT_ANY): Likewise.
9668
9669 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
9670 (SEM_STAT_ANY): New macro.
9671 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
9672 (SEM_STAT_ANY): Likewise.
9673 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
9674 (SEM_STAT_ANY): Likewise.
9675 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
9676 (SEM_STAT_ANY): Likewise.
9677 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
9678 (SEM_STAT_ANY): Likewise.
9679 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
9680 (SEM_STAT_ANY): Likewise.
9681 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
9682 (SEM_STAT_ANY): Likewise.
9683 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
9684 (SEM_STAT_ANY): Likewise.
9685 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
9686 (SEM_STAT_ANY): Likewise.
9687 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
9688 (SEM_STAT_ANY): Likewise.
9689
9690 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
9691 (MSG_STAT_ANY): New macro.
9692 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
9693 (MSG_STAT_ANY): Likewise.
9694 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
9695 (MSG_STAT_ANY): Likewise.
9696 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
9697 (MSG_STAT_ANY): Likewise.
9698 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
9699 (MSG_STAT_ANY): Likewise.
9700 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
9701 (MSG_STAT_ANY): Likewise.
9702 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
9703 (MSG_STAT_ANY): Likewise.
9704 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
9705 (MSG_STAT_ANY): Likewise.
9706 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
9707 (MSG_STAT_ANY): Likewise.
9708 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
9709 (MSG_STAT_ANY): Likewise.
9710
9711 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9712 (MAP_TYPE): Change value to 0x2b.
9713
9714 2018-06-18 Florian Weimer <fweimer@redhat.com>
9715
9716 [BZ #15722]
9717 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
9718 socket with SOCK_CLOEXEC.
9719
9720 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9721
9722 [BZ #23303]
9723 * sysdeps/powerpc/powerpc64/le/Makefile
9724 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
9725 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
9726 (gnulib-tests): Also add $(f128-loader-link) for
9727 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
9728
9729 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
9730
9731 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
9732 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
9733 of sendfile.
9734 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
9735 (sendfile64): New strong alias.
9736 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
9737 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
9738 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
9739 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
9740 attribute.
9741 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
9742 ___pthread_get_cleanup_stack.
9743 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
9744 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
9745 * mach/shortcut.awk: Make syscall stubs include
9746 <mach-shortcuts-hidden.h> and add hidden definition.
9747 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
9748 (__mach_msg): Add hidden prototype.
9749 * mach/msg.c: Include <mach.h>.
9750 (__mach_msg): Add hidden definition.
9751 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
9752 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
9753 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
9754 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
9755 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
9756 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
9757 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
9758 prototype and definition.
9759 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
9760 hidden target for _hurd_self_sigstate.
9761
9762 2018-06-15 Joseph Myers <joseph@codesourcery.com>
9763
9764 [BZ #23007]
9765 * stdlib/tst-strtod-nan-sign-main.c: New file.
9766 * stdlib/tst-strtod-nan-sign.c: Likewise.
9767 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
9768 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
9769 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
9770 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
9771 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
9772
9773 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
9774
9775 [BZ #23007]
9776 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
9777 appropriate sign.
9778
9779 2018-06-14 Florian Weimer <fweimer@redhat.com>
9780
9781 [BZ #23290]
9782 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
9783 that the result stays within the ISO-8859-1 range.
9784 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
9785 characters are defined in IBM273.
9786
9787 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
9788
9789 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
9790 __mach_task_self): Remove attribute_hidden.
9791
9792 2018-06-14 Joseph Myers <joseph@codesourcery.com>
9793
9794 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
9795 ignore -Wrestrict for one test.
9796
9797 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
9798 Szabolcs Nagy <szabolcs.nagy@arm.com>
9799
9800 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
9801
9802 2018-06-14 Florian Weimer <fweimer@redhat.com>
9803
9804 * scripts/update-abilist.sh: Accept empty list of files to patch.
9805
9806 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
9807
9808 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
9809 test-xfail-check-abi-libmachuser): Add.
9810 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
9811 __libc_read and __libc_write to __read and __write.
9812 * sysdeps/hurd/include/hurd/port.h: New file.
9813 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
9814 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
9815 __thread_switch, __evc_wait): Move declarations to...
9816 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
9817 attribute_hidden.
9818 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
9819 use PLT to call _hurd_self_sigstate.
9820
9821 2018-06-13 Joseph Myers <joseph@codesourcery.com>
9822
9823 [BZ #23279]
9824 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
9825 MAX_EXP as overflowing.
9826 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
9827 overflow flag.
9828 (round_str): Output also whether result overflows in each rounding
9829 mode.
9830 * stdlib/tst-strtod-round-data: Add more tests.
9831 * stdlib/tst-strtod-round-data.h: Regenerated.
9832 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
9833 (TEST): Handle extra arguments for overflow flags.
9834 (struct test_overflow): New type.
9835 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
9836 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
9837 (test_in_one_mode): Take argument with overflow information.
9838 (do_test): Update calls to test_in_one_mode.
9839
9840 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9841
9842 * elf/dl-load (_dl_dst_substitute): Correct comment.
9843 (_dl_dst_count): Likewise.
9844
9845 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
9846 lll_futex_timed_wait.
9847
9848 2018-06-12 Joseph Myers <joseph@codesourcery.com>
9849
9850 [BZ #23277]
9851 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
9852 attribute.
9853 * math/test-nan-const.c: New file.
9854 * math/Makefile (tests): Add test-nan-const.
9855 (CFLAGS-test-nan-const.c): New variable.
9856
9857 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9858
9859 * benchtests/scripts/compare_strings.py (process_results): Add
9860 funcs argument. Compare only functions which are selected.
9861 (main): Check if base function is among selected functions.
9862 Pass selected functions to process_results.
9863 (__main__): Add -f/--functions argument.
9864
9865 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
9866 Hongbo Zhang <hongbo.zhang@linaro.org>
9867
9868 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
9869 __memcpy_falkor for phecda core.
9870 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
9871 __memmove_falkor for phecda core.
9872 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
9873 __memset_falkor for phecda core.
9874 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
9875 for phecda core.
9876 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
9877 macro to identify phecda core.
9878
9879 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9880 Andreas Schwab <schwab@suse.de>
9881 Dmitry V. Levin <ldv@altlinux.org>
9882 Florian Weimer <fweimer@redhat.com>
9883
9884 [BZ #23102]
9885 [BZ #21942]
9886 [BZ #18018]
9887 [BZ #23259]
9888 CVE-2011-0536
9889 * elf/dl-dst.h: Remove DL_DST_COUNT.
9890 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
9891 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
9892 (is_dst): Comment. Support ELF gABI.
9893 (_dl_dst_count): Comment. Simplify and count DSTs.
9894 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
9895 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
9896 locals.
9897
9898 2018-06-12 Zack Weinberg <zackw@panix.com>
9899
9900 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
9901 * sysdeps/unix/sysv/linux/dl-sysdep.c
9902 Include not-cancel.h. Use __close_nocancel instead of __close,
9903 __open64_nocancel instead of __open, __read_nocancel instead of
9904 __libc_read, and __write_nocancel instead of __libc_write.
9905
9906 * csu/check_fds.c (check_one_fd)
9907 * sysdeps/posix/fdopendir.c (__fdopendir)
9908 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
9909 instead of __fcntl and/or __libc_fcntl.
9910
9911 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
9912 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
9913 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
9914 Use __open64_nocancel instead of __open_nocancel.
9915
9916 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
9917 hidden_proto declarations to the end and issue them if either
9918 IS_IN(libc) or IS_IN(rtld).
9919 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
9920 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
9921 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
9922 read_nocancel, waitpid_nocancel, write_nocancel.
9923
9924 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
9925 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
9926 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
9927
9928 * nptl/pt-fcntl.c: New file.
9929 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
9930 (libpthread-routines): Add pt-fcntl.
9931 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
9932 (__libc_fcntl): Remove attribute_hidden.
9933 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
9934 __fcntl_nocancel_adjusted, not fcntl_common.
9935 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
9936 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
9937 to fcntl_nocancel.c.
9938 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
9939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
9940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9941 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
9942
9943 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
9944 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
9945 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
9946 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
9947 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
9948 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
9949 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
9950 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
9951 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
9952 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
9953 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
9954 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
9955 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
9956 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
9957 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
9958 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
9959 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
9960 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
9961 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
9962 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
9963
9964 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
9965 libpthread-routines.
9966 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
9967 defines nothing.
9968
9969 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
9970 __libc_read, and __write instead of __libc_write. Define
9971 __open64 in addition to __open.
9972
9973 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9974
9975 [BZ #23250]
9976 [BZ #10686]
9977 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
9978 to _private_tm[3] and add __glibc_reserved2.
9979 Add _Static_assert of offset of __private_ss == 0x30.
9980 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
9981 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
9982
9983 2018-06-12 Florian Weimer <fweimer@redhat.com>
9984
9985 x86: Make strncmp usable from rtld.
9986 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
9987 __strncmp_ia32 if in libc (and not in rtld).
9988 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
9989 strncmp if not in libc (and not to __strncmp_sse2).
9990
9991 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
9992
9993 [BZ #23140]
9994 * localedata/locales/gd_GB (mon): Rename to...
9995 (alt_mon): This.
9996 (mon): Import from CLDR (genitive case).
9997 * localedata/locales/hsb_DE (mon): Rename to...
9998 (alt_mon): This.
9999 (mon): Import from CLDR (genitive case).
10000 * localedata/locales/wa_BE (mon): Rename to...
10001 (alt_mon): This.
10002 (mon): Add, fill with the proper genitive forms, but CLDR data
10003 is incomplete; completed according to the comments in this file.
10004 (d_t_fmt): Do not use "di" before the month name, no longer needed.
10005
10006 * localedata/locales/wa_BE (country_name): Reword
10007 "Beljike" -> "Beldjike".
10008
10009 2018-06-11 Joseph Myers <joseph@codesourcery.com>
10010
10011 [BZ #23272]
10012 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
10013 cases of non-finite arguments.
10014 * math/libm-test-fma.inc (fma_test_data): Add more tests.
10015
10016 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
10017
10018 [BZ #23174]
10019 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
10020
10021 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10022
10023 [BZ #23264]
10024 * include/unistd.h (__execvpex): New prototype.
10025 * posix/Makefile (tests): Add tst-spawn4.
10026 (tests-internal): Add tst-spawn4-compat.
10027 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
10028 * posix/tst-spawn4-compat.c: New file.
10029 * posix/tst-spawn4.c: Likewise.
10030 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
10031 binaries as shell scripts.
10032 * sysdeps/posix/spawni.c (__spawni): Likewise.
10033
10034 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
10035
10036 [BZ #23145]
10037 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
10038 ($(all-built-dso:=.dynsym): New target.
10039 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
10040 ($(objpfx)check-initfini.out): New target.
10041 (generated): Add check-initfini.out.
10042 * scripts/check-initfini.awk: New file.
10043 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
10044 (_fini): Likewise.
10045 * sysdeps/alpha/crti.S (_init): Mark as hidden.
10046 (_fini): Likewise.
10047 * sysdeps/arm/crti.S (_init): Mark as hidden.
10048 (_fini): Likewise.
10049 * sysdeps/hppa/crti.S (_init): Mark as hidden.
10050 (_fini): Likewise.
10051 * sysdeps/i386/crti.S (_init): Mark as hidden.
10052 (_fini): Likewise.
10053 * sysdeps/ia64/crti.S (_init): Mark as hidden.
10054 (_fini): Likewise.
10055 * sysdeps/m68k/crti.S (_init): Mark as hidden.
10056 (_fini): Likewise.
10057 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
10058 (_fini): Likewise.
10059 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
10060 (_fini): Likewise.
10061 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
10062 (_fini): Likewise.
10063 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
10064 (_fini): Likewise.
10065 * sysdeps/nios2/crti.S (_init): Mark as hidden.
10066 (_fini): Likewise.
10067 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
10068 (_fini): Likewise.
10069 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
10070 (_fini): Likewise.
10071 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
10072 (_fini): Likewise.
10073 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
10074 (_fini): Likewise.
10075 * sysdeps/sh/crti.S (_init): Mark as hidden.
10076 (_fini): Likewise.
10077 * sysdeps/sparc/crti.S (_init): Mark as hidden.
10078 (_fini): Likewise.
10079 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
10080 (_fini): Likewise.
10081
10082 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10083
10084 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
10085 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
10086 and TF redirection to KFtype and KF only when the default
10087 long double type is not the IEEE 128-bit floating point type.
10088
10089 2018-06-05 Joseph Myers <joseph@codesourcery.com>
10090
10091 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
10092 macro.
10093 (HWCAP_USCAT): Likewise.
10094 (HWCAP_ILRCPC): Likewise.
10095 (HWCAP_FLAGM): Likewise.
10096 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
10097 Increase to 28.
10098 (_dl_aarch64_cap_flags): Add new flag names.
10099
10100 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
10101 (MAP_FIXED_NOREPLACE): New macro.
10102 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
10103 (MAP_FIXED_NOREPLACE): Likewise.
10104 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
10105 (MAP_FIXED_NOREPLACE): Likewise.
10106 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10107 (MAP_FIXED_NOREPLACE): Likewise.
10108 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
10109 (MAP_FIXED_NOREPLACE): Likewise.
10110 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
10111 (MAP_FIXED_NOREPLACE): Likewise.
10112 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
10113 (MAP_FIXED_NOREPLACE): Likewise.
10114 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
10115 (MAP_FIXED_NOREPLACE): Likewise.
10116 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
10117 (MAP_FIXED_NOREPLACE): Likewise.
10118 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
10119 (MAP_FIXED_NOREPLACE): Likewise.
10120 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
10121 (MAP_FIXED_NOREPLACE): Likewise.
10122 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
10123 (MAP_FIXED_NOREPLACE): Likewise.
10124 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
10125 (MAP_FIXED_NOREPLACE): Likewise.
10126 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
10127 (MAP_FIXED_NOREPLACE): Likewise.
10128 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
10129 (MAP_FIXED_NOREPLACE): Likewise.
10130
10131 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10132 version to 4.17.
10133
10134 2018-06-04 Joseph Myers <joseph@codesourcery.com>
10135
10136 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10137 version to 4.17
10138
10139 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10140
10141 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
10142 int.
10143 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
10144
10145 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10146
10147 * benchtests/scripts/compare_string.py: (process_results) Catch
10148 exception in non-existent base_func and catch exception in
10149 non-existent attribute.
10150 (parse_file) Catch exception if input file does not exist.
10151
10152 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10153
10154 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
10155 options to avoid diff calculation and omit header, respectively.
10156 (main): process --no-diff and --no-header
10157
10158 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10159 H.J. Lu <hongjiu.lu@intel.com>
10160
10161 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10162 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
10163 wcsncmp-sse2.
10164 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10165 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
10166 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
10167 and __wcsncmp_sse2.
10168 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
10169 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
10170 AVX unaligned load is fast and vzeroupper is preferred.
10171 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
10172 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
10173 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
10174 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
10175 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
10176 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
10177 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
10178 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
10179 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
10180 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
10181 is undefined.
10182
10183 2018-06-01 Florian Weimer <fweimer@redhat.com>
10184
10185 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
10186 configuring with --disable-multi-arch, building with
10187 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
10188 Haswell-era CPU.
10189
10190 2018-06-01 Florian Weimer <fweimer@redhat.com>
10191
10192 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
10193 results from building with “-march=x86-64 -mtune=generic
10194 -mfpmath=sse” and running on a Haswell-era CPU.
10195
10196 2018-06-01 Joseph Myers <joseph@codesourcery.com>
10197
10198 [BZ #18473]
10199 * soft-fp/sqrttf2.c: Remove file.
10200 * soft-fp/sqrtdf2.c: Move to ....
10201 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
10202 <shlib-compat.h>.
10203 (__sqrtdf2): Make conditional on
10204 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10205 symbol.
10206 * soft-fp/sqrtsf2.c: Move to ....
10207 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
10208 <shlib-compat.h>.
10209 (__sqrtsf2): Make conditional on
10210 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10211 symbol.
10212 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
10213 (gcc-double-routines): Remove sqrtdf2.
10214 (gcc-quad-routines): Remove sqrttf2.
10215 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10216 Do not filter out sqrtsf2 and sqrtdf2.
10217 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10218 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
10219
10220 2018-06-01 Florian Weimer <fweimer@redhat.com>
10221
10222 * sysdeps/generic/libcidn.abilist: Remove file.
10223
10224 2018-06-01 Florian Weimer <fweimer@redhat.com>
10225
10226 [BZ #23236]
10227 * libio/strfile.h (struct _IO_str_fields): Rename members to
10228 discourage their use and add comment.
10229 (_IO_STR_DYNAMIC): Remove unused macro.
10230 * libio/strops.c (_IO_str_init_static_internal): Do not use
10231 callback pointers. Call malloc and free.
10232 (_IO_str_overflow): Do not use callback pointers. Call malloc
10233 and free.
10234 (enlarge_userbuf): Likewise.
10235 (_IO_str_finish): Call free.
10236 * libio/wstrops.c (_IO_wstr_init_static): Initialize
10237 _allocate_buffer_unused.
10238 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
10239 and free.
10240 (enlarge_userbuf): Likewise.
10241 (_IO_wstr_finish): Call free.
10242 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
10243 _allocate_buffer_unused, _free_buffer_unused.
10244 * libio/memstream.c (__open_memstream): Likewise.
10245 * libio/vasprintf.c (_IO_vasprintf): Likewise.
10246 * libio/wmemstream.c (open_wmemstream): Likewise.
10247
10248 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10249
10250 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
10251 AMD Ryzen 7 1800X.
10252
10253 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10254
10255 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
10256 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
10257 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
10258 New file.
10259 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
10260 Likewise.
10261 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
10262
10263 2018-05-29 Florian Weimer <fweimer@redhat.com>
10264
10265 * support/Makefile (libsupport-routines): Add
10266 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
10267 xpthread_barrierattr_setpshared.
10268 * support/xpthread_barrierattr_destroy.c: New file.
10269 * support/xpthread_barrierattr_init.c: Likewise.
10270 * support/xpthread_barrierattr_setpshared.c: Likewise.
10271
10272 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
10273
10274 [BZ #23206]
10275 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
10276 _r_debug and update DT_DEBUG for debugger.
10277
10278 2018-05-29 Florian Weimer <fweimer@redhat.com>
10279
10280 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
10281 (tst-strtod5i.out): Likewise.
10282
10283 2018-05-25 Joseph Myers <joseph@codesourcery.com>
10284
10285 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
10286 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
10287 (sparc64-quad-routines): New variable. Moved from ....
10288 [$(subdir) = soft-fp] (sysdep_routines): Add
10289 $(sparc64-quad-routines). Moved from ....
10290 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
10291 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
10292 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
10293 moved from ....
10294 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
10295 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
10296 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
10297 * sysdeps/sparc/sparc64/qp_add.c: ... here.
10298 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
10299 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
10300 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
10301 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
10302 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
10303 * sysdeps/sparc/sparc64/qp_div.c: ... here.
10304 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
10305 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
10306 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
10307 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
10308 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
10309 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
10310 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
10311 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
10312 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
10313 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
10314 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
10315 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
10316 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
10317 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
10318 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
10319 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
10320 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
10321 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
10322 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
10323 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
10324 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
10325 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
10326 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
10327 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
10328 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
10329 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
10330 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
10331 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
10332 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
10333 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
10334 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
10335 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
10336 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
10337 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
10338 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
10339 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
10340 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
10341 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
10342 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
10343 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
10344 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
10345 * sysdeps/sparc/sparc64/qp_util.c: ... here.
10346 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
10347 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
10348 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
10349 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
10350 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
10351 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
10352
10353 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
10354 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
10355 (sparc32-quad-routines): New variable. Moved from ....
10356 [$(subdir) = soft-fp] (sysdep_routines): Add
10357 $(sparc32-quad-routines). Moved from ....
10358 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
10359 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
10360 moved from ....
10361 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
10362 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
10363 * sysdeps/sparc/sparc32/q_add.c: ... here.
10364 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
10365 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
10366 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
10367 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
10368 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
10369 * sysdeps/sparc/sparc32/q_div.c: ... here.
10370 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
10371 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
10372 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
10373 * sysdeps/sparc/sparc32/q_feq.c: ... here.
10374 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
10375 * sysdeps/sparc/sparc32/q_fge.c: ... here.
10376 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
10377 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
10378 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
10379 * sysdeps/sparc/sparc32/q_fle.c: ... here.
10380 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
10381 * sysdeps/sparc/sparc32/q_flt.c: ... here.
10382 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
10383 * sysdeps/sparc/sparc32/q_fne.c: ... here.
10384 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
10385 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
10386 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
10387 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
10388 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
10389 * sysdeps/sparc/sparc32/q_mul.c: ... here.
10390 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
10391 * sysdeps/sparc/sparc32/q_neg.c: ... here.
10392 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
10393 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
10394 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
10395 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
10396 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
10397 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
10398 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
10399 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
10400 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
10401 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
10402 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
10403 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
10404 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
10405 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
10406 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
10407 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
10408 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
10409 * sysdeps/sparc/sparc32/q_sub.c: ... here.
10410 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
10411 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
10412 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
10413 * sysdeps/sparc/sparc32/q_util.c: ... here.
10414 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
10415 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
10416 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
10417 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
10418
10419 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10420 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10421
10422 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
10423 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
10424 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
10425 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
10426
10427 2018-05-24 Joseph Myers <joseph@codesourcery.com>
10428
10429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
10430 powerpc/soft-fp.
10431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10432 Likewise.
10433 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
10434 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
10435
10436 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10437
10438 [BZ #23171]
10439 * math/math.h [C++] (iseqsig): Fix parameter type for the long
10440 double version.
10441
10442 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10443
10444 * sysdeps/sh/Implies: Remove sh/soft-fp.
10445 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
10446 * sysdeps/sh/sfp-machine.h: ... here.
10447
10448 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10449
10450 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10451 (__mempcpy_erms): Skip zero length.
10452 (__memmove_erms): Likewise.
10453 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10454 (__memset_erms): Likewise.
10455
10456 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10457
10458 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
10459 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10460 Add functions moved from ....
10461 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
10462 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
10463 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
10464 from ....
10465 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
10466 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
10467 * sysdeps/alpha/e_sqrtl.c: ... here.
10468 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
10469 * sysdeps/alpha/local-soft-fp.h: ... here.
10470 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
10471 * sysdeps/alpha/ots_add.c: ... here.
10472 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
10473 * sysdeps/alpha/ots_cmp.c: ... here.
10474 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
10475 * sysdeps/alpha/ots_cmpe.c: ... here.
10476 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
10477 * sysdeps/alpha/ots_cvtqux.c: ... here.
10478 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
10479 * sysdeps/alpha/ots_cvtqx.c: ... here.
10480 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
10481 * sysdeps/alpha/ots_cvttx.c: ... here.
10482 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
10483 * sysdeps/alpha/ots_cvtxq.c: ... here.
10484 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
10485 * sysdeps/alpha/ots_cvtxt.c: ... here.
10486 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
10487 * sysdeps/alpha/ots_div.c: ... here.
10488 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
10489 * sysdeps/alpha/ots_mul.c: ... here.
10490 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
10491 * sysdeps/alpha/ots_nintxq.c: ... here.
10492 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
10493 * sysdeps/alpha/ots_sub.c: ... here.
10494 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
10495 * sysdeps/alpha/sfp-machine.h: ... here.
10496
10497 2018-05-23 Florian Weimer <fweimer@redhat.com>
10498
10499 [BZ #19728]
10500 [BZ #19729]
10501 [BZ #22247]
10502 CVE-2016-6261
10503 CVE-2016-6263
10504 CVE-2017-14062
10505 Switch to extern IDNA implementation (libidn2).
10506 * libidn: Remove subdirectory.
10507 * LICENSES: Do not mention licensing conditions for the removed
10508 libidn code.
10509 * config.h.in (HAVE_LIBIDN): Remove.
10510 * include/dlfcn.h (__libc_dlopen): Update comment.
10511 * include/idna.h: Remove file.
10512 * inet/Makefile (routines): Add idna.
10513 (tests-static, tests-internal): Add tst-idna_name_classify.
10514 (LOCALES): Generate locales for tests.
10515 (tst-idna_name_classify.out): Depend on generated locales.
10516 * inet/idna_name_classify.c: New file.
10517 * inet/tst-idna_name_classify.c: Likewise.
10518 * inet/net-internal.h (__idna_to_dns_encoding)
10519 (__idna_from_dns_encoding): Declare.
10520 * inet/net-internal.h (enum idna_name_classification): Define.
10521 (__idna_name_classify): Declare.
10522 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
10523 __idna_from_dns_encoding.
10524 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
10525 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
10526 name as a fallback in case of encoding errors.
10527 (getnameinfo): Use DEPRECATED_NI_IDN.
10528 * inet/idna.c: New file.
10529 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
10530 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
10531 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
10532 (modules-names): Add tst-no-libidn2.
10533 (extra-test-objs): Add tst-no-libidn2.os.
10534 (LDFLAGS-tst-no-libidn2.so): Set soname.
10535 (LOCALES): Set, and generate locales.
10536 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
10537 (tst-resolv-ai_idn-latin1): Likewise.
10538 (tst-resolv-ai_idn-nolibidn2): Likewise.
10539 (tst-resolv-ai_idn.out): Depend on locales.
10540 (tst-resolv-ai_idn-latin1.out): Depend on locales.
10541 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
10542 tst-no-libidn2.so.
10543 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
10544 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
10545 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
10546 * resolv/tst-resolv-ai_idn.c: New file.
10547 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
10548 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
10549 * resolv/tst-no-libidn2.c: Likewise.
10550 * support/support_format_addrinfo.c (format_ai_flags): Do not
10551 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
10552 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
10553 (gaih_inet): Call __idna_to_dns_encoding and
10554 __idna_from_dns_encoding, and use the original (punycode) name if
10555 __idna_from_dns_encoding fails due to an encoding error.
10556 (getaddrinfo): Use DEPRECATED_AI_IDN.
10557 * sysdeps/unix/inet/Subdirs (libidn): Remove.
10558 * sysdeps/unix/inet/configure: Remove file.
10559 * sysdeps/unix/inet/configure.ac: Likewise.
10560
10561 2018-05-23 Florian Weimer <fweimer@redhat.com>
10562
10563 Implement allocate_once.
10564 * include/allocate_once.h: New file.
10565 * misc/allocate_once.c: Likewise.
10566 * misc/tst-allocate_once.c: Likewise.
10567 * misc/Makefile (routines): Add allocate_once.
10568 (tests-internal): Add tst-allocate_once.
10569 (generated): Add tst-allocate_once.mtrace,
10570 tst-allocate_once-mem.out.
10571 (tests-special): Add tst-allocate_once-mem.out.
10572 (tst-allocate_once-ENV): Set MALLOC_TRACE.
10573 (tst-allocate_once-mem.out): Call mtrace.
10574 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
10575
10576 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10577
10578 [BZ #23196]
10579 * string/test-memcpy.c (do_test1): New function.
10580 (test_main): Call it.
10581
10582 2018-05-23 Andreas Schwab <schwab@suse.de>
10583
10584 [BZ #23196]
10585 CVE-2018-11237
10586 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
10587 (L(preloop_large)): Save initial destination pointer in %r11 and
10588 use it instead of %rax after the loop.
10589 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
10590
10591 2018-05-22 Joseph Myers <joseph@codesourcery.com>
10592
10593 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
10594 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
10595 -I../soft-fp. Moved from ....
10596 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
10597 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
10598 * sysdeps/aarch64/e_sqrtl.c: ... here.
10599 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
10600 * sysdeps/aarch64/sfp-machine.h: ... here.
10601
10602 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
10603 -Wmaybe-uninitialized around access to fq[0].
10604 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10605 Likewise.
10606
10607 [BZ #18471]
10608 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
10609 aliases for non-libc case of versioned symbols.
10610 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
10611 (llseek): Define as compat symbol if
10612 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
10613 with link warning.
10614 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
10615 Make into a compat symbol, disabled for minimum symbol version
10616 GLIBC_2.28 and later.
10617 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
10618
10619 2018-05-22 Florian Weimer <fweimer@redhat.com>
10620
10621 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
10622 not add -mpreferred-stack-boundary=4.
10623 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
10624 (stack-align-test-flags): Likewise.
10625 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
10626 Likewise.
10627 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
10628 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
10629 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
10630 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
10631 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
10632 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
10633 (CFLAGS-tst-align2.c): Likewise.
10634
10635 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10636
10637 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
10638 (index_arch_Prefer_FSRM): Likewise.
10639 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
10640 Also check Prefer_FSRM.
10641 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
10642 Also return OPTIMIZE (erms) for Prefer_FSRM.
10643
10644 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10645
10646 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
10647 (index_cpu_FSRM): Likewise.
10648 (reg_FSRM): Likewise.
10649
10650 2018-05-18 Joseph Myers <joseph@codesourcery.com>
10651
10652 * math/gen-tgmath-tests.py: Import sys.
10653 (Tests.__init__): Initialize macros_seen.
10654 (Tests.add_tests): Add macro to macros_seen. Only generate tests
10655 if requested to do so for this macro.
10656 (Tests.add_all_tests): Take argument for macro for which to
10657 generate tests.
10658 (Tests.check_macro_list): New function.
10659 (main): Handle check-list argument and argument specifying macro
10660 for which to generate tests.
10661 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
10662 [PYTHON] (tgmath3-macro-tests): Likewise.
10663 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
10664 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
10665 not test-tgmath3.c.
10666 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
10667 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
10668 to CFLAGS.
10669 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
10670 [PYTHON] ($(foreach
10671 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
10672 rule.
10673 [PYTHON] (tests-special): Add
10674 $(objpfx)test-tgmath3-macro-list.out.
10675 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
10676
10677 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
10678 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
10679 later.
10680
10681 [BZ #22639]
10682 * time/tzset.c (SECSPERDAY): Cast to time_t.
10683 * time/tst-y2039.c: New file.
10684 * time/Makefile (tests): Add tst-y2039.
10685
10686 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10687
10688 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10689 (PREFETCH_ONE_SET): Remove duplicate line.
10690
10691 2018-05-17 Florian Weimer <fweimer@redhat.com>
10692
10693 * sysdeps/generic/math-type-macros-double.h: Include
10694 <math-nan-payload-double.h> after <libm-alias-double.h>.
10695 * sysdeps/generic/math-type-macros-float.h: Include
10696 <math-nan-payload-float.h> after <libm-alias-float.h>.
10697 * sysdeps/generic/math-type-macros-float128.h: Include
10698 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
10699 * sysdeps/generic/math-type-macros-ldouble.h: Include
10700 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
10701
10702 2018-05-17 Andreas Schwab <schwab@suse.de>
10703
10704 * resolv/res_send.c (__res_context_send): Don't set errno when
10705 returing error after malloc failure.
10706
10707 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
10708
10709 * nptl/allocatestack.c (allocate_stack): Remove the
10710 !__ASSUME_PRIVATE_FUTEX paths.
10711 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
10712 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10713 Likewise.
10714 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
10715 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10716 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10717 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10718 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
10719 !__ASSUME_PRIVATE_FUTEX path.
10720 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
10721 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
10722 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10723 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
10724 !__ASSUME_PRIVATE_FUTEX macros.
10725 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10726 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10727 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10728 * sysdeps/unix/sysv/linux/kernel-features.h
10729 (__ASSUME_PRIVATE_FUTEX): Removed.
10730
10731 2018-05-17 Joseph Myers <joseph@codesourcery.com>
10732
10733 * math/Makefile (libm-narrow-fns): Add div.
10734 (libm-test-funcs-narrow): Likewise.
10735 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
10736 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
10737 * math/gen-auto-libm-tests.c (test_functions): Add div.
10738 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
10739 (NARROW_DIV_ROUND_TO_ODD): Likewise.
10740 (NARROW_DIV_TRIVIAL): Likewise.
10741 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
10742 macro.
10743 (__ddivl): Likewise.
10744 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
10745 ddiv.
10746 (CFLAGS-nldbl-ddiv.c): New variable.
10747 (CFLAGS-nldbl-fdiv.c): Likewise.
10748 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10749 __nldbl_ddivl.
10750 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
10751 prototype.
10752 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
10753 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
10754 * math/auto-libm-test-in: Add tests of div.
10755 * math/auto-libm-test-out-narrow-div: New generated file.
10756 * math/libm-test-narrow-div.inc: New file.
10757 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
10758 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
10759 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
10760 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
10761 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
10762 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
10763 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
10764 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
10765 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
10766 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
10767 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
10768 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
10769 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
10770 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
10771 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
10772 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
10773 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
10774 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
10775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10776 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10777 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10778 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10779 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10780 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10781 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10782 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10783 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10784 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10785 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10786 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10787 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10788 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10793 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10794 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10795 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10796 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10797 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10798 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10799 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10800 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10801
10802 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10803
10804 [BZ #23178]
10805 * nscd/nscd-client.h (sendfileall): Remove prototype.
10806 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
10807 (handle_request): Use writeall instead of sendfileall.
10808 * nscd/aicache.c (addhstaiX): Likewise.
10809 * nscd/grpcache.c (cache_addgr): Likewise.
10810 * nscd/hstcache.c (cache_addhst): Likewise.
10811 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10812 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
10813 * nscd/pwdcache.c (cache_addpw): Likewise.
10814 * nscd/servicescache.c (cache_addserv): Likewise.
10815 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
10816 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
10817 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
10818 Remove define.
10819
10820 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
10821
10822 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
10823 Include <string/strncat.c>.
10824 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
10825 alias.
10826 (__GI___strncat): New hidden alias.
10827
10828 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10829
10830 * sysdeps/mips/mips32/libm-test-ulps: Update.
10831 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10832
10833 2018-05-16 Florian Weimer <fweimer@redhat.com>
10834
10835 * support/Makefile (libsupport-routines): Add support_quote_blob,
10836 support_test_compare_blob.
10837 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
10838 * support/check.h (TEST_COMPARE_BLOB): Define.
10839 (support_test_compare_blob): Declare.
10840 * support/support.h (support_quote_blob): Declare.
10841 * support/support_quote_blob.c: New file.
10842 * support/support_test_compare_blob.c: Likewise.
10843 * support/tst-support_quote_blob.c: Likewise.
10844 * support/tst-test_compare_blob.c: Likewise.
10845
10846 2018-05-16 Florian Weimer <fweimer@redhat.com>
10847
10848 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
10849 of <strtod_nan_double.h>.
10850 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
10851 instead of SET_MANTISSA.
10852 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
10853 of include <strtod_nan_float.h>.
10854 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
10855 instead of <strtod_nan_ldouble.h>.
10856 * stdlib/strtod_nan_double.h: Move to ...
10857 * sysdeps/generic/math-nan-payload-double.h: ... here.
10858 (FLOAT): Remove definition.
10859 (SET_MANTISSA): Rename to ...
10860 (SET_NAN_PAYLOAD): ... this.
10861 * stdlib/strtod_nan_float.h: Move to ...
10862 * sysdeps/generic/math-nan-payload-float.h: ... here.
10863 (FLOAT): Remove definition.
10864 (SET_MANTISSA): Rename to ...
10865 (SET_NAN_PAYLOAD): ... this.
10866 * sysdeps/generic/math-type-macros-double.h: Include
10867 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
10868 instead of <math-svid-compat.h>.
10869 * sysdeps/generic/math-type-macros-float.h: Include
10870 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
10871 instead of <math-svid-compat.h>.
10872 * sysdeps/generic/math-type-macros-float128.h: Include
10873 <math-nan-payload-float128.h>.
10874 * sysdeps/generic/math-type-macros-ldouble.h: Include
10875 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
10876 instead of <math-svid-compat.h>.
10877 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
10878 check for definition.
10879 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
10880 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
10881 Include <ieee754_float128.h>.
10882 (FLOAT): Remove definition.
10883 (SET_MANTISSA): Rename to ...
10884 (SET_NAN_PAYLOAD): ... this.
10885 * sysdeps/ieee754/float128/strtof128_nan.c: Include
10886 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
10887 Do not include <float128_private.h>.
10888 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
10889 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
10890 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
10891 (FLOAT): Remove definition.
10892 (SET_MANTISSA): Rename to ...
10893 (SET_NAN_PAYLOAD): ... this.
10894 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
10895 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
10896 (FLOAT): Remove definition.
10897 (SET_MANTISSA): Rename to ...
10898 (SET_NAN_PAYLOAD): ... this.
10899 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
10900 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
10901 (FLOAT): Remove definition.
10902 (SET_MANTISSA): Rename to ...
10903 (SET_NAN_PAYLOAD): ... this.
10904 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
10905 of "../stdlib/strtod_nan_double.h".
10906 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
10907 of "../stdlib/strtod_nan_float.h".
10908 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
10909 instead of "../stdlib/strtod_nan_ldouble.h".
10910 * manual/arith.texi (Parsing of Floats): Adjust comment.
10911
10912 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10913
10914 * math/Makefile (libm-narrow-fns): Add mul.
10915 (libm-test-funcs-narrow): Likewise.
10916 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
10917 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
10918 * math/gen-auto-libm-tests.c (test_functions): Add mul.
10919 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
10920 (NARROW_MUL_ROUND_TO_ODD): Likewise.
10921 (NARROW_MUL_TRIVIAL): Likewise.
10922 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
10923 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
10924 macro.
10925 (__dmull): Likewise.
10926 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
10927 dmul.
10928 (CFLAGS-nldbl-dmul.c): New variable.
10929 (CFLAGS-nldbl-fmul.c): Likewise.
10930 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10931 __nldbl_dmull.
10932 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
10933 prototype.
10934 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
10935 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
10936 * math/auto-libm-test-in: Add tests of mul.
10937 * math/auto-libm-test-out-narrow-mul: New generated file.
10938 * math/libm-test-narrow-mul.inc: New file.
10939 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
10940 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
10941 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
10942 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
10943 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
10944 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
10945 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
10946 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
10947 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
10948 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
10949 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
10950 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
10951 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
10952 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
10953 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
10954 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
10955 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
10956 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
10957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10958 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10959 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10960 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10961 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10962 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10963 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10964 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10965 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10966 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10967 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10968 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10969 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10970 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10975 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10976 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10977 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10978 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10979 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10980 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10981 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10982 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10983
10984 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10985
10986 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
10987 with *%eax in call.
10988
10989 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10990
10991 * sysdeps/i386/ldsodefs.h: Removed.
10992 * sysdeps/x86_64/ldsodefs.h: Moved to ...
10993 * sysdeps/x86/ldsodefs.h: This.
10994 (La_i86_regs): New.
10995 (La_i86_retval): Likewise.
10996 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
10997 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
10998
10999 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11000
11001 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
11002 unnecessary testl.
11003
11004 2018-05-13 Alan Modra <amodra@gmail.com>
11005
11006 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
11007 R_PARISC_TLS_DTPOFF32 reloc addend.
11008
11009 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11010
11011 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
11012 * math/math.h: Restrict the prototype definition for the functions
11013 issignaling(_Float128) and iszero(_Float128); and template
11014 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
11015 __HAVE_FLOAT128_UNLIKE_LDBL.
11016 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
11017 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
11018 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
11019 __f128() constants; define the type _Float128 as long double;
11020 and reuse long double in __CFLOAT128.
11021
11022 2018-05-11 Joseph Myers <joseph@codesourcery.com>
11023
11024 * sysdeps/generic/math_private.h: Do not include
11025 <math-barriers.h>.
11026 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
11027 <math_private.h>.
11028 * math/fromfp.h: Include <math-barriers.h>.
11029 * math/math-narrow.h: Likewise.
11030 * math/s_nextafter.c: Likewise.
11031 * math/s_nexttowardf.c: Likewise.
11032 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11033 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11034 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11035 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11036 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11037 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11038 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11039 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11040 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11041 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11042 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11043 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11044 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11045 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11046 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11047 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11048 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11049 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11050 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11051 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11052 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11053 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11054 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11055 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11056 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11057 * sysdeps/ieee754/k_standardl.c: Likewise.
11058 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11059 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11060 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11061 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11062 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11063 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11064 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11065 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11066 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11067 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11068 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11069 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11070 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11071 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11072 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11073 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11074 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11075 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11076 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11077 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11078 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
11079 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
11080
11081 2018-05-11 Florian Weimer <fweimer@redhat.com>
11082
11083 Use 64-bit epoch values in the time zone file parser.
11084 * include/time.h (internal_time_t): Define.
11085 (__tzfile_compute): Use it.
11086 * time/tzfile.c (struct leap): Use internal_time_t for epoch
11087 member.
11088 (transitions): Switch to internal_time_t.
11089 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
11090 types.
11091 (__tzfile_compute): Use internal_time_t for timer argument. Check
11092 for truncation before calling __offtime.
11093
11094 2018-05-11 Florian Weimer <fweimer@redhat.com>
11095
11096 [BZ #23166]
11097 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
11098 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
11099 Likewise.
11100 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
11101 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
11102 export without --enable-obsolete-rpc.
11103 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
11104 symbol. This should not have been exported, ever.
11105
11106 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
11107
11108 [BZ #23152]
11109 * localedata/locales/gd_GB (abmon): Fix typo in May:
11110 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
11111
11112 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11113
11114 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11115 Use multiple registers to copy data in loop tail.
11116
11117 * sysdeps/aarch64/multiarch/memmove_falkor.S
11118 (__memmove_falkor): Use multiple registers to move data in
11119 loop tail.
11120
11121 2018-05-10 Joseph Myers <joseph@codesourcery.com>
11122
11123 * math/math-underflow.h: New file.
11124 * sysdeps/generic/math_private.h: Do not include <float.h>.
11125 (fabs_tg): Remove macro. Moved to math-underflow.h.
11126 (min_of_type_f): Likewise.
11127 (min_of_type_): Likewise.
11128 (min_of_type_l): Likewise.
11129 (min_of_type_f128): Likewise.
11130 (min_of_type): Likewise.
11131 (math_check_force_underflow): Likewise.
11132 (math_check_force_underflow_nonneg): Likewise.
11133 (math_check_force_underflow_complex): Likewise.
11134 * math/e_exp2_template.c: Include <math-underflow.h>.
11135 * math/k_casinh_template.c: Likewise.
11136 * math/s_catan_template.c: Likewise.
11137 * math/s_catanh_template.c: Likewise.
11138 * math/s_ccosh_template.c: Likewise.
11139 * math/s_cexp_template.c: Likewise.
11140 * math/s_clog10_template.c: Likewise.
11141 * math/s_clog_template.c: Likewise.
11142 * math/s_csin_template.c: Likewise.
11143 * math/s_csinh_template.c: Likewise.
11144 * math/s_csqrt_template.c: Likewise.
11145 * math/s_ctan_template.c: Likewise.
11146 * math/s_ctanh_template.c: Likewise.
11147 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11148 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11149 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11150 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11151 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11152 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11153 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11154 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11155 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11156 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11157 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11158 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11159 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11160 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11161 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11162 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11163 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11164 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11165 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11166 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11167 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11168 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11169 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11170 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11171 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11172 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11173 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11174 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11175 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11176 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11177 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11178 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11179 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11180 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11181 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11182 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11183 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11184 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11185 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11186 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11187 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11188 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11189 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11190 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11191 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11192 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11193 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11194 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11195 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11196 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11197 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11198 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11199 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11200 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11201 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11202 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11203 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11204 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11205 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11206 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11207 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11208 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11209 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11210 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11211 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11212 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11213 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11214 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11215 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11216 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11217 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11218 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11219 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11220 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
11221 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11222 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11223 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11224 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11225 * sysdeps/x86/fpu/powl_helper.c: Likewise.
11226 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
11227 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
11228 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11229 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
11230 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
11231
11232 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11233
11234 * sysdeps/generic/math-barriers.h: New file.
11235 * sysdeps/generic/math_private.h [!math_opt_barrier]
11236 (math_opt_barrier): Move to math-barriers.h.
11237 [!math_opt_barrier] (math_force_eval): Likewise.
11238 * sysdeps/aarch64/fpu/math-barriers.h: New file.
11239 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
11240 math-barriers.h.
11241 (math_force_eval): Likewise.
11242 * sysdeps/alpha/fpu/math-barriers.h: New file.
11243 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
11244 math-barriers.h.
11245 (math_force_eval): Likewise.
11246 * sysdeps/x86/fpu/math-barriers.h: New file.
11247 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
11248 math-barriers.h.
11249 (math_force_eval): Likewise.
11250 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
11251 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
11252 multiple-include guard for rename.
11253 * sysdeps/powerpc/fpu/math-barriers.h: New file.
11254 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
11255 math-barriers.h.
11256 (math_force_eval): Likewise.
11257
11258 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
11259
11260 [BZ #22786]
11261 CVE-2018-11236
11262 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
11263 computation.
11264 * stdlib/Makefile (test-bz22786): New test.
11265 * stdlib/test-bz22786.c: New test.
11266
11267 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11268
11269 * include/math-narrow-eval.h: New file. Contents moved from ....
11270 * sysdeps/generic/math_private.h: ... here.
11271 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
11272 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11273 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
11274 * stdlib/strtod_l.c: Likewise.
11275 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11276 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11277 * sysdeps/i386/fpu/s_fdim.c: Likewise.
11278 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11279 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11280 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11281 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11282 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11283 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11284 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11285 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11286 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11287 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11288 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11289 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11290 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11291 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11292 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11293 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11294 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11295 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11296 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11297 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11298 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11299 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11300 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11301 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11302 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11303 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11304
11305 2018-05-08 Andreas Schwab <schwab@suse.de>
11306
11307 * sysdeps/nptl/internaltypes.h: Fix comment.
11308
11309 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
11310
11311 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11312 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
11313 hidden.
11314
11315 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11316
11317 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
11318 of I into loop header.
11319 * benchtests/bench-memmove-walk.c
11320 (test_main): Likewise.
11321
11322 2018-05-07 Alexandre Oliva <oliva@gnu.org>
11323
11324 Revert:
11325 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11326 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11327
11328 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11329
11330 [BZ #20419]
11331 * elf/dl-load.c (open_verify): Fix stack overflow.
11332 * elf/Makefile (tst-big-note): New test.
11333 * elf/tst-big-note-lib.S: New.
11334 * elf/tst-big-note.c: New.
11335
11336 2018-05-04 Joseph Myers <joseph@codesourcery.com>
11337
11338 * scripts/abilist.awk: Ignore absolute symbols.
11339 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
11340 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
11341 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
11342 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
11343 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
11344 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
11345 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11346 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
11347 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
11348 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
11349 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
11350 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
11351 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
11352 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
11353 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
11354 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11355 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
11356 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
11357 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11358 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
11359 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11360 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
11361 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
11362 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
11363 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
11364 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
11365 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
11366 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
11367 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11368 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
11369 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
11370 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11371 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
11372 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11373 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
11374 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
11375 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
11376 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
11377 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
11378 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
11379 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
11380 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11381 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
11382 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
11383 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11384 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
11385 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11386 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
11387 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
11388 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
11389 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
11390 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
11391 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
11392 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
11393 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11394 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
11395 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
11396 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11397 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
11398 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11399 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
11400 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
11401 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
11402 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
11403 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
11404 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
11405 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
11406 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11407 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
11408 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
11409 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11410 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
11411 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11412 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
11413 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
11414 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
11415 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
11416 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
11417 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
11418 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
11419 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11420 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
11421 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
11422 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11423 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
11424 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11425 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
11426 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
11427 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
11428 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
11429 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
11430 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11431 Likewise.
11432 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
11433 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11434 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
11435 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
11436 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11437 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
11438 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11439 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
11440 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
11441 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
11442 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
11443 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
11444 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11445 Likewise.
11446 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
11447 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11448 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
11449 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
11450 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11451 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
11452 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11453 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
11454 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
11455 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
11456 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
11457 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
11458 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
11459 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
11460 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11461 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
11462 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
11463 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11464 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
11465 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11466 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
11467 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
11468 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
11469 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
11470 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11471 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
11472 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
11473 Likewise.
11474 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
11475 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
11476 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
11477 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
11478 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11479 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
11480 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
11481 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
11482 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
11483 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
11484 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
11485 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
11486 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
11487 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11488 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
11489 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
11490 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
11491 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
11492 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11493 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
11494 Likewise.
11495 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
11496 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
11497 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
11498 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11499 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
11500 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11501 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
11502 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
11503 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
11504 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
11505 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11506 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
11507 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
11508 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11509 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
11510 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
11511 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
11512 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
11513 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11514 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
11515 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
11516 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11517 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
11518 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11519 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
11520 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
11521 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
11522 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
11523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
11524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
11526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11527 Likewise.
11528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
11529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
11530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
11531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
11532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11533 Likewise.
11534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
11535 Likewise.
11536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
11537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11538 Likewise.
11539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
11540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11541 Likewise.
11542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11543 Likewise.
11544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11547 Likewise.
11548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11549 Likewise.
11550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
11551 Likewise.
11552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
11553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11556 Likewise.
11557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
11558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
11559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
11560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
11563 Likewise.
11564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
11565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11566 Likewise.
11567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11568 Likewise.
11569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11570 Likewise.
11571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
11572 Likewise.
11573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
11574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
11575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11576 Likewise.
11577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11578 Likewise.
11579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11580 Likewise.
11581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
11582 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
11583 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
11584 Likewise.
11585 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
11586 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11587 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
11588 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
11589 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11590 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
11591 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11592 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
11593 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
11594 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
11595 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
11596 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
11597 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
11598 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
11599 Likewise.
11600 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11601 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
11602 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
11603 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11604 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
11605 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11606 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
11607 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
11608 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
11609 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
11610 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
11611 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
11612 Likewise.
11613 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11614 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
11615 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
11616 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11617 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
11618 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11619 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
11620 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
11621 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
11622 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
11623 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
11624 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
11625 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
11626 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11627 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
11628 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
11629 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11630 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
11631 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11632 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
11633 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
11634 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
11635 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
11636 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
11637 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
11638 Likewise.
11639 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
11640 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11641 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
11642 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
11643 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11644 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
11645 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11646 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
11647 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
11648 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
11649 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
11650 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
11651 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
11652 Likewise.
11653 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
11654 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11655 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
11656 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
11657 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11658 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
11659 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11660 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
11661 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
11662 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
11663 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
11664 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
11665 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
11666 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
11667 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11668 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
11669 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
11670 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11671 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
11672 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11673 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
11674 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
11675 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
11676 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
11677 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
11678 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
11679 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
11680 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
11681 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11682 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
11683 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
11684 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11685 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
11686 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11687 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
11688 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
11689 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
11690 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
11691
11692 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
11693
11694 [BZ #23137]
11695 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
11696 Use atomic_load_acquire to load __tid.
11697
11698 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11699
11700 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
11701 Restore the pointer into %rdx, after syscall and use %rdx,
11702 instead of %rsi, to restore context.
11703
11704 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11705
11706 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
11707 Pop the pointer into %rdx after syscall and use %rdx, instead
11708 of %rsi, to restore context.
11709
11710 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11711
11712 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
11713 handlers after setjmp.
11714 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
11715 defined.
11716 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
11717 <libc-pointer-arith.h>.
11718 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
11719 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
11720 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
11721 _JUMP_BUF_SIGSET_BITS_PER_WORD.
11722 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
11723 * sysdeps/x86/__longjmp_cancel.S: New file.
11724 * sysdeps/x86/longjmp.c: Likewise.
11725 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
11726
11727 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11728
11729 * NEWS: Add ustat.h deprecation entry.
11730 * bits/ustat.h: Remove file.
11731 * misc/sys/ustat.h: Likewise.
11732 * misc/ustat.h: Likewise.
11733 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
11734 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
11735 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
11736 compatibility mode.
11737 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
11738 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
11739 generic Linux implementation.
11740
11741 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11742
11743 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
11744 * math/w_expl_compat.c: Likewise.
11745 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
11746
11747 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11748
11749 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11750
11751 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11752
11753 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
11754 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
11755 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
11756 Remove.
11757 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
11758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11759 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11760 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
11761 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
11762 and SYSCALL_LL64.
11763
11764 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11765
11766 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
11767
11768 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
11769 * math/w_asin_template.c: Likewise.
11770 * math/w_atanh_template.c: Likewise.
11771
11772 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11773
11774 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
11775 to powerpc/powerpc64/be for big-endian.
11776 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
11777 little-endian.
11778
11779 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
11780 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
11781 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
11782 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
11783 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11784 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
11785 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
11786 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
11787 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
11788 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11789 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
11790 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
11791 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
11792 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
11793 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
11794 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
11795 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
11796 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
11797 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
11798 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
11799 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
11800 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11801 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
11802 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
11803 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
11804 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11805 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
11806 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
11807 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
11808 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
11809 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
11810 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
11811
11812 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
11813 adjusted to imply powerpc64 and older processors on powerpc64/be.
11814 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
11815 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
11816 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
11817 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
11818 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
11819 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
11820 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
11821 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
11822 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
11823 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
11824 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
11825 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
11826 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
11827 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
11828 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
11829 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
11830 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
11831 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
11832 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
11833 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
11834 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
11835 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
11836 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
11837 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
11838 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
11839 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
11840 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
11841 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
11842 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
11843 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
11844 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
11845
11846 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
11847 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
11848 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
11849 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
11850
11851 * sysdeps/powerpc/powerpc64/be/Implies: New file.
11852 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
11853 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
11854 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
11855
11856 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
11857 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
11858 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
11859 * sysdeps/powerpc/powerpc64le/configure: Likewise.
11860 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
11861 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
11862 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
11863 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
11864 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
11865 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
11866 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
11867
11868 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
11869 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
11870 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
11871 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
11872 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
11873 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
11874 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
11875 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
11876 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
11877 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
11878 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
11879
11880 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
11881 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
11882 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
11883 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
11884 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
11885 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
11886 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
11887 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
11888 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
11889 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
11890 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
11891 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
11892
11893 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
11894 and adjusted to imply olders processors.
11895 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
11896 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
11897 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
11898 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
11899 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
11900 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
11901 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
11902 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
11903 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
11904 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
11905 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
11906
11907 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
11908 powerpc64/le.
11909 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
11910 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
11911
11912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
11913 powerpc64le.
11914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
11915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
11916
11917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
11918 powerpc64/be.
11919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
11921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
11922
11923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
11924 powerpc64 and adjusted.
11925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
11926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
11927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
11928 Likewise.
11929
11930 2018-04-27 Joseph Myers <joseph@codesourcery.com>
11931
11932 * sysdeps/tile: Remove.
11933 * sysdeps/unix/sysv/linux/tile: Likewise.
11934 * README (tilegx-*-linux-gnu): Remove from list of supported
11935 configurations.
11936 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
11937 contribution of support for generic Linux kernel syscall
11938 interface.
11939 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
11940 tilegx configurations.
11941 (Config.install_linux_headers): Do not handle tile.
11942 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
11943 in comment.
11944 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
11945 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
11946 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11947 conditional undefine and redefine.
11948 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
11949 in comment.
11950 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11951 conditional undefine and redefine.
11952
11953 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
11954
11955 * signal/tst-sigaction.c: New file to test BZ #23069.
11956 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
11957
11958 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11959
11960 [BZ #22766]
11961 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
11962 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
11963 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
11964 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11965
11966 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11967
11968 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
11969 _DIRENT_MATCHES_DIRENT64 is not defined.
11970 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
11971 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
11972 is defined.
11973 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
11974 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
11975
11976 2018-04-25 Joseph Myers <joseph@codesourcery.com>
11977
11978 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
11979 version to GCC 8 branch.
11980
11981 2018-04-24 Joseph Myers <joseph@codesourcery.com>
11982
11983 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
11984 (check_no_hidden): Use type of original function when declaring
11985 alias.
11986
11987 * sysdeps/unix/sysv/linux/sys/ptrace.h
11988 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
11989 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
11990 (struct __ptrace_seccomp_metadata): New type.
11991 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11992 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11993 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
11994 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11995 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
11996 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11997 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11998 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11999 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
12000 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12001 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
12002 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12003 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
12004 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12005 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
12006 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12007
12008 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12009
12010 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
12011 defined.
12012 * dirent/versionsort.c (versionsort): Likewise.
12013 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
12014 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
12015 * dirent/versionsort64.c (versionsort64): Likewise.
12016 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
12017 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
12018 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
12019 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
12020 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
12021 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
12022 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
12023 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
12024 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
12025 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
12026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
12027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
12028 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
12029 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
12030
12031 2018-04-23 Joseph Myers <joseph@codesourcery.com>
12032
12033 * elf/elf.h (NT_PPC_PKEY): New macro.
12034
12035 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
12036
12037 [BZ #23094]
12038 * localedata/locales/hr_HR: fix thousands_sep and
12039 mon_thousands_sep
12040
12041 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12042
12043 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
12044 (XTABS): Define to TAB3.
12045
12046 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12047
12048 * sysdeps/hppa/fpu/libm-test-ulps: Update.
12049
12050 * dirent/scandir-tail-common.c: New file.
12051 * dirent/scandir-tail.c: Use scandir-tail-common.c.
12052 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
12053 * dirent/scandir.c: Use scandir-tail-common.c.
12054 * dirent/scandirat.c: Likewise.
12055 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
12056 * dirent/scandir64.c (scandir64): Always build and alias to scandir
12057 if _DIRENT_MATCHES_DIRENT64 is defined.
12058 * dirent/scandirat64.c (scandirat64): Likewise.
12059 * include/dirent.h (__scandir_tail): Only define iff
12060 _DIRENT_MATCHES_DIRENT64 is not defined.
12061 (__scandir64_tail): Define regardless.
12062 (__scandirat, scandirat64): Remove libc_hidden_proto.
12063 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
12064 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
12065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
12066 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
12067 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12068 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
12069 * sysdeps/unix/sysv/linux/scandir64.c: New file.
12070
12071 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12072
12073 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
12074 New macro.
12075 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12076 Increase to 24.
12077 (_dl_aarch64_cap_flags): Add asimdfhm.
12078
12079 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
12080
12081 * sysdeps/nios2/libm-test-ulps: Update.
12082
12083 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12084
12085 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
12086 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
12087
12088 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
12089 requirements.
12090 (_DIRENT_MATCHES_DIRENT64): Undef
12091 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
12092 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
12093 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
12094 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
12095 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
12096 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
12097 use getdents64 syscalls as base.
12098 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
12099 symbol if required.
12100 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
12101 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
12102 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
12103 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
12104 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
12105 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
12106 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
12107 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
12108 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12109 (__get_clockfreq_via_proc_openprom): Use __getdents64.
12110 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
12111
12112 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12113
12114 * scripts/test_printers_common.py (init_test): Disable lock elision.
12115
12116 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12117
12118 * math/test-tgmath.c (count_double, count_float,
12119 count_ldouble, count_cdouble, count_cfloat,
12120 count_cldouble): Use volatile int.
12121
12122 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
12123
12124 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
12125 (conformtest-xfail-conds): Add i386-gnu.
12126 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
12127 i386-gnu.
12128 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
12129 ipc_perm.cuid, ipc_perm.cgid): Likewise.
12130 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
12131 msqid_ds.msg_lrpid): Likewise.
12132 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
12133 Likewise.
12134 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
12135 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
12136 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
12137 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
12138 unsigned int.
12139 (struct statvfs64): Likewise.
12140 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
12141 Likewise.
12142 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
12143 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
12144 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
12145 instead of wait_queue.
12146 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
12147 instead of vm_area_struct.
12148 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
12149 struct sched_param definition to it.
12150 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12151 * bits/types/struct_sched_param.h: New file.
12152 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
12153 <bits/types/struct_sched_param.h> instead of <sched.h>.
12154 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
12155 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
12156 generic version but include <bits/pthreadtypes.h> to make struct
12157 sigevent's sigev_notify_attributes field a pthread_attr_t*.
12158 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
12159 non-compliant.
12160 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
12161 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
12162 [__USE_XOPEN] (OFDEL): New macro.
12163 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
12164 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
12165 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
12166 prototypes.
12167 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
12168 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
12169 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
12170 non-compliant.
12171 * sysdeps/i386/sys/ucontext.h: Likewise.
12172 * sysdeps/m68k/sys/ucontext.h: Likewise.
12173 * sysdeps/mips/sys/ucontext.h: Likewise.
12174 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
12175 * sysdeps/mach/hurd/i386/Makefile
12176 (test-xfail-POSIX/fcntl.h/conform): Add.
12177 (test-xfail-POSIX/signal.h/conform): Add.
12178 (test-xfail-POSIX/semaphore.h/conform): Add.
12179 (test-xfail-POSIX/regex.h/conform): Add.
12180 (test-xfail-POSIX/aio.h/conform): Add.
12181 (test-xfail-POSIX/mqueue.h/conform): Add.
12182 (test-xfail-POSIX/sys/types.h/conform): Add.
12183 (test-xfail-UNIX98/fcntl.h/conform): Add.
12184 (test-xfail-UNIX98/netdb.h/conform): Add.
12185 (test-xfail-UNIX98/signal.h/conform): Add.
12186 (test-xfail-UNIX98/semaphore.h/conform): Add.
12187 (test-xfail-UNIX98/regex.h/conform): Add.
12188 (test-xfail-UNIX98/aio.h/conform): Add.
12189 (test-xfail-UNIX98/ftw.h/conform): Add.
12190 (test-xfail-UNIX98/mqueue.h/conform): Add.
12191 (test-xfail-UNIX98/netinet/in.h/conform): Add.
12192 (test-xfail-UNIX98/sys/wait.h/conform): Add.
12193 (test-xfail-UNIX98/sys/sem.h/conform): Add.
12194 (test-xfail-UNIX98/sys/uio.h/conform): Add.
12195 (test-xfail-UNIX98/sys/socket.h/conform): Add.
12196 (test-xfail-UNIX98/sys/types.h/conform): Add.
12197 (test-xfail-UNIX98/stdlib.h/conform): Add.
12198 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
12199 (test-xfail-POSIX2008/fcntl.h/conform): Add.
12200 (test-xfail-POSIX2008/netdb.h/conform): Add.
12201 (test-xfail-POSIX2008/signal.h/conform): Add.
12202 (test-xfail-POSIX2008/semaphore.h/conform): Add.
12203 (test-xfail-POSIX2008/regex.h/conform): Add.
12204 (test-xfail-POSIX2008/aio.h/conform): Add.
12205 (test-xfail-POSIX2008/mqueue.h/conform): Add.
12206 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
12207 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
12208 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
12209 (test-xfail-POSIX2008/sys/types.h/conform): Add.
12210 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
12211 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
12212 (test-xfail-XOPEN2K/netdb.h/conform): Add.
12213 (test-xfail-XOPEN2K/signal.h/conform): Add.
12214 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
12215 (test-xfail-XOPEN2K/regex.h/conform): Add.
12216 (test-xfail-XOPEN2K/aio.h/conform): Add.
12217 (test-xfail-XOPEN2K/ftw.h/conform): Add.
12218 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
12219 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
12220 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
12221 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
12222 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
12223 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
12224 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
12225 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
12226 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
12227 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
12228 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
12229 (test-xfail-XOPEN2K8/signal.h/conform): Add.
12230 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
12231 (test-xfail-XOPEN2K8/regex.h/conform): Add.
12232 (test-xfail-XOPEN2K8/aio.h/conform): Add.
12233 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
12234 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
12235 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
12236 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
12237 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
12238 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
12239 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
12240 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
12241 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
12242 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
12243 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
12244 i386-gnu.
12245 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
12246 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
12247
12248 2018-04-18 Joseph Myers <joseph@codesourcery.com>
12249
12250 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
12251 --enable-obsolete for powerpc-linux-gnuspe.
12252
12253 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12254
12255 * conform/data/sys/un.h-data: Allow sun_ prefix.
12256 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
12257 prototypes.
12258 * sysdeps/mach/include/mach.h: Likewise.
12259 * sysdeps/mach/include/mach/mig_support.h: Likewise.
12260 * sysdeps/mach/include/mach_error.h: Likewise.
12261
12262 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12263
12264 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
12265 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
12266 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
12267 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
12268
12269 2018-04-16 Andreas Schwab <schwab@suse.de>
12270
12271 [BZ #19527]
12272 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
12273
12274 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
12275
12276 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
12277 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
12278
12279 2018-04-12 DJ Delorie <dj@redhat.com>
12280
12281 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12282 version to 4.16.
12283
12284 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12285
12286 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
12287 (struct kernel_sigaction): Use the same definition on 31bit as is used
12288 on 64bit.
12289
12290 2018-04-09 Florian Weimer <fweimer@redhat.com>
12291
12292 [BZ #23037]
12293 * resolv/res_send.c (send_dg): Use designated initializers instead
12294 of assignment to zero-initialize other fields of struct mmsghdr.
12295
12296 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12297
12298 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
12299 __READDIR_ALIAS): Undefine after usage.
12300 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
12301 __READDIR_R_ALIAS): Likewise.
12302 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
12303 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
12304 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
12305 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
12306 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
12307 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
12308 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12309 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12310 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
12311 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
12312 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
12313 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
12314 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12315 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
12316 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
12317 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
12318 * sysdeps/unix/sysv/linux/readdir.c: New file.
12319 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
12320 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
12321 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
12322
12323 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12324
12325 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
12326
12327 * manual/charset.texi (Converting a Character): Fix typo.
12328
12329 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12330
12331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12332
12333 * sysdeps/arm/libm-test-ulps: Update.
12334
12335 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
12336 as base implementation.
12337 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12338 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12339 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12340 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12341 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12342 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
12343 remove unrequired definitions and update comments.
12344 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
12345 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
12346 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
12347 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
12348 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
12349 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
12350 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
12351 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
12352 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
12353 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
12354 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
12355 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12356 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12357 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
12358 and RESET_SA_RESTORER hooks.
12359
12360 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
12361
12362 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12363
12364 2018-04-05 Florian Weimer <fweimer@redhat.com>
12365
12366 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
12367 integer overflow, memory leak on error, and indeterminate errno
12368 value. Add a null wide character to terminate the result string.
12369 * manual/charset.texi (Converting a Character): Mention embedded
12370 null bytes in the mbrtowc input string. Explain what happens in
12371 the -2 result case. Do not claim that mbrtowc is simple or
12372 obvious to use. Adjust the description of the code example. Use
12373 @code, not @var, for concrete variables.
12374
12375 2018-04-05 Florian Weimer <fweimer@redhat.com>
12376
12377 * manual/examples/mbstouwcs.c: New file.
12378 * manual/charset.texi (Converting a Character): Include it.
12379
12380 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
12381
12382 * include/dirent.h (dirfd): Add hidden proto.
12383 * dirent/dirfd.c (dirfd): Add hidden def.
12384 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
12385 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
12386
12387 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12388
12389 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
12390 sin, cos and sincos to 1 ULP.
12391
12392 2018-04-04 Maciej W. Rozycki <macro@mips.com>
12393
12394 [BZ #19818]
12395 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
12396 symbols.
12397 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
12398 * elf/tst-absolute-sym.c: New file.
12399 * elf/tst-absolute-sym-lib.c: New file.
12400 * elf/tst-absolute-sym-lib.lds: New file.
12401 * elf/Makefile (tests): Add `tst-absolute-sym'.
12402 (modules-names): Add `tst-absolute-sym-lib'.
12403 (LDLIBS-tst-absolute-sym-lib.so): New variable.
12404 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
12405 ($(objpfx)tst-absolute-sym): New dependency.
12406
12407 [BZ #19818]
12408 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
12409 parameter.
12410 (SYMBOL_ADDRESS): New macro.
12411 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
12412 SYMBOL_ADDRESS for symbol address calculation.
12413 * elf/dl-runtime.c (_dl_fixup): Likewise.
12414 (_dl_profile_fixup): Likewise.
12415 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
12416 * elf/rtld.c (dl_main): Likewise.
12417 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
12418 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
12419 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
12420 (elf_machine_rela): Likewise.
12421 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
12422 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
12423 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12424 (elf_machine_rela): Likewise.
12425 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12426 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
12427 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
12428 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
12429 Likewise.
12430 (elf_machine_reloc): Likewise.
12431 (elf_machine_got_rel): Likewise.
12432 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
12433 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
12434 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12435 Likewise.
12436 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12437 Likewise.
12438 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
12439 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12440 Likewise.
12441 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12442 Likewise.
12443 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12444 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12445 Likewise.
12446 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12447 Likewise.
12448 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
12449 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12450
12451 2018-04-04 Zack Weinberg <zackw@panix.com>
12452
12453 * sysdeps/generic/internal-signals.h: Include signal.h,
12454 sigsetops.h, and stdbool.h.
12455 (__libc_signal_block_all): Actually block all signals.
12456 (__libc_signal_block_app): Likewise.
12457 (__libc_signal_restore_set): Actually restore the signal mask.
12458
12459 2018-04-04 Florian Weimer <fweimer@redhat.com>
12460
12461 inet: Actually build and run tst-deadline.
12462 * inet/Makefile (tests-internal): Add tst-deadline and do not
12463 overwrite the variable.
12464 (tests-static-internal): Remove variable.
12465
12466 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
12467
12468 [BZ #22947]
12469 * bits/uio-ext.h (RWF_APPEND): New.
12470 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
12471 * manual/llio.texi: Document RWF_APPEND.
12472 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
12473 (RWF_SUPPORTED): Add RWF_APPEND.
12474
12475 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12476
12477 [BZ #22391]
12478 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
12479 check for internal nptl signals.
12480 * nptl/sigaction.c (__sigaction): Likewise.
12481 * signal/sigaddset.c (sigaddset): Likewise.
12482 * signal/sigdelset.c (sigdelset): Likewise.
12483 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12484 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
12485 value.
12486 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
12487 to filter out internal nptl signals.
12488 * signal/tst-sigset.c (do_test): Check ech signal indidually and
12489 also check realtime signals using standard macros.
12490 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
12491 __is_internal_signal, __libc_signal_block_all,
12492 __libc_signal_block_app, __libc_signal_restore_set): New functions.
12493 * sysdeps/nptl/sigfillset.c: Remove file.
12494 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
12495 Change return to bool.
12496 (__clear_internal_signals): Remove SIGTIMER clean since it is
12497 equal to SIGCANEL on Linux.
12498 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
12499 signal set was constructed using standard functions.
12500
12501 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
12502
12503 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
12504 ifname is too long.
12505 * hurd/hurdsig.c (interrupted_reply_port_location): Use
12506 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
12507 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
12508 hidden def.
12509 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
12510 * signal/sigaddset.c: Include <sigsetopts.h>.
12511 * signal/sigdelset.c: Likewise.
12512
12513 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12514
12515 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
12516 (__cos): Likewise.
12517 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
12518 logic as sin and cos.
12519
12520 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12521
12522 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
12523 inputs. Return correct sign.
12524 (do_sincos): Remove small input check before do_sin, let do_sin set
12525 the sign.
12526 (__sin): Likewise.
12527 (__cos): Likewise.
12528
12529 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12530
12531 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
12532 (do_cos_slow): Likewise.
12533 (do_sin_slow): Likewise.
12534 (reduce_and_compute): Likewise.
12535 (slow): Likewise.
12536 (slow1): Likewise.
12537 (slow2): Likewise.
12538 (sloww): Likewise.
12539 (sloww1): Likewise.
12540 (sloww2): Likewise.
12541 (bslow): Likewise.
12542 (bslow1): Likewise.
12543 (bslow2): Likewise.
12544 (cslow2): Likewise.
12545
12546 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12547
12548 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
12549 (do_cos): Remove corp parameter and calculations.
12550 (do_sin): Likewise.
12551 (do_sincos): Remove cor variable.
12552 (__sin): Use do_sincos for huge inputs.
12553 (__cos): Likewise.
12554 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12555 (reduce_and_compute_sincos): Remove unused function.
12556
12557 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12558
12559 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
12560 reduce_sincos, improve accuracy to 136 bits.
12561 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
12562 (__sin): Use improved reduction and simplified do_sincos calculation.
12563 (__cos): Likewise.
12564 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12565
12566 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12567
12568 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
12569 (do_sincos_2): Likewise.
12570 (__sin): Remove middle range reduction case.
12571 (__cos): Likewise.
12572 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
12573 reduction case.
12574
12575 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12576
12577 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
12578 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
12579 inputs.
12580 (__cos): Likewise.
12581 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
12582
12583 2018-04-03 Joseph Myers <joseph@codesourcery.com>
12584
12585 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12586 version to 4.16
12587
12588 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12589
12590 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
12591 Remove definitions.
12592 (opendir_oflags): Use O_DIRECTORY regardless.
12593 (__opendir, __opendirat): Remove need_isdir_precheck usage.
12594 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
12595
12596 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12597
12598 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
12599 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
12600 macros.
12601 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
12602 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
12603 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
12604 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
12605 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
12606 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
12607
12608 * htl/Makefile: Bump licence to LGPL 2.1+.
12609 * htl/alloca_cutoff.c: Likewise.
12610 * htl/cthreads-compat.c: Likewise.
12611 * htl/lockfile.c: Likewise.
12612 * htl/pt-alloc.c: Likewise.
12613 * htl/pt-cancel.c: Likewise.
12614 * htl/pt-cleanup.c: Likewise.
12615 * htl/pt-create.c: Likewise.
12616 * htl/pt-dealloc.c: Likewise.
12617 * htl/pt-detach.c: Likewise.
12618 * htl/pt-exit.c: Likewise.
12619 * htl/pt-getattr.c: Likewise.
12620 * htl/pt-initialize.c: Likewise.
12621 * htl/pt-internal.h: Likewise.
12622 * htl/pt-join.c: Likewise.
12623 * htl/pt-self.c: Likewise.
12624 * htl/pt-setcancelstate.c: Likewise.
12625 * htl/pt-setcanceltype.c: Likewise.
12626 * htl/pt-sigmask.c: Likewise.
12627 * htl/pt-spin-inlines.c: Likewise.
12628 * htl/pt-testcancel.c: Likewise.
12629 * htl/pt-yield.c: Likewise.
12630 * htl/tests/test-1.c: Likewise.
12631 * htl/tests/test-10.c: Likewise.
12632 * htl/tests/test-11.c: Likewise.
12633 * htl/tests/test-12.c: Likewise.
12634 * htl/tests/test-13.c: Likewise.
12635 * htl/tests/test-14.c: Likewise.
12636 * htl/tests/test-15.c: Likewise.
12637 * htl/tests/test-16.c: Likewise.
12638 * htl/tests/test-17.c: Likewise.
12639 * htl/tests/test-2.c: Likewise.
12640 * htl/tests/test-3.c: Likewise.
12641 * htl/tests/test-4.c: Likewise.
12642 * htl/tests/test-5.c: Likewise.
12643 * htl/tests/test-6.c: Likewise.
12644 * htl/tests/test-7.c: Likewise.
12645 * htl/tests/test-8.c: Likewise.
12646 * htl/tests/test-9.c: Likewise.
12647 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
12648 * sysdeps/htl/bits/cancelation.h: Likewise.
12649 * sysdeps/htl/bits/pthread-np.h: Likewise.
12650 * sysdeps/htl/bits/pthread.h: Likewise.
12651 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
12652 * sysdeps/htl/bits/semaphore.h: Likewise.
12653 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
12654 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
12655 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
12656 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
12657 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
12658 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
12659 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
12660 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
12661 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
12662 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
12663 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
12664 * sysdeps/htl/old_pt-atfork.c: Likewise.
12665 * sysdeps/htl/pt-atfork.c: Likewise.
12666 * sysdeps/htl/pt-attr-destroy.c: Likewise.
12667 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
12668 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
12669 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
12670 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
12671 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
12672 * sysdeps/htl/pt-attr-getscope.c: Likewise.
12673 * sysdeps/htl/pt-attr-getstack.c: Likewise.
12674 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
12675 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
12676 * sysdeps/htl/pt-attr-init.c: Likewise.
12677 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
12678 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
12679 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
12680 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
12681 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
12682 * sysdeps/htl/pt-attr-setscope.c: Likewise.
12683 * sysdeps/htl/pt-attr-setstack.c: Likewise.
12684 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
12685 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
12686 * sysdeps/htl/pt-attr.c: Likewise.
12687 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
12688 * sysdeps/htl/pt-barrier-init.c: Likewise.
12689 * sysdeps/htl/pt-barrier-wait.c: Likewise.
12690 * sysdeps/htl/pt-barrier.c: Likewise.
12691 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
12692 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
12693 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
12694 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
12695 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
12696 * sysdeps/htl/pt-cond-destroy.c: Likewise.
12697 * sysdeps/htl/pt-cond-init.c: Likewise.
12698 * sysdeps/htl/pt-cond-signal.c: Likewise.
12699 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
12700 * sysdeps/htl/pt-cond-wait.c: Likewise.
12701 * sysdeps/htl/pt-cond.c: Likewise.
12702 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
12703 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
12704 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
12705 * sysdeps/htl/pt-condattr-init.c: Likewise.
12706 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
12707 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
12708 * sysdeps/htl/pt-destroy-specific.c: Likewise.
12709 * sysdeps/htl/pt-equal.c: Likewise.
12710 * sysdeps/htl/pt-getconcurrency.c: Likewise.
12711 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
12712 * sysdeps/htl/pt-getschedparam.c: Likewise.
12713 * sysdeps/htl/pt-getspecific.c: Likewise.
12714 * sysdeps/htl/pt-init-specific.c: Likewise.
12715 * sysdeps/htl/pt-key-create.c: Likewise.
12716 * sysdeps/htl/pt-key-delete.c: Likewise.
12717 * sysdeps/htl/pt-key.h: Likewise.
12718 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
12719 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
12720 * sysdeps/htl/pt-mutex-init.c: Likewise.
12721 * sysdeps/htl/pt-mutex-lock.c: Likewise.
12722 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
12723 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
12724 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
12725 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
12726 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
12727 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
12728 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
12729 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
12730 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
12731 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
12732 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
12733 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
12734 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
12735 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
12736 * sysdeps/htl/pt-mutexattr.c: Likewise.
12737 * sysdeps/htl/pt-once.c: Likewise.
12738 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
12739 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
12740 * sysdeps/htl/pt-rwlock-init.c: Likewise.
12741 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
12742 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
12743 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
12744 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
12745 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
12746 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
12747 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
12748 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
12749 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
12750 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
12751 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
12752 * sysdeps/htl/pt-setconcurrency.c: Likewise.
12753 * sysdeps/htl/pt-setschedparam.c: Likewise.
12754 * sysdeps/htl/pt-setschedprio.c: Likewise.
12755 * sysdeps/htl/pt-setspecific.c: Likewise.
12756 * sysdeps/htl/pt-spin.c: Likewise.
12757 * sysdeps/htl/pt-startup.c: Likewise.
12758 * sysdeps/htl/pthread.h: Likewise.
12759 * sysdeps/htl/sem-close.c: Likewise.
12760 * sysdeps/htl/sem-destroy.c: Likewise.
12761 * sysdeps/htl/sem-getvalue.c: Likewise.
12762 * sysdeps/htl/sem-init.c: Likewise.
12763 * sysdeps/htl/sem-open.c: Likewise.
12764 * sysdeps/htl/sem-post.c: Likewise.
12765 * sysdeps/htl/sem-timedwait.c: Likewise.
12766 * sysdeps/htl/sem-trywait.c: Likewise.
12767 * sysdeps/htl/sem-unlink.c: Likewise.
12768 * sysdeps/htl/sem-wait.c: Likewise.
12769 * sysdeps/hurd/htl/pt-kill.c: Likewise.
12770 * sysdeps/i386/htl/pt-machdep.h: Likewise.
12771 * sysdeps/mach/htl/pt-block.c: Likewise.
12772 * sysdeps/mach/htl/pt-spin.c: Likewise.
12773 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
12774 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
12775 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
12776 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
12777 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
12778 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
12779 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
12780 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
12781 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
12782 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
12783 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
12784 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
12785 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
12786 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
12787 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
12788 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
12789 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
12790 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
12791 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
12792 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
12793 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
12794 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
12795 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
12796 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
12797 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
12798 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
12799 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
12800 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
12801 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
12802 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
12803 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
12804 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
12805 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
12806 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
12807 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
12808 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
12809 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
12810 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
12811 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
12812 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
12813 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
12814 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
12815 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
12816
12817 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
12818 * README: Remove the mention of out-of-tree patches needed for
12819 GNU/Hurd.
12820
12821 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
12822 (UTIME_NOW, UTIME_OMIT): Define macros.
12823
12824 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
12825 instead of pthread_detach.
12826 (__cthread_fork): Call __pthread_create instead of pthread_create.
12827 (__cthread_keycreate): Call __pthread_key_create instead of
12828 pthread_key_create.
12829 (__cthread_getspecific): Call __pthread_getspecific instead of
12830 pthread_getspecific.
12831 (__cthread_setspecific): Call __pthread_setspecific instead of
12832 pthread_setspecific.
12833 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
12834 __pthread_mutex_unlock instead of pthread_mutex_lock and
12835 pthread_mutex_unlock.
12836 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
12837 ___pthread_get_cleanup_stack.
12838 (__pthread_get_cleanup_stack): New strong alias.
12839 * htl/pt-create.c: Include <pthreadP.h>.
12840 (entry_point): Call __pthread_exit instead of pthread_exit.
12841 (pthread_create): Rename to __pthread_create.
12842 (pthread_create): New strong alias.
12843 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
12844 (pthread_detach): New strong alias.
12845 (__pthread_detach): Call __pthread_cond_broadcast instead of
12846 pthread_cond_broadcast.
12847 * htl/pt-exit.c: Include <pthreadP.h>.
12848 (__pthread_exit): Call __pthread_setcancelstate and
12849 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
12850 __pthread_get_cleanup_stack.
12851 * htl/pt-testcancel.c: Include <pthreadP.h>.
12852 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
12853 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
12854 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
12855 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
12856 pthread_attr_getstacksize.
12857 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
12858 Rename to __pthread_attr_getstackaddr.
12859 (pthread_attr_getstackaddr): New strong alias.
12860 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
12861 Rename to __pthread_attr_getstacksize.
12862 (pthread_attr_getstacksize): New strong alias.
12863 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
12864 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
12865 (pthread_attr_setstack): New strong alias.
12866 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
12867 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
12868 pthread_attr_getstacksize, pthread_attr_setstacksize and
12869 pthread_attr_setstackaddr.
12870 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
12871 Rename to __pthread_attr_setstackaddr.
12872 (pthread_attr_setstackaddr): New strong alias.
12873 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
12874 Rename to __pthread_attr_setstacksize.
12875 (pthread_attr_setstacksize): New strong alias.
12876 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
12877 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
12878 pthread_exit.
12879 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
12880 (__pthread_key_create): New hidden def.
12881 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
12882 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
12883 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
12884 __pthread_exit, __pthread_key_create, __pthread_getspecific,
12885 __pthread_setspecific, __pthread_setcancelstate,
12886 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
12887 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
12888 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
12889 declarations.
12890 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
12891 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
12892 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
12893 (pthread_attr_setstackaddr): New strong alias.
12894 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
12895 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
12896 (pthread_attr_setstacksize): New strong alias.
12897 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
12898 (call_exit): Call __pthread_exit instead of pthread_exit.
12899 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
12900 (_pthread_mutex_init): New hidden definition.
12901 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
12902 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
12903 instead of pthread_attr_init and pthread_attr_setstack.
12904
12905 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
12906 __vm_deallocate instead of vm_allocate and vm_deallocate.
12907 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
12908 setenv.
12909 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
12910 of geteuid.
12911 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
12912 strdup.
12913 * hurd/siginfo.c: Include <libioP.h>.
12914 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
12915 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
12916 munmap.
12917 * mach/devstream.c: Include <libioP.h>.
12918 (dealloc_ref): Call __mach_port_deallocate instead of
12919 mach_port_deallocate.
12920 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
12921 Call __mach_port_deallocate instead of mach_port_deallocate.
12922 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
12923 pathconf.
12924 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
12925 munmap.
12926 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
12927 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
12928 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
12929 of munmap.
12930 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
12931 of close.
12932 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
12933 instead of sysconf.
12934 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
12935 __clock_gettime instead of clock_gettime.
12936 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
12937 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12938 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
12939 * sysdeps/unix/bsd/stty.c (stty): Likewise.
12940 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
12941 tcgetattr.
12942 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
12943 __clock_gettime and __nanosleep instead of clock_gettime and
12944 nanosleep.
12945 * hurd/catch-signal.c (hurd_catch_signal): Rename to
12946 __hurd_catch_signal.
12947 (hurd_catch_signal): New strong alias.
12948 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
12949 __hurd_catch_signal instead of hurd_catch_signal.
12950 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
12951 * hurd/hurdexec.c (_hurd_init): Add hidden def.
12952 * hurd/hurdinit.c (_hurd_init): Add hidden def.
12953 * hurd/hurdsig.c: Include <mach/mig_support.h>.
12954 (_hurd_thread_sigstate): Add hidden def.
12955 (_hurd_internal_post_signal): Use __mutex_unlock instead of
12956 mutex_unlock.
12957 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
12958 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
12959 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
12960 __hurd_file_name_path_lookup.
12961 (hurd_file_name_path_lookup): New strong alias.
12962 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
12963 hurd_file_name_path_lookup.
12964 * mach/errstring.c (mach_error_type): Add hidden def.
12965 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
12966 * mach/mutex-init.c (__mutex_init): Add hidden def.
12967 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
12968 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
12969 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
12970 * sysdeps/mach/hurd/getcwd.c
12971 (_hurd_canonicalize_directory_name_internal): Rename to
12972 __hurd_canonicalize_directory_name_internal.
12973 (_hurd_canonicalize_directory_name_internal): New strong alias.
12974 (__canonicalize_directory_name_internal, __getcwd): Call
12975 __hurd_canonicalize_directory_name_internal instead of
12976 _hurd_canonicalize_directory_name_internal.
12977 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
12978 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
12979 hidden defs.
12980 * sysdeps/hurd/include/hurd.h: New file.
12981 * sysdeps/hurd/include/hurd/fd.h: New file.
12982 * sysdeps/hurd/include/hurd/signal.h: New file.
12983 * sysdeps/mach/include/lock-intern.h: New file.
12984 * sysdeps/mach/include/mach.h: New file.
12985 * sysdeps/mach/include/mach/mig_support.h: New file.
12986 * sysdeps/mach/include/mach_error.h: New file.
12987 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
12988 prototype.
12989 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
12990 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
12991 _HEADER_H_HIDDEN_DEF macro.
12992 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
12993 _hurd_fd_error_signal): Add hidden prototype.
12994 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
12995 hidden def.
12996 * libio/iolibio.h (_IO_puts): New hidden prototype.
12997 * libio/ioputs.c (_IO_puts): New hidden def.
12998 * sysdeps/mach/hurd/localplt.data: New file.
12999
13000 2018-04-02 Agustina Arzille <avarzille@riseup.net>
13001 Amos Jeffries <squid3@treenet.co.nz>
13002 David Michael <fedora.dm0@gmail.com>
13003 Marco Gerards <marco@gnu.org>
13004 Marcus Brinkmann <marcus@gnu.org>
13005 Neal H. Walfield <neal@gnu.org>
13006 Pino Toscano <toscano.pino@tiscali.it>
13007 Richard Braun <rbraun@sceen.net>
13008 Roland McGrath <roland@gnu.org>
13009 Samuel Thibault <samuel.thibault@ens-lyon.org>
13010 Thomas DiModica <ricinwich@yahoo.com>
13011 Thomas Schwinge <tschwinge@gnu.org>
13012
13013 * htl: New directory.
13014 * sysdeps/htl: New directory.
13015 * sysdeps/hurd/htl: New directory.
13016 * sysdeps/i386/htl: New directory.
13017 * sysdeps/mach/htl: New directory.
13018 * sysdeps/mach/hurd/htl: New directory.
13019 * sysdeps/mach/hurd/i386/htl: New directory.
13020 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
13021 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
13022 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
13023
13024 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13025
13026 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
13027 signals in thread created for runing timers.
13028
13029 2018-04-01 Florian Weimer <fweimer@redhat.com>
13030
13031 * support/support_format_addrinfo.c (support_format_addrinfo):
13032 Include unknown error number in formatted result.
13033
13034 2018-03-29 Florian Weimer <fweimer@redhat.com>
13035
13036 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
13037 capture SIGBUS.
13038
13039 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13040
13041 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
13042 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
13043 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13044 (__ASSUME_CLONE_BACKWARDS): Define.
13045
13046 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
13047
13048 [BZ #23024]
13049 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
13050 early when linux sentinel value is set.
13051
13052 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13053
13054 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
13055
13056 2018-03-27 Andreas Schwab <schwab@suse.de>
13057
13058 [BZ #23005]
13059 * resolv/res_send.c (__res_context_send): Return ENOMEM if
13060 allocation of private copy of nsaddr_list fails.
13061
13062 2018-03-26 Joseph Myers <joseph@codesourcery.com>
13063
13064 [BZ #16552]
13065 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
13066 * sysdeps/unix/sysv/linux/umount.c: ... here.
13067 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
13068 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
13069 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
13070 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
13071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
13072 * sysdeps/unix/sysv/linux/umount.S: Likewise.
13073 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
13074
13075 2018-03-26 Andreas Schwab <schwab@suse.de>
13076
13077 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
13078 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
13079 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
13080 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
13081 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
13082 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
13083 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
13084 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
13085 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
13086 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
13087 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
13088 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
13089 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
13090 (R_RISCV_NUM): Define.
13091
13092 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
13093
13094 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
13095 TLS declaration of errno.
13096 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
13097 __libc_setup_tls.
13098 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
13099 (ARCH_SETUP_TLS): Likewise.
13100 * sysdeps/mach/hurd/libc-start.h: New file copied from
13101 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
13102 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
13103 instead of __libc_setup_tls.
13104 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
13105 __libc_setup_tls before initializing libpthread and running _hurd_init
13106 which starts the signal thread.
13107 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
13108 Declare function.
13109 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13110
13111 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
13112
13113 [BZ #22998]
13114 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
13115 after it is defined.
13116
13117 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
13118 Max Horn <max@quendi.de>
13119
13120 [BZ #22644]
13121 CVE-2017-18269
13122 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
13123 branch conditions.
13124 * string/test-memmove.c (do_test2): New testcase.
13125
13126 2018-03-22 Joseph Myers <joseph@codesourcery.com>
13127
13128 * sysdeps/generic/frame.h: Remove file.
13129 * sysdeps/arm/frame.h: Likewise.
13130 * sysdeps/hppa/frame.h: Likewise.
13131 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
13132 macro.
13133 (GET_FRAME): Likewise.
13134 (GET_STACK): Likewise.
13135 (CALL_SIGHANDLER): Likewise.
13136 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
13137 Likewise.
13138 (GET_FRAME): Likewise.
13139 (GET_STACK): Likewise.
13140 (CALL_SIGHANDLER): Likewise.
13141 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
13142 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13143 (GET_FRAME): Likewise.
13144 (GET_STACK): Likewise.
13145 (CALL_SIGHANDLER): Likewise.
13146 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
13147 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13148 (GET_FRAME): Likewise.
13149 (GET_STACK): Likewise.
13150 (ADVANCE_STACK_FRAME): Likewise.
13151 (CALL_SIGHANDLER): Likewise.
13152 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
13153 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13154 (GET_FRAME): Likewise.
13155 (GET_STACK): Likewise.
13156 (CALL_SIGHANDLER): Likewise.
13157 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
13158 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13159 (GET_FRAME): Likewise.
13160 (GET_STACK): Likewise.
13161 (CALL_SIGHANDLER): Likewise.
13162 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
13163 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13164 (GET_FRAME): Likewise.
13165 (GET_STACK): Likewise.
13166 (CALL_SIGHANDLER): Likewise.
13167 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
13168 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13169 (GET_FRAME): Likewise.
13170 (GET_STACK): Likewise.
13171 (CALL_SIGHANDLER): Likewise.
13172 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
13173 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13174 (GET_FRAME): Likewise.
13175 (GET_STACK): Likewise.
13176 (CALL_SIGHANDLER): Likewise.
13177 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
13178 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13179 (GET_FRAME): Likewise.
13180 (GET_STACK): Likewise.
13181 (CALL_SIGHANDLER): Likewise.
13182 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
13183 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13184 (GET_FRAME): Likewise.
13185 (GET_STACK): Likewise.
13186 (CALL_SIGHANDLER): Likewise.
13187 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
13188 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13189 (GET_FRAME): Likewise.
13190 (GET_STACK): Likewise.
13191 (CALL_SIGHANDLER): Likewise.
13192 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
13193 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13194 (GET_FRAME): Likewise.
13195 (GET_STACK): Likewise.
13196 (CALL_SIGHANDLER): Likewise.
13197 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
13198 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13199 (FIRST_FRAME_POINTER): Likewise.
13200 (ADVANCE_STACK_FRAME): Likewise.
13201 (GET_STACK): Likewise.
13202 (GET_FRAME): Likewise.
13203 (CALL_SIGHANDLER): Likewise.
13204 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
13205 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13206 (ADVANCE_STACK_FRAME): Likewise.
13207 (GET_STACK): Likewise.
13208 (GET_FRAME): Likewise.
13209 (CALL_SIGHANDLER): Likewise.
13210 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
13211 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13212 (GET_FRAME): Likewise.
13213 (GET_STACK): Likewise.
13214 (CALL_SIGHANDLER): Likewise.
13215 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
13216 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13217 (GET_FRAME): Likewise.
13218 (GET_STACK): Likewise.
13219 (CALL_SIGHANDLER): Likewise.
13220
13221 2018-03-21 Joseph Myers <joseph@codesourcery.com>
13222
13223 * sysdeps/x86_64/backtrace.c: Move to ....
13224 * debug/backtrace.c: ... here.
13225 * sysdeps/aarch64/backtrace.c: Remove file.
13226 * sysdeps/alpha/backtrace.c: Likewise.
13227 * sysdeps/hppa/backtrace.c: Likewise.
13228 * sysdeps/ia64/backtrace.c: Likewise.
13229 * sysdeps/mips/backtrace.c: Likewise.
13230 * sysdeps/nios2/backtrace.c: Likewise.
13231 * sysdeps/riscv/backtrace.c: Likewise.
13232 * sysdeps/sh/backtrace.c: Likewise.
13233 * sysdeps/tile/backtrace.c: Likewise.
13234
13235 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13236
13237 [BZ #22987]
13238 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
13239 function.
13240 (fdimf): Likewise.
13241 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
13242
13243 [BZ #17343]
13244 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
13245 possibly overflowing computations.
13246
13247 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
13248
13249 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
13250 values from Linux-specific section now that it is in the GNU section.
13251 * sysdeps/gnu/errlist.c: Regenerate.
13252
13253 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13254
13255 * math/Makefile (libm-narrow-fns): Add sub.
13256 (libm-test-funcs-narrow): Likewise.
13257 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
13258 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
13259 * math/gen-auto-libm-tests.c (test_functions): Add sub.
13260 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
13261 (NARROW_SUB_ROUND_TO_ODD): Likewise.
13262 (NARROW_SUB_TRIVIAL): Likewise.
13263 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
13264 macro.
13265 (__dsubl): Likewise.
13266 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
13267 dsub.
13268 (CFLAGS-nldbl-dsub.c): New variable.
13269 (CFLAGS-nldbl-fsub.c): Likewise.
13270 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13271 __nldbl_dsubl.
13272 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
13273 prototype.
13274 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
13275 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
13276 * math/auto-libm-test-in: Add tests of sub.
13277 * math/auto-libm-test-out-narrow-sub: New generated file.
13278 * math/libm-test-narrow-sub.inc: New file.
13279 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13280 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
13281 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
13282 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
13283 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
13284 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
13285 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
13286 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
13287 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
13288 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
13289 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
13290 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
13291 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
13292 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
13293 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
13294 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
13295 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
13296 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
13297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13298 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13299 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13300 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13301 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13302 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13303 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13304 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13305 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13306 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13307 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13308 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13309 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13310 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13315 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13316 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13317 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13318 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13319 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13320 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13321 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
13322 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
13323 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13324 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13325
13326 2018-03-19 Joseph Myers <joseph@codesourcery.com>
13327
13328 [BZ #20079]
13329 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
13330
13331 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
13332
13333 * benchtests/bench-timing.h (attribute_hidden): Undefine.
13334
13335 2018-03-18 Richard Braun <rbraun@sceen.net>
13336
13337 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
13338 thread reference.
13339
13340 2018-03-18 Agustina Arzille <avarzille@riseup.net>
13341
13342 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
13343 (__libc_cleanup_fct): Define function.
13344 (__libc_cleanup_region_start, __libc_cleanup_region_end,
13345 __libc_cleanup_end): Rewrite implementation using
13346 __attribute__ ((__cleanup__)).
13347 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
13348 * hurd/Makefile (routines): Add hurdlock.
13349 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
13350 interface.
13351 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
13352 * hurd/hurdpid.c: Include <lowlevellock.h>
13353 (_S_msg_proc_newids): Use lll_wait to synchronize.
13354 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
13355 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
13356 * mach/Makefile (lock-headers): Remove machine-lock.h.
13357 * mach/lock-intern.h: Include <lowlevellock.h> instead of
13358 <machine-lock.h>.
13359 (__spin_lock_t): New type.
13360 (__SPIN_LOCK_INITIALIZER): New macro.
13361 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
13362 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
13363 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
13364 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
13365 (__mutex_init): Initialize with lll.
13366 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
13367 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
13368 needing lll.
13369 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13370 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
13371 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
13372 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
13373 (__setpgid): Use lll for synchronization.
13374 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
13375 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
13376 instead of <cthreads.h>.
13377 (_IO_lock_inexpensive): New macro
13378 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
13379 (__libc_lock_self0): New declaration.
13380 (__libc_lock_owner_self): New macro.
13381 (__libc_key_t): Remove type.
13382 (_LIBC_LOCK_INITIALIZER): New macro.
13383 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
13384 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
13385 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
13386 __libc_lock_define_initialized_recursive,
13387 __rtld_lock_define_initialized_recursive,
13388 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
13389 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
13390 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
13391 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
13392 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
13393 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
13394 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
13395 New macros.
13396 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
13397 * hurd/hurdlock.c: New file.
13398 * hurd/hurdlock.h: New file.
13399 * mach/lowlevellock.h: New file
13400
13401 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13402
13403 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
13404 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
13405 when opening a symlink with O_NOFOLLOW.
13406 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
13407 path when flags contains O_NOFOLLOW.
13408 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
13409 if flags contains O_DIRECTORY and the result is a directory.
13410 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
13411 oneself when the pointer given in D is nul (as set by ext2fs).
13412 * sysdeps/mach/hurd/mlockall.c: New file.
13413 * sysdeps/mach/hurd/munlockall.c: New file.
13414
13415 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
13416
13417 * hurd/hurdsig.c: Include <pthread.h>.
13418 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
13419 get the signal thread stack layout.
13420 * hurd/Makefile (headers): Remove threadvar.h.
13421 (inline-headers): Remove threadvar.h.
13422 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
13423 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
13424 __hurd_threadvar_max, __hurd_errno_location.
13425 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
13426 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
13427 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
13428 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
13429 unless TLS is not initialized yet, in which case we do not need a
13430 critical section yet anyway.
13431 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
13432 <machine-sp.h>.
13433 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
13434 declarations.
13435 (__hurd_threadvar_index): Remove enum.
13436 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
13437 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
13438 inlines.
13439 (__hurd_reply_port0): New variable declaration.
13440 (__hurd_local_reply_port): New macro.
13441 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
13442 (interrupted_reply_port_location): Add thread_t parameter. Use it
13443 with THREAD_TCB to access thread-local variables.
13444 (_hurdsig_abort_rpcs): Pass ss->thread to
13445 interrupted_reply_port_location.
13446 (_hurd_internal_post_signal): Likewise.
13447 (_hurdsig_init): Use presence of cthread_fork instead of
13448 __hurd_threadvar_stack_mask to start signal thread by hand.
13449 Remove signal thread threadvar initialization.
13450 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
13451 * hurd/sigunwind.c: Include <hurd/threadvar.h>
13452 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
13453 of threadvar.
13454 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
13455 __libc_lock_self0.
13456 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
13457 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
13458 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
13459 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
13460 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
13461 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
13462 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
13463 define variables.
13464 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
13465 <hurd/threadvar.h>.
13466 [IS_IN(rtld)] (rtld_errno): New variable.
13467 [IS_IN(rtld)] (__errno_location): New weak function.
13468 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
13469 * sysdeps/mach/hurd/errno.c: Remove file.
13470 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
13471 (__fork): Remove THREADVAR_SPACE macro and its use.
13472 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
13473 variable.
13474 (init): Do not initialize threadvar.
13475 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
13476 symbol.
13477 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
13478 __hurd_local_reply_port instead of threadvar.
13479 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
13480 _hurd_sigstate fields.
13481 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
13482 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
13483 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
13484 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
13485 instead of threadvar.
13486 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
13487 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
13488 (use_threadvar, global_reply_port): Remove variables.
13489 (__hurd_reply_port0): New variable.
13490 (__mig_get_reply_port): Use __hurd_local_reply_port and
13491 __hurd_reply_port0 instead of threadvar.
13492 (__mig_dealloc_reply_port): Likewise.
13493 (__mig_init): Do not initialize threadvar.
13494 * sysdeps/mach/hurd/profil.c: Fix comment.
13495 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
13496 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
13497 cthread_keycreate, cthread_getspecific, cthread_setspecific to
13498 __cthread_fork, __cthread_detach, __pthread_getattr_np,
13499 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
13500 __cthread_setspecific.
13501 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
13502 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
13503 __cthread_t instead of cthread_fork, cthread_detach,
13504 pthread_getattr_np, pthread_attr_getstack.
13505 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
13506 __cthread_keycreate.
13507 (cthread_getspecific): Rename to __cthread_getspecific.
13508 (cthread_setspecific): Rename to __cthread_setspecific.
13509 (__libc_getspecific): Use __cthread_getspecific instead of
13510 cthread_getspecific.
13511 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
13512 __cthread_keycreate instead of cthread_keycreate.
13513 (__libc_setspecific): Use __cthread_setspecific instead of
13514 cthread_setspecific.
13515 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
13516 Likewise.
13517 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
13518 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
13519 testing whether it is defined.
13520
13521 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13522
13523 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
13524 Define macro.
13525 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
13526 * sysdeps/mach/i386/thread_state.h
13527 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
13528 i386_THREAD_STATE.
13529 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
13530 i386_THREAD_STATE.
13531 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
13532
13533 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
13534 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
13535
13536 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
13537 macros.
13538 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
13539 descriptor instead of creating a new one.
13540 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
13541
13542 * mach/setup-thread.c: Include <ldsodefs.h>.
13543 (__mach_setup_thread): Call _dl_allocate_tls, pass
13544 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
13545 MACHINE_THREAD_STATE_FLAVOR, before getting
13546 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
13547 MACHINE_THREAD_STATE_FLAVOR with the result.
13548 * hurd/hurdfault.c (_hurdsig_fault_init): Call
13549 MACHINE_THREAD_STATE_FIX_NEW.
13550 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
13551 too. Add original thread parameter.
13552
13553 2018-03-16 Joseph Myers <joseph@codesourcery.com>
13554
13555 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
13556 Remove inline function.
13557
13558 * sysdeps/i386/fpu/libm-test-ulps: Update.
13559 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
13560
13561 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
13562
13563 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
13564 commit.
13565
13566 2018-03-15 Joseph Myers <joseph@codesourcery.com>
13567
13568 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
13569 (__sincos_code): Remove define and undefine.
13570 [__FAST_MATH__] (__sincos): Remove inline function.
13571 [__FAST_MATH__] (__sincosf): Remove inline function.
13572 [__FAST_MATH__] (__sincosl): Remove inline function.
13573 (__atan2l): Remove inline functions.
13574 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
13575 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
13576 function.
13577 (floor): Remove inline function.
13578 (ceil): Likewise.
13579 [__FAST_MATH__] (__ldexp_code): Remove macro.
13580 [__FAST_MATH__] (ldexp): Remove inline function.
13581 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
13582 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
13583 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
13584 [__USE_ISOC99] (__lrint_code): Remove macro.
13585 [__USE_ISOC99] (__llrint_code): Likewise.
13586 [__USE_ISOC99] (lrintf): Remove inline function.
13587 [__USE_ISOC99] (lrint): Likewise.
13588 [__USE_ISOC99] (lrintl): Likewise.
13589 [__USE_ISOC99] (llrint): Likewise.
13590 [__USE_ISOC99] (llrintf): Likewise.
13591 [__USE_ISOC99] (llrintl): Likewise.
13592
13593 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13594
13595 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
13596 (__ieee754_sqrtf): Remove.
13597 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
13598 (__ieee754_sqrtf): Remove.
13599 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
13600 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13601 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
13602 (__ieee754_sqrtf): Remove.
13603 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
13604 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
13605 (sqrtf): Remove.
13606 (sqrtl): Remove.
13607 (__ieee754_sqrt): Remove.
13608 (__ieee754_sqrtf): Remove.
13609 (__ieee754_sqrtl): Remove.
13610 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13611 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
13612 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
13613 (__ieee754_sqrtf): Remove.
13614 (__ieee754_sqrtl): Remove.
13615
13616 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13617
13618 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
13619 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13620 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13621 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
13622 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
13623 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13624 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13625 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13626 Likewise.
13627 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
13628 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
13629 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
13630 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13631 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13632 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
13633 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
13634 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
13635 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13636 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13637 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
13638 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13639 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
13640 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
13641 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
13642 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13643 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13644 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13645 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
13646 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
13647 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13648 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13649 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
13650 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
13651 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
13652 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
13653 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13654 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13655 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
13656 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13657 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13658 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
13659 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13660 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
13661 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13662 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13663 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
13664 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
13665 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13666 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
13667
13668 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13669
13670 * include/math.h (sqrt): Declare with asm redirect.
13671 (sqrtf): Likewise.
13672 (sqrtl): Likewise.
13673 (sqrtf128): Likewise.
13674 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
13675 nonlib and libnldbl with -fmath-errno.
13676 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
13677 * math/w_sqrt_template.c: Likewise.
13678 * math/w_sqrtf_compat.c: Likewise.
13679 * math/w_sqrtl_compat.c: Likewise.
13680 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
13681 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
13682 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
13683 complex.h.
13684
13685 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13686
13687 * benchtests/Makefile: Define _ISOMAC.
13688 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
13689 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
13690 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
13691 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
13692 * benchtests/bench-timing.h: Define attribute_hidden.
13693
13694 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13695
13696 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
13697 mov + lsr.
13698
13699 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13700
13701 [BZ #22963]
13702 * localedata/locales/cs_CZ (mon): Rename to...
13703 (alt_mon): This.
13704 (mon): Import from CLDR (genitive case).
13705
13706 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13707
13708 [BZ #22937]
13709 * localedata/locales/el_CY (abmon): Rename to...
13710 (ab_alt_mon): This.
13711 (abmon): Import from CLDR (abbreviated genitive case).
13712 * localedata/locales/el_GR (abmon): Rename to...
13713 (ab_alt_mon): This.
13714 (abmon): Import from CLDR (abbreviated genitive case).
13715
13716 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13717
13718 [BZ #22932]
13719 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
13720
13721 2018-03-15 Robert Buj <robert.buj@gmail.com>
13722
13723 [BZ #22848]
13724 * localedata/locales/ca_ES (abmon): Rename to...
13725 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
13726 (mon): Rename to...
13727 (alt_mon): This.
13728 (abmon): Import from CLDR (genitive case, month names preceded by
13729 "de" or "d’").
13730 (mon): Likewise.
13731 (abday): Synchronize with CLDR.
13732 (d_t_fmt): Likewise.
13733 (d_fmt): Likewise.
13734 (am_pm): Likewise.
13735
13736 (LC_TIME): Improve indentation.
13737 (LC_TELEPHONE): Likewise.
13738 (LC_NAME): Likewise.
13739 (LC_ADDRESS): Likewise.
13740
13741 2018-03-14 Joseph Myers <joseph@codesourcery.com>
13742
13743 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
13744 (lrintf): Remove definitions used only with old GCC.
13745 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
13746 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
13747 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
13748 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
13749 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
13750 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
13751 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
13752 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
13753 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
13754 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
13755 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
13756 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
13757 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
13758 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
13759 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
13760 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
13761 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
13762 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
13763 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
13764 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
13765 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
13766 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
13767 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
13768 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
13769 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
13770 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
13771 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
13772 [__FAST_MATH__] (__M_SQRT2): Remove macro.
13773
13774 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
13775
13776 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
13777 instruction to unbreak builds with binutils 2.26 and older.
13778
13779 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
13780
13781 * sysdeps/aarch64/strncmp.S (count): New macro.
13782 (strncmp): Store misaligned length in SRC1 in COUNT.
13783 (mutual_align): Adjust.
13784 (misaligned8): Load dword at a time when it is safe.
13785
13786 2018-03-12 Zack Weinberg <zackw@panix.com>
13787
13788 [BZ #1190]
13789 [BZ #19476]
13790 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
13791 if the _IO_EOF_SEEN bit is already set; update commentary.
13792 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
13793 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
13794
13795 * support/support_openpty.c, support/tty.h: New files.
13796 * support/Makefile (libsupport-routines): Add support_openpty.
13797
13798 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
13799 New test cases.
13800 * libio/Makefile (tests): Add tst-fgetc-after-eof.
13801 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
13802
13803 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
13804
13805 * po/pt_BR.po: Update translations.
13806
13807 2018-03-12 David Michael <fedora.dm0@gmail.com>
13808
13809 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
13810 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
13811 get a port to the startup server.
13812
13813 2018-03-11 Zack Weinberg <zackw@panix.com>
13814
13815 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
13816 before nldbl-compat.h.
13817
13818 2018-03-10 Zack Weinberg <zackw@panix.com>
13819
13820 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
13821 math.h or math_private.h.
13822
13823 * sysdeps/alpha/fpu/s_isnan.c
13824 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
13825 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
13826 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
13827 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
13828 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
13829 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
13830 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
13831 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
13832 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
13833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
13834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
13835 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
13836 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
13837 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
13838 Include math_private.h.
13839
13840 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
13841 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
13842 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
13843 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
13844 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
13845 * sysdeps/powerpc/power7/fpu/s_logb.c:
13846 Include math.h and math_private.h.
13847
13848 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
13849 uses of $at in .set noat / .set at.
13850
13851 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
13852
13853 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
13854 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
13855 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
13856 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
13857 Likewise.
13858
13859 2018-03-09 Florian Weimer <fweimer@redhat.com>
13860
13861 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
13862 in comment.
13863
13864 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
13865
13866 [BZ #22919]
13867 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
13868 Add nop before __startcontext, add explaining comments.
13869
13870 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13871
13872 [BZ #22926]
13873 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
13874 empty for __SPE__.
13875 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
13876 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
13877 Do not build hardware transactional code for __SPE__.
13878 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13879 (__lll_trylock_elision): Likewise.
13880 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13881 (__lll_unlock_elision): Likewise.
13882
13883 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
13884 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
13885 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
13886 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
13887 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
13888 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
13889 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
13890 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
13891 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
13892 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
13893 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
13894 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
13895 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
13896 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
13897 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
13898 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
13899 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
13900 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
13901 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
13902 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
13903 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
13904 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13905 (__ASSUME_CLONE_BACKWARDS): Define.
13906 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
13907 __clone2 if __NR_clone2 is defined.
13908 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13909 (__ASSUME_CLONE_BACKWARDS): Likewise.
13910 * sysdeps/unix/sysv/linux/i386/kernel-features.h
13911 (__ASSUME_CLONE_BACKWARDS): Likewise.
13912 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13913 (__ASSUME_CLONE2): Likewise.
13914 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13915 (__ASSUME_CLONE_BACKWARDS3): Likewise.
13916 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
13917 variants and the define architecture can use.
13918 (__ASSUME_CLONE_DEFAULT): Define as default.
13919 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13920 (__ASSUME_CLONE_BACKWARDS): Likewise.
13921 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13922 (__ASSUME_CLONE_BACKWARDS): Likewise.
13923 * sysdeps/unix/sysv/linux/s390/kernel-features.h
13924 (__ASSUME_CLONE_BACKWARDS2): Likewise.
13925
13926 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
13927
13928 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
13929
13930 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
13931 time.
13932
13933 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
13934 (do_test_limit): Likewise.
13935
13936 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
13937 for every implementation.
13938 (do_test): Likewise.
13939
13940 * benchtests/bench-strncmp.c: Convert output to json.
13941
13942 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13943
13944 * io/futimens.c: Add missing start-of-file descriptive comment.
13945 * io/utime.c: Likewise.
13946 * misc/futimesat.c: Likewise.
13947 * misc/utimes.c: Likewise.
13948 * sysdeps/mach/hurd/futimesat.c: Likewise.
13949 * sysdeps/mach/hurd/utimes.c: Likewise.
13950 * sysdeps/posix/utime.c: Likewise.
13951 * sysdeps/posix/utimes.c: Likewise.
13952 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
13953 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13954 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
13955 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
13956
13957 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13958
13959 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
13960 hurd_futimes.
13961 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
13962 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
13963 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
13964 (__futimens): Move implementation to...
13965 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
13966 utime_tvalue_from_tspec): ... new helper functions.
13967 (hurd_futimens): New function.
13968 * sysdeps/mach/hurd/futimesat.c: New file.
13969 * sysdeps/mach/hurd/utimensat.c: New file.
13970
13971 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
13972
13973 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
13974 UTIME_OMIT): New macros.
13975 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
13976 before reverting to converting time spec to time value and calling
13977 __file_utimes.
13978 * sysdeps/mach/hurd/utime-helper.c: New file.
13979 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
13980 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
13981 reverting to utime_tvalue_from_tval and __file_utimes.
13982 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
13983 (__lutimes): Just call hurd_futimens after lookup.
13984 * sysdeps/mach/hurd/utimes.c: Likewise.
13985
13986 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13987
13988 * bits/sigaction.h: Add include guard.
13989 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
13990 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
13991 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
13992 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
13993 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
13994 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
13995 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
13996 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
13997 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
13998
13999 2018-03-05 Joseph Myers <joseph@codesourcery.com>
14000
14001 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
14002 -Wmaybe-uninitialized for -Os.
14003 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
14004 this disabling.
14005
14006 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14007
14008 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
14009 __INO_T_MATCHES_INO64_T is defined.
14010 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
14011 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
14012 of definition.
14013 * dirent/alphasort64.c: Likewise.
14014 * dirent/scandir.c: Likewise.
14015 * dirent/scandir64-tail.c: Likewise.
14016 * dirent/scandir64.c: Likewise.
14017 * dirent/scandirat.c: Likewise.
14018 * dirent/scandirat64.c: Likewise.
14019 * dirent/versionsort.c: Likewise.
14020 * dirent/versionsort64.c: Likewise.
14021 * include/dirent.h: Likewise.
14022
14023 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
14024 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
14025 for socketpair endpoint.
14026 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
14027 WRITE_BUFFER_SIZE as buffer size for sending socket.
14028 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
14029 issue on system where send is implemented with sendto syscall.
14030 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
14031 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
14032 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
14033 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
14034
14035 [BZ #21269]
14036 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
14037 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
14038 sa_restorer for vDSO case.
14039 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
14040
14041 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14042
14043 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
14044 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
14045 * hurd/hurd/ioctl.h: Include <mach/port.h>
14046 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
14047 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
14048 <mach/mach_types.h> and <mach/message.h>.
14049 (headers): Move mach/param.h to bits/mach/param.h.
14050 * sysdeps/mach/i386/mach/param.h: Move file to ...
14051 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
14052 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
14053 of <mach/param.h>.
14054 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
14055 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
14056 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
14057 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
14058 trivial, for C++ conformity.
14059 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
14060 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
14061 Process mig output through $(migheadersed).
14062 * hurd/Makefile (migheadersed): Define variable.
14063 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
14064 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
14065 headers.
14066 * hurd/hurd.h: Include <bits/types/sigset_t.h>
14067 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
14068 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
14069 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
14070 <bits/types/sigset_t.h>.
14071 [!defined __USE_GNU]: Do not #error out.
14072 (struct hurd_sigstate): Use _NSIG instead of NSIG.
14073 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
14074 Include <stddef.h> and <bits/types/sigset_t.h>
14075 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
14076 instead of sighandler_t.
14077 * stdlib/errno.h (error_t): Move definition to...
14078 * bits/types/error_t.h: ... new header.
14079 * stdlib/Makefile (headers): Add bits/types/error_t.h.
14080 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
14081 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
14082 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
14083 * hurd/hurd.h: Include <bits/types/error_t.h>
14084 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
14085 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
14086 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
14087 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
14088 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
14089 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
14090 * sysdeps/mach/hurd/futimens.c: New file.
14091
14092 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
14093
14094 [BZ #22918]
14095 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
14096 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
14097 * nscd/gai.c (__nss_hosts_database): Readd definition.
14098 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
14099 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
14100 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
14101
14102 2018-03-02 Joseph Myers <joseph@codesourcery.com>
14103
14104 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
14105 (ifunc_one): Likewise.
14106
14107 2018-03-01 DJ Delorie <dj@delorie.com>
14108
14109 [BZ #22342]
14110 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
14111 key value.
14112
14113 2018-03-01 Maciej W. Rozycki <macro@mips.com>
14114
14115 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
14116 `match_pid' parameter.
14117 (td_ta_thr_iter): Update accordingly.
14118
14119 2018-03-01 Florian Weimer <fweimer@redhat.com>
14120
14121 * nptl/Makefile (install-lib-ldscripts): Remove.
14122 (install): Remove rule.
14123 ($(inst_libdir)/libpthread.so): Likewise.
14124
14125 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14126
14127 [BZ #22896]
14128 * localedata/locales/an_ES: update month and day names,
14129 improve d_fmt, improve postal_fmt, add country_post,
14130 add country_isbn
14131
14132 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14133
14134 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
14135 Ukrainian instead of Bulgarian.
14136
14137 2018-03-01 Florian Weimer <fweimer@redhat.com>
14138
14139 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
14140 reference.
14141
14142 2018-03-01 Florian Weimer <fweimer@redhat.com>
14143
14144 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
14145 * nptl/Makefile (routines): Add pthread_atfork.
14146 (static-only-routines): Set to pthread_atfork.
14147 (libpthread-routines): Remove pthread_atfork.
14148 (libpthread-static-only-routines): Remove.
14149 (install): Update comment.
14150 (libpthread.so): Do not install libpthread_nonshared.a.
14151 (tests): Do not link with libpthread_nonshared.a.
14152 (generated): Remove libpthread_nonshared.a.
14153 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
14154 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
14155 with libpthread_nonshared.a.
14156
14157 2018-02-28 Joseph Myers <joseph@codesourcery.com>
14158
14159 [BZ #22902]
14160 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
14161 (libc_feholdexcept_setroundf128): New macro.
14162 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
14163
14164 [BZ #15105]
14165 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
14166 libc_hidden_def.
14167 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
14168 * include/inttypes.h: New file.
14169
14170 2018-02-27 Joseph Myers <joseph@codesourcery.com>
14171
14172 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
14173 -Os in two more places.
14174
14175 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14176
14177 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
14178 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
14179 be sorted correctly at the moment because of a bug.
14180
14181 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14182
14183 [BZ #22550] - es_ES locale (and other es_* locales): collation should
14184 treat ñ as a primary different character, sync the collation
14185 for Spanish with CLDR.
14186 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
14187 * localedata/Makefile: Add new test files.
14188 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
14189 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
14190 collation order.
14191 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
14192 * localedata/am_ET.UTF-8.in: New test file.
14193 * localedata/az_AZ.UTF-8.in: Likewise.
14194 * localedata/be_BY.UTF-8.in: Likewise.
14195 * localedata/ber_DZ.UTF-8.in: Likewise.
14196 * localedata/ber_MA.UTF-8.in: Likewise.
14197 * localedata/bg_BG.UTF-8.in: Likewise.
14198 * localedata/br_FR.UTF-8.in: Likewise.
14199 * localedata/cmn_TW.UTF-8.in: Likewise.
14200 * localedata/crh_UA.UTF-8.in: Likewise.
14201 * localedata/csb_PL.UTF-8.in: Likewise.
14202 * localedata/cv_RU.UTF-8.in: Likewise.
14203 * localedata/cy_GB.UTF-8.in: Likewise.
14204 * localedata/dz_BT.UTF-8.in: Likewise.
14205 * localedata/eo.UTF-8.in: Likewise.
14206 * localedata/es_ES.UTF-8.in: Likewise.
14207 * localedata/fa_IR.UTF-8.in: Likewise.
14208 * localedata/fi_FI.UTF-8.in: Likewise.
14209 * localedata/fil_PH.UTF-8.in: Likewise.
14210 * localedata/fur_IT.UTF-8.in: Likewise.
14211 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
14212 * localedata/ha_NG.UTF-8.in: Likewise.
14213 * localedata/ig_NG.UTF-8.in: Likewise.
14214 * localedata/ik_CA.UTF-8.in: Likewise.
14215 * localedata/kk_KZ.UTF-8.in: Likewise.
14216 * localedata/ku_TR.UTF-8.in: Likewise.
14217 * localedata/ky_KG.UTF-8.in: Likewise.
14218 * localedata/ln_CD.UTF-8.in: Likewise.
14219 * localedata/mi_NZ.UTF-8.in: Likewise.
14220 * localedata/ml_IN.UTF-8.in: Likewise.
14221 * localedata/mn_MN.UTF-8.in: Likewise.
14222 * localedata/mr_IN.UTF-8.in: Likewise.
14223 * localedata/mt_MT.UTF-8.in: Likewise.
14224 * localedata/nb_NO.UTF-8.in: Likewise.
14225 * localedata/om_KE.UTF-8.in: Likewise.
14226 * localedata/os_RU.UTF-8.in: Likewise.
14227 * localedata/ps_AF.UTF-8.in: Likewise.
14228 * localedata/ro_RO.UTF-8.in: Likewise.
14229 * localedata/ru_RU.UTF-8.in: Likewise.
14230 * localedata/sc_IT.UTF-8.in: Likewise.
14231 * localedata/se_NO.UTF-8.in: Likewise.
14232 * localedata/sq_AL.UTF-8.in: Likewise.
14233 * localedata/sv_SE.UTF-8.in: Likewise.
14234 * localedata/szl_PL.UTF-8.in: Likewise.
14235 * localedata/tg_TJ.UTF-8.in: Likewise.
14236 * localedata/tk_TM.UTF-8.in: Likewise.
14237 * localedata/tt_RU.UTF-8.in: Likewise.
14238 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
14239 * localedata/ug_CN.UTF-8.in: Likewise.
14240 * localedata/uz_UZ.UTF-8.in: Likewise.
14241 * localedata/vi_VN.UTF-8.in: Likewise.
14242 * localedata/yi_US.UTF-8.in: Likewise.
14243 * localedata/yo_NG.UTF-8.in: Likewise.
14244 * localedata/zh_CN.UTF-8.in: Likewise.
14245 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
14246 file and fix bugs in the collation.
14247 * localedata/locales/az_AZ: Likewise.
14248 * localedata/locales/be_BY: Likewise.
14249 * localedata/locales/ber_DZ: Likewise.
14250 * localedata/locales/ber_MA: Likewise.
14251 * localedata/locales/bg_BG: Likewise.
14252 * localedata/locales/br_FR: Likewise.
14253 * localedata/locales/br_FR@euro: Likewise.
14254 * localedata/locales/ca_ES: Likewise.
14255 * localedata/locales/cns11643_stroke: Likewise.
14256 * localedata/locales/crh_UA: Likewise.
14257 * localedata/locales/cs_CZ: Likewise.
14258 * localedata/locales/csb_PL: Likewise.
14259 * localedata/locales/cv_RU: Likewise.
14260 * localedata/locales/cy_GB: Likewise.
14261 * localedata/locales/da_DK: Likewise.
14262 * localedata/locales/dz_BT: Likewise.
14263 * localedata/locales/en_CA: Likewise.
14264 * localedata/locales/eo: Likewise.
14265 * localedata/locales/es_CU: Likewise.
14266 * localedata/locales/es_EC: Likewise.
14267 * localedata/locales/es_ES: Likewise.
14268 * localedata/locales/es_US: Likewise.
14269 * localedata/locales/et_EE: Likewise.
14270 * localedata/locales/fa_IR: Likewise.
14271 * localedata/locales/fi_FI: Likewise.
14272 * localedata/locales/fil_PH: Likewise.
14273 * localedata/locales/fur_IT: Likewise.
14274 * localedata/locales/gez_ER@abegede: Likewise.
14275 * localedata/locales/ha_NG: Likewise.
14276 * localedata/locales/hr_HR: Likewise.
14277 * localedata/locales/hsb_DE: Likewise.
14278 * localedata/locales/hu_HU: Likewise.
14279 * localedata/locales/ig_NG: Likewise.
14280 * localedata/locales/ik_CA: Likewise.
14281 * localedata/locales/is_IS: Likewise.
14282 * localedata/locales/iso14651_t1_pinyin: Likewise.
14283 * localedata/locales/kk_KZ: Likewise.
14284 * localedata/locales/ku_TR: Likewise.
14285 * localedata/locales/ky_KG: Likewise.
14286 * localedata/locales/ln_CD: Likewise.
14287 * localedata/locales/lt_LT: Likewise.
14288 * localedata/locales/lv_LV: Likewise.
14289 * localedata/locales/mi_NZ: Likewise.
14290 * localedata/locales/ml_IN: Likewise.
14291 * localedata/locales/mn_MN: Likewise.
14292 * localedata/locales/mr_IN: Likewise.
14293 * localedata/locales/mt_MT: Likewise.
14294 * localedata/locales/nb_NO: Likewise.
14295 * localedata/locales/om_KE: Likewise.
14296 * localedata/locales/os_RU: Likewise.
14297 * localedata/locales/pl_PL: Likewise.
14298 * localedata/locales/ps_AF: Likewise.
14299 * localedata/locales/ro_RO: Likewise.
14300 * localedata/locales/ru_RU: Likewise.
14301 * localedata/locales/ru_UA: Likewise.
14302 * localedata/locales/sc_IT: Likewise.
14303 * localedata/locales/se_NO: Likewise.
14304 * localedata/locales/si_LK: Likewise.
14305 * localedata/locales/sq_AL: Likewise.
14306 * localedata/locales/sv_FI: Likewise.
14307 * localedata/locales/sv_FI@euro: Likewise.
14308 * localedata/locales/sv_SE: Likewise.
14309 * localedata/locales/szl_PL: Likewise.
14310 * localedata/locales/tg_TJ: Likewise.
14311 * localedata/locales/ti_ER: Likewise.
14312 * localedata/locales/tk_TM: Likewise.
14313 * localedata/locales/tl_PH: Likewise.
14314 * localedata/locales/tr_TR: Likewise.
14315 * localedata/locales/tt_RU: Likewise.
14316 * localedata/locales/tt_RU@iqtelif: Likewise.
14317 * localedata/locales/ug_CN: Likewise.
14318 * localedata/locales/uk_UA: Likewise.
14319 * localedata/locales/uz_UZ: Likewise.
14320 * localedata/locales/uz_UZ@cyrillic: Likewise.
14321 * localedata/locales/vi_VN: Likewise.
14322 * localedata/locales/yi_US: Likewise.
14323 * localedata/locales/yo_NG: Likewise.
14324
14325 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14326
14327 * gen-locales.mk: Make test files which contain @ modifiers in their
14328 name work.
14329 * localedata/gen-locale.sh: Likewise.
14330
14331 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14332
14333 * posix/tst-fnmatch.input: Fix results for range expressions
14334 for non C locales.
14335 * posix/tst-regexloc.c: Do not use a range expression for
14336 de_DE.ISO-8859-1 locale.
14337
14338 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14339
14340 * posix/bug-regex5.c: Fix test case because with the new
14341 iso14651_t1_common file, the da_DK locale now has 6 collating elements
14342 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
14343 file.
14344
14345 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14346
14347 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
14348 downloaded from ISO, the collation order of @-. and space has changed.
14349 Therefore, this test file needed to be adapted.
14350 * localedata/fr_CA.UTF-8.in: Likewise.
14351 * localedata/fr_FR.UTF-8.in: Likewise.
14352 * localedata/uk_UA.UTF-8.in: Likewise.
14353
14354 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14355
14356 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
14357 order of ȥ in the new iso14651_t1_common file.
14358 * localedata/pl_PL.UTF-8.in: Likewise.
14359
14360 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14361
14362 * localedata/locales/iso14651_t1_common: Add sections for various
14363 scripts to the iso14651_t1_common file.
14364
14365 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14366
14367 * localedata/locales/iso14651_t1_common: Use the code point of a
14368 character in the fourth collation level instead of IGNORE for all
14369 entries which have IGNORE on all 4 levels.
14370
14371 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14372
14373 * localedata/locales/iso14651_t1_common: Add some convenient collation
14374 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
14375 rules similar to those in CLDR.
14376
14377 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14378
14379 * localedata/locales/iso14651_t1_common: The new version of this
14380 file downloaded from ISO contained several syntax errors which
14381 are fixed by this patch.
14382
14383 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14384
14385 * localedata/locales/iso14651_t1_common: replace all <U.....>
14386 with <U000.....> because glibc understands only 4 digit or 8 digit
14387
14388 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14389
14390 * localedata/locales/iso14651_t1_common: Necessary changes
14391 to make the file downloaded from ISO usable by glibc.
14392
14393 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14394
14395 [BZ #14095]
14396 * localedata/locales/iso14651_t1_common: Update file to
14397 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
14398
14399 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14400
14401 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
14402 of <nptl/pthreadP.h>
14403 (thread_attr_compare): Move function to...
14404 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
14405 * sysdeps/nptl/timer_routines.h: ... new header.
14406 * sysdeps/mach/hurd/gai_misc.h: New file.
14407
14408 2018-02-26 Joseph Myers <joseph@codesourcery.com>
14409
14410 * string/strcoll_l.c: Include <libc-diag.h>.
14411 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
14412 declarations of seq1 and seq2.
14413
14414 [BZ #15105]
14415 * stdlib/atoi.c (atoi): Use libc_hidden_def.
14416 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
14417
14418 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
14419
14420 [BZ #22433]
14421 [BZ #22807]
14422 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
14423 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
14424 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
14425 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
14426 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
14427 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
14428
14429 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14430
14431 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
14432 macros used in __ptrace_request.
14433
14434 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
14435
14436 [BZ #22792]
14437 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
14438 to $(CC).
14439 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
14440 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
14441 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
14442 <tcb-offsets.h>.
14443
14444 2018-02-23 Joseph Myers <joseph@codesourcery.com>
14445
14446 [BZ #15105]
14447 * ctype/ctype.c (tolower): Use libc_hidden_def.
14448 (toupper): Likewise.
14449 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
14450 [!_ISOMAC] (toupper): Likewise.
14451
14452 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14453
14454 * localedata/Makefile: Remove --quiet argument when
14455 installing locales
14456
14457 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14458
14459 [BZ #17438]
14460 * localedata/locales/pt_BR (LC_TIME): use / instead of -
14461 in d_fmt.
14462 * localedata/locales/pt_PT (LC_TIME): likewise
14463
14464 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14465
14466 [BZ #22646]
14467 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
14468 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
14469 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
14470
14471 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14472
14473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14474
14475 * nptl/Makefile (routines): Remove unregister-atfork.
14476 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
14477 (fork_handler_alloc): Remove function.
14478 (fork_handlers, fork_handler_init): New variables.
14479 (__fork_lock): Rename to atfork_lock.
14480 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
14481 to use a dynamic array to add/remove atfork handlers.
14482 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14483 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
14484 Remove declaration.
14485 (fork_handler): Remove next, refcntr, and need_signal member.
14486 (__run_fork_handler_type): New enum.
14487 (__run_fork_handlers): New prototype.
14488 * nptl/register-atfork.c: Remove file.
14489 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
14490
14491 * sysdeps/nptl/nptl-signals.h: Move to ...
14492 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
14493 comments.
14494 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
14495 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
14496 unnecessary check for SIGTIMER.
14497 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
14498 remove unnecessary removal of SIGTIMER.
14499 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
14500 include-signals.h rename.
14501 * nptl/pthreadP.h: Likewise.
14502 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
14503 __is_internal_signal instead of __nptl_is_internal_signal.
14504
14505 2018-02-22 Andrew Waterman <andrew@sifive.com>
14506
14507 [BZ # 22884]
14508 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
14509 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
14510 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
14511 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
14512
14513 2018-02-22 DJ Delorie <dj@delorie.com>
14514
14515 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
14516
14517 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
14518
14519 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
14520 do_misaligned, not misaligned8.
14521
14522 2018-02-22 Steve Ellcey <sellcey@cavium.com>
14523
14524 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
14525 Add memcpy_thunderx2.
14526 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
14527 Increment to 4.
14528 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
14529 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
14530 and IS_THUNDERX2PA checks.
14531 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
14532 Use macro to set name appropriately.
14533 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
14534 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
14535 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
14536 New macro.
14537 (IS_THUNDERX2): New macro.
14538
14539 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
14540
14541 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14542
14543 2018-02-21 Zack Weinberg <zackw@panix.com>
14544
14545 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
14546 Define here, unconditionally.
14547 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
14548 * libio/libioP.h: Remove #if 0 blocks.
14549 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
14550 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
14551 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
14552
14553 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
14554 Assume weak_alias is always defined.
14555
14556 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
14557 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
14558 Remove #if 0 and #ifdef TODO blocks.
14559 Assume text_set_element is always defined.
14560
14561 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
14562 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
14563 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
14564
14565 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
14566 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
14567 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
14568 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
14569 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
14570 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
14571 Reformat bit flags for _flags field to make occupancy clearer.
14572 Update commentary.
14573 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
14574 Keep definitions consistent with those in libio/libio.h.
14575
14576 * libio/libio.h (_IO_file_flags): Remove macro.
14577 All uses changed to _flags.
14578
14579 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
14580 (__HAVE_COLUMN, _IO_BE): Don't define.
14581 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
14582 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
14583 * libio/libioP.h (EOF): Don't define.
14584 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
14585 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
14586 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
14587 testing _IO_UNIFIED_JUMPTABLES.
14588
14589 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
14590 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
14591 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
14592 (_IO_size_t): Delete; all uses changed to size_t.
14593 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
14594 (_IO_off_t): Delete; all uses changed to off_t.
14595 (_IO_off64_t): Delete; all uses changed to off64_t.
14596 (_IO_pid_t): Delete; all uses changed to pid_t.
14597 (_IO_uid_t): Delete; all uses changed to uid_t.
14598 (_IO_wint_t): Delete; all uses changed to wint_t.
14599 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
14600 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
14601 (_IO_cookie_io_functions_t): Delete; all uses changed to
14602 cookie_io_functions_t.
14603 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
14604 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
14605 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
14606 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
14607
14608 * libio/iofopncook.c: Remove unnecessary forward declarations.
14609 * libio/iolibio.h: Correct outdated commentary.
14610 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
14611 * stdio-common/fxprintf.c (__fxprintf_nocancel):
14612 Remove unnecessary casts.
14613 * stdio-common/getline.c: Use _IO_getdelim directly.
14614 Don't redefine ssize_t.
14615 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
14616 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
14617 Remove outdated comments.
14618 * stdio-common/vfscanf.c: Don't redefine va_list.
14619
14620 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
14621 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
14622 Remove preprocessor conditionals on _LIBC and __USE_GNU,
14623 which are always true, and __cplusplus, which is always false.
14624
14625 2018-02-21 Joseph Myers <joseph@codesourcery.com>
14626
14627 [BZ #15105]
14628 [BZ #19463]
14629 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
14630 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
14631 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
14632 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
14633 libc_hidden_proto.
14634 [!_ISOMAC] (putc_unlocked): Likewise.
14635 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
14636 define inline if [__USE_EXTERN_INLINES].
14637 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
14638 putc_unlocked.
14639
14640 [BZ #15105]
14641 [BZ #19463]
14642 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
14643 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
14644 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
14645 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
14646 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
14647 getc_unlocked.
14648 * time/tzfile.c (__tzfile_read): Likewise.
14649
14650 2018-02-21 Mike FABIAN <mfabian@redhat.com>
14651
14652 [BZ #22517]
14653 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
14654
14655 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14656
14657 * io/fcntl.h: Fix a typo in a comment.
14658
14659 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14660
14661 [BZ #22862]
14662 * include/features.h: Add _ISOC11_SOURCE to test for whether to
14663 define _DEFAULT_SOURCE.
14664 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
14665
14666 2018-02-21 Florian Weimer <fweimer@redhat.com>
14667
14668 [BZ #20890]
14669 * elf/cache.c (save_cache): Call fsync on temporary file before
14670 renaming it.
14671 (save_aux_cache): Call fdatasync on temporary file before renaming
14672 it.
14673
14674 2018-02-21 Florian Weimer <fweimer@redhat.com>
14675
14676 [BZ #22787]
14677 * include/caller.h: Remove file.
14678 * elf/dl-caller.c: Likewise.
14679 * elf/Makefile (dl-routines): Remove dl-caller.
14680 (shared-only-routines): Do not add dl-caller.
14681 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
14682 __check_caller.
14683 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
14684 member.
14685 (dl_open_worker): Do not call __check_caller.
14686 (_dl_open): Do not set caller_dl_open member.
14687 * elf/rtld.c (_rtld_global_ro): Do not initialize
14688 _dl_check_caller member.
14689 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
14690 _dl_check_caller member.
14691 (_dl_check_caller): Remove declaration.
14692 * sysdeps/unix/sysv/linux/dl-execstack.c
14693 (_dl_make_stack_executable): Do not call __check_caller.
14694
14695 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
14696
14697 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
14698 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
14699
14700 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14701
14702 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
14703 description.
14704
14705 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14706
14707 [BZ #16335]
14708 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
14709 of 199606L, 200112L, and 200809L.
14710 (_XOPEN_SOURCE): Document special values of 600 and 700.
14711 (_ISOC11_SOURCE): Document macro.
14712 (_ATFILE_SOURCE): Likewise.
14713 (_FORTIFY_SOURCE): Likewise.
14714
14715 2018-02-19 Joseph Myers <joseph@codesourcery.com>
14716
14717 [BZ #15105]
14718 [BZ #19463]
14719 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
14720 and define as weak alias of __ferror_unlocked. Use
14721 libc_hidden_weak.
14722 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
14723 libc_hidden_proto.
14724 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
14725 function if [__USE_EXTERN_INLINES].
14726 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
14727 ferror_unlocked.
14728
14729 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
14730
14731 [BZ #6889]
14732 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
14733
14734 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14735
14736 [BZ #22818]
14737 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
14738 the GLIBC_2.1 version.
14739
14740 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14741
14742 [BZ #21508]
14743 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
14744 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
14745 intl/tst-gettext-de.po from po/de.po by removing the
14746 POT-Creation-Date line.
14747 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
14748 ../po/de.po.
14749 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
14750 ../po/de.po.
14751
14752 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14753
14754 * mach/Makefile (headers): Add mach/param.h.
14755 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
14756 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
14757 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
14758 (__ptsname_r): Move implementation to...
14759 (__ptsname_internal): ... new function. Add filling the STP
14760 structure.
14761
14762 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
14763
14764 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
14765 idouble to 1 ULP.
14766
14767 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
14768
14769 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
14770 syntax.
14771
14772 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14773
14774 * nptl/Makefile (tst-mutex8-ENV): Delete.
14775 * nptl/tst-mutex8.c (check_type):
14776 Add runtime check if mutex will be elided.
14777
14778 2018-02-15 Joseph Myers <joseph@codesourcery.com>
14779
14780 [BZ #20980]
14781 [BZ #21234]
14782 * manual/install.texi (Configuring and compiling): Describe
14783 passing CC and CFLAGS on configure command line, not as
14784 environment variables. Use @code markup on those variables.
14785 Specify what options go in CC and what go in CFLAGS. Note the
14786 requirement to compile with optimization.
14787 * INSTALL: Regenerated.
14788
14789 [BZ #18124]
14790 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
14791 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
14792 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
14793 __sigprocmask instead of sigprocmask.
14794 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
14795 Likewise.
14796 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
14797 __sigsetjmp and sigprocmask.
14798
14799 [BZ #15105]
14800 * include/argz.h (argz_next): Use libc_hidden_proto.
14801 (__argz_next): Likewise.
14802 * string-argz-next.c (__argz_next): Use libc_hidden_def.
14803 (argz_next): Use libc_hidden_weak.
14804
14805 [BZ #15105]
14806 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
14807 libc_hidden_proto.
14808 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
14809 libc_hidden_def.
14810
14811 [BZ #15105]
14812 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
14813 libc_hidden_proto.
14814 * libio/iofputs.c (fputs): Use libc_hidden_weak.
14815
14816 [BZ #15105]
14817 [BZ #19463]
14818 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
14819 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
14820 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
14821 (__feof_unlocked): New declaration, and inline function if
14822 [__USE_EXTERN_INLINES].
14823 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
14824 instead of feof_unlocked.
14825 * intl/localealias.c [_LIBC] (FEOF): Likewise.
14826 * nss/nsswitch.c (nss_parse_file): Likewise.
14827 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
14828 Likewise.
14829 * time/getdate.c (__getdate_r): Likewise.
14830 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
14831 Define as macro to call __feof_unlocked.
14832
14833 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14834
14835 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
14836
14837 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14838
14839 * math/Makefile: Remove mpexp.c and mplog.c
14840 * sysdeps/i386/fpu/mpexp.c: Delete file.
14841 * sysdeps/i386/fpu/mplog.c: Likewise.
14842 * sysdeps/ia64/fpu/mpexp.c: Likewise.
14843 * sysdeps/ia64/fpu/mplog.c: Likewise.
14844 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
14845 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
14846 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
14847 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14848 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
14849 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
14850 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
14851 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
14852 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
14853 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14854 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
14855 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
14856 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14857 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
14858 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
14859 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14860
14861 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14862
14863 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14864
14865 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14866
14867 * sysdeps/sh/libm-test-ulps: Update.
14868
14869 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14870
14871 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
14872 idouble to 1 ULP.
14873
14874 2018-02-12 Zack Weinberg <zackw@panix.com>
14875
14876 [BZ #19239]
14877 * posix/sys/types.h: Don't include sys/sysmacros.h.
14878 * misc/sys/sysmacros.h: Remove the conditional deprecation
14879 warnings for the macros defined by this header.
14880
14881 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
14882
14883 * manual/probes.texi: Remove slowexp probes.
14884 * math/Makefile: Remove slowexp.
14885 * sysdeps/generic/math_private.h (__slowexp): Remove.
14886 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
14887 document error bounds.
14888 * sysdeps/i386/fpu/slowexp.c: Remove.
14889 * sysdeps/ia64/fpu/slowexp.c: Remove.
14890 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
14891 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
14892 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
14893 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
14894 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
14895 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
14896 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
14897 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
14898 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
14899 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
14900 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
14901
14902 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
14903
14904 [BZ #13932]
14905 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
14906 * benchtests/pow-inputs: Update comment for slow path cases.
14907 * manual/probes.texi (slowpow_p10): Delete removed probe.
14908 (slowpow_p10): Likewise.
14909 * math/Makefile: Remove halfulp.c and slowpow.c.
14910 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
14911 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
14912 (__halfulp): Remove.
14913 (__slowpow): Remove.
14914 * sysdeps/i386/fpu/halfulp.c: Delete file.
14915 * sysdeps/i386/fpu/slowpow.c: Likewise.
14916 * sysdeps/ia64/fpu/halfulp.c: Likewise.
14917 * sysdeps/ia64/fpu/slowpow.c: Likewise.
14918 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
14919 improve comments and add error analysis.
14920 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
14921 (power1): Remove function:
14922 (log1): Remove error argument, add error analysis.
14923 (my_log2): Remove function.
14924 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
14925 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14926 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
14927 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
14928 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
14929 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
14930 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
14931 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
14932 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
14933 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
14934 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
14935 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14936 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
14937 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14938
14939 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
14940
14941 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
14942 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
14943
14944 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
14945
14946 [BZ #22433]
14947 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
14948 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
14949 and PTRACE_SETHBPREGS.
14950
14951 2018-02-10 Zack Weinberg <zackw@panix.com>
14952
14953 [BZ #22830]
14954 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
14955 correctly.
14956 * malloc/tst-malloc-stats-cancellation.c: New test case.
14957 * malloc/Makefile: Add new test case.
14958
14959 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
14960
14961 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
14962
14963 2018-02-10 Joseph Myers <joseph@codesourcery.com>
14964
14965 * math/Makefile (libm-narrow-fns): Add add.
14966 (libm-test-funcs-narrow): Likewise.
14967 * math/Versions (GLIBC_2.28): Add narrowing add functions.
14968 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
14969 * math/gen-auto-libm-tests.c (test_functions): Add add.
14970 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
14971 (NARROW_ADD_ROUND_TO_ODD): Likewise.
14972 (NARROW_ADD_TRIVIAL): Likewise.
14973 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
14974 macro.
14975 (__daddl): Likewise.
14976 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
14977 dadd.
14978 (CFLAGS-nldbl-dadd.c): New variable.
14979 (CFLAGS-nldbl-fadd.c): Likewise.
14980 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14981 __nldbl_daddl.
14982 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
14983 prototype.
14984 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
14985 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
14986 * math/auto-libm-test-in: Add tests of add.
14987 * math/auto-libm-test-out-narrow-add: New generated file.
14988 * math/libm-test-narrow-add.inc: New file.
14989 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14990 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
14991 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
14992 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
14993 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
14994 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
14995 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
14996 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
14997 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
14998 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
14999 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
15000 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
15001 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
15002 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
15003 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
15004 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
15005 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
15006 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
15007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15008 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15009 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15010 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15011 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15012 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15013 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15014 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15015 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15016 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15017 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15018 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15019 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15020 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15025 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15026 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15027 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15028 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15029 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15030 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15031 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15032 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15033 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15034 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15035
15036 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
15037 (f128-pairs): New variable.
15038 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
15039 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
15040 to CFLAGS.
15041 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
15042 Also make tests add $(f128-loader-link) to gnulib-tests.
15043
15044 2018-02-09 DJ Delorie <dj@redhat.com>
15045
15046 [BZ #22827]
15047 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
15048 64-bit ELF type for 64-bit ELF objects.
15049
15050 2018-02-09 Joseph Myers <joseph@codesourcery.com>
15051
15052 * math/libm-test-driver.c (snan_tests_arg): New variable.
15053 * math/libm-test-support.h (snan_tests_arg): New declaration.
15054 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
15055
15056 * math/Makefile (test-type-pairs): New variable.
15057 (test-type-pairs-f64xf128-yes): Likewise.
15058 (tests): Add test-narrow-macros.
15059 (libm-test-funcs-narrow): New variable.
15060 (libm-test-c-narrow): Likewise.
15061 (generated): Add $(libm-test-c-narrow).
15062 (libm-tests-base-narrow): New variable.
15063 (libm-tests-narrow): Likewise.
15064 (libm-tests): Add $(libm-tests-narrow).
15065 (libm-tests-for-type): Handle $(libm-tests-narrow).
15066 (libm-test-c-narrow-obj): New variable.
15067 ($(libm-test-c-narrow-obj)): New rule.
15068 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
15069 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
15070 $(o-iterator) to set dependencies and CFLAGS.
15071 * math/gen-auto-libm-tests.c: Document use for narrowing
15072 functions.
15073 (output_for_one_input_case): Take argument NARROW.
15074 (generate_output): Likewise. Update call to
15075 output_for_one_input_case.
15076 (main): Take --narrow option. Update call to generate_output.
15077 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
15078 (apply_lit): Update call to _apply_lit.
15079 (apply_arglit): New function.
15080 (parse_args): Handle "a" arguments.
15081 (parse_auto_input): Handle format names using ":".
15082 * math/README.libm-test: Document "a" parameter type.
15083 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
15084 (ARG_TYPE_TRUE_MIN): Likewise.
15085 (ARG_TYPE_MAX): Likwise.
15086 (ARG_MIN_EXP): Likewise.
15087 (ARG_MAX_EXP): Likewise.
15088 (ARG_MANT_DIG): Likewise.
15089 (TEST_COND_arg_ibm128): Likewise.
15090 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
15091 (TEST_COND_arg_fmt): New macro.
15092 (init_max_error): Update prototype.
15093 * math/libm-test-support.c (test_ibm128): New variable.
15094 (init_max_error): Take argument testing_ibm128 and set test_ibm128
15095 instead of using [TEST_COND_ibm128] conditional.
15096 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
15097 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
15098 [TEST_NARROW] (TEST_MSG): New definition.
15099 (arg_plus_zero): New macro.
15100 (arg_minus_zero): Likewise.
15101 (arg_plus_infty): Likewise.
15102 (arg_minus_infty): Likewise.
15103 (arg_qnan_value_pl): Likewise.
15104 (arg_qnan_value): Likewise.
15105 (arg_snan_value_pl): Likewise.
15106 (arg_snan_value): Likewise.
15107 (arg_max_value): Likewise.
15108 (arg_min_value): Likewise.
15109 (arg_min_subnorm_value): Likewise.
15110 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
15111 (RUN_TEST_LOOP_aa_f): New macro.
15112 (TEST_SUFF): New macro.
15113 (TEST_SUFF_STR): Likewise.
15114 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
15115 (TEST_COND_any_ibm128): New macro.
15116 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
15117 this_func. Update call to init_max_error.
15118 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
15119 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
15120 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
15121 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
15122 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
15123 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
15124 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
15125 * math/test-math-scalar.h (TEST_NARROW): Likewise.
15126 * math/test-math-vector.h (TEST_NARROW): Likewise.
15127 * math/test-arg-double.h: New file.
15128 * math/test-arg-float128.h: Likewise.
15129 * math/test-arg-float32x.h: Likewise.
15130 * math/test-arg-float64.h: Likewise.
15131 * math/test-arg-float64x.h: Likewise.
15132 * math/test-arg-ldouble.h: Likewise.
15133 * math/test-math-narrow.h: Likewise.
15134 * math/test-narrow-macros.c: Likewise.
15135 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
15136 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
15137 test-narrow-macros-ldbl-64.
15138 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
15139
15140 * math/bits/mathcalls-narrow.h: New file.
15141 * include/bits/mathcalls-narrow.h: Likewise.
15142 * math/math-narrow.h: Likewise.
15143 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
15144 (__MATHCALL_NARROW_ARGS_2): Likewise.
15145 (__MATHCALL_NARROW_ARGS_3): Likewise.
15146 (__MATHCALL_NARROW_NORMAL): Likewise.
15147 (__MATHCALL_NARROW_REDIR): Likewise.
15148 (__MATHCALL_NARROW): Likewise.
15149 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
15150 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
15151 defined.
15152 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
15153 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
15154 (libm-narrow-fns): New variable.
15155 (libm-narrow-types-basic): Likewise.
15156 (libm-narrow-types-ldouble-yes): Likewise.
15157 (libm-narrow-types-float128-yes): Likewise.
15158 (libm-narrow-types-float128-alias-yes): Likewise.
15159 (libm-narrow-types): Likewise.
15160 (libm-routines): Add narrowing functions.
15161 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
15162 (libc_feholdexcept_setroundf128): New macro.
15163 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
15164 * sysdeps/ieee754/float128/float128_private.h: Include
15165 <math/math-narrow.h>.
15166 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
15167 Undefine and redefine.
15168 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
15169 (libm_alias_float_ldouble): Undefine and redefine.
15170 (libm_alias_double_ldouble): Likewise.
15171
15172 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
15173
15174 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
15175
15176 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
15177 FPCR/FPSR.
15178
15179 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
15180
15181 * manual/creature.texi: Convert references to gcc.info to gcc.
15182 * manual/stdio.texi: Likewise.
15183 * manual/string.texi: Likewise.
15184
15185 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15186
15187 [BZ #17979]
15188 * posix/bits/types.h (__int_least8_t): New typedef.
15189 (__uint_least8_t): Likewise.
15190 (__int_least16_t): Likewise.
15191 (__uint_least16_t): Likewise.
15192 (__int_least32_t): Likewise.
15193 (__uint_least32_t): Likewise.
15194 (__int_least64_t): Likewise.
15195 (__uint_least64_t): Likewise.
15196 * sysdeps/generic/stdint.h (int_least8_t): Define using
15197 __int_least8_t.
15198 (int_least16_t): Define using __int_least16_t.
15199 (int_least32_t): Define using __int_least32_t.
15200 (int_least64_t): Define using __int_least64_t.
15201 (uint_least8_t): Define using __uint_least8_t.
15202 (uint_least16_t): Define using __uint_least16_t.
15203 (uint_least32_t): Define using __uint_least32_t.
15204 (uint_least64_t): Define using __uint_least64_t.
15205 * wcsmbs/uchar.h: Include <bits/types.h>.
15206 (char16_t): Define using __uint_least16_t conditional only on
15207 [!__USE_ISOCXX11].
15208 (char32_t): Define using __uint_least32_t conditional only on
15209 [!__USE_ISOCXX11].
15210 * wcsmbs/test-char-types.c: New file.
15211 * wcsmbs/Makefile (tests): Add test-char-types.
15212
15213 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
15214 version to 4.0.1.
15215
15216 2018-02-07 Zack Weinberg <zackw@panix.com>
15217
15218 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
15219 Delete all contents except for definitions of _G_HAVE_MMAP and
15220 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
15221 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
15222 sysdeps/unix/sysv/linux/_G_config.h. Make same content
15223 change as above.
15224
15225 * libio/libio.h: Don't include bits/_G_config.h here.
15226 Include stddef.h with __need_wchar_t defined. Include
15227 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
15228 Define _IO_iconv_t here, directly.
15229 Don't define _IO_HAVE_ST_BLKSIZE.
15230 * libio/libioP.h: Include _G_config.h here. Move include of
15231 shlib-compat.h up with rest of includes. Simplify conditionals
15232 controlling definition of _IO_JUMPS_OFFSET.
15233
15234 * csu/init.c: Remove always-true #if around entire file.
15235 Don't include stdio.h. Set _IO_stdin_used to hardwired
15236 constant 0x20001, and update commentary.
15237 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
15238 Replace all uses of _G_va_list with __gnuc_va_list.
15239 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
15240 instead of #if _IO_HAVE_ST_BLKSIZE.
15241 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
15242 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
15243 not #ifdef.
15244
15245 * libio/bits/libio.h: Move back to libio/libio.h and adjust
15246 multiple-include guard to match.
15247 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
15248 into this file.
15249 Remove preprocessor conditionals that are always true and/or
15250 redundant to other preprocessor conditionals in the same nest.
15251 Include shlib-compat.h unconditionally.
15252 Error out if _LIBC is not defined, or if _ISOMAC is defined,
15253 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
15254 defined after including stdio.h.
15255 Use __BEGIN_DECLS/__END_DECLS.
15256
15257 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
15258 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
15259 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
15260
15261 2018-02-07 Zack Weinberg <zackw@panix.com>
15262
15263 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
15264 New single-type headers split from _G_config.h.
15265 * libio/bits/types/cookie_io_functions_t.h
15266 * libio/bits/types/struct_FILE.h
15267 New single-type headers split from libio.h.
15268
15269 * libio/Makefile: Install the above new headers. Don't install
15270 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
15271 bits/libio-ldbl.h.
15272 * libio/_G_config.h, libio/libio.h: Delete file.
15273
15274 * libio/bits/libio.h: Remove improper-inclusion guard.
15275 Include stdio.h and don't repeat anything that it does.
15276 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
15277 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
15278 __io_read_fn as cookie_read_function_t,
15279 __io_write_fn as cookie_write_function_t,
15280 __io_seek_fn as cookie_seek_function_t,
15281 __io_close_fn as cookie_close_function_t,
15282 and _IO_cookie_io_functions_t as cookie_io_functions_t.
15283 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
15284 here, in the "compatibility defines" section. Remove an #if 0
15285 block. Use the "body" macros from bits/types/struct_FILE.h to
15286 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
15287 and _IO_ferror_unlocked.
15288 Move prototypes of __uflow and __overflow...
15289
15290 * libio/stdio.h: ...here. Don't include bits/libio.h.
15291 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
15292 directly from stdarg.h. Include bits/types/__fpos_t.h,
15293 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
15294 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
15295 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
15296 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
15297 cookie_io_functions_t, not _IO_cookie_io_functions_t;
15298 __ssize_t, not _IO_ssize_t. Unconditionally define
15299 BUFSIZ as 8192 and EOF as (-1).
15300
15301 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
15302 macros from bits/types/struct_FILE.h instead of _IO_* macros
15303 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
15304 instead of _IO_ssize_t.
15305 * libio/bits/stdio2.h: Similarly.
15306
15307 * libio/iolibio.h: Add multiple-include guard.
15308 Include bits/libio.h after stdio.h.
15309 * libio/libioP.h: Add multiple-include guard.
15310 Include stdio.h and bits/libio.h before iolibio.h.
15311
15312 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
15313 * include/bits/types/cookie_io_functions_t.h
15314 * include/bits/types/struct_FILE.h: New wrappers.
15315
15316 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
15317 Get definitions of _G_fpos_t and _G_fpos64_t from
15318 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
15319 respectively. Remove improper-inclusion guards.
15320
15321 * conform/data/stdio.h-data: Update expectations of va_list.
15322 * scripts/check-installed-headers.sh: Remove special case for
15323 libio.h and _G_config.h.
15324
15325 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15326
15327 [BZ #15105]
15328 [BZ #19463]
15329 * include/sys/sysmacros.h [!_ISOMAC]
15330 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
15331 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
15332 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
15333 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
15334 libc_hidden_proto.
15335 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
15336 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
15337 Likewise.
15338 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
15339 Undefine and redefine to add use __gnu_dev_ prefix.
15340 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
15341 Likewise.
15342 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
15343 and define as hidden inline function.
15344 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
15345 Likewise.
15346 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
15347 Likewise.
15348 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
15349 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
15350 (gnu_dev_minor): Likewise.
15351 (gnu_dev_makedev): Likewise.
15352 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
15353 makedev.
15354 * posix/wordexp.c (exec_comm_child): Likewise.
15355 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
15356 instead of minor and __gnu_dev_major instead of major.
15357 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
15358 __gnu_dev_major instead of major.
15359 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
15360 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
15361 instead of gnu_dev_minor.
15362 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
15363 (SLAVE_P): Likewise.
15364 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
15365 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
15366 instead of major.
15367
15368 [BZ #21313]
15369 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
15370 in another place.
15371 * locale/weightwc.h (findidx): Likewise.
15372
15373 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
15374
15375 * manual/probes.texi (slowlog): Delete documentation of removed probe.
15376 (slowlog_inexact): Likewise
15377 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
15378 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
15379
15380 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
15381
15382 [BZ #22797]
15383 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
15384 missing second underscore to parameter name.
15385
15386 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15387
15388 [BZ #14508]
15389 [BZ #15512]
15390 [BZ #17082]
15391 [BZ #20530]
15392 * bits/byteswap.h: Update file comment. Do not include
15393 <bits/byteswap-16.h>.
15394 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
15395 constant.
15396 (__bswap_16): Define as inline function.
15397 (__bswap_constant_32): Reformat definition.
15398 (__bswap_32): Always define as inline function, not macro, using
15399 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
15400 otherwise __bswap_constant_32.
15401 (__bswap_constant_64): Reformat definition. Do not use
15402 __extension__ here.
15403 (__bswap_64): Always define as inline function, not macro. Use
15404 __extension__ on function definition. Use __builtin_bswap64 if
15405 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
15406 * string/test-endian-file-scope.c: New file.
15407 * string/test-endian-sign-conversion.c: Likewise.
15408 * string/Makefile (headers): Remove bits/byteswap-16.h.
15409 (tests): Add test-endian-file-scope and
15410 test-endian-sign-conversion.
15411 (CFLAGS-test-endian-sign-conversion.c): New variable.
15412 * bits/byteswap-16.h: Remove file.
15413 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
15414 * sysdeps/ia64/bits/byteswap.h: Likewise.
15415 * sysdeps/m68k/bits/byteswap.h: Likewise.
15416 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15417 * sysdeps/s390/bits/byteswap.h: Likewise.
15418 * sysdeps/tile/bits/byteswap.h: Likewise.
15419 * sysdeps/x86/bits/byteswap-16.h: Likewise.
15420 * sysdeps/x86/bits/byteswap.h: Likewise.
15421
15422 [BZ #17721]
15423 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
15424 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
15425 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
15426 199901L] (__restrict): Define to restrict.
15427
15428 [BZ #19667]
15429 * string/testcopy.c: Include <support/support.h>. Do not include
15430 <malloc.h>. Use <support/test-driver.c>.
15431 (main): Rename to do_test. Make static. Use xmalloc instead of
15432 malloc.
15433
15434 [BZ #13575]
15435 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
15436 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
15437 (SSIZE_MAX): Define to INT_MAX.
15438 * posix/test-ssize-max.c: New file.
15439 * posix/Makefile (tests): Add test-ssize-max.
15440
15441 [BZ #19668]
15442 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
15443 <support/support.h>. Do not include <malloc.h>.
15444 (query_auxv): Use xmalloc instead of malloc.
15445
15446 [BZ #14553]
15447 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
15448 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
15449 instead of loff_t.
15450
15451 2018-02-06 Florian Weimer <fweimer@redhat.com>
15452
15453 [BZ #18023]
15454 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15455 Use scratch_buffer instead of extend_alloca.
15456
15457 2018-02-06 Zack Weinberg <zackw@panix.com>
15458
15459 * libio/stdio.h: Don't define getc or putc as macros.
15460 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
15461 not _IO_getc and _IO_putc.
15462
15463 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
15464 * stdio-common/tstgetln.c: Don't redefine ssize_t.
15465
15466 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15467
15468 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
15469 (TCP_FASTOPEN_NO_COOKIE): Likewise.
15470
15471 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
15472
15473 [BZ #14890]
15474 * elf/elf.h (NT_PRFPREG): New macro.
15475 (NT_S390_VXRS_LOW): Likewise.
15476 (NT_S390_VXRS_HIGH): Likewise.
15477 (NT_S390_GS_CB): Likewise.
15478 (NT_S390_GS_BC): Likewise.
15479 (NT_S390_RI_CB): Likewise.
15480
15481 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
15482 (MAP_SYNC): New macro.
15483 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
15484 Likewise.
15485 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
15486 (MAP_SYNC): Likewise.
15487 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
15488 (MAP_SYNC): Likewise.
15489 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
15490 (MAP_SYNC): Likewise.
15491 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
15492 (MAP_SYNC): Likewise.
15493 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
15494 (MAP_SYNC): Likewise.
15495 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
15496 (MAP_SYNC): Likewise.
15497 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
15498 Likewise.
15499 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
15500 Likewise.
15501
15502 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
15503 (MAP_SHARED_VALIDATE): New macro.
15504 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15505 (MAP_SHARED_VALIDATE): Likewise.
15506
15507 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15508
15509 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
15510 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
15511 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
15512
15513 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15514
15515 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
15516 (DT_NUM): Updated to 35.
15517
15518 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15519
15520 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
15521 __builtin_expect with __glibc_likely and __glibc_unlikely.
15522 (elf_machine_rela): Likewise.
15523 (elf_machine_lazy_rel): Likewise.
15524
15525 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15526
15527 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
15528 __builtin_expect with __glibc_likely and __glibc_unlikely.
15529 (elf_machine_lazy_rel): Likewise.
15530
15531 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15532
15533 [BZ #22638]
15534 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
15535 SHARED.
15536 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
15537
15538 2018-02-05 Andreas Schwab <schwab@suse.de>
15539
15540 [BZ #22761]
15541 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
15542 string.
15543
15544 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15545
15546 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
15547 not check against PTHREAD_STACK_MIN.
15548
15549 2018-02-02 Sean McKean <smckean83@gmail.com>
15550
15551 [BZ #22735]
15552 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
15553
15554 2018-02-02 Florian Weimer <fweimer@redhat.com>
15555
15556 [BZ #22753]
15557 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
15558 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
15559 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
15560 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
15561 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
15562 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
15563 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
15564 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
15565 * manual/llio.texi (Scatter-Gather): Mention offset -1.
15566 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
15567 * misc/tst-preadvwritev2.c (do_test): Call it.
15568 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
15569
15570 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
15571
15572 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
15573
15574 * benchtests/bench-memcmp.c: Print json instead of plain text.
15575
15576 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
15577 every test run.
15578
15579 2018-02-01 Joseph Myers <joseph@codesourcery.com>
15580
15581 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15582 version to 4.15.
15583 (s390_sthyi): New syscall.
15584
15585 * sysdeps/generic/ldbl-classify-compat.h: New file.
15586 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
15587 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
15588 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
15589 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
15590 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
15591 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
15592 * sysdeps/ieee754/dbl-64/s_finite.c: Include
15593 <ldbl-classify-compat.h>.
15594 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15595 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
15596 <ldbl-classify-compat.h>.
15597 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15598 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
15599 <ldbl-classify-compat.h>.
15600 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15601 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
15602 <ldbl-classify-compat.h>.
15603 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15604 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
15605 <ldbl-classify-compat.h>.
15606 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15607 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
15608 <ldbl-classify-compat.h>.
15609 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15610 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
15611 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15612 * sysdeps/m68k/coldfire/math_private.h: Remove file.
15613 * sysdeps/microblaze/math_private.h: Likewise.
15614 * sysdeps/nios2/math_private.h: Likewise.
15615 * sysdeps/sh/math_private.h: Likewise.
15616
15617 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
15618 * sysdeps/m68k/coldfire/math_private.h: ... here.
15619 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
15620 * sysdeps/tile/math_private.h: Likewise.
15621 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
15622 Remove macro.
15623 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
15624 Likewise.
15625
15626 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
15627 Remove macro.
15628 (libc_fetestexcept): Likewise.
15629 (libc_feupdateenv_test): Likewise.
15630 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
15631 (libc_fetestexcept): Likewise.
15632 (libc_feupdateenv_test): Likewise.
15633 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
15634 (libc_fetestexcept): Likewise.
15635 (libc_feupdateenv_test): Likewise.
15636 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
15637 (libc_fetestexcept): Likewise.
15638 (libc_feupdateenv_test): Likewise.
15639
15640 * sysdeps/generic/math_private.h
15641 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
15642 New inline function.
15643 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
15644 Likewise.
15645
15646 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
15647 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
15648 * sysdeps/generic/math_private.h
15649 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
15650 inline function.
15651 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
15652 Likewise.
15653 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
15654 Likewise.
15655 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
15656 Likewise.
15657 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
15658 Likewise.
15659 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
15660 Likewise.
15661 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
15662 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
15663 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
15664 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
15665 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
15666 (__fegetenv): Likewise.
15667 (fesetenv): Likewise.
15668 (__fesetenv): Likewise.
15669 (feupdateenv): Likewise.
15670 (__feupdateenv): Likewise.
15671 (fegetround): Likewise.
15672 (__fegetround): Likewise.
15673 (fesetround): Likewise.
15674 (__fesetround): Likewise.
15675
15676 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
15677 (feraiseexcept): New macro.
15678 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
15679 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
15680 Remove macro.
15681 (__feraiseexcept): Likewise.
15682 (feclearexcept): Likewise.
15683 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
15684 (__feraiseexcept): Likewise.
15685 (feclearexcept): Likewise.
15686 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
15687 (__feraiseexcept): Likewise.
15688 (feclearexcept): Likewise.
15689 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
15690 (__feraiseexcept): Likewise.
15691 (feclearexcept): Likewise.
15692 (fetestexcept): Likewise.
15693
15694 * sysdeps/m68k/coldfire/math-tests.h: New file.
15695
15696 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
15697 * sysdeps/m68k/bits/fenv.h: ... here.
15698 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
15699 not define.
15700 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
15701 Likewise.
15702 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
15703 Likewise.
15704 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
15705 Likewise.
15706 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
15707 Likewise.
15708 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
15709 Define to 0.
15710 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
15711 (__FE_UNDEFINED): New enum constant.
15712 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
15713 Do not define.
15714 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
15715 Likewise.
15716 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
15717 Likewise.
15718 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
15719 to match generic bits/fenv.h.
15720 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
15721 Do not define.
15722
15723 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
15724 packed on bits.
15725 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
15726 * soft-fp/half.h (union _FP_UNION_H): Likewise.
15727 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
15728 * soft-fp/single.h (union _FP_UNION_S): Likewise.
15729
15730 2018-02-01 Carlos O'Donell <carlos@redhat.com>
15731 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
15732 Joseph Myers <joseph@codesourcery.com>
15733
15734 [BZ #21314]
15735 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
15736 (__log1p): Disable -Wmaybe-uninitialized for -Os around
15737 computation using c.
15738 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
15739 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
15740 computation using c.
15741
15742 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15743
15744 * version.h (RELEASE): Set to "development".
15745 (VERSION): Set to "2.27.9000".
15746 * NEWS (2.28): New section.
15747
15748 * version.h (RELEASE): Set to "stable".
15749 (VERSION): Set to "2.27".
15750 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
15751
15752 * NEWS: Add the list of bugs fixed in 2.27.
15753
15754 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15755
15756 * stdlib/test-atexit-race-common.c (do_test): Check stack size
15757 against PTHREAD_STACK_MIN.
15758
15759 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15760
15761 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
15762 New entries.
15763 (Rafal Luzynski, Andreas Schwab): Update.
15764
15765 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
15766
15767 [BZ #10871]
15768 * NEWS: List the languages which actually use the alternative
15769 months feature in this release. Also explain that "alt_mon" and
15770 "ab_alt_mon" are optional.
15771
15772 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
15773
15774 [BZ #22765]
15775 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
15776
15777 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
15778
15779 * manual/install.texi (Tools for Compilation): Update the newest
15780 versions of gcc, binutils, texinfo, gawk, bison, and sed.
15781 * INSTALL: Regenerated.
15782
15783 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15784
15785 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
15786 instead of __builtin_expect.
15787
15788 2018-01-30 Florian Weimer <fweimer@redhat.com>
15789
15790 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
15791 data.
15792 * nss/tst-nss-getpwent.c (do_test): Likewise.
15793
15794 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
15795
15796 [BZ #10871]
15797 * localedata/locales/hr_HR (mon): Rename to...
15798 (alt_mon): This.
15799 (mon): Import from CLDR (genitive case).
15800 (d_t_fmt): Update the comment.
15801
15802 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
15803
15804 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
15805 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
15806 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
15807
15808 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15809
15810 * mach/Versions: Fix version when __mach_host_self_ was added.
15811 * hurd/Versions: Fix version when _hurd_exec_paths was added.
15812 * sysdeps/mach/hurd/i386/ld.abilist: New file.
15813 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
15814 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
15815 * sysdeps/mach/hurd/i386/libc.abilist: New file.
15816 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
15817 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
15818 * sysdeps/mach/hurd/i386/libm.abilist: New file.
15819 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
15820 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
15821 * sysdeps/mach/hurd/i386/librt.abilist: New file.
15822 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
15823 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
15824 || to respect codestyle.
15825 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
15826 (do_test_bz20181): Rename accordingly.
15827 * malloc/malloc.c: Include <assert.h>.
15828 (assert): Do not define.
15829 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
15830 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
15831 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
15832 * sysdeps/mach/hurd/hp-timing.h: New file.
15833 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
15834
15835 2018-01-29 Darius Rad <darius@bluespec.com>
15836
15837 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
15838
15839 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
15840
15841 * sysdeps/init_array/crti.S (.section .init_array): Add
15842 PREINIT_FUNCTION when defined.
15843 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
15844 * config.h.in: Regenerate.
15845 * manual/platform.texi: Add RISC-V documenation for
15846 __riscv_flush_icache.
15847 * sysdeps/riscv/__longjmp.S: New file.
15848 * sysdeps/riscv/backtrace.c: Likewise.
15849 * sysdeps/riscv/bits/endian.h: Likewise.
15850 * sysdeps/riscv/bits/setjmp.h: Likewise.
15851 * sysdeps/riscv/bits/wordsize.h: Likewise.
15852 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
15853 * sysdeps/riscv/bsd-setjmp.c: Likewise.
15854 * sysdeps/riscv/dl-trampoline.S: Likewise.
15855 * sysdeps/riscv/gccframe.h: Likewise.
15856 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
15857 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
15858 * sysdeps/riscv/machine-gmon.h: Likewise.
15859 * sysdeps/riscv/memusage.h: Likewise.
15860 * sysdeps/riscv/setjmp.S: Likewise.
15861 * sysdeps/riscv/sys/asm.h: Likewise.
15862 * sysdeps/riscv/tls-macros.h: Likewise.
15863 * sysdeps/riscv/dl-tls.h: New file.
15864 * sysdeps/riscv/libc-tls.c: Likewise.
15865 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
15866 * sysdeps/riscv/nptl/tls.h: Likewise.
15867 * sysdeps/riscv/stackinfo.h: Likewise.
15868 * sysdeps/riscv/bits/fenv.h: New file.
15869 * sysdeps/riscv/e_sqrtl.c: Likewise.
15870 * sysdeps/riscv/fpu_control.h: Likewise.
15871 * sysdeps/riscv/math-tests.h: Likewise.
15872 * sysdeps/riscv/nofpu/Implies: Likewise.
15873 * sysdeps/riscv/sfp-machine.h: Likewise.
15874 * sysdeps/riscv/tininess.h: Likewise.
15875 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
15876 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
15877 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
15878 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
15879 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
15880 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
15881 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
15882 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
15883 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
15884 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
15885 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
15886 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
15887 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
15888 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
15889 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
15890 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
15891 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
15892 * sysdeps/riscv/rvd/s_finite.c: Likewise.
15893 * sysdeps/riscv/rvd/s_fma.c: Likewise.
15894 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
15895 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
15896 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
15897 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
15898 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
15899 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
15900 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
15901 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
15902 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
15903 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
15904 * sysdeps/riscv/rvf/fegetround.c: Likewise.
15905 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
15906 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
15907 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
15908 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
15909 * sysdeps/riscv/rvf/fesetround.c: Likewise.
15910 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
15911 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
15912 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
15913 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
15914 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
15915 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
15916 * sysdeps/riscv/rvf/math_private.h: Likewise.
15917 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
15918 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
15919 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
15920 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
15921 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
15922 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
15923 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
15924 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
15925 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
15926 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
15927 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
15928 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
15929 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
15930 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
15931 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
15932 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
15933 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
15934 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
15935 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
15936 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
15937 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
15938 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15939 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
15940 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
15941 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
15942 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
15943 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
15944 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
15945 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
15946 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
15947 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
15948 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
15949 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
15950 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
15951 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
15952 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
15953 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
15954 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
15955 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
15956 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
15957 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
15958 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
15959 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
15960 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
15961 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
15962 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
15963 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
15964 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
15965 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
15966 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
15967 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
15968 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
15969 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
15970 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
15971 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
15972 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
15973 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
15974 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
15975 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
15976 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
15977 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15978 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15979 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15980 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
15981 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15982 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
15983 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
15984 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
15985 * sysdeps/riscv/Implies: New file.
15986 * sysdeps/riscv/Makefile: Likewise.
15987 * sysdeps/riscv/configure: Likewise.
15988 * sysdeps/riscv/configure.ac: Likewise.
15989 * sysdeps/riscv/nptl/Makefile: Likewise.
15990 * sysdeps/riscv/preconfigure: Likewise.
15991 * sysdeps/riscv/rv64/Implies-after: Likewise.
15992 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
15993 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
15994 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
15995 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
15996 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
15997 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
15998 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
15999 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
16000 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
16001 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
16002 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
16003 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
16004 (Config): Likewise.
16005
16006 2018-01-29 Florian Weimer <fweimer@redhat.com>
16007
16008 [BZ #22701]
16009 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
16010 libnsl_hidden_proto.
16011 * include/rpcsvc/yp.h (yp_xdrall): Declare with
16012 libnsl_hidden_proto.
16013 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
16014 * nis/Makefile (libnsl-routines): Add nss-default only for
16015 build-obsolete-nsl.
16016 * nis/nis_defaults.c (__nis_default_ttl): Add
16017 libnsl_hidden_nolink_def.
16018 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
16019 declaration.
16020 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
16021 * nis/ypclnt.c (yp_maplist): Likewise.
16022
16023 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
16024
16025 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16026 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
16027
16028 2018-01-29 Joseph Myers <joseph@codesourcery.com>
16029
16030 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
16031 clean -dxfq for git updates when replacing sources.
16032
16033 * scripts/build-many-glibcs.py (Config.build_gcc): Use
16034 --disable-libcilkrts unconditionally, not just for the final GCC
16035 build for Hurd.
16036
16037 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16038 version to 4.15.
16039
16040 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16041
16042 [BZ #10871]
16043 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
16044 case).
16045
16046 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16047
16048 [BZ #10871]
16049 * localedata/locales/be_BY (mon): Rename to...
16050 (alt_mon): This, then synchronize with CLDR (nominative case).
16051 (abmon): Rename to...
16052 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16053 (mon): Import from CLDR (genitive case).
16054 (abmon): Likewise.
16055 * localedata/locales/be_BY@latin (mon): Rename to...
16056 (alt_mon): This.
16057 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
16058
16059 * localedata/locales/be_BY@latin (lang_name): Reworded to
16060 "biełaruskaja mova".
16061
16062 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16063
16064 [BZ #10871]
16065 * localedata/locales/el_CY (mon): Renamed to...
16066 (alt_mon): This.
16067 (mon): Import from CLDR (genitive case).
16068 * localedata/locales/el_GR: Likewise.
16069
16070 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16071
16072 [BZ #10871]
16073 * localedata/locales/ru_RU (mon): Rename to...
16074 (alt_mon): This.
16075 (abmon): Rename to...
16076 (ab_alt_mon): This.
16077 (mon): Import from CLDR (genitive case).
16078 (abmon): Copy from the old content except the 5th month which is
16079 now in the genitive case, even when abbreviated.
16080 * localedata/locales/ru_UA: Likewise.
16081 * time/tst-strptime.c (day_tests): Add an actual example of
16082 a difference between %b and %Ob in Russian.
16083
16084 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16085
16086 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
16087 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
16088 a `c' variable.
16089 * resolv/res-close.c: Include <stdlib.h>.
16090 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
16091 <sys/wait.h>, <time.h>, <sys/uio.h>.
16092 (NOT_CANCEL_H): Add inclusion guard.
16093 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
16094 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
16095 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
16096 return 0.
16097 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
16098 vm_address_t * to ElfW(Addr) * for dl_main parameter.
16099 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
16100 instead of void *.
16101 * sysdeps/pthread/timer_create.c (timer_create): Do not use
16102 timer_ptr2id to cast struct timer_node * to void *.
16103 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
16104 --disable-libcilkrts to gcc configure.
16105 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
16106 and make them the default for now.
16107 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
16108 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
16109 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
16110 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
16111 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
16112 MACH_IPC_COMPAT.
16113 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
16114 __task_terminate would ever return successfully.
16115 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
16116 to global scope.
16117 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
16118 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
16119 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
16120 critical section to make code simpler and avoid warning.
16121 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
16122 critical section to make code simpler and avoid warning.
16123 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
16124 const char * instead of char *.
16125 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
16126 __hurd_file_name_split, hurd_file_name_split,
16127 __hurd_directory_name_split, hurd_directory_name_split,
16128 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
16129 hurd_file_name_path_lookup): Make lookup function parameter take a
16130 const char *name instead of char *name.
16131 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
16132 __hurd_directory_name_split): Likewise.
16133 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
16134 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
16135 * sysdeps/mach/hurd/check_native.c: New file.
16136 * sysdeps/mach/hurd/check_pf.c: New file.
16137 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
16138 (__freeifaddrs): Define macro to freeifaddrs.
16139 * sysdeps/mach/hurd/libhurduser.abilist: New file.
16140 * sysdeps/mach/libmachuser.abilist: New file.
16141 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
16142 (do_test_bz20181): Rename accordingly.
16143 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
16144 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
16145 <sys/mount.h>.
16146 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
16147 version only if __USE_EXTERN_INLINES is defined.
16148 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
16149 __hurd_sockfail): Likewise.
16150 (_hurd_fd_get): Always declare functions, and provide inline versions
16151 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
16152 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
16153 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
16154 _hurd_port_set): Always declare functions, and provide inline versions
16155 only if __USE_EXTERN_INLINES and _LIBC are defined and
16156 IS_IN(libc).
16157 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
16158 _hurd_critical_section_unlock): Likewise.
16159 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
16160 * __hurd_threadvar_location): Likewise.
16161 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
16162 _hurd_userlink_clear): Likewise.
16163 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
16164 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
16165 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
16166 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
16167 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
16168 __spin_lock_locked): Likewise.
16169 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
16170 __spin_lock_locked): Likewise.
16171 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
16172 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
16173 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
16174 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
16175 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
16176 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
16177 _POSIX_NO_TRUNC): Define to 0.
16178 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
16179 check size against PTHREAD_STACK_MIN.
16180 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
16181 IS_IN(libpthread)]: Include <sigsetops.h>.
16182 * mach/Makefile (user-interfaces): Add mach/gnumach.
16183 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
16184 * sysdeps/mach/configure (mach_interface_list): Regenerate.
16185 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
16186 instead of invalid -1.
16187 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
16188 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
16189 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
16190 <net/ppp_defs.h>.
16191
16192 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
16193
16194 * hurd/fcntl-internal.h: New file.
16195
16196 2018-01-27 James Clarke <jrtc27@jrtc27.com>
16197
16198 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16199
16200 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16201
16202 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
16203
16204 [BZ #22701]
16205 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
16206 Build only shared objects.
16207
16208 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16209
16210 * README: Update for hppa.
16211
16212 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16213
16214 * sysdeps/sparc/fpu/libm-test-ulps: Update
16215 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
16216
16217 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16218
16219 Revert:
16220
16221 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16222
16223 [BZ #22563]
16224 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16225 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
16226 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16227 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
16228 to feature_1.
16229
16230 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16231
16232 [BZ #22563]
16233 * bits/types/__cancel_jmp_buf_tag.h: New file.
16234 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
16235 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
16236 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
16237 * nptl/Makefile (headers): Add
16238 bits/types/__cancel_jmp_buf_tag.h.
16239 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
16240 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
16241 * sysdeps/nptl/pthread.h: Include
16242 <bits/types/__cancel_jmp_buf_tag.h>.
16243 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
16244 __cancel_jmp_buf.
16245 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
16246
16247 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
16248
16249 [BZ #10871]
16250 * localedata/locales/uk_UA (mon): Renamed to...
16251 (alt_mon): This.
16252 (alt_digits): "0" removed and then renamed to...
16253 (mon): This.
16254 (date_fmt): Definition changed not to use the alternative
16255 digits hack.
16256
16257 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
16258
16259 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
16260 FLAG_RISCV_FLOAT_ABI_DOUBLE.
16261 * elf/elf.h (EF_RISCV_RVC): New define.
16262 (EF_RISCV_FLOAT_ABI): Likewise.
16263 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
16264 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
16265 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16266 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
16267 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
16268 define.
16269 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16270
16271 2018-01-25 Andreas Schwab <schwab@suse.de>
16272
16273 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
16274 single quotes.
16275 * sysdeps/gnu/configure: Regenerate.
16276 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
16277 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16279 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
16280 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
16281 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
16282 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
16283 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
16284
16285 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16286
16287 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
16288 URL, and run autoconf, make it the default for now.
16289
16290 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16291
16292 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16293 soft-float ColdFire configuration.
16294
16295 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
16296 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
16297 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
16298
16299 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
16300 MicroBlaze file.
16301
16302 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
16303 ....
16304 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
16305 ... here.
16306 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
16307 New file.
16308
16309 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
16310 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
16311 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
16312 file.
16313
16314 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
16315
16316 [BZ #22742]
16317 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
16318 Rename to __reserved and add comment.
16319 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
16320 Rename to __reserved.
16321
16322 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16323
16324 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16325 i686-gnu configurations.
16326 (Context.run_builds): Include mig, gnumach and hurd in components
16327 considered.
16328 (Context.checkout): Add mig, gnumach and hurd to components.
16329 (Context.checkout_tar): Add URL mappings for mig, gnumach and
16330 hurd.
16331 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
16332 (Config.build): Install gnumach headers, build mig and install
16333 hurd headers for 'gnu' OS.
16334 (Config.install_gnumach_headers): New function.
16335 (Config.install_hurd_headers): Likewise.
16336 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
16337 when building for 'gnu' OS.
16338
16339 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
16340
16341 * manual/tunables.texi (Hardware Capability Tunables): Fix
16342 spelling.
16343
16344 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
16345
16346 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
16347 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
16348 (ALTMON_11, ALTMON_12): Improve documentation.
16349 * manual/time.texi (strftime): Likewise.
16350
16351 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16352
16353 [BZ #10871]
16354 * localedata/locales/pl_PL: Alternative month names added,
16355 primary month names are genitive now.
16356 * time/tst-strptime.c (day_tests): Actually use a genitive case
16357 of a month name in Polish language.
16358
16359 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16360
16361 [BZ #10871]
16362 * manual/locale.texi: Document ALTMON_1..12 constants for
16363 nl_langinfo. Specify when to use ALTMON instead of MON.
16364 * manual/time.texi (strftime, strptime): Document GNU extension
16365 permitting O modifier with %B and %b. Specify when to use
16366 %OB instead of %B.
16367
16368 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16369
16370 [BZ #10871]
16371 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
16372 names, define them as the same as abbreviated month names explicitly.
16373 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
16374 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
16375 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
16376 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
16377 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
16378 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
16379 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
16380 _NL_WABALTMON_12): New enum constants.
16381 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
16382 wab_alt_mon, and ab_alt_mon_defined members.
16383 (time_output): Output ab_alt_mon and wab_alt_mon members.
16384 (time_read): Read them, initialize them as copies of abmon and wabmon
16385 respectively if they are missing, initialize ab_alt_mon_defined.
16386 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
16387 * locale/programs/locfile-kw.h: Regenerate.
16388 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
16389 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
16390 and ru_RU.UTF-8.
16391 * time/strftime_l.c (a_altmonth, aam_len): New macros.
16392 [!COMPILE_WIDE] (ABALTMON_1): New macro.
16393 (__strftime_internal): Handle %Ob and %Oh formats.
16394 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
16395 (__strptime_internal): Handle %Ob and %Oh formats.
16396 * time/tst-strptime.c (day_tests): Add more tests to parse different
16397 forms of month names including the new %Ob format specifier.
16398
16399 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16400
16401 [BZ #10871]
16402 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
16403 define them as the same as primary full month names explicitly.
16404 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
16405 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
16406 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
16407 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
16408 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
16409 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
16410 _NL_WALTMON_12): New enum constants.
16411 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
16412 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
16413 macros.
16414 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
16415 walt_mon, and alt_mon_defined members.
16416 (time_output): Output alt_mon and walt_mon members.
16417 (time_read): Read them, initialize them as copies of mon and wmon
16418 respectively if they are missing, initialize alt_mon_defined.
16419 * locale/programs/locfile-kw.gperf (alt_mon): Define.
16420 * locale/programs/locfile-kw.h: Regenerate.
16421 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
16422 * localedata/tst-langinfo.c (map): Add tests for the new constants
16423 ALTMON_1 .. ALTMON_12.
16424 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
16425 and pl_PL.UTF-8.
16426 * time/strftime_l.c (f_altmonth): New macro.
16427 (__strftime_internal): Handle %OB format.
16428 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
16429 (__strptime_internal): Handle %OB format.
16430 * time/tst-strptime.c (day_tests): Add tests to parse different forms
16431 of month names including the new %OB format specifier.
16432
16433 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16434
16435 [BZ #22685]
16436 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
16437 from ABORT_TRANSACTION.
16438 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
16439 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
16440 ABORT_TRANSACTION_IMPL): Likewise.
16441 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
16442 Linux code, but remove the code that aborts transactions.
16443
16444 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16445
16446 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
16447
16448 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
16449
16450 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
16451 in date: "2004-14-09" should be "2004-09-14".
16452 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
16453 "2003-15-09" should be "2003-09-15".
16454
16455 2018-01-18 Arjun Shankar <arjun@redhat.com>
16456
16457 [BZ #22343]
16458 [BZ #22774]
16459 CVE-2018-6485
16460 CVE-2018-6551
16461 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
16462 after padding.
16463 (_int_memalign): check for integer overflow before calling
16464 _int_malloc.
16465 * malloc/tst-malloc-too-large.c: New test.
16466 * malloc/Makefile: Add tst-malloc-too-large.
16467
16468 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
16469
16470 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
16471 in date: "2017-24-07" should be "2017-07-24".
16472 * localedata/locales/mai_IN: Likewise.
16473 * localedata/locales/mai_NP: Likewise.
16474
16475 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
16476
16477 * po/ru.po: Update translations.
16478
16479 2018-01-17 Joseph Myers <joseph@codesourcery.com>
16480
16481 [BZ #22719]
16482 * sysdeps/hppa/backtrace.c: New file.
16483
16484 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
16485
16486 [BZ #22715]
16487 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
16488 align La_x86_64_retval to VEC_SIZE.
16489
16490 2018-01-16 Joseph Myers <joseph@codesourcery.com>
16491
16492 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
16493 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
16494
16495 2018-01-16 Florian Weimer <fweimer@redhat.com>
16496
16497 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
16498 Move tst-thread-exit-clobber ...
16499 [$(CXX)] (tests-unsupported): ... to here.
16500
16501 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16502
16503 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
16504 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
16505 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16506 (_dl_aarch64_cap_flags): Update.
16507 (_DL_HWCAP_COUNT): Update.
16508
16509 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16510
16511 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
16512 (_DL_HWCAP_LAST): Remove.
16513 (_DL_HWCAP_COUNT): Move to ...
16514 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16515 (_DL_HWCAP_COUNT): ... here.
16516
16517 2018-01-16 Florian Weimer <fweimer@redhat.com>
16518
16519 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
16520 mode with GNU extensions.
16521
16522 2018-01-15 Alan Hayward <alan.hayward@arm.com>
16523
16524 * elf/elf.h (NT_ARM_SVE): Define.
16525
16526 2018-01-15 Florian Weimer <fweimer@redhat.com>
16527
16528 [BZ #22636]
16529 * nptl/tst-minstack-throw.cc: New file.
16530 * nptl/Makefile (tests): Add tst-minstack-throw.
16531 (LDLIBS-tst-minstack-throw): Link with libstdc++.
16532 [!CXX] (tests-unsupported): Add tst-minstack-throw.
16533
16534 2018-01-15 Joseph Myers <joseph@codesourcery.com>
16535
16536 * scripts/build-many-glibcs.py (Context.checkout): Default
16537 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
16538 version to 1.1.0.
16539
16540 2018-01-13 Carlos O'Donell <carlos@redhat.com>
16541
16542 [BZ #22707]
16543 * elf/elf.h (DF_1_STUB): Define.
16544 (DF_1_PIE): Define.
16545
16546 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16547
16548 [BZ #22697]
16549 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
16550 Do not add 0.5 to integer or out-of-range arguments.
16551
16552 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16553
16554 * po/bg.po: Update translations.
16555 * po/cs.po: Likewise.
16556 * po/de.po: Likewise.
16557 * po/ko.po: Likewise.
16558 * po/pl.po: Likewise.
16559 * po/sv.po: Likewise.
16560 * po/uk.po: Likewise.
16561 * po/vi.po: Likewise.
16562
16563 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16564
16565 * aarch64/start.S (_start): Use __wrap_main.
16566 (__wrap_main): New local symbol.
16567
16568 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16569
16570 [BZ #22679]
16571 CVE-2018-1000001
16572 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
16573 generic_getcwd if the path returned by getcwd syscall is not absolute.
16574 * io/tst-getcwd-abspath.c: New test.
16575 * io/Makefile (tests): Add tst-getcwd-abspath.
16576
16577 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
16578
16579 * malloc/malloc.c (malloc_consolidate): Add size check.
16580
16581 2018-01-12 Florian Weimer <fweimer@redhat.com>
16582
16583 * support/write_message.c (write_message): Preserve errno.
16584 * support/check.c (print_failure): Likewise.
16585 * support/support_test_verify_impl.c (support_test_verify_impl):
16586 Likewise.
16587 * support/support_test_compare_failure.c
16588 (support_test_compare_failure): Likewise.
16589
16590 2018-01-12 Florian Weimer <fweimer@redhat.com>
16591
16592 [BZ #22701]
16593 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
16594 Prevent installation of libnsl.so.
16595 (libnsl-inhibit-o): Do not build (or install) static libraries.
16596
16597 2018-01-12 Egmont Koblinger <egmont@gmail.com>
16598
16599 [BZ #22657]
16600 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
16601 before the day number which may produce a double space.
16602 (date_fmt): Likewise.
16603
16604 2018-01-12 Joseph Myers <joseph@codesourcery.com>
16605
16606 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
16607 instead of fegetenv.
16608
16609 2018-01-11 Joseph Myers <joseph@codesourcery.com>
16610
16611 [BZ #22702]
16612 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
16613 comment to say exceptions are discarded.
16614 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
16615 __fegetenv.
16616 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
16617 be enabled.
16618
16619 2018-01-11 Florian Weimer <fweimer@redhat.com>
16620
16621 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
16622 and error message.
16623
16624 2018-01-11 Florian Weimer <fweimer@redhat.com>
16625
16626 [BZ #22636]
16627 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
16628 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
16629
16630 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16631
16632 [BZ #22693]
16633 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
16634 negative arguments in test for NaN or infinity argument.
16635
16636 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
16637
16638 * po/libc.pot: Regenerate.
16639
16640 2018-01-10 Florian Weimer <fweimer@redhat.com>
16641
16642 [BZ #22636]
16643 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
16644 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
16645
16646 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16647
16648 * hurd/hurd/fd.h: Include <fcntl.h>
16649 (__hurd_at_flags): New function.
16650 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
16651 with call to __hurd_at_flags.
16652 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
16653 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
16654 __faccessat
16655 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
16656 (__access_noerrno): Use __faccessat_common instead of access_common.
16657 (__access): Likewise.
16658 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
16659 with a call to __faccessat.
16660 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
16661 (__faccessat_common): ... this. Move implementation of __access into it when
16662 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
16663 reauthenticate_cwdir_at helper to implement AT mechanism.
16664 (__faccessat_noerrno): New function, just calls __faccessat_common.
16665 (__faccessat): New function, just calls __faccessat_common.
16666 (faccessat): Define weak alias.
16667
16668 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16669
16670 [BZ #22691]
16671 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16672 (CFLAGS-s_fmaxmagl.c): New variable.
16673 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
16674
16675 [BZ #22690]
16676 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
16677 long int for arguments of possibly overflowing addition or
16678 subtraction.
16679 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16680
16681 2018-01-09 Joseph Myers <joseph@codesourcery.com>
16682
16683 [BZ #22688]
16684 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16685 (CFLAGS-e_remainderl.c): New variable.
16686
16687 [BZ #22687]
16688 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
16689 variable.
16690 (CFLAGS-s_cacoshl.c): Likewise.
16691 (CFLAGS-s_casinhl.c): Likewise.
16692 (CFLAGS-s_catanl.c): Likewise.
16693 (CFLAGS-s_catanhl.c): Likewise.
16694 (CFLAGS-s_cexpl.c): Likewise.
16695 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
16696 (CFLAGS-s_csinhl.c): Likewise.
16697 (CFLAGS-s_clogl.c): Likewise.
16698 (CFLAGS-s_clog10l.c): Likewise.
16699 (CFLAGS-s_csinl.c): Likewise.
16700 (CFLAGS-s_csqrtl.c): Likewise.
16701
16702 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
16703 2017-01-09 Svante Signell <svante.signell@gmail.com>
16704
16705 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
16706 (_hurd_exec_paths): New function.
16707 * hurd/hurd.h (_hurd_exec): Deprecate function.
16708 (_hurd_exec_paths): Declare function.
16709 * hurd/Versions: Export _hurd_exec_paths.
16710 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
16711 (__execve): Use __getcwd to build absolute path, and use
16712 _hurd_exec_paths instead of _hurd_exec.
16713 * sysdeps/mach/hurd/spawni.c: Likewise.
16714 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
16715 _hurd_exec.
16716
16717 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
16718
16719 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
16720 test instead of failing in case of ENOENT returned by posix_openpt.
16721
16722 2018-01-08 Florian Weimer <fweimer@redhat.com>
16723
16724 resolv: Support binary labels in test framework.
16725 * support/resolv_test.c (struct to_be_freed): Remove.
16726 (struct compressed_name): New.
16727 (allocate_compressed_name, ascii_tolower)
16728 (compare_compressed_name): New functions.
16729 (struct resolv_response_builder): Update type of
16730 compression_offsets for use with tsearch. Rempve to_be_freed.
16731 (response_push_pointer_to_free): Remove function.
16732 (resolv_response_add_name): Rewrite using struct compressed_name
16733 and tsearch instead of hsearch_r.
16734 (response_builder_allocate): Remove initialization of
16735 compression_offsets.
16736 (response_builder_free): Update for removal of to_be_freed. Use
16737 tdestroy instead of hdestroy_r.
16738 * resolv/Makefile (tests): Add tst-resolv-binary.
16739 (tst-resolv-binary): Link with -lresolv -lpthread.
16740
16741 2018-01-08 Florian Weimer <fweimer@redhat.com>
16742
16743 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
16744 time. Pass positive flag instead of negative flag to
16745 support_test_compare_failure.
16746 (support_test_compare_failure): Change negative parameter to
16747 positive.
16748 * support/support_test_compare_failure.c (report)
16749 (support_test_compare_failure): Likewise.
16750 * support/tst-test_compare.c (return_ssize_t, return_int): New.
16751 (do_test): Check int/size_t, ssize_t/size_t comparisons.
16752
16753 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
16754
16755 [BZ #22637]
16756 * nptl/descr.h (stackblock, stackblock_size): Update comments.
16757 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
16758 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
16759 stacksize.
16760 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16761
16762 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
16763
16764 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16765 Add s_sincosf-sse2 and s_sincosf-fma.
16766 (CFLAGS-s_sincosf-fma.c): New.
16767 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
16768 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
16769 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
16770 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
16771 __sincosf is defined.
16772
16773 2018-01-08 Florian Weimer <fweimer@redhat.com>
16774
16775 * nptl/tst-thread-exit-clobber.cc: New file.
16776 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
16777 C++11 mode.
16778 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
16779 (tests): Add tst-thread-exit-clobber.
16780 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
16781
16782 2018-01-08 Florian Weimer <fweimer@redhat.com>
16783
16784 * support/check.h (support_static_assert): Define.
16785 (TEST_COMPARE): Use it.
16786
16787 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
16788
16789 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
16790 [!__RLIM_T_MATCHES_RLIM64_T]
16791 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
16792 __getrlimit64. Add libc_hidden_weak.
16793
16794 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
16795
16796 * elf/elf.h (R_RISCV_NONE): New define.
16797 (R_RISCV_32): Likewise.
16798 (R_RISCV_64): Likewise.
16799 (R_RISCV_RELATIVE): Likewise.
16800 (R_RISCV_COPY): Likewise.
16801 (R_RISCV_JUMP_SLOT): Likewise.
16802 (R_RISCV_TLS_DTPMOD32): Likewise.
16803 (R_RISCV_TLS_DTPMOD64): Likewise.
16804 (R_RISCV_TLS_DTPREL32): Likewise.
16805 (R_RISCV_TLS_DTPREL64): Likewise.
16806 (R_RISCV_TLS_TPREL32): Likewise.
16807 (R_RISCV_TLS_TPREL64): Likewise.
16808 * Makerules (make-link-multidir): Make directories before linking into
16809 them.
16810 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
16811 define.
16812 (VDSO_HASH_LINUX_4_15): Likewise.
16813 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
16814 in subdirectories of lib.
16815 * nptl/Makefile (/librt.so): Always depend on
16816 "$(shared-thread-library)".
16817
16818 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16819
16820 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
16821 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
16822 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
16823 (___tls_get_addr).
16824 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
16825 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
16826 "-O2 -march=i686".
16827 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
16828 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
16829 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
16830 * sysdeps/gnu/glob-lstat-compat.c: New file.
16831 * sysdeps/gnu/glob64-lstat-compat.c: New file.
16832 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
16833
16834 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16835
16836 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
16837 Reserve 16 chars to reloc_addr before calling _itoa_word.
16838
16839 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16840
16841 [BZ #22678]
16842 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
16843 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
16844
16845 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
16846 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
16847
16848 * resource/tst-getrlimit.c: Add copyright header.
16849
16850 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16851 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16852
16853 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16854 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
16855 Define __GI_getrlimit64 as weak alias of __getrlimit64.
16856 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
16857 instead.
16858 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16859 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
16860 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
16861 RLIM64_INFINITY): Fix values to match the kernel ones.
16862 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
16863 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
16864 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
16865 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
16866 getrlimit64@@GLIBC_2_27.
16867 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
16868 and setrlimit64.
16869 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
16870 getrlimit, setrlimit, getrlimit64 and setrlimit64.
16871 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
16872 setrlimit, getrlimit64 and setrlimit64.
16873
16874 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16875
16876 [BZ #22648]
16877 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
16878 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
16879
16880 2018-01-04 Joseph Myers <joseph@codesourcery.com>
16881
16882 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
16883 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
16884 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
16885
16886 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16887
16888 [BZ #15479]
16889 [BZ #22666]
16890 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
16891 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
16892
16893 [BZ #15479]
16894 [BZ #22665]
16895 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
16896 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
16897 * sysdeps/alpha/fpu/s_floor.c: Likewise.
16898 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
16899
16900 2018-01-04 Florian Weimer <fweimer@redhat.com>
16901
16902 [BZ #22667]
16903 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16904 Align the stack before calling exit.
16905 * stdlib/tst-makecontext-align.c: New file.
16906 * stdlib/Makefile (tests): Add tst-makecontext-align.
16907
16908 2018-01-04 Florian Weimer <fweimer@redhat.com>
16909
16910 Add support for calling dlvsym from libc.so.
16911 * include/dlfcn.h (__libc_dlvsym): Declare.
16912 * elf/Makefile (tests-static-internal): Add
16913 tst-libc_dlvsym-static.
16914 (tests-internal): Add tst-libc_dlvsym.
16915 (modules-names): Add tst-libc_dlvsym-dso.
16916 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
16917 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
16918 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
16919 object tst-libc_dlvsym-dso.so needs to be built before running
16920 these tests.
16921 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
16922 * elf/Versions: Export __libc_dlvsym.
16923 * elf/dl-libc.c (struct do_dlvsym_args): New.
16924 (do_dlvsym, __libc_dlvsym): New functions.
16925 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
16926 (_dl_open_hook2): New variable.
16927 (__libc_register_dl_open_hook): Set it.
16928 * elf/tst-libc_dlvsym-dso.c: New file.
16929 * elf/tst-libc_dlvsym-static.c: Likewise.
16930 * elf/tst-libc_dlvsym.c: Likewise.
16931 * elf/tst-libc_dlvsym.h: Likewise.
16932
16933 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16934
16935 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
16936 include <sys/mount.h>.
16937
16938 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
16939
16940 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
16941 Add __NO_MATH_ERRNO__ check.
16942
16943 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16944
16945 * sysdeps/mips/mips32/libm-test-ulps: Update.
16946 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16947
16948 2018-01-02 Florian Weimer <fweimer@redhat.com>
16949
16950 * misc/tst-pselect.c: Add copyright header.
16951
16952 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16953
16954 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
16955 comment.
16956 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
16957 comment.
16958 (settrlimit): Rename into setrlimit.
16959 (__sttrlimit): Rename into __setrlimit.
16960
16961 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
16962 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
16963 never defined in that case.
16964
16965 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16966
16967 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
16968
16969 * sysdeps/arm/libm-test-ulps: Update.
16970
16971 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
16972 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
16973
16974 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16975
16976 * NEWS: Add cosf and sincosf to list of optimized functions.
16977
16978 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16979
16980 [BZ #22660]
16981 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
16982 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
16983 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
16984 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
16985
16986 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
16987
16988 [BZ #22433]
16989 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
16990
16991 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
16992 making a copy of it.
16993
16994 2018-01-01 Joseph Myers <joseph@codesourcery.com>
16995
16996 * manual/texinfo.tex: Update to version 2017-12-26.21 with
16997 trailing whitespace removed.
16998 * scripts/config.guess: Update to version 2018-01-01.
16999 * scripts/config.sub: Update to version 2018-01-01.
17000 * scripts/move-if-change: Update from gnulib.
17001
17002 * NEWS: Update copyright dates.
17003 * catgets/gencat.c (print_version): Likewise.
17004 * csu/version.c (banner): Likewise.
17005 * debug/catchsegv.sh: Likewise.
17006 * debug/pcprofiledump.c (print_version): Likewise.
17007 * debug/xtrace.sh (do_version): Likewise.
17008 * elf/ldconfig.c (print_version): Likewise.
17009 * elf/ldd.bash.in: Likewise.
17010 * elf/pldd.c (print_version): Likewise.
17011 * elf/sotruss.sh: Likewise.
17012 * elf/sprof.c (print_version): Likewise.
17013 * iconv/iconv_prog.c (print_version): Likewise.
17014 * iconv/iconvconfig.c (print_version): Likewise.
17015 * locale/programs/locale.c (print_version): Likewise.
17016 * locale/programs/localedef.c (print_version): Likewise.
17017 * login/programs/pt_chown.c (print_version): Likewise.
17018 * malloc/memusage.sh (do_version): Likewise.
17019 * malloc/memusagestat.c (print_version): Likewise.
17020 * malloc/mtrace.pl: Likewise.
17021 * manual/libc.texinfo: Likewise.
17022 * nptl/version.c (banner): Likewise.
17023 * nscd/nscd.c (print_version): Likewise.
17024 * nss/getent.c (print_version): Likewise.
17025 * nss/makedb.c (print_version): Likewise.
17026 * posix/getconf.c (main): Likewise.
17027 * scripts/test-installation.pl: Likewise.
17028 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17029
17030 * All files with FSF copyright notices: Update copyright dates
17031 using scripts/update-copyrights.
17032 * locale/programs/charmap-kw.h: Regenerated.
17033 * locale/programs/locfile-kw.h: Likewise.
17034
17035 2017-12-31 Zack Weinberg <zackw@panix.com>
17036
17037 * libio/bits/libio-ldbl.h: Correct check for improper
17038 inclusion. Add own multiple include guard.
17039
17040 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
17041 Dmitry V. Levin <ldv@altlinux.org>
17042
17043 [BZ #22625]
17044 CVE-2017-16997
17045 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
17046 string token expansion. Check for NULL pointer or empty string possibly
17047 returned by expand_dynamic_string_token.
17048 (decompose_rpath): Check for empty path after dynamic string
17049 token expansion.
17050
17051 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
17052
17053 [BZ #22433]
17054 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
17055
17056 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
17057 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
17058 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
17059 and PTRACE_SYSCALL.
17060 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
17061 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17062 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17063 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17064 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17065 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17066
17067 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
17068 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17069 __ptrace_peeksiginfo_flags, ptrace): Move to ...
17070 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
17071 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17072 bits/ptrace-shared.h.
17073 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
17074 <bits/ptrace-shared.h>.
17075 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17076 __ptrace_peeksiginfo_flags, ptrace): Remove.
17077 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17078 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17079 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17080 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17081 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17082
17083 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17084
17085 [BZ #17804]
17086 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
17087 end of the loop. Improve comments.
17088
17089 2017-12-29 Zack Weinberg <zackw@panix.com>
17090
17091 [BZ #22615]
17092 * manual/errno.texi (Checking for Errors): Explicitly say that errno
17093 might be set on success.
17094
17095 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17096
17097 [BZ #22611]
17098 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
17099 is unchanged on success.
17100
17101 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
17102
17103 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
17104 updated.
17105 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
17106 expand_dynamic_string_token): Likewise.
17107 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
17108 is_path argument.
17109
17110 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
17111 contains ':'.
17112
17113 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
17114 is set and name contains ':', and all code depending on these checks.
17115
17116 2017-12-24 Zack Weinberg <zackw@panix.com>
17117
17118 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
17119 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
17120 respectively.
17121 * libio/libio.h: Rename the original version of this file to
17122 libio/bits/libio.h. Error out if not included by stdio.h or the
17123 stub libio.h.
17124 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
17125 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
17126 if not included by bits/libio.h or the stub _G_config.h.
17127 * sysdeps/unix/sysv/linux/_G_config.h: Move to
17128 sysdeps/unix/sysv/linux/bits. Error out if not included by
17129 bits/libio.h or the stub _G_config.h.
17130 * libio/stdio.h: Include bits/libio.h, not libio.h.
17131 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
17132 well as libio.h and _G_config.h.
17133
17134 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
17135 * libio/strfile.h, stdio-common/vfscanf.c
17136 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
17137 Include stdio.h, not _G_config.h nor libio.h.
17138 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
17139 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
17140
17141 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
17142
17143 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
17144
17145 [BZ #22347]
17146 * stdlib/getrandom.c (getrandom): Fix comment.
17147 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
17148
17149 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
17150
17151 [BZ #21161]
17152 * manual/arith.texi (strtoul): Fix a typo.
17153
17154 [BZ #22596]
17155 * manual/arith.texi (finite): Fix the description of the return
17156 value.
17157
17158 2017-12-22 Eric Blake <ebb9@byu.net>
17159
17160 Avoid gcc warnings on cygwin
17161 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
17162 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
17163 Avoid unused variable.
17164
17165 2017-12-22 Florian Weimer <fweimer@redhat.com>
17166
17167 * io/Makefile (routines): Add copy_file_range.
17168 (tests): Add tst-copy_file_range.
17169 (tests-static, tests-internal): Add tst-copy_file_range-compat.
17170 * io/Versions (GLIBC_2.27): Export copy_file_range.
17171 * io/copy_file_range-compat.c: New file.
17172 * io/copy_file_range.c: Likewise.
17173 * io/tst-copy_file_range-compat.c: Likewise.
17174 * io/tst-copy_file_range.c: Likewise.
17175 * manual/llio.texi (Copying File Data): New section.
17176 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
17177 * support/Makefile (libsupport-routines): Add support-xfstat,
17178 xftruncate, xlseek.
17179 * support/support-xfstat.c: New file.
17180 * support/xftruncate.c: Likewise.
17181 * support/xlseek.c: Likewise.
17182 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
17183 * sysdeps/unix/sysv/linux/**.abilist: Update.
17184 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
17185
17186 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
17187
17188 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17189 disable-multi-arch variant to aarch64-linux-gnu.
17190
17191 2017-12-20 Joseph Myers <joseph@codesourcery.com>
17192
17193 * manual/texinfo.tex: Update to version 2017-12-18.20 with
17194 trailing whitespace removed.
17195 * scripts/config.guess: Update to version 2017-12-17.
17196 * scripts/config.sub: Update to version 2017-11-23.
17197 * scripts/install-sh: Update to version 2017-09-23.17.
17198 * scripts/move-if-change: Update to version 2017-09-13 06:45.
17199
17200 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17201
17202 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
17203 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17204 * sysdeps/tile/_mcount.S (__mcount): Likewise.
17205 * sysdeps/tile/crti.S (_init, _fini): Likewise.
17206 * sysdeps/tile/crtn.S: Likewise.
17207 * sysdeps/tile/dl-start.S (_start): Likewise.
17208 * sysdeps/tile/dl-trampoline.S: Likewise.
17209 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
17210 * sysdeps/tile/start.S (_start): Likewise.
17211 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
17212 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
17213 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
17214 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
17215 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
17216 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
17217 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
17218
17219 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
17220 comment.
17221 * sysdeps/tile/preconfigure: Remove tilegx folder.
17222 * sysdeps/tile/tilegx/Implies: Move definitions to ...
17223 * sysdeps/tile/Implies: ... here.
17224 * sysdeps/tile/tilegx/Makefile: Move rules to ...
17225 * sysdeps/tile/Makefile: ... here.
17226 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
17227 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
17228 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
17229 * sysdeps/tile/bits/wordsize.h: ... here.
17230 * sysdeps/tile/tilegx/*: Move to ...
17231 * sysdeps/tile/*: ... here.
17232 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
17233 * sysdeps/tile/tilegx32/Implies: ... here.
17234 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
17235 * sysdeps/tile/tilegx64/Implies: ... here.
17236 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
17237 to ...
17238 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17239 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
17240 * sysdeps/unix/sysv/linux/tile/*: ... here.
17241 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
17242 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
17243 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
17244 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
17245
17246 * README: Remove tilepro-*-linux-gnu from supported architecture.
17247 * scripts/build-many-glibcs.py: Likewise.
17248 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17249 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
17250 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
17251 elf_machine_matches_host, elf_machine_dynamic,
17252 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
17253 howto, elf_machine_rela): Likewise.
17254 * sysdeps/tile/dl-start.S (_start): Likewise.
17255 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
17256 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
17257 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
17258 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
17259 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
17260 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
17261 Likewise.
17262 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
17263 * sysdeps/tile/preconfigure: Likewise.
17264 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
17265 POINTER_CHK_GUARD): Likewise.
17266 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
17267 * sysdeps/tile/start.S (_start): Likewise.
17268 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
17269 Likewise.
17270 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
17271 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
17272 CMOVNEZ): Remove.
17273 * sysdeps/unix/sysv/linux/tile/bits/environments.h
17274 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
17275 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
17276 Likewise.
17277 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
17278 * sysdeps/tile/tilepro/Implies: Remove file.
17279 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
17280 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
17281 * sysdeps/tile/tilepro/memchr.c: Likewise.
17282 * sysdeps/tile/tilepro/memcpy.S: Likewise.
17283 * sysdeps/tile/tilepro/memset.c: Likewise.
17284 * sysdeps/tile/tilepro/memusage.h: Likewise.
17285 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
17286 * sysdeps/tile/tilepro/strchr.c: Likewise.
17287 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
17288 * sysdeps/tile/tilepro/strlen.c: Likewise.
17289 * sysdeps/tile/tilepro/strrchr.c: Likewise.
17290 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
17291 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
17292 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
17293 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
17294 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
17295 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17296 Likewise.
17297 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
17298 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17299 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
17300 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
17301 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17302 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
17303 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
17304 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
17305 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
17306 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
17307 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
17308 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
17309 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
17310 tilepro mention in comment.
17311
17312 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
17313 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
17314 * nptl/pthread_join_common.c: New file: common function used on
17315 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
17316 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
17317 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
17318 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
17319 (cleanup): Move definition to pthread_join_common.c.
17320 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
17321 Remove superflous checks.
17322 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
17323 Likewise.
17324
17325 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
17326
17327 * sysdeps/aarch64/libm-test-ulps: Update.
17328
17329 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17330
17331 * sysdeps/aarch64/memset.S (MEMSET): Define.
17332
17333 2017-12-20 Florian Weimer <fweimer@redhat.com>
17334
17335 [BZ #22635]
17336 nptl: Provide full implementation of pthread_self in libc.so.
17337 * nptl/Makefile (routines): Add pthread_self.
17338 (libpthread-routines): Replace pthread_self with
17339 compat-pthread_self.
17340 * nptl/forward.c (pthread_self): Remove.
17341 * nptl/nptl-init.c (pthread_functions): Do not initialize
17342 ptr_pthread_self.
17343 * nptl/pthread_self.c (pthread_self): Remove weak alias.
17344 * nptl/compat-pthread_self.c: New file.
17345 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
17346 Remove ptr_pthread_self.
17347
17348 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
17349
17350 * posix/regcomp.c: Fix spelling in comments.
17351 * posix/regex.h: Likewise.
17352 * posix/regex_internal.c: Likewise.
17353 * posix/regexec.c: Likewise.
17354
17355 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17356
17357 [BZ #22377]
17358 * math/Makefile [C++] (tests): Add test for iseqsig.
17359 * math/math.h [C++] (iseqsig): New implementation, which does
17360 not rely on __MATH_TG/__builtin_types_compatible_p.
17361 * math/test-math-iseqsig.cc: New file.
17362 * sysdeps/powerpc/powerpc64le/Makefile
17363 (CFLAGS-test-math-iseqsig.cc): New variable.
17364
17365 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
17366
17367 * elf/dl-load.c (is_trusted_path): Remove.
17368 (fillin_rpath): Remove check_trusted argument and its use,
17369 all callers changed.
17370
17371 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17372
17373 [BZ #22630]
17374 * Makeconfig (link-pie-before-libc): Replace -pie with
17375 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
17376 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
17377 (tst-dlopen-aout-no-pie): New.
17378 (LDFLAGS-tst-prelink): Removed.
17379 (tst-prelink-no-pie): New.
17380 (LDFLAGS-tst-main1): Removed.
17381 (tst-main1-no-pie): New.
17382 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
17383 (tst-gmon-no-pie): New.
17384
17385 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17386
17387 * manual/install.texi: Document that --enable-static-pie
17388 implies PIE.
17389 * INSTALL: Regenerated.
17390
17391 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
17392
17393 [BZ #21309]
17394 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
17395 unsigned.
17396
17397 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17398
17399 Revert:
17400
17401 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17402
17403 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17404
17405 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17406
17407 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17408 <errno.h>. Include "eexp.tbl".
17409 (half): New constant.
17410 (one): Likewise.
17411 (__ieee754_exp): Rewrite.
17412 (__slowexp): Remove prototype.
17413 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17414 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17415 * sysdeps/i386/fpu/slowexp.c: Likewise.
17416 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17417 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17418 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17419 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17420 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17421 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17422 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17423 comment.
17424 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17425 (CPPFLAGS-slowexp.c): Remove variable.
17426 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17427 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17428 (CFLAGS-slowexp-fma.c): Remove variable.
17429 (CFLAGS-slowexp-fma4.c): Likewise.
17430 (CFLAGS-slowexp-avx.c): Likewise.
17431 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17432 define as macro.
17433 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17434 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17435 * math/Makefile (type-double-routines): Remove slowexp.
17436 * manual/probes.texi (slowexp_p6): Remove.
17437 (slowexp_p32): Likewise.
17438
17439 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17440
17441 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
17442 arithmetic.
17443
17444 * lib/glob.c (glob): Do not pass NULL to mempcpy.
17445
17446 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17447
17448 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17449
17450 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17451
17452 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17453 <errno.h>. Include "eexp.tbl".
17454 (half): New constant.
17455 (one): Likewise.
17456 (__ieee754_exp): Rewrite.
17457 (__slowexp): Remove prototype.
17458 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17459 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17460 * sysdeps/i386/fpu/slowexp.c: Likewise.
17461 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17462 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17463 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17464 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17465 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17466 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17467 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17468 comment.
17469 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17470 (CPPFLAGS-slowexp.c): Remove variable.
17471 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17472 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17473 (CFLAGS-slowexp-fma.c): Remove variable.
17474 (CFLAGS-slowexp-fma4.c): Likewise.
17475 (CFLAGS-slowexp-avx.c): Likewise.
17476 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17477 define as macro.
17478 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17479 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17480 * math/Makefile (type-double-routines): Remove slowexp.
17481 * manual/probes.texi (slowexp_p6): Remove.
17482 (slowexp_p32): Likewise.
17483
17484 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17485 James Clarke <jrtc27@jrtc27.com>
17486
17487 [BZ #22603]
17488 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
17489 addition.
17490
17491 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17492
17493 [BZ #22605]
17494 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
17495 code.
17496
17497 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17498
17499 [BZ #22563]
17500 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17501 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17502 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17503 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17504 to feature_1.
17505
17506 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17507
17508 [BZ #22563]
17509 * bits/types/__cancel_jmp_buf_tag.h: New file.
17510 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17511 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17512 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17513 * nptl/Makefile (headers): Add
17514 bits/types/__cancel_jmp_buf_tag.h.
17515 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17516 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17517 * sysdeps/nptl/pthread.h: Include
17518 <bits/types/__cancel_jmp_buf_tag.h>.
17519 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17520 __cancel_jmp_buf.
17521 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17522
17523 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17524
17525 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17526 --enable-static-pie variants to x86_64, x32 and i686.
17527
17528 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17529
17530 [BZ #22631]
17531 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
17532 argument for attrubutes. All callers changed.
17533 (__inline_mathop1): Likewise. All callers changed.
17534 (__inline_mathop): Likewise. All callers changed.
17535 [__USE_MISC] (scalbn): Use __inline_forward instead of
17536 __inline_forward_c.
17537 [__USE_ISOC99] (scalbln): Likewise.
17538 [__USE_ISOC99] (nearbyint): Likewise.
17539 [__USE_ISOC99] (lrint): Likewise.
17540 [__USE_MISC] (scalbnf): Likewise.
17541 [__USE_ISOC99] (scalblnf): Likewise.
17542 [__USE_ISOC99] (nearbyintf): Likewise.
17543 [__USE_ISOC99] (lrintf): Likewise.
17544 [__USE_MISC] (scalbnl): Likewise.
17545 [__USE_ISOC99] (scalblnl): Likewise.
17546 [__USE_ISOC99] (nearbyintl): Likewise.
17547 [__USE_ISOC99] (lrintl): Likewise.
17548 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
17549 __inline_mathop and __m81_defun changed.
17550
17551 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
17552 CPU or FPU for ARM hard-float configurations.
17553
17554 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17555
17556 * nptl/tst-attr3.c: Include <libc-diag.h>.
17557 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
17558
17559 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
17560
17561 * string/tester.c (test_strncat): Also disable -Warray-bounds
17562 warnings for two tests.
17563
17564 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17565
17566 [BZ #22614]
17567 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
17568 $(cc-pie-default) == yes.
17569 * config.make.in (cc-pie-default): New.
17570 * configure.ac (libc_cv_pie_default): Renamed to ...
17571 (libc_cv_cc_pie_default): This.
17572 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
17573 * configure: Regenerated.
17574
17575 2017-12-18 Florian Weimer <fweimer@redhat.com>
17576
17577 [BZ #20204]
17578 ld.so: Harden dl-libc/libdl hooks.
17579 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
17580 (rtld_active): New function.
17581 * dlfcn/dladdr.c (__dladdr): Call it.
17582 * dlfcn/dladdr1.c (__dladdr1): Likewise.
17583 * dlfcn/dlclose.c (__dlcose): Likewise.
17584 * dlfcn/dlerror.c (__dlerror): Likewise.
17585 * dlfcn/dlinfo.c (__dlinfo): Likewise.
17586 * dlfcn/dlmopen.c (__dlmopen): Likewise.
17587 * dlfcn/dlopen.c (__dlopen): Likewise.
17588 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17589 * dlfcn/dlsym.c (__dlsym): Likewise.
17590 * dlfcn/dlvsym.c (__dlvsym): Likewise.
17591 * libio/vtables.c (_IO_vtable_check): Likewise.
17592 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
17593 (__libc_dlclose): Likewise.
17594 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
17595 assignment.
17596
17597 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17598
17599 [BZ #22446]
17600 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
17601 buffers for readlink input and output.
17602
17603 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
17604
17605 [BZ #22624]
17606 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
17607 inhibit_stack_protector.
17608
17609 [BZ #22624]
17610 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
17611 inhibit_stack_protector.
17612
17613 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
17614
17615 [BZ #22627]
17616 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
17617 code and invocation.
17618
17619 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
17620
17621 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
17622
17623 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
17624
17625 [BZ #22505]
17626 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
17627
17628 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17629
17630 * sysdeps/s390/fpu/libm-test-ulps: Update.
17631
17632 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17633
17634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17635
17636 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17637
17638 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
17639 constants to s_sincosf.h file.
17640 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17641 * sysdeps/ieee754/flt-32/s_sincosf.c: New
17642 implementation.
17643 * sysdeps/ieee754/flt-32/s_sincosf.h:
17644 New file.
17645
17646 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17647
17648 [BZ #14681]
17649 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
17650 before mtrace.
17651
17652 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
17653
17654 [BZ #19574]
17655 * INSTALL: Regenerated.
17656 * Makeconfig (real-static-start-installed-name): New.
17657 (pic-default): Updated for --enable-static-pie.
17658 (pie-default): New for --enable-static-pie.
17659 (default-pie-ldflag): Likewise.
17660 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
17661 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
17662 Replace $(static-start-installed-name) with
17663 $(real-static-start-installed-name).
17664 (+prectorT): Updated for --enable-static-pie.
17665 (+postctorT): Likewise.
17666 (CFLAGS-.o): Add $(pie-default).
17667 (CFLAGS-.op): Likewise.
17668 * NEWS: Mention --enable-static-pie.
17669 * config.h.in (ENABLE_STATIC_PIE): New.
17670 * configure.ac (--enable-static-pie): New configure option.
17671 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
17672 (have-static-pie): Likewise.
17673 Enable static PIE if linker supports --no-dynamic-linker.
17674 (ENABLE_STATIC_PIE): New AC_DEFINE.
17675 (enable-static-pie): New LIBC_CONFIG_VAR.
17676 * configure: Regenerated.
17677 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
17678 gr$(start-installed-name) for --enable-static-pie.
17679 (extra-objs): Likewise.
17680 (install-lib): Likewise.
17681 (extra-objs): Add static-reloc.o and static-reloc.os
17682 ($(objpfx)$(start-installed-name)): Also depend on
17683 $(objpfx)static-reloc.o.
17684 ($(objpfx)r$(start-installed-name)): New.
17685 ($(objpfx)g$(start-installed-name)): Also depend on
17686 $(objpfx)static-reloc.os.
17687 ($(objpfx)gr$(start-installed-name)): New.
17688 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
17689 in libc.a.
17690 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
17691 initimage.
17692 * csu/static-reloc.c: New file.
17693 * elf/Makefile (routines): Add dl-reloc-static-pie.
17694 (elide-routines.os): Likewise.
17695 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
17696 (tst-tls1-static-non-pie-no-pie): New.
17697 * elf/dl-reloc-static-pie.c: New file.
17698 * elf/dl-support.c (_dl_get_dl_main_map): New function.
17699 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
17700 STATIC_PIE_BOOTSTRAP.
17701 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17702 * gmon/Makefile (tests): Add tst-gmon-static-pie.
17703 (tests-static): Likewise.
17704 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
17705 (tst-gmon-static-no-pie): New.
17706 (CFLAGS-tst-gmon-static-pie.c): Likewise.
17707 (CRT-tst-gmon-static-pie): Likewise.
17708 (tst-gmon-static-pie-ENV): Likewise.
17709 (tests-special): Likewise.
17710 ($(objpfx)tst-gmon-static-pie.out): Likewise.
17711 (clean-tst-gmon-static-pie-data): Likewise.
17712 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
17713 * gmon/tst-gmon-static-pie.c: New file.
17714 * manual/install.texi: Document --enable-static-pie.
17715 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
17716 (_dl_get_dl_main_map): Likewise.
17717 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
17718 * sysdeps/x86_64/configure.ac: Likewise.
17719 * sysdeps/i386/configure: Regenerated.
17720 * sysdeps/x86_64/configure: Likewise.
17721 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
17722 (ASFLAGS-.op): Likewise.
17723
17724 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17725
17726 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
17727 * posix/tst-mmap-offset.c (fname): Use /tmp.
17728 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
17729
17730 2017-12-15 Steve Ellcey <sellcey@cavium.com>
17731
17732 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
17733
17734 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
17735
17736 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
17737 errno.
17738
17739 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17740
17741 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
17742 --with-float=hard for arm-linux-gnueabihf configurations.
17743
17744 [BZ #14121]
17745 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
17746 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
17747 ($(mo-installed)): Use $(objpfx)%.mo.
17748 (realclean): Remove rule.
17749
17750 * po/Makefile (linguas): Remove rule and dependencies.
17751 (linguas.mo): Likewise.
17752 (.PHONY): Do not depend on linguas and linguas.mo.
17753 (podir): Remove variable.
17754 (pofiles): Likewise.
17755 [$(pofiles)] (%.po): Remove rule.
17756
17757 * sysdeps/sparc/sparc32/Makefile
17758 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
17759 start-of-line whitespace in argument of echo.
17760 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
17761 with whitespace. Generate __wrap_.udiv alias.
17762 * sysdeps/sparc/sparc32/rem.S: Regenerated.
17763 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17764 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17765 * sysdeps/sparc/sparc32/urem.S: Likewise.
17766
17767 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17768
17769 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
17770 for aligned inputs.
17771
17772 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17773
17774 * benchtests/bench-strcmp.c: Print output in JSON format.
17775
17776 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
17777
17778 2017-12-14 Florian Weimer <fweimer@redhat.com>
17779
17780 [BZ #22607]
17781 CVE-2017-1000409
17782 * elf/dl-load.c (_dl_init_paths): Compute number of components in
17783 the expanded path string.
17784
17785 2017-12-14 Florian Weimer <fweimer@redhat.com>
17786
17787 [BZ #22606]
17788 CVE-2017-1000408
17789 * elf/dl-load.c (system_dirs): Update comment.
17790 (nsystem_dirs_len): Use array_length.
17791 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
17792
17793 2017-12-14 Florian Weimer <fweimer@redhat.com>
17794
17795 Simplify compiling most of support/ outside of glibc.
17796 * support/check_addrinfo.c: Include <string.h>.
17797 * support/check_dns_packet.c: Likewise.
17798 * support/check_hostent.c: Likewise.
17799 * support/support_can_chroot.c: Include <support/xunistd.h>.
17800 * support/support_format_addrinfo.c: Include <stdlib.h>
17801 * support/support_format_dns_packet.c: Include <stdbool.h>.
17802 * support/support_format_hostent.c: Include <stdlib.h>.
17803 * support/support_format_netent.c: Likewise.
17804 * support/support_write_string.c: Include <support/xunistd.h>.
17805 * support/xdlfcn.c: Include <stddef.h>.
17806
17807 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
17808
17809 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
17810
17811 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17812 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17813
17814 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17815 (sysdeps_routines): Add memset-niagara7.
17816 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
17817 Likewise.
17818 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
17819 file.
17820 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
17821 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17822 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
17823 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
17824 Add niagara7 option.
17825 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
17826 memset.
17827
17828 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17829 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
17830 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
17831 Likewise.
17832 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
17833 New file.
17834 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
17835 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
17836 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17837 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
17838 and __memmove_niagara7.
17839 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
17840 Add niagara7 option.
17841 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
17842 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
17843 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
17844 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
17845 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
17846
17847 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
17848
17849 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
17850 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
17851 * sysdeps/sparc/sparc64/memmove.S: Likewise.
17852 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
17853
17854 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
17855 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
17856 _dl_sparc_cap_flags array.
17857 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
17858
17859 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17860
17861 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
17862 time whenever possible.
17863
17864 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17865
17866 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
17867 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
17868
17869 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17870
17871 * soft-fp/fmadf4.c: Move to ....
17872 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
17873 * soft-fp/fmasf4.c: Move to ....
17874 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
17875 * soft-fp/fmatf4.c: Move to ....
17876 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
17877 * sysdeps/ieee754/soft-fp/Makefile: New file.
17878 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
17879 * sysdeps/arm/preconfigure: Regenerated.
17880 * sysdeps/arm/nofpu/Implies: New file.
17881 * sysdeps/arm/s_fma.c: Remove file.
17882 * sysdeps/arm/s_fmaf.c: Likewise.
17883 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
17884 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
17885 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17886 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
17887 * sysdeps/microblaze/s_fma.c: Remove file.
17888 * sysdeps/microblaze/s_fmaf.c: Likewise.
17889 * sysdeps/mips/mips32/nofpu/Implies: New file.
17890 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
17891 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
17892 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
17893 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
17894 * sysdeps/mips/ieee754/s_fma.c: Remove file.
17895 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
17896 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
17897 implementation.
17898 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
17899 * sysdeps/nios2/s_fma.c: Remove file.
17900 * sysdeps/nios2/s_fmaf.c: Likewise.
17901 * sysdeps/sh/nofpu/Implies: New file.
17902 * sysdeps/sh/s_fma.c: Remove file.
17903 * sysdeps/sh/s_fmaf.c: Likewise.
17904 * sysdeps/tile/Implies: Add ieee754/soft-fp.
17905 * sysdeps/tile/s_fma.c: Remove file.
17906 * sysdeps/tile/s_fmaf.c: Likewise.
17907
17908 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
17909
17910 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17911 Add s_cosf-sse2 and s_cosf-fma.
17912 (CFLAGS-s_cosf-fma.c): New.
17913 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
17914 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
17915 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
17916
17917 2017-12-12 Steve Ellcey <sellcey@cavium.com>
17918
17919 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
17920
17921 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17922
17923 * libio/Makefile (tests): Add tst-bz22415.
17924 (tst-bz22415-ENV): New rule.
17925 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
17926 (tests-special): Add tst-bz22415-mem.out.
17927 ($(objpfx)tst-bz22415-mem.out): New rule.
17928 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
17929 in case of a successful seek operation.
17930 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17931 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
17932 buffer is required.
17933 * libio/tst-bz22415.c: New test.
17934
17935 * sysdeps/ia64/fpu/libm-test-ulps: Update.
17936
17937 2017-12-12 James Clarke <jrtc27@jrtc27.com>
17938
17939 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
17940 __IPC_64 to 0 to avoid IPC_64 being set.
17941
17942 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17943
17944 [BZ #22593]
17945 * math/bits/mathcalls.h (nextafter): Remove const.
17946 (nexttoward): Likewise.
17947
17948 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17949
17950 * configure.ac (--with-fp): Remove configure option.
17951 (with_fp_cond): New variable.
17952 (libc_cv_with_fp): New configure test. Use this variable instead
17953 of with_fp.
17954 * configure: Regenerated.
17955 * config.make.in (with-fp): Use @libc_cv_with_fp@.
17956 * manual/install.texi (Configuring and compiling): Remove
17957 --without-fp.
17958 * INSTALL: Regenerated.
17959 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
17960 * sysdeps/mips/preconfigure (with_fp_cond): Define.
17961 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
17962 * sysdeps/sh/preconfigure (with_fp_cond): Define.
17963 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
17964 use --without-fp to configure glibc.
17965
17966 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
17967
17968 * manual/locale.texi (nl_langinfo): Fix a typo.
17969
17970 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
17971
17972 [BZ #22588]
17973 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
17974
17975 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
17976
17977 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
17978 (CFLAGS-argp-parse.c): Likewise.
17979 (CFLAGS-argp-fmtstream.c): Likewise.
17980 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
17981 (CPPFLAGS-sha512-crypt.c): Likewise.
17982 (CPPFLAGS-md5-crypt.c): Likewise.
17983 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
17984 (CFLAGS-stack_chk_fail_local.c): Likewise.
17985 (CFLAGS-backtrace.c): Likewise.
17986 (CFLAGS-sprintf_chk.c): Likewise.
17987 (CFLAGS-snprintf_chk.c): Likewise.
17988 (CFLAGS-vsprintf_chk.c): Likewise.
17989 (CFLAGS-vsnprintf_chk.c): Likewise.
17990 (CFLAGS-asprintf_chk.c): Likewise.
17991 (CFLAGS-vasprintf_chk.c): Likewise.
17992 (CFLAGS-obprintf_chk.c): Likewise.
17993 (CFLAGS-dprintf_chk.c): Likewise.
17994 (CFLAGS-vdprintf_chk.c): Likewise.
17995 (CFLAGS-printf_chk.c): Likewise.
17996 (CFLAGS-fprintf_chk.c): Likewise.
17997 (CFLAGS-vprintf_chk.c): Likewise.
17998 (CFLAGS-vfprintf_chk.c): Likewise.
17999 (CFLAGS-gets_chk.c): Likewise.
18000 (CFLAGS-fgets_chk.c): Likewise.
18001 (CFLAGS-fgets_u_chk.c): Likewise.
18002 (CFLAGS-fread_chk.c): Likewise.
18003 (CFLAGS-fread_u_chk.c): Likewise.
18004 (CFLAGS-swprintf_chk.c): Likewise.
18005 (CFLAGS-vswprintf_chk.c): Likewise.
18006 (CFLAGS-wprintf_chk.c): Likewise.
18007 (CFLAGS-fwprintf_chk.c): Likewise.
18008 (CFLAGS-vwprintf_chk.c): Likewise.
18009 (CFLAGS-vfwprintf_chk.c): Likewise.
18010 (CFLAGS-fgetws_chk.c): Likewise.
18011 (CFLAGS-fgetws_u_chk.c): Likewise.
18012 (CFLAGS-read_chk.c): Likewise.
18013 (CFLAGS-pread_chk.c): Likewise.
18014 (CFLAGS-pread64_chk.c): Likewise.
18015 (CFLAGS-recv_chk.c): Likewise.
18016 (CFLAGS-recvfrom_chk.c): Likewise.
18017 (CFLAGS-tst-longjmp_chk.c): Likewise.
18018 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
18019 (CFLAGS-tst-longjmp_chk2.c): Likewise.
18020 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
18021 (CFLAGS-tst-longjmp_chk3.c): Likewise.
18022 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18023 (CFLAGS-tst-chk1.c): Likewise.
18024 (CFLAGS-tst-chk2.c): Likewise.
18025 (CFLAGS-tst-chk3.c): Likewise.
18026 (CFLAGS-tst-chk4.cc): Likewise.
18027 (CFLAGS-tst-chk5.cc): Likewise.
18028 (CFLAGS-tst-chk6.cc): Likewise.
18029 (CFLAGS-tst-lfschk1.c): Likewise.
18030 (CFLAGS-tst-lfschk2.c): Likewise.
18031 (CFLAGS-tst-lfschk3.c): Likewise.
18032 (CFLAGS-tst-lfschk4.cc): Likewise.
18033 (CFLAGS-tst-lfschk5.cc): Likewise.
18034 (CFLAGS-tst-lfschk6.cc): Likewise.
18035 (CFLAGS-tst-ssp-1.c): Likewise.
18036 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
18037 (CFLAGS-scandir64.c): Likewise.
18038 (CFLAGS-scandir-tail.c): Likewise.
18039 (CFLAGS-scandir64-tail.c): Likewise.
18040 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
18041 (CFLAGS-dl-tunables.c): Likewise.
18042 (CFLAGS-dl-runtime.c): Likewise.
18043 (CFLAGS-dl-lookup.c): Likewise.
18044 (CFLAGS-dl-iterate-phdr.c): Likewise.
18045 (CFLAGS-vismain.c): Likewise.
18046 (CFLAGS-tst-linkall-static.c): Likewise.
18047 (CFLAGS-tst-linkall-static.c): Likewise.
18048 (CPPFLAGS-dl-load.c): Likewise.
18049 (CFLAGS-ldconfig.c): Likewise.
18050 (CFLAGS-dl-cache.c): Likewise.
18051 (CFLAGS-cache.c): Likewise.
18052 (CFLAGS-rtld.c): Likewise.
18053 (CFLAGS-multiload.c): Likewise.
18054 (CFLAGS-filtmod1.c): Likewise.
18055 (CFLAGS-tst-align.c): Likewise.
18056 (CFLAGS-tst-align2.c): Likewise.
18057 (CFLAGS-tst-alignmod.c): Likewise.
18058 (CFLAGS-tst-alignmod2.c): Likewise.
18059 (CPPFLAGS-tst-execstack.c): Likewise.
18060 (CFLAGS-tst-ptrguard1-static.c): Likewise.
18061 (CFLAGS-tst-latepthreadmod.c): Likewise.
18062 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
18063 (CFLAGS-getgrnam_r.c): Likewise.
18064 (CFLAGS-getgrent_r.c): Likewise.
18065 (CFLAGS-getgrent.c): Likewise.
18066 (CFLAGS-fgetgrent.c): Likewise.
18067 (CFLAGS-fgetgrent_r.c): Likewise.
18068 (CFLAGS-putgrent.c): Likewise.
18069 (CFLAGS-initgroups.c): Likewise.
18070 (CFLAGS-getgrgid.c): Likewise.
18071 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
18072 (CFLAGS-getsgent.c): Likewise.
18073 (CFLAGS-fgetsgent.c): Likewise.
18074 (CFLAGS-fgetsgent_r.c): Likewise.
18075 (CFLAGS-putsgent.c): Likewise.
18076 (CFLAGS-getsgnam.c): Likewise.
18077 (CFLAGS-getsgnam_r.c): Likewise.
18078 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
18079 (CFLAGS-iconv_charmap.c): Likewise.
18080 (CFLAGS-dummy-repertoire.c): Likewise.
18081 (CFLAGS-charmap.c): Likewise.
18082 (CFLAGS-linereader.c): Likewise.
18083 (CFLAGS-simple-hash.c): Likewise.
18084 (CFLAGS-gconv_conf.c): Likewise.
18085 (CFLAGS-iconvconfig.c): Likewise.
18086 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18087 (CFLAGS-gethstbyad.c): Likewise.
18088 (CFLAGS-gethstbynm_r.c): Likewise.
18089 (CFLAGS-gethstbynm.c): Likewise.
18090 (CFLAGS-gethstbynm2_r.c): Likewise.
18091 (CFLAGS-gethstbynm2.c): Likewise.
18092 (CFLAGS-gethstent_r.c): Likewise.
18093 (CFLAGS-gethstent.c): Likewise.
18094 (CFLAGS-rcmd.c): Likewise.
18095 (CFLAGS-getnetbynm_r.c): Likewise.
18096 (CFLAGS-getnetbynm.c): Likewise.
18097 (CFLAGS-getnetbyad_r.c): Likewise.
18098 (CFLAGS-getnetbyad.c): Likewise.
18099 (CFLAGS-getnetent_r.c): Likewise.
18100 (CFLAGS-getnetent.c): Likewise.
18101 (CFLAGS-getaliasent_r.c): Likewise.
18102 (CFLAGS-getaliasent.c): Likewise.
18103 (CFLAGS-getrpcent_r.c): Likewise.
18104 (CFLAGS-getrpcent.c): Likewise.
18105 (CFLAGS-getservent_r.c): Likewise.
18106 (CFLAGS-getservent.c): Likewise.
18107 (CFLAGS-getprtent_r.c): Likewise.
18108 (CFLAGS-getprtent.c): Likewise.
18109 (CFLAGS-either_ntoh.c): Likewise.
18110 (CFLAGS-either_hton.c): Likewise.
18111 (CFLAGS-getnetgrent.c): Likewise.
18112 (CFLAGS-getnetgrent_r.c): Likewise.
18113 (CFLAGS-tst-checks-posix.c): Likewise.
18114 (CFLAGS-tst-sockaddr.c): Likewise.
18115 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
18116 (CFLAGS-tst-translit.c): Likewise.
18117 (CFLAGS-tst-gettext2.c): Likewise.
18118 (CFLAGS-tst-codeset.c): Likewise.
18119 (CFLAGS-tst-gettext3.c): Likewise.
18120 (CFLAGS-tst-gettext4.c): Likewise.
18121 (CFLAGS-tst-gettext5.c): Likewise.
18122 (CFLAGS-tst-gettext6.c): Likewise.
18123 * io/Makefile (CFLAGS-open.c): Likewise.
18124 (CFLAGS-open64.c): Likewise.
18125 (CFLAGS-creat.c): Likewise.
18126 (CFLAGS-creat64.c): Likewise.
18127 (CFLAGS-fcntl.c): Likewise.
18128 (CFLAGS-poll.c): Likewise.
18129 (CFLAGS-ppoll.c): Likewise.
18130 (CFLAGS-lockf.c): Likewise.
18131 (CFLAGS-statfs.c): Likewise.
18132 (CFLAGS-fstatfs.c): Likewise.
18133 (CFLAGS-statvfs.c): Likewise.
18134 (CFLAGS-fstatvfs.c): Likewise.
18135 (CFLAGS-fts.c): Likewise.
18136 (CFLAGS-fts64.c): Likewise.
18137 (CFLAGS-ftw.c): Likewise.
18138 (CFLAGS-ftw64.c): Likewise.
18139 (CFLAGS-lockf.c): Likewise.
18140 (CFLAGS-posix_fallocate.c): Likewise.
18141 (CFLAGS-posix_fallocate64.c): Likewise.
18142 (CFLAGS-fallocate.c): Likewise.
18143 (CFLAGS-fallocate64.c): Likewise.
18144 (CFLAGS-read.c): Likewise.
18145 (CFLAGS-write.c): Likewise.
18146 (CFLAGS-test-stat.c): Likewise.
18147 (CFLAGS-test-lfs.c): Likewise.
18148 * libio/Makefile (CFLAGS-fileops.c): Likewise.
18149 (CFLAGS-fputc.c): Likewise.
18150 (CFLAGS-fputwc.c): Likewise.
18151 (CFLAGS-freopen64.c): Likewise.
18152 (CFLAGS-freopen.c): Likewise.
18153 (CFLAGS-fseek.c): Likewise.
18154 (CFLAGS-fseeko64.c): Likewise.
18155 (CFLAGS-fseeko.c): Likewise.
18156 (CFLAGS-ftello64.c): Likewise.
18157 (CFLAGS-ftello.c): Likewise.
18158 (CFLAGS-fwide.c): Likewise.
18159 (CFLAGS-genops.c): Likewise.
18160 (CFLAGS-getc.c): Likewise.
18161 (CFLAGS-getchar.c): Likewise.
18162 (CFLAGS-getwc.c): Likewise.
18163 (CFLAGS-getwchar.c): Likewise.
18164 (CFLAGS-iofclose.c): Likewise.
18165 (CFLAGS-iofflush.c): Likewise.
18166 (CFLAGS-iofgetpos64.c): Likewise.
18167 (CFLAGS-iofgetpos.c): Likewise.
18168 (CFLAGS-iofgets.c): Likewise.
18169 (CFLAGS-iofgetws.c): Likewise.
18170 (CFLAGS-iofputs.c): Likewise.
18171 (CFLAGS-iofputws.c): Likewise.
18172 (CFLAGS-iofread.c): Likewise.
18173 (CFLAGS-iofsetpos64.c): Likewise.
18174 (CFLAGS-iofsetpos.c): Likewise.
18175 (CFLAGS-ioftell.c): Likewise.
18176 (CFLAGS-iofwrite.c): Likewise.
18177 (CFLAGS-iogetdelim.c): Likewise.
18178 (CFLAGS-iogetline.c): Likewise.
18179 (CFLAGS-iogets.c): Likewise.
18180 (CFLAGS-iogetwline.c): Likewise.
18181 (CFLAGS-ioputs.c): Likewise.
18182 (CFLAGS-ioseekoff.c): Likewise.
18183 (CFLAGS-ioseekpos.c): Likewise.
18184 (CFLAGS-iosetbuffer.c): Likewise.
18185 (CFLAGS-iosetvbuf.c): Likewise.
18186 (CFLAGS-ioungetc.c): Likewise.
18187 (CFLAGS-ioungetwc.c): Likewise.
18188 (CFLAGS-oldfileops.c): Likewise.
18189 (CFLAGS-oldiofclose.c): Likewise.
18190 (CFLAGS-oldiofgetpos64.c): Likewise.
18191 (CFLAGS-oldiofgetpos.c): Likewise.
18192 (CFLAGS-oldiofsetpos64.c): Likewise.
18193 (CFLAGS-oldiofsetpos.c): Likewise.
18194 (CFLAGS-peekc.c): Likewise.
18195 (CFLAGS-putc.c): Likewise.
18196 (CFLAGS-putchar.c): Likewise.
18197 (CFLAGS-putwc.c): Likewise.
18198 (CFLAGS-putwchar.c): Likewise.
18199 (CFLAGS-rewind.c): Likewise.
18200 (CFLAGS-wfileops.c): Likewise.
18201 (CFLAGS-wgenops.c): Likewise.
18202 (CFLAGS-oldiofopen.c): Likewise.
18203 (CFLAGS-iofopen.c): Likewise.
18204 (CFLAGS-iofopen64.c): Likewise.
18205 (CFLAGS-oldtmpfile.c): Likewise.
18206 (CFLAGS-tst_putwc.c): Likewise.
18207 * locale/Makefile (CFLAGS-md5.c): Likewise.
18208 (CFLAGS-charmap.c): Likewise.
18209 (CFLAGS-locfile.c): Likewise.
18210 (CFLAGS-charmap-dir.c): Likewise.
18211 * login/Makefile (CFLAGS-grantpt.c): Likewise.
18212 (CFLAGS-getpt.c): Likewise.
18213 (CFLAGS-pt_chown.c): Likewise.
18214 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
18215 (CFLAGS-obstack.c): Likewise.
18216 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
18217 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
18218 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
18219 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
18220 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
18221 (CFLAGS-test-tgmath.c): Likewise.
18222 (CFLAGS-test-tgmath2.c): Likewise.
18223 (CFLAGS-test-tgmath-ret.c): Likewise.
18224 (CFLAGS-test-powl.c): Likewise.
18225 (CFLAGS-test-snan.c): Likewise.
18226 (CFLAGS-test-signgam-finite.c): Likewise.
18227 (CFLAGS-test-signgam-finite-c99.c): Likewise.
18228 (CFLAGS-test-signgam-finite-c11.c): Likewise.
18229 (CFLAGS-test-signgam-uchar.c): Likewise.
18230 (CFLAGS-test-signgam-uchar-init.c): Likewise.
18231 (CFLAGS-test-signgam-uchar-static.c): Likewise.
18232 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
18233 (CFLAGS-test-signgam-uint.c): Likewise.
18234 (CFLAGS-test-signgam-uint-init.c): Likewise.
18235 (CFLAGS-test-signgam-uint-static.c): Likewise.
18236 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
18237 (CFLAGS-test-signgam-ullong.c): Likewise.
18238 (CFLAGS-test-signgam-ullong-init.c): Likewise.
18239 (CFLAGS-test-signgam-ullong-static.c): Likewise.
18240 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
18241 (CFLAGS-test-math-cxx11.cc): Likewise.
18242 (CFLAGS-test-math-isinff.cc): Likewise.
18243 (CFLAGS-test-math-iszero.cc): Likewise.
18244 (CFLAGS-test-math-issignaling.cc): Likewise.
18245 (CFLAGS-test-math-iscanonical.cc): Likewise.
18246 (CFLAGS-test-iszero-excess-precision.c): Likewise.
18247 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
18248 (CFLAGS-test-flt-eval-method.c): Likewise.
18249 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
18250 (CFLAGS-test-finite-macros.c): Likewise.
18251 * misc/Makefile (CFLAGS-select.c): Likewise.
18252 (CFLAGS-tsearch.c): Likewise.
18253 (CFLAGS-lsearch.c): Likewise.
18254 (CFLAGS-pselect.c): Likewise.
18255 (CFLAGS-readv.c): Likewise.
18256 (CFLAGS-writev.c): Likewise.
18257 (CFLAGS-preadv.c): Likewise.
18258 (CFLAGS-preadv64.c): Likewise.
18259 (CFLAGS-pwritev.c): Likewise.
18260 (CFLAGS-pwritev64.c): Likewise.
18261 (CFLAGS-preadv2.c): Likewise.
18262 (CFLAGS-preadv64v2.c): Likewise.
18263 (CFLAGS-pwritev2.c): Likewise.
18264 (CFLAGS-pwritev64v2.c): Likewise.
18265 (CFLAGS-usleep.c): Likewise.
18266 (CFLAGS-syslog.c): Likewise.
18267 (CFLAGS-error.c): Likewise.
18268 (CFLAGS-getpass.c): Likewise.
18269 (CFLAGS-mkstemp.c): Likewise.
18270 (CFLAGS-mkstemp64.c): Likewise.
18271 (CFLAGS-getsysstats.c): Likewise.
18272 (CFLAGS-getusershell.c): Likewise.
18273 (CFLAGS-err.c): Likewise.
18274 (CFLAGS-tst-tsearch.c): Likewise.
18275 (CFLAGS-msync.c): Likewise.
18276 (CFLAGS-fdatasync.c): Likewise.
18277 (CFLAGS-fsync.c): Likewise.
18278 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
18279 (CFLAGS-unwind.c): Likewise.
18280 (CFLAGS-unwind-forcedunwind.c): Likewise.
18281 (CFLAGS-pthread_cancel.c): Likewise.
18282 (CFLAGS-pthread_setcancelstate.c): Likewise.
18283 (CFLAGS-pthread_setcanceltype.c): Likewise.
18284 (CFLAGS-cancellation.c): Likewise.
18285 (CFLAGS-libc-cancellation.c): Likewise.
18286 (CFLAGS-pthread_exit.c): Likewise.
18287 (CFLAGS-forward.c): Likewise.
18288 (CFLAGS-pthread_testcancel.c): Likewise.
18289 (CFLAGS-pthread_join.c): Likewise.
18290 (CFLAGS-pthread_timedjoin.c): Likewise.
18291 (CFLAGS-pthread_once.c): Likewise.
18292 (CFLAGS-pthread_cond_wait.c): Likewise.
18293 (CFLAGS-sem_wait.c): Likewise.
18294 (CFLAGS-sem_timedwait.c): Likewise.
18295 (CFLAGS-fcntl.c): Likewise.
18296 (CFLAGS-lockf.c): Likewise.
18297 (CFLAGS-pread.c): Likewise.
18298 (CFLAGS-pread64.c): Likewise.
18299 (CFLAGS-pwrite.c): Likewise.
18300 (CFLAGS-pwrite64.c): Likewise.
18301 (CFLAGS-wait.c): Likewise.
18302 (CFLAGS-waitpid.c): Likewise.
18303 (CFLAGS-sigwait.c): Likewise.
18304 (CFLAGS-msgrcv.c): Likewise.
18305 (CFLAGS-msgsnd.c): Likewise.
18306 (CFLAGS-tcdrain.c): Likewise.
18307 (CFLAGS-open.c): Likewise.
18308 (CFLAGS-open64.c): Likewise.
18309 (CFLAGS-pause.c): Likewise.
18310 (CFLAGS-recv.c): Likewise.
18311 (CFLAGS-send.c): Likewise.
18312 (CFLAGS-accept.c): Likewise.
18313 (CFLAGS-sendto.c): Likewise.
18314 (CFLAGS-connect.c): Likewise.
18315 (CFLAGS-recvfrom.c): Likewise.
18316 (CFLAGS-recvmsg.c): Likewise.
18317 (CFLAGS-sendmsg.c): Likewise.
18318 (CFLAGS-close.c): Likewise.
18319 (CFLAGS-read.c): Likewise.
18320 (CFLAGS-write.c): Likewise.
18321 (CFLAGS-nanosleep.c): Likewise.
18322 (CFLAGS-sigsuspend.c): Likewise.
18323 (CFLAGS-msync.c): Likewise.
18324 (CFLAGS-fdatasync.c): Likewise.
18325 (CFLAGS-fsync.c): Likewise.
18326 (CFLAGS-pt-system.c): Likewise.
18327 (CFLAGS-tst-cleanup2.c): Likewise.
18328 (CFLAGS-tst-cleanupx2.c): Likewise.
18329 (CFLAGS-flockfile.c): Likewise.
18330 (CFLAGS-ftrylockfile.c): Likewise.
18331 (CFLAGS-funlockfile.c): Likewise.
18332 (CFLAGS-tst-initializers1.c): Likewise.
18333 (CFLAGS-tst-initializers1-c89.c): Likewise.
18334 (CFLAGS-tst-initializers1-c99.c): Likewise.
18335 (CFLAGS-tst-initializers1-c11.c): Likewise.
18336 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
18337 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
18338 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
18339 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
18340 (CFLAGS-nscd_getgr_r.c): Likewise.
18341 (CFLAGS-nscd_gethst_r.c): Likewise.
18342 (CFLAGS-nscd_getai.c): Likewise.
18343 (CFLAGS-nscd_initgroups.c): Likewise.
18344 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
18345 (CFLAGS-pause.c): Likewise.
18346 (CFLAGS-pread.c): Likewise.
18347 (CFLAGS-pread64.c): Likewise.
18348 (CFLAGS-pwrite.c): Likewise.
18349 (CFLAGS-pwrite64.c): Likewise.
18350 (CFLAGS-sleep.c): Likewise.
18351 (CFLAGS-wait.c): Likewise.
18352 (CFLAGS-waitid.c): Likewise.
18353 (CFLAGS-waitpid.c): Likewise.
18354 (CFLAGS-getopt.c): Likewise.
18355 (CFLAGS-wordexp.c): Likewise.
18356 (CFLAGS-sysconf.c): Likewise.
18357 (CFLAGS-pathconf.c): Likewise.
18358 (CFLAGS-fpathconf.c): Likewise.
18359 (CFLAGS-spawn.c): Likewise.
18360 (CFLAGS-spawnp.c): Likewise.
18361 (CFLAGS-spawni.c): Likewise.
18362 (CFLAGS-glob.c): Likewise.
18363 (CFLAGS-glob64.c): Likewise.
18364 (CFLAGS-getconf.c): Likewise.
18365 (CFLAGS-nanosleep.c): Likewise.
18366 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
18367 (CFLAGS-getpwent.c): Likewise.
18368 (CFLAGS-getpw.c): Likewise.
18369 (CFLAGS-fgetpwent_r.c): Likewise.
18370 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
18371 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
18372 (CFLAGS-mq_timedreceive.c): Likewise.
18373 (CFLAGS-mq_timedsend.c): Likewise.
18374 (CFLAGS-clock_nanosleep.c): Likewise.
18375 (CFLAGS-librt-cancellation.c): Likewise.
18376 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
18377 (CFLAGS-getspent.c): Likewise.
18378 (CFLAGS-fgetspent.c): Likewise.
18379 (CFLAGS-fgetspent_r.c): Likewise.
18380 (CFLAGS-putspent.c): Likewise.
18381 (CFLAGS-getspnam.c): Likewise.
18382 (CFLAGS-getspnam_r.c): Likewise.
18383 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
18384 (CFLAGS-sigsuspend.c): Likewise.
18385 (CFLAGS-sigtimedwait.c): Likewise.
18386 (CFLAGS-sigwait.c): Likewise.
18387 (CFLAGS-sigwaitinfo.c): Likewise.
18388 (CFLAGS-sigreturn.c): Likewise.
18389 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18390 (CFLAGS-vfwprintf.c): Likewise.
18391 (CFLAGS-tmpfile.c): Likewise.
18392 (CFLAGS-tmpfile64.c): Likewise.
18393 (CFLAGS-tempname.c): Likewise.
18394 (CFLAGS-psignal.c): Likewise.
18395 (CFLAGS-vprintf.c): Likewise.
18396 (CFLAGS-cuserid.c): Likewise.
18397 (CFLAGS-errlist.c): Likewise.
18398 (CFLAGS-siglist.c): Likewise.
18399 (CFLAGS-scanf15.c): Likewise.
18400 (CFLAGS-scanf17.c): Likewise.
18401 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
18402 (CFLAGS-msort.c): Likewise.
18403 (CFLAGS-qsort.c): Likewise.
18404 (CFLAGS-system.c): Likewise.
18405 (CFLAGS-fmtmsg.c): Likewise.
18406 (CFLAGS-strfmon.c): Likewise.
18407 (CFLAGS-strfmon_l.c): Likewise.
18408 (CFLAGS-strfromd.c): Likewise.
18409 (CFLAGS-strfromf.c): Likewise.
18410 (CFLAGS-strfroml.c): Likewise.
18411 (CFLAGS-tst-bsearch.c): Likewise.
18412 (CFLAGS-tst-qsort.c): Likewise.
18413 (CFLAGS-tst-makecontext2.c): Likewise.
18414 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
18415 (CFLAGS-xnlm_prot.c): Likewise.
18416 (CFLAGS-xrstat.c): Likewise.
18417 (CFLAGS-xyppasswd.c): Likewise.
18418 (CFLAGS-xklm_prot.c): Likewise.
18419 (CFLAGS-xrex.c): Likewise.
18420 (CFLAGS-xsm_inter.c): Likewise.
18421 (CFLAGS-xmount.c): Likewise.
18422 (CFLAGS-xrusers.c): Likewise.
18423 (CFLAGS-xspray.c): Likewise.
18424 (CFLAGS-xnfs_prot.c): Likewise.
18425 (CFLAGS-xrquota.c): Likewise.
18426 (CFLAGS-xkey_prot.c): Likewise.
18427 (CFLAGS-auth_unix.c): Likewise.
18428 (CFLAGS-key_call.c): Likewise.
18429 (CFLAGS-pmap_rmt.c): Likewise.
18430 (CFLAGS-clnt_perr.c): Likewise.
18431 (CFLAGS-openchild.c): Likewise.
18432 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
18433 (CFLAGS-msgsnd.c): Likewise.
18434 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
18435 * time/Makefile (CFLAGS-tzfile.c): Likewise.
18436 (CFLAGS-tzset.c): Likewise.
18437 (CFLAGS-getdate.c): Likewise.
18438 (CFLAGS-test_time.c): Likewise.
18439 (CPPFLAGS-tst-tzname.c): Likewise.
18440 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
18441 (CFLAGS-zic.c): Likewise.
18442 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
18443 (CFLAGS-wcswidth.c): Likewise.
18444 (CFLAGS-wcstol.c): Likewise.
18445 (CFLAGS-wcstoul.c): Likewise.
18446 (CFLAGS-wcstoll.c): Likewise.
18447 (CFLAGS-wcstoull.c): Likewise.
18448 (CFLAGS-wcstod.c): Likewise.
18449 (CFLAGS-wcstold.c): Likewise.
18450 (CFLAGS-wcstof128.c): Likewise.
18451 (CFLAGS-wcstof.c): Likewise.
18452 (CFLAGS-wcstol_l.c): Likewise.
18453 (CFLAGS-wcstoul_l.c): Likewise.
18454 (CFLAGS-wcstoll_l.c): Likewise.
18455 (CFLAGS-wcstoull_l.c): Likewise.
18456 (CFLAGS-wcstod_l.c): Likewise.
18457 (CFLAGS-wcstold_l.c): Likewise.
18458 (CFLAGS-wcstof128_l.c): Likewise.
18459 (CFLAGS-wcstof_l.c): Likewise.
18460 (CPPFLAGS-tst-wchar-h.c): Likewise.
18461 (CPPFLAGS-wcstold_l.c): Likewise.
18462
18463 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
18464
18465 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
18466
18467 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18468 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18469
18470 * manual/tunables.texi (Hardware Capability Tunables): Document
18471 glibc.tune.cached_memopt.
18472 * sysdeps/powerpc/cpu-features.c: New file.
18473 * sysdeps/powerpc/cpu-features.h: New file.
18474 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
18475 _dl_powerpc_cpu_features.
18476 * sysdeps/powerpc/dl-tunables.list: New file.
18477 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
18478 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18479 (INIT_ARCH): Initialize use_aligned_memopt.
18480 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
18481 IS_IN(rtld))]: Restrict dl_platform_init availability and
18482 initialize CPU features used by tunables.
18483 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
18484 Add memcpy-power8-cached.
18485 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
18486 __memcpy_power8_cached.
18487 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
18488 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
18489 New file.
18490
18491 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18492
18493 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
18494 (CFLAGS-noinl-tester.c): Likewise.
18495 (CFLAGS-tst-strlen.c): Likewise.
18496 (CFLAGS-stratcliff.c): Likewise.
18497 (CFLAGS-test-ffs.c): Likewise.
18498 (CFLAGS-tst-inlcall.c): Likewise.
18499 (CFLAGS-tst-xbzero-opt.c): Likewise.
18500 (CFLAGS-memcpy.c): Likewise.
18501 (CFLAGS-wordcopy.c): Likewise.
18502
18503 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18504
18505 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
18506 Store r15 on stack and add cfi rule.
18507 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
18508 Likewise.
18509
18510 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
18511
18512 [BZ #22577]
18513 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
18514 call.
18515
18516 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18517
18518 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18519 Add s_sinf-sse2 and s_sinf-fma.
18520 (CFLAGS-s_sinf-fma.c): New.
18521 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
18522 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
18523 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
18524
18525 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18526
18527 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
18528
18529 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18530
18531 [BZ #22568]
18532 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
18533 part of result to imaginary part of argument if it is zero and the
18534 real part of the argument is not finite.
18535 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
18536 of result to real part of argument if it is zero and the imaginary
18537 part of the argument is not finite.
18538
18539 2017-12-07 Mike FABIAN <mfabian@redhat.com>
18540
18541 [BZ #22524]
18542 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
18543 and to the list of locales to be built for testing.
18544 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
18545 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
18546 and build the collation rules upon that.
18547
18548 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18549
18550 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
18551 * manual/math.texi (Mathematics): Document support for _Float32.
18552 * math/Makefile (test-types): Add float32.
18553 * math/Versions (GLIBC_2.27): Add _Float32 functions.
18554 * stdlib/Versions (GLIBC_2.27): Likewise.
18555 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18556 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18557 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18558 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18559 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18560 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18561 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18562 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18563 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18564 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18565 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18566 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18567 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18568 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18569 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18570 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18571 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18572 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18573 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18574 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18575 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18576 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18577 Likewise.
18578 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18579 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18580 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18581 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18582 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18584 Likewise.
18585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18586 Likewise.
18587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18588 Likewise.
18589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18590 Likewise.
18591
18592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18593 Likewise.
18594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18595 Likewise.
18596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18597 Likewise.
18598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18599 Likewise.
18600 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18601 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18602 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18603 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18604 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18605 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18606 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18607 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18608 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18609 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18611 Likewise.
18612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18613 Likewise.
18614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18615 Likewise.
18616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18617 Likewise.
18618 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18619 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18620 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18621 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18622 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18623 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18624 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18625 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18626
18627 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18628
18629 * stdlib/strtof.c: Include <bits/floatn.h>
18630 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
18631 and later undefine as macro. Define as weak alias if
18632 [!USE_WIDE_CHAR].
18633 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
18634 and later undefine as macro. Define as weak alias if
18635 [USE_WIDE_CHAR].
18636 * stdlib/strtof_l.c: Include <bits/floatn.h>
18637 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
18638 and later undefine as macro. Define as weak alias if
18639 [!USE_WIDE_CHAR].
18640 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
18641 and later undefine as macro. Define as weak alias if
18642 [USE_WIDE_CHAR].
18643
18644 * stdlib/strfromf.c: Include <bits/floatn.h>.
18645 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
18646 and later undefine as macro and define as weak alias.
18647
18648 * math/test-float32.h: New file.
18649
18650 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
18651 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
18652 (libm_alias_float_other_r): Create f32 alias.
18653 (libm_alias_float_r): Use semicolon before call to
18654 libm_alias_float_other_r.
18655
18656 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
18657 second argument to libm_alias_float_other.
18658 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
18659 second argument to libm_alias_float_other.
18660 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
18661 argument to libm_alias_float_other.
18662
18663 [BZ #22561]
18664 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
18665 real part of result for argument 0 + i * NaN.
18666 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
18667 results for tests of 0 + i * NaN.
18668
18669 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18670
18671 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18672
18673 2017-12-06 David S. Miller <davem@davemloft.net>
18674
18675 * sysdeps/sparc/fpu/libm-test-ulps: Update
18676 exp_{downward,towardzero,upward} ulps.
18677
18678 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18679
18680 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
18681 variables static.
18682
18683 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
18684 (Y0_2D): Likewise.
18685 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
18686 (Y0_2D): Likewise.
18687 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
18688 (Y0_2D): Likewise.
18689 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
18690 (Y0_2D): Likewise.
18691
18692 2017-12-06 Mike FABIAN <mfabian@redhat.com>
18693
18694 [BZ #22515]
18695 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
18696 and to the list of locales to be built for testing.
18697 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
18698 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
18699 and build the collation rules upon that.
18700
18701 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18702
18703 * NEWS: Add sinf to list of optimized functions.
18704
18705 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18706
18707 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
18708 (__HAVE_FLOAT32X): Likewise.
18709 * manual/math.texi (Mathematics): Document support for _Float64
18710 and _Float32x.
18711 * math/Makefile (test-types): Add float64 and float32x.
18712 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
18713 functions.
18714 * stdlib/Versions (GLIBC_2.27): Likewise.
18715 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18716 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18717 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18718 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18719 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18720 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18721 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18722 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18723 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18724 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18725 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18726 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18727 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18728 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18729 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18730 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18731 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18732 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18733 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18734 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18735 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18736 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18737 Likewise.
18738 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18739 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18740 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18741 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18742 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18744 Likewise.
18745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18746 Likewise.
18747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18748 Likewise.
18749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18750 Likewise.
18751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18752 Likewise.
18753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18754 Likewise.
18755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18756 Likewise.
18757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18758 Likewise.
18759 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18760 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18761 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18762 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18763 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18764 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18765 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18766 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18767 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18768 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18769 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18770 Likewise.
18771 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18772 Likewise.
18773 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18774 Likewise.
18775 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18776 Likewise.
18777 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18778 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18779 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18780 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18781 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18782 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18783 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18784 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18785
18786 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18787
18788 * bits/floatn-common.h: Include <bits/long-double.h>.
18789 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18790 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
18791 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18792 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
18793 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18794 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
18795 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18796 (__builtin_huge_valf64): Use __builtin_huge_vall.
18797 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18798 (__builtin_inff64): Use __builtin_infl.
18799 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18800 (__builtin_nanf64): Use __builtin_nanl.
18801 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18802 (__builtin_nansf64): Use __builtin_nansl.
18803
18804 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
18805 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18806 Carlos O'Donnell <carlos@redhat.com>
18807
18808 * elf/dl-tunables.list: Add elision parameters.
18809 * manual/tunables.texi: Add entries about elision tunable.
18810 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
18811 Add callback functions to dynamically enable/disable elision.
18812 Add multiple callbacks functions to set elision parameters.
18813 Deleted __libc_enable_secure check.
18814 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
18815 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
18816 * configure: Regenerated.
18817 * configure.ac: Option enable_lock_elision was deleted.
18818 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
18819 * config.make.in: Remove references to enable_lock_elision.
18820 * manual/install.texi: Elision configure option was removed.
18821 * INSTALL: Regenerated to remove enable_lock_elision.
18822 * nptl/Makefile:
18823 Disable elision so it can verify error case for destroying a mutex.
18824 * sysdeps/powerpc/nptl/elide.h:
18825 Cleanup ENABLE_LOCK_ELISION check.
18826 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
18827 * sysdeps/s390/configure: Regenerated.
18828 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
18829 * nptl/tst-mutex8.c:
18830 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
18831 * sysdeps/powerpc/powerpc32/sysdep.h:
18832 Deleted all ENABLE_LOCK_ELISION checks.
18833 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18834 * sysdeps/powerpc/sysdep.h: Likewise.
18835 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
18836 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
18837 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18838 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18839 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18840 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
18841 enable-lock-elision.
18842
18843 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18844
18845 * stdlib/strtod.c: Include <bits/floatn.h>.
18846 (BUILD_DOUBLE): New macro.
18847 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18848 (strtof64): Define and later undefine as macro. Define as weak
18849 alias if [!USE_WIDE_CHAR].
18850 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18851 (wcstof64): Define and later undefine as macro. Define as weak
18852 alias if [USE_WIDE_CHAR].
18853 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18854 (strtof32x): Define and later undefine as macro. Define as weak
18855 alias if [!USE_WIDE_CHAR].
18856 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18857 (wcstof32x): Define and later undefine as macro. Define as weak
18858 alias if [USE_WIDE_CHAR].
18859 * stdlib/strtod_l.c: Include <bits/floatn.h>.
18860 (BUILD_DOUBLE): New macro.
18861 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18862 (strtof64_l): Define and later undefine as macro. Define as weak
18863 alias if [!USE_WIDE_CHAR].
18864 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18865 (wcstof64_l): Define and later undefine as macro. Define as weak
18866 alias if [USE_WIDE_CHAR].
18867 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18868 (strtof32x_l): Define and later undefine as macro. Define as weak
18869 alias if [!USE_WIDE_CHAR].
18870 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18871 (wcstof32x_l): Define and later undefine as macro. Define as weak
18872 alias if [USE_WIDE_CHAR].
18873
18874 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18875
18876 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
18877 (reduced): Use ones as double instead of integer.
18878
18879 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
18880
18881 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
18882
18883 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18884
18885 * stdlib/strfromd.c: Include <bits/floatn.h>.
18886 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
18887 and later undefine as macro and define as weak alias.
18888 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
18889 Likewise.
18890
18891 * math/test-float32x.h: New file.
18892 * math/test-float64.h: Likewise.
18893
18894 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
18895 (libm_alias_double_other_r_f64): New macro.
18896 (libm_alias_double_other_r_f32x): Likewise.
18897 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18898 libm_alias_double_other_r_f32x.
18899 (libm_alias_double_r): Use semicolon before call to
18900 libm_alias_double_other_r.
18901 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
18902 <bits/floatn.h>.
18903 (libm_alias_double_other_r_f64): New macro.
18904 (libm_alias_double_other_r_f32x): Likewise.
18905 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18906 libm_alias_double_other_r_f32x.
18907
18908 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
18909
18910 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
18911 int.
18912 (SINF_FUNC): Likewise. Replace floor with simple casts.
18913
18914 2017-12-05 Mike FABIAN <mfabian@redhat.com>
18915
18916 [BZ #22517]
18917 * localedata/Makefile: Add et_EE.UTF-8 to test-input
18918 and to the list of locales to be built for testing.
18919 * localedata/et_EE.UTF-8.in: New file for testing the collation.
18920 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
18921 and build the collation rules upon that.
18922
18923 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
18924
18925 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
18926 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
18927 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
18928 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
18929 instead of __insn__xxx.
18930 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
18931 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
18932 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
18933 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
18934 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
18935 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
18936
18937 2017-12-05 Florian Weimer <fweimer@redhat.com>
18938
18939 Linux: Implement interfaces for memory protection keys
18940 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
18941 xsignal, xsysconf.
18942 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
18943 * support/xunistd.h (xsysconf): Declare.
18944 * support/xraise.c: New file.
18945 * support/xsigaction.c: Likewise.
18946 * support/xsignal.c: Likewise.
18947 * support/xsysconf.c: Likewise.
18948 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
18949 pkey_set, pkey_get, pkey_mprotect.
18950 [misc] (tests): Add tst-pkey.
18951 (tst-pkey): Link with -lpthread.
18952 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
18953 pkey_free, pkey_set, pkey_get, pkey_mprotect.
18954 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
18955 (PKEY_DISABLE_WRITE): Define.
18956 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
18957 Declare.
18958 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
18959 (SEGV_PKUERR): Add.
18960 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
18961 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
18962 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
18963 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
18964 Add.
18965 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
18966 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
18967 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
18968 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
18969 * sysdeps/unix/sysv/linux/**.abilist: Update.
18970
18971 2017-12-05 Florian Weimer <fweimer@redhat.com>
18972
18973 * support/tst-test_compare.c (subprocess): Use long long instead
18974 of long argument for consistent type width across 32-bit and
18975 64-bit architectures.
18976 (do_test): Adjust expected output.
18977
18978 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18979
18980 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
18981 (cosf): Define using libm_alias_float.
18982 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
18983 (fabsf): Define using libm_alias_float.
18984 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
18985 (fmaf): Define using libm_alias_float.
18986 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
18987 (rintf): Define using libm_alias_float.
18988 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
18989 (sinf): Define using libm_alias_float.
18990 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
18991 <libm-alias-float.h>.
18992 (modff): Define using libm_alias_float.
18993 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
18994 <libm-alias-float.h>.
18995 (logbf): Define using libm_alias_float.
18996 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
18997 <libm-alias-float.h>.
18998 (ceilf): Define using libm_alias_float.
18999 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19000 <libm-alias-float.h>.
19001 (copysignf): Define using libm_alias_float.
19002 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
19003 <libm-alias-float.h>.
19004 (floorf): Define using libm_alias_float.
19005 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
19006 <libm-alias-float.h>.
19007 (llrintf): Define using libm_alias_float.
19008 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
19009 <libm-alias-float.h>.
19010 (llroundf): Define using libm_alias_float.
19011 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19012 <libm-alias-float.h>.
19013 (lrintf): Define using libm_alias_float.
19014 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19015 <libm-alias-float.h>.
19016 (lroundf): Define using libm_alias_float.
19017 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
19018 <libm-alias-float.h>.
19019 (nearbyintf): Define using libm_alias_float.
19020 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
19021 <libm-alias-float.h>.
19022 (rintf): Define using libm_alias_float.
19023 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
19024 <libm-alias-float.h>.
19025 (roundf): Define using libm_alias_float.
19026 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
19027 <libm-alias-float.h>.
19028 (truncf): Define using libm_alias_float.
19029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
19030 Include <libm-alias-float.h>.
19031 (ceilf): Define using libm_alias_float.
19032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
19033 Include <libm-alias-float.h>.
19034 (copysignf): Define using libm_alias_float.
19035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
19036 Include <libm-alias-float.h>.
19037 (floorf): Define using libm_alias_float.
19038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
19039 Include <libm-alias-float.h>.
19040 (llrintf): Define using libm_alias_float.
19041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
19042 Include <libm-alias-float.h>.
19043 (llroundf): Define using libm_alias_float.
19044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
19045 Include <libm-alias-float.h>.
19046 (logbf): Define using libm_alias_float.
19047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
19048 Include <libm-alias-float.h>.
19049 (lrintf): Define using libm_alias_float.
19050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
19051 Include <libm-alias-float.h>.
19052 (lroundf): Define using libm_alias_float.
19053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
19054 Include <libm-alias-float.h>.
19055 (modff): Define using libm_alias_float.
19056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
19057 Include <libm-alias-float.h>.
19058 (roundf): Define using libm_alias_float.
19059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
19060 Include <libm-alias-float.h>.
19061 (truncf): Define using libm_alias_float.
19062 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
19063 <libm-alias-float.h>.
19064 (llrintf): Define using libm_alias_float.
19065 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19066 <libm-alias-float.h>.
19067 (llroundf): Define using libm_alias_float.
19068 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
19069 <libm-alias-float.h>.
19070 (ceilf): Define using libm_alias_float.
19071 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
19072 <libm-alias-float.h>.
19073 (floorf): Define using libm_alias_float.
19074 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19075 <libm-alias-float.h>.
19076 (llroundf): Define using libm_alias_float.
19077 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19078 <libm-alias-float.h>.
19079 (lroundf): Define using libm_alias_float.
19080 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
19081 <libm-alias-float.h>.
19082 (roundf): Define using libm_alias_float.
19083 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
19084 <libm-alias-float.h>.
19085 (truncf): Define using libm_alias_float.
19086 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19087 <libm-alias-float.h>.
19088 (copysignf): Define using libm_alias_float.
19089 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
19090 <libm-alias-float.h>.
19091 (llrintf): Define using libm_alias_float.
19092 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19093 <libm-alias-float.h>.
19094 (llroundf): Define using libm_alias_float.
19095 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19096 <libm-alias-float.h>.
19097 (lrintf): Define using libm_alias_float.
19098 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19099 <libm-alias-float.h>.
19100 (lroundf): Define using libm_alias_float.
19101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
19102 <libm-alias-float.h>.
19103 (ceilf): Define using libm_alias_float.
19104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
19105 <libm-alias-float.h>.
19106 (copysignf): Define using libm_alias_float.
19107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
19108 <libm-alias-float.h>.
19109 (cosf): Define using libm_alias_float.
19110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
19111 <libm-alias-float.h>.
19112 (floorf): Define using libm_alias_float.
19113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
19114 <libm-alias-float.h>.
19115 (llrintf): Define using libm_alias_float.
19116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
19117 <libm-alias-float.h>.
19118 (llroundf): Define using libm_alias_float.
19119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
19120 <libm-alias-float.h>.
19121 (logbf): Define using libm_alias_float.
19122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
19123 <libm-alias-float.h>.
19124 (modff): Define using libm_alias_float.
19125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
19126 <libm-alias-float.h>.
19127 (roundf): Define using libm_alias_float.
19128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
19129 <libm-alias-float.h>.
19130 (sinf): Define using libm_alias_float.
19131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
19132 <libm-alias-float.h>.
19133 (truncf): Define using libm_alias_float.
19134 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
19135 <libm-alias-float.h>.
19136 (ceilf): Define using libm_alias_float.
19137 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19138 <libm-alias-float.h>.
19139 (copysignf): Define using libm_alias_float.
19140 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
19141 <libm-alias-float.h>.
19142 (floorf): Define using libm_alias_float.
19143 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19144 <libm-alias-float.h>.
19145 (llrintf): Define using libm_alias_float.
19146 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
19147 <libm-alias-float.h>.
19148 (llroundf): Define using libm_alias_float.
19149 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
19150 <libm-alias-float.h>.
19151 (nearbyintf): Define using libm_alias_float.
19152 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
19153 <libm-alias-float.h>.
19154 (rintf): Define using libm_alias_float.
19155 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
19156 <libm-alias-float.h>.
19157 (roundf): Define using libm_alias_float.
19158 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
19159 <libm-alias-float.h>.
19160 (truncf): Define using libm_alias_float.
19161 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
19162 <libm-alias-float.h>.
19163 (ceilf): Define using libm_alias_float.
19164 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
19165 <libm-alias-float.h>.
19166 (floorf): Define using libm_alias_float.
19167 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19168 <libm-alias-float.h>.
19169 (llroundf): Define using libm_alias_float.
19170 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
19171 <libm-alias-float.h>.
19172 (roundf): Define using libm_alias_float.
19173 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
19174 <libm-alias-float.h>.
19175 (truncf): Define using libm_alias_float.
19176 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19177 <libm-alias-float.h>.
19178 (copysignf): Define using libm_alias_float.
19179 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19180 <libm-alias-float.h>.
19181 (llrintf): Define using libm_alias_float.
19182 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19183 <libm-alias-float.h>.
19184 (llroundf): Define using libm_alias_float.
19185 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
19186 <libm-alias-float.h>.
19187 (cosf): Define using libm_alias_float.
19188 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19189 <libm-alias-float.h>.
19190 (llrintf): Define using libm_alias_float.
19191 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19192 <libm-alias-float.h>.
19193 (llroundf): Define using libm_alias_float.
19194 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
19195 <libm-alias-float.h>.
19196 (sinf): Define using libm_alias_float.
19197
19198 2017-12-04 Florian Weimer <fweimer@redhat.com>
19199
19200 * support/check.h (TEST_COMPARE): Define.
19201 (support_test_compare_failure): Declare.
19202 * support/Makefile (libsupport-routines): Add
19203 support_test_compare_failure.
19204 (tests): Add tst-test_compare.
19205 * support /support_test_compare_failure.c: New file.
19206 * support/tst-test_compare.c: Likewise.
19207
19208 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19209
19210 [BZ #22527]
19211 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
19212 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
19213 available, this rewrite of the collation rules does reproduce
19214 the test file in the same order.
19215
19216 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19217
19218 [BZ #10580]
19219 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
19220 digraphs in the month and day names. Using single code points for
19221 digraphs is deprecated. While there are dedicated Unicode
19222 codepoints, for the digraphs, these are included for backwards
19223 compatibility and modern texts use a sequence of Basic Latin
19224 characters. See: https://www.unicode.org/faq/ligature_digraph.html
19225 This makes the month and day names agree exactly with CLDR now,
19226 CLDR does not use the single code points for the digraphs either.
19227
19228 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
19229
19230 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
19231
19232 2017-12-04 Joseph Myers <joseph@codesourcery.com>
19233
19234 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
19235 of floor.
19236
19237 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
19238
19239 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
19240 Define only for libc.so.
19241
19242 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
19243
19244 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19245 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
19246 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
19247 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
19248 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19249
19250 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19251
19252 [BZ #5997]
19253 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
19254
19255 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
19256
19257 [BZ libc/19170]
19258 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
19259 PREINIT_FUNCTION_WEAK is nonzero.
19260 (gmon_initializer): New function. Put procedure label for it in
19261 .init_array section.
19262 (_init): Don't call PREINIT_FUNCTION.
19263 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
19264 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
19265 value when map argument is null.
19266
19267 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
19268 depi instruction from PIC pc-relative sequence.
19269 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
19270 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
19271 (elf_machine_load_address): Likewise.
19272 (elf_machine_runtime_setup): Likewise.
19273
19274 2017-12-02 Joseph Myers <joseph@codesourcery.com>
19275
19276 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
19277 <libm-alias-double.h>.
19278 (logb): Define using libm_alias_double.
19279 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19280 <libm-alias-double.h>.
19281 (copysign): Define using libm_alias_double.
19282 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
19283 <libm-alias-double.h>.
19284 (llrint): Define using libm_alias_double.
19285 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
19286 <libm-alias-double.h>.
19287 (llround): Define using libm_alias_double.
19288 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19289 <libm-alias-double.h>.
19290 (lrint): Define using libm_alias_double.
19291 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19292 <libm-alias-double.h>.
19293 (lround): Define using libm_alias_double.
19294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19295 Include <libm-alias-double.h>.
19296 (copysign): Define using libm_alias_double.
19297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
19298 Include <libm-alias-double.h>.
19299 (llrint): Define using libm_alias_double.
19300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
19301 Include <libm-alias-double.h>.
19302 (llround): Define using libm_alias_double.
19303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
19304 <libm-alias-double.h>.
19305 (logb): Define using libm_alias_double.
19306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
19307 Include <libm-alias-double.h>.
19308 (lrint): Define using libm_alias_double.
19309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
19310 Include <libm-alias-double.h>.
19311 (lround): Define using libm_alias_double.
19312 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
19313 <libm-alias-double.h>.
19314 (llrint): Define using libm_alias_double.
19315 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19316 <libm-alias-double.h>.
19317 (llround): Define using libm_alias_double.
19318 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19319 <libm-alias-double.h>.
19320 (llround): Define using libm_alias_double.
19321 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19322 <libm-alias-double.h>.
19323 (lround): Define using libm_alias_double.
19324 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19325 <libm-alias-double.h>.
19326 (copysign): Define using libm_alias_double.
19327 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
19328 <libm-alias-double.h>.
19329 (llrint): Define using libm_alias_double.
19330 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19331 <libm-alias-double.h>.
19332 (llround): Define using libm_alias_double.
19333 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19334 <libm-alias-double.h>.
19335 (lrint): Define using libm_alias_double.
19336 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19337 <libm-alias-double.h>.
19338 (lround): Define using libm_alias_double.
19339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
19340 <libm-alias-double.h>.
19341 (copysign): Define using libm_alias_double.
19342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
19343 <libm-alias-double.h>.
19344 (llrint): Define using libm_alias_double.
19345 (lrint): Likewise.
19346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
19347 <libm-alias-double.h>.
19348 (llround): Define using libm_alias_double.
19349 (lround): Likewise.
19350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
19351 <libm-alias-double.h>.
19352 (logb): Define using libm_alias_double.
19353 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19354 <libm-alias-double.h>.
19355 (copysign): Define using libm_alias_double.
19356 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19357 <libm-alias-double.h>.
19358 (llrint): Define using libm_alias_double.
19359 (lrint): Likewise.
19360 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
19361 <libm-alias-double.h>.
19362 (llround): Define using libm_alias_double.
19363 (lround): Likewise.
19364 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19365 <libm-alias-double.h>.
19366 (llround): Define using libm_alias_double.
19367 (lround): Likewise.
19368 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19369 <libm-alias-double.h>.
19370 (copysign): Define using libm_alias_double.
19371 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19372 <libm-alias-double.h>.
19373 (llrint): Define using libm_alias_double.
19374 (lrint): Likewise.
19375 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19376 <libm-alias-double.h>.
19377 (llround): Define using libm_alias_double.
19378 (lround): Likewise.
19379 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19380 <libm-alias-double.h>.
19381 (llrint): Define using libm_alias_double.
19382 (lrint): Likewise.
19383 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19384 <libm-alias-double.h>.
19385 (llround): Define using libm_alias_double.
19386 (lround): Likewise.
19387
19388 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19389
19390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19391 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
19392 compat symbol based on llround.
19393
19394 * sysdeps/powerpc/power7/fpu/s_logb.c
19395 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
19396 symbol based on __logb, not on logb.
19397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
19398 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
19400 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19401
19402 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
19403 (rint): Define using libm_alias_double.
19404 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
19405 <libm-alias-double.h>.
19406 (modf): Define using libm_alias_double.
19407 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
19408 <libm-alias-double.h>.
19409 (ceil): Define using libm_alias_double.
19410 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
19411 <libm-alias-double.h>.
19412 (floor): Define using libm_alias_double.
19413 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
19414 <libm-alias-double.h>.
19415 (nearbyint): Define using libm_alias_double.
19416 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
19417 <libm-alias-double.h>.
19418 (rint): Define using libm_alias_double.
19419 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
19420 <libm-alias-double.h>.
19421 (round): Define using libm_alias_double.
19422 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
19423 <libm-alias-double.h>.
19424 (trunc): Define using libm_alias_double.
19425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
19426 <libm-alias-double.h>.
19427 (ceil): Define using libm_alias_double.
19428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
19429 Include <libm-alias-double.h>.
19430 (floor): Define using libm_alias_double.
19431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
19432 <libm-alias-double.h>.
19433 (modf): Define using libm_alias_double.
19434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
19435 Include <libm-alias-double.h>.
19436 (round): Define using libm_alias_double.
19437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
19438 Include <libm-alias-double.h>.
19439 (trunc): Define using libm_alias_double.
19440 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
19441 <libm-alias-double.h>.
19442 (ceil): Define using libm_alias_double.
19443 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
19444 <libm-alias-double.h>.
19445 (floor): Define using libm_alias_double.
19446 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
19447 <libm-alias-double.h>.
19448 (round): Define using libm_alias_double.
19449 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
19450 <libm-alias-double.h>.
19451 (trunc): Define using libm_alias_double.
19452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
19453 <libm-alias-double.h>.
19454 (ceil): Define using libm_alias_double.
19455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
19456 <libm-alias-double.h>.
19457 (floor): Define using libm_alias_double.
19458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
19459 <libm-alias-double.h>.
19460 (modf): Define using libm_alias_double.
19461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
19462 <libm-alias-double.h>.
19463 (round): Define using libm_alias_double.
19464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
19465 <libm-alias-double.h>.
19466 (trunc): Define using libm_alias_double.
19467 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
19468 <libm-alias-double.h>.
19469 (ceil): Define using libm_alias_double.
19470 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
19471 <libm-alias-double.h>.
19472 (floor): Define using libm_alias_double.
19473 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
19474 <libm-alias-double.h>.
19475 (nearbyint): Define using libm_alias_double.
19476 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
19477 <libm-alias-double.h>.
19478 (rint): Define using libm_alias_double.
19479 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
19480 <libm-alias-double.h>.
19481 (round): Define using libm_alias_double.
19482 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
19483 <libm-alias-double.h>.
19484 (trunc): Define using libm_alias_double.
19485 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
19486 <libm-alias-double.h>.
19487 (ceil): Define using libm_alias_double.
19488 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
19489 <libm-alias-double.h>.
19490 (floor): Define using libm_alias_double.
19491 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
19492 <libm-alias-double.h>.
19493 (round): Define using libm_alias_double.
19494 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
19495 <libm-alias-double.h>.
19496 (trunc): Define using libm_alias_double.
19497
19498 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
19499 (fabs): Define using libm_alias_double.
19500 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
19501 (fma): Define using libm_alias_double.
19502 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
19503 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
19504 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
19505 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
19506
19507 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19508
19509 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
19510
19511 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
19512 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
19513 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
19514
19515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
19516 due redirect macro.
19517
19518 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
19519
19520 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
19521
19522 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19523
19524 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
19525 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
19526 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
19527 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
19528
19529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19530 (libm-sysdep_routines): Add s_nearbyintf-generic and
19531 s_nearbyint-generic.
19532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
19533 New file.
19534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
19535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
19536 Likewise.
19537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
19538 Likewise.
19539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
19540 file.
19541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19542 Likewise.
19543
19544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19545 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
19546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
19547 file.
19548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
19549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
19550 Likewise.
19551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
19552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
19553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19554
19555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19556 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
19557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
19558 file.
19559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
19560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
19561 Likewise.
19562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
19563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
19564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
19565
19566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19567 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
19568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
19569 file.
19570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
19571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
19572 Likewise.
19573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
19574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
19575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19576
19577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19578 (sysdep_calls): New rule.
19579 (sysdep_routines): Use sysdep_calls as base.
19580 (libm-sysdep_routines): Add generic rule for symbols shared with
19581 libc. Add s_copysign-generic and s_copysign-generic objects.
19582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
19583 New file.
19584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
19585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
19586 Likewise.
19587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
19588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
19589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
19590
19591 2017-12-01 Mike FABIAN <mfabian@redhat.com>
19592
19593 [BZ #22519]
19594 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
19595 the list of locales to be built for testing.
19596 * localedata/is_IS.UTF-8.in: New file.
19597 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
19598 on iso14651_t1.
19599
19600 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19601
19602 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
19603 <libm-alias-float.h>.
19604 (fabsf): Define using libm_alias_float.
19605
19606 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19607
19608 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
19609
19610 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19611
19612 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
19613 <libm-alias-float.h>.
19614 (fabsf): Define using libm_alias_float.
19615 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
19616 <libm-alias-float.h>.
19617 (lrintf): Define using libm_alias_float.
19618 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
19619 <libm-alias-float.h>.
19620 (rintf): Define using libm_alias_float.
19621
19622 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
19623 <libm-alias-double.h>.
19624 (fabs): Define using libm_alias_double.
19625 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
19626 <libm-alias-double.h>.
19627 (lrint): Define using libm_alias_double.
19628 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
19629 <libm-alias-double.h>.
19630 (rint): Define using libm_alias_double.
19631
19632 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
19633 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
19634 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
19635 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
19636 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
19637 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
19638 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
19639 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
19640 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
19641 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
19642 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
19643 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
19644 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
19645 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
19646 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
19647 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
19648 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
19649 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
19650 s_atan_template.c.
19651 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
19652 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
19653 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
19654 s_ceil_template.c.
19655 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
19656 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
19657 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
19658 s_cos_template.c.
19659 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
19660 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
19661 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
19662 s_expm1_template.c.
19663 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
19664 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
19665 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
19666 s_fabs_template.c.
19667 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
19668 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
19669 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
19670 s_floor_template.c.
19671 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
19672 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
19673 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
19674 s_frexp_template.c.
19675 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
19676 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
19677 s_lrint_template.c.
19678 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
19679 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
19680 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
19681 s_modf_template.c.
19682 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
19683 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
19684 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
19685 s_nearbyint_template.c.
19686 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
19687 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
19688 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
19689 s_remquo_template.c.
19690 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
19691 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
19692 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
19693 s_rint_template.c.
19694 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
19695 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
19696 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
19697 s_sin_template.c.
19698 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
19699 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
19700 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
19701 s_sincos_template.c.
19702 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
19703 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
19704 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
19705 s_tan_template.c.
19706 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
19707 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
19708 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
19709 s_tanh_template.c.
19710 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
19711 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
19712 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
19713 s_trunc_template.c.
19714 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
19715 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
19716 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
19717 s_atan.c instead of including s_atan.c.
19718 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
19719 s_atanf.c instead of including s_atanf.c.
19720 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
19721 s_atanl.c instead of including s_atanl.c.
19722 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
19723 instead of s_atan.c.
19724 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
19725 instead of s_atanf.c.
19726 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
19727 instead of s_atanl.c.
19728
19729 * scripts/update-copyrights: Do not handle intl/plural.c
19730 specially.
19731
19732 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
19733
19734 [BZ #22432]
19735 * configure.ac (BISON): Require to be present.
19736 * configure: Regenerated.
19737 * intl/Makefile (generated): Add plural.c.
19738 [$(BISON) != no]: Make code unconditional.
19739 (plural.c): Change rule to $(objpfx)plural.c.
19740 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
19741 * intl/plural.c: Remove.
19742 * manual/install.texi (Tools for Compilation): Document bison as
19743 required.
19744 * INSTALL: Regenerated.
19745
19746 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19747
19748 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
19749 <libm-alias-double.h>.
19750 (llrint): Define using libm_alias_double.
19751 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
19752 <libm-alias-float.h>.
19753 (llrintf): Define using libm_alias_float.
19754 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
19755 <libm-alias-ldouble.h>.
19756 (llrintl): Define using libm_alias_ldouble.
19757
19758 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
19759 declare_mgen_alias instead of weak_alias.
19760 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
19761 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
19762 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
19763
19764 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19765
19766 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19767 Add add_n-generic.
19768 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
19769 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
19770 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
19771
19772 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19773 Add submul_1-generic.
19774 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
19775 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
19776 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
19777
19778 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19779 Add addmul_1-generic.
19780 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
19781 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
19782 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
19783
19784 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19785 Add sub_n-generic.
19786 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
19787 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
19788 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
19789
19790 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19791 Add mul_1-generic.
19792 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
19793 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
19794 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
19795
19796 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19797
19798 According to CLDR, collation rules for Serbian and Bosnian
19799 should be the same as for Croatian.
19800
19801 [BZ #22534]
19802 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
19803 and to the list of locales to be built for testing.
19804 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19805 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19806 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
19807 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
19808
19809 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19810
19811 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
19812 to make test case pass.
19813 * localedata/hr_HR.UTF-8.in: Add more test strings.
19814
19815 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19816
19817 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
19818
19819 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19820
19821 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
19822 the list of locales to built for testing.
19823 * localedata/hr_HR.UTF-8.in: New file.
19824
19825 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19826
19827 [BZ #10580]
19828 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
19829 iso14651_t1.
19830 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
19831 CLDR (except use ligatures for the digraphs, CLDR does not use
19832 the ligatures), add first_workday, some fixes in the date and time
19833 formats.
19834 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
19835 for Đ and đ.
19836 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
19837 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
19838 Add int_p_cs_precedes and int_n_cs_precedes.
19839 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
19840 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
19841 LC_MONETARY now).
19842 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
19843 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
19844 name_miss.
19845 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
19846 and lang_lib. Change postal_fmt.
19847
19848 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19849
19850 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
19851 <setjmp.h>.
19852 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19853 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
19854 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19855 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
19856 * sysdeps/generic/setjmpP.h: New file.
19857 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
19858 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
19859 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
19860 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
19861 Add jmp_buf-ssp.sym.
19862 (tests): Add tst-saved_mask-1.
19863
19864 2017-11-30 Arjun Shankar <arjun@redhat.com>
19865
19866 [BZ #22375]
19867 CVE-2017-17426
19868 * malloc/malloc.c (__libc_malloc): Use checked_request2size
19869 instead of request2size.
19870
19871 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19872
19873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
19874 (__lllrint): Remove alias.
19875 (lllrint): Likewise.
19876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
19877 (__lllrintf): Likewise.
19878 (lllrintf): Likewise.
19879
19880 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
19881 <libm-alias-float.h>.
19882 (copysignf): Define using libm_alias_float.
19883 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
19884 <libm-alias-float.h>.
19885 (fabsf): Define using libm_alias_float.
19886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19887 Include <libm-alias-float.h>.
19888 (copysignf): Define using libm_alias_float.
19889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
19890 <libm-alias-float.h>.
19891 (fabsf): Define using libm_alias_float.
19892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
19893 <libm-alias-float.h>.
19894 (fdimf): Define using libm_alias_float.
19895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
19896 <libm-alias-float.h>.
19897 (fmaf): Define using libm_alias_float.
19898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
19899 <libm-alias-float.h>.
19900 (llrintf): Define using libm_alias_float.
19901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19902 Include <libm-alias-float.h>.
19903 (nearbyintf): Define using libm_alias_float.
19904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
19905 <libm-alias-float.h>.
19906 (rintf): Define using libm_alias_float.
19907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
19908 <libm-alias-float.h>.
19909 (llrintf): Define using libm_alias_float.
19910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
19911 <libm-alias-float.h>.
19912 (lrintf): Define using libm_alias_float.
19913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
19914 <libm-alias-float.h>.
19915 (nearbyintf): Define using libm_alias_float.
19916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
19917 <libm-alias-float.h>.
19918 (rintf): Define using libm_alias_float.
19919 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
19920 <libm-alias-float.h>.
19921 (ceilf): Define using libm_alias_float.
19922 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
19923 <libm-alias-float.h>.
19924 (floorf): Define using libm_alias_float.
19925 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
19926 <libm-alias-float.h>.
19927 (fmaf): Define using libm_alias_float.
19928 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
19929 <libm-alias-float.h>.
19930 (lrintf): Define using libm_alias_float.
19931 (llrintf): Likewise.
19932 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
19933 <libm-alias-float.h>.
19934 (nearbyintf): Define using libm_alias_float.
19935 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
19936 <libm-alias-float.h>.
19937 (rintf): Define using libm_alias_float.
19938 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
19939 <libm-alias-float.h>.
19940 (truncf): Define using libm_alias_float.
19941 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
19942 <libm-alias-float.h>.
19943 (copysignf): Define using libm_alias_float.
19944 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
19945 <libm-alias-float.h>.
19946 (fabsf): Define using libm_alias_float.
19947 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
19948 <libm-alias-float.h>.
19949 (lrintf): Define using libm_alias_float.
19950 (llrintf): Likewise.
19951 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
19952 <libm-alias-float.h>.
19953 (nearbyintf): Define using libm_alias_float.
19954 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
19955 <libm-alias-float.h>.
19956 (rintf): Define using libm_alias_float.
19957
19958 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19959
19960 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
19961 <libm-alias-double.h>.
19962 (copysign): Define using libm_alias_double.
19963 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
19964 <libm-alias-double.h>.
19965 (fabs): Define using libm_alias_double.
19966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19967 Include <libm-alias-double.h>.
19968 (copysign): Define using libm_alias_double.
19969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
19970 <libm-alias-double.h>.
19971 (fabs): Define using libm_alias_double.
19972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
19973 <libm-alias-double.h>.
19974 (fdim): Define using libm_alias_double.
19975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
19976 <libm-alias-double.h>.
19977 (fma): Define using libm_alias_double.
19978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
19979 <libm-alias-double.h>.
19980 (llrint): Define using libm_alias_double.
19981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
19982 Include <libm-alias-double.h>.
19983 (nearbyint): Define using libm_alias_double.
19984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
19985 <libm-alias-double.h>.
19986 (rint): Define using libm_alias_double.
19987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19988 <libm-alias-double.h>.
19989 (fabs): Define using libm_alias_double.
19990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
19991 <libm-alias-double.h>.
19992 (llrint): Define using libm_alias_double.
19993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
19994 <libm-alias-double.h>.
19995 (nearbyint): Define using libm_alias_double.
19996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
19997 <libm-alias-double.h>.
19998 (rint): Define using libm_alias_double.
19999 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
20000 <libm-alias-double.h>.
20001 (ceil): Define using libm_alias_double.
20002 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
20003 <libm-alias-double.h>.
20004 (floor): Define using libm_alias_double.
20005 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
20006 <libm-alias-double.h>.
20007 (fma): Define using libm_alias_double.
20008 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
20009 <libm-alias-double.h>.
20010 (lrint): Define using libm_alias_double.
20011 (llrint): Likewise.
20012 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
20013 <libm-alias-double.h>.
20014 (nearbyint): Define using libm_alias_double.
20015 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
20016 <libm-alias-double.h>.
20017 (rint): Define using libm_alias_double.
20018 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
20019 <libm-alias-double.h>.
20020 (trunc): Define using libm_alias_double.
20021 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
20022 <libm-alias-double.h>.
20023 (copysign): Define using libm_alias_double.
20024 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
20025 <libm-alias-double.h>.
20026 (fabs): Define using libm_alias_double.
20027 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
20028 <libm-alias-double.h>.
20029 (lrint): Define using libm_alias_double.
20030 (llrint): Likewise.
20031 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
20032 <libm-alias-double.h>.
20033 (nearbyint): Define using libm_alias_double.
20034 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
20035 <libm-alias-double.h>.
20036 (rint): Define using libm_alias_double.
20037
20038 [BZ #22229]
20039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20040 <math_ldbl_opt.h>.
20041 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
20042
20043 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20044 SPARC --disable-multi-arch glibc variants.
20045
20046 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
20047 <libm-alias-float.h>.
20048 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20049 if [SHARED].
20050 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
20051 <libm-alias-float.h>.
20052 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20053 if [SHARED].
20054 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
20055 <libm-alias-float.h>.
20056 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20057 if [SHARED].
20058 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
20059 <libm-alias-float.h>.
20060 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20061 if [SHARED].
20062 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
20063 <libm-alias-float.h>.
20064 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20065 if [SHARED].
20066 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
20067 <libm-alias-float.h>.
20068 (ceilf): Define using libm_alias_float.
20069 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
20070 <libm-alias-float.h>.
20071 (floorf): Define using libm_alias_float.
20072 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
20073 <libm-alias-float.h>.
20074 (fmaf): Define using libm_alias_float.
20075 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
20076 <libm-alias-float.h>.
20077 (nearbyintf): Define using libm_alias_float.
20078 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
20079 <libm-alias-float.h>.
20080 (rintf): Define using libm_alias_float.
20081 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
20082 <libm-alias-float.h>.
20083 (truncf): Define using libm_alias_float.
20084 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20085 (copysignf): Define using libm_alias_float.
20086 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
20087 (cosf): Define using libm_alias_float.
20088 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20089 (fabsf): Define using libm_alias_float.
20090 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20091 (fmaxf): Define using libm_alias_float.
20092 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
20093 (fminf): Define using libm_alias_float.
20094 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20095 (llrintf): Define using libm_alias_float.
20096 [!__ILP32__] (lrintf): Likewise.
20097 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
20098 (sincosf): Define using libm_alias_float.
20099 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
20100 (sinf): Define using libm_alias_float.
20101 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20102 (lrintf): Define using libm_alias_float.
20103
20104 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
20105 <libm-alias-double.h>.
20106 (atan): Define using libm_alias_double.
20107 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
20108 <libm-alias-double.h>.
20109 (ceil): Define using libm_alias_double.
20110 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
20111 <libm-alias-double.h>.
20112 (floor): Define using libm_alias_double.
20113 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
20114 <libm-alias-double.h>.
20115 (fma): Define using libm_alias_double.
20116 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
20117 <libm-alias-double.h>.
20118 (nearbyint): Define using libm_alias_double.
20119 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
20120 <libm-alias-double.h>.
20121 (rint): Define using libm_alias_double.
20122 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
20123 <libm-alias-double.h>.
20124 (sin): Define using libm_alias_double.
20125 (cos): Likewise.
20126 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
20127 <libm-alias-double.h>.
20128 (tan): Define using libm_alias_double.
20129 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
20130 <libm-alias-double.h>.
20131 (trunc): Define using libm_alias_double.
20132 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
20133 (copysign): Define using libm_alias_double.
20134 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
20135 (fabs): Define using libm_alias_double.
20136 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
20137 (fmax): Define using libm_alias_double.
20138 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
20139 (fmin): Define using libm_alias_double.
20140 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
20141 (llrint): Define using libm_alias_double.
20142 [!__ILP32__] (lrint): Likewise.
20143 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
20144 (lrint): Define using libm_alias_double.
20145
20146 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20147
20148 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20149 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
20150 objects.
20151 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
20152 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
20153 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
20154 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
20155 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
20156 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20157
20158 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20159 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
20160 objects.
20161 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
20162 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
20163 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
20164 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
20165 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
20166 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20167
20168 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20169 (libm-sysdep_routines): Add s_nearbyint-generic and
20170 s_nearbyintf-generic objects.
20171 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
20172 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
20173 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
20174 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
20175 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
20176 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
20177
20178 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20179 Add s_finitef-generic and s_finite-generic objects.
20180 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
20181 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
20182 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
20183 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
20184 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
20185 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
20186
20187 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20188 Add s_isinff-generic and s_isinf-generic objects.
20189 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
20190 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
20191 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
20192 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
20193 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
20194 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20195
20196 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20197 Add s_isnanf-generic and s_isnan-generic objects.
20198 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
20199 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
20200 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
20201 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
20202 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
20203 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20204
20205 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
20206 macro.
20207 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
20208 rule.
20209 (sysdep_routines): Use sysdep_calls as base.
20210 (libm-sysdep_routines): Add generic rule for symbols shared with
20211 libc. Add s_signbit-generic and s_signbitf-generic objects.
20212 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
20213 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
20214 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
20215 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
20216 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
20217 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20218
20219 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20220
20221 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
20222 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
20223 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
20224 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
20225 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
20226 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
20227 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
20228 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
20229 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
20230 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
20231 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
20232 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
20233 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
20234 libm_alias_float_r.
20235 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
20236 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
20237 (logf): Likewise.
20238 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
20239 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
20240 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
20241 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
20242 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
20243 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
20244 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
20245 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
20246 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
20247 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
20248 libm_alias_float.
20249 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
20250 (cosf): Likewise.
20251 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
20252 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
20253 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
20254 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
20255 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
20256 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
20257 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
20258 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
20259 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
20260 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
20261 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
20262 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
20263 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
20264 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
20265 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
20266 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
20267 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
20268 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
20269 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
20270 libm_alias_float.
20271 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
20272 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
20273 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
20274 * sysdeps/ia64/fpu/w_lgammaf_main.c
20275 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
20276 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
20277
20278 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20279 Alexandre Oliva <aoliva@redhat.com>
20280
20281 [BZ #17750]
20282 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
20283 * localedata/fr_CA.UTF-8.in: New file with test data for backward
20284 accents sorting.
20285 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
20286 sorting.
20287 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
20288 * localedata/locales/de_DE (LC_COLLATE): Likewise.
20289 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
20290 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
20291 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
20292 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
20293 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
20294 instead of “ifdef DIACRIT_BACKWARD”.
20295
20296 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20297
20298 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
20299 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
20300 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
20301 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
20302 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
20303 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
20304 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
20305 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
20306 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
20307 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
20308 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
20309 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
20310 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
20311 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
20312 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
20313 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20314 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
20315 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
20316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20317 ($(have-as-vis3) == yes): Remove conditional.
20318 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
20319 Likewise.
20320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
20321 file.
20322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
20323 file.
20324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
20325 file.
20326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
20327 file.
20328 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
20329 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
20330 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
20331 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
20332 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
20333 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
20334 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
20335 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
20336
20337 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20338
20339 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
20340 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
20341 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
20342 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
20343 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
20344 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
20345 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
20346 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
20347 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
20348 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
20349 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
20350 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
20351 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
20352 libm_alias_double_r.
20353 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
20354 (log): Likewise.
20355 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
20356 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
20357 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
20358 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
20359 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
20360 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
20361 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
20362 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
20363 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
20364 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
20365 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
20366 libm_alias_double.
20367 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
20368 (cos): Likewise.
20369 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
20370 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
20371 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
20372 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
20373 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
20374 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
20375 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
20376 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
20377 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
20378 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
20379 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
20380 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
20381 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
20382 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
20383 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
20384 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
20385 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
20386 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
20387 libm_alias_double.
20388 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
20389 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
20390 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
20391 * sysdeps/ia64/fpu/w_lgamma_main.c
20392 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
20393 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
20394
20395 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
20396
20397 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
20398 address of $global$ into %dp register earlier. Use pc-relative
20399 instruction sequence for PIC case.
20400
20401 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20402
20403 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
20404 (asinhf): Define using libm_alias_float.
20405 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
20406 (atanf): Define using libm_alias_float.
20407 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
20408 (cbrtf): Define using libm_alias_float.
20409 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
20410 (ceilf): Define using libm_alias_float.
20411 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20412 (copysignf): Define using libm_alias_float.
20413 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
20414 (expm1f): Define using libm_alias_float.
20415 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
20416 (fabsf): Define using libm_alias_float.
20417 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
20418 (floorf): Define using libm_alias_float.
20419 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20420 (fmaxf): Define using libm_alias_float.
20421 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
20422 (fminf): Define using libm_alias_float.
20423 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
20424 (frexpf): Define using libm_alias_float.
20425 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20426 (llrintf): Define using libm_alias_float.
20427 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
20428 (logbf): Define using libm_alias_float.
20429 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20430 (lrintf): Define using libm_alias_float.
20431 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
20432 (nearbyintf): Define using libm_alias_float.
20433 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
20434 (remquof): Define using libm_alias_float.
20435 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
20436 (rintf): Define using libm_alias_float.
20437 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
20438 (truncf): Define using libm_alias_float.
20439 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
20440 <libm-alias-float.h>.
20441 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20442 if [SHARED].
20443 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
20444 <libm-alias-float.h>.
20445 (expf): Define using libm_alias_float, or libm_alias_float_other
20446 if [SHARED].
20447 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
20448 <libm-alias-float.h>.
20449 (log2f): Define using libm_alias_float, or libm_alias_float_other
20450 if [SHARED].
20451 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
20452 <libm-alias-float.h>.
20453 (logf): Define using libm_alias_float, or libm_alias_float_other
20454 if [SHARED].
20455 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
20456 <libm-alias-float.h>.
20457 (powf): Define using libm_alias_float, or libm_alias_float_other
20458 if [SHARED].
20459 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
20460 <libm-alias-float.h>.
20461 (cosf): Define using libm_alias_float.
20462 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
20463 <libm-alias-float.h>.
20464 (sincosf): Define using libm_alias_float.
20465 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
20466 <libm-alias-float.h>.
20467 (sinf): Define using libm_alias_float.
20468 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20469 (fmaxf): Define using libm_alias_float.
20470 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
20471 (fminf): Define using libm_alias_float.
20472 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20473 <libm-alias-float.h>.
20474 (fmaf): Define using libm_alias_float.
20475
20476 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
20477 (asinh): Define using libm_alias_double.
20478 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
20479 (atan): Define using libm_alias_double.
20480 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
20481 (cbrt): Define using libm_alias_double.
20482 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
20483 (ceil): Define using libm_alias_double.
20484 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
20485 (copysign): Define using libm_alias_double.
20486 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
20487 (expm1): Define using libm_alias_double.
20488 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
20489 (fabs): Define using libm_alias_double.
20490 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
20491 (fdim): Define using libm_alias_double.
20492 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
20493 (floor): Define using libm_alias_double.
20494 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
20495 (fmax): Define using libm_alias_double.
20496 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
20497 (fmin): Define using libm_alias_double.
20498 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
20499 (frexp): Define using libm_alias_double.
20500 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
20501 (llrint): Define using libm_alias_double.
20502 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
20503 (logb): Define using libm_alias_double.
20504 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
20505 (lrint): Define using libm_alias_double.
20506 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
20507 (nearbyint): Define using libm_alias_double.
20508 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
20509 (remquo): Define using libm_alias_double.
20510 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
20511 (rint): Define using libm_alias_double.
20512 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
20513 (trunc): Define using libm_alias_double.
20514 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
20515 (fmax): Define using libm_alias_double.
20516 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
20517 (fmin): Define using libm_alias_double.
20518 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
20519 (fma): Define using libm_alias_double.
20520
20521 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
20522
20523 [BZ #22370]
20524 * elf/dl-hwcaps.c (ROUND): Removed.
20525 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
20526 and ELF_NOTE_NEXT_OFFSET.
20527 * elf/dl-load.c (ROUND): Removed.
20528 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20529 * elf/readelflib.c (ROUND): Removed.
20530 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20531 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
20532 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
20533 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
20534
20535 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20536
20537 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20538 [!__fmaf] (fmaf): Define using libm_alias_float.
20539
20540 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
20541 [!__fma] (fma): Define using libm_alias_double.
20542 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
20543
20544 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20545
20546 [BZ #22336]
20547 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
20548 and implement the collation rules for cs from CLDR on top of that.
20549 * Makefile: Add cs_CZ.UTF-8 to test-input.
20550 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
20551
20552 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
20553
20554 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
20555
20556 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20557 Icarus Sparry <icarus.w.sparry@intel.com>
20558
20559 * benchtests/Makefile:Add BENCHSET to allow subsets of
20560 benchmarks to be run.
20561 * benchtests/README: Add documentation for: Running subsets of
20562 benchmarks.
20563
20564 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20565
20566 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
20567 range of tests names.
20568
20569 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
20570 result from property and remove "max", min" and "mean" from
20571 required properties based on benchtests/bench-skeleton.c.
20572
20573 2017-11-28 Florian Weimer <fweimer@redhat.com>
20574
20575 [BZ #20826]
20576 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
20577 due to Internet requirement.
20578 * posix/Makefile (tests): Remove tst-getaddrinfo4,
20579 tst-getaddrinfo5.
20580 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
20581
20582 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20583
20584 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20585 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
20586 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20587 (sysdep_routines): Add memset-ultra1.
20588 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
20589 file.
20590 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
20591 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
20592 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
20593 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
20594 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
20595 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
20596 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
20597 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20598
20599 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
20600 file.
20601 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
20602 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
20603 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
20604 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
20605 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
20606 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
20607 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
20608 macro.
20609 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20610 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
20611 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20612 (sysdep_routines): Add memcpy-ultra1.
20613 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
20614 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
20615
20616 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20617
20618 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
20619 (cfloat_versions): Take function argument without trailing 'f'.
20620 Call libm_alias_float_other.
20621 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
20622 * sysdeps/alpha/fpu/cargf.c: Likewise.
20623 * sysdeps/alpha/fpu/cimagf.c: Likewise.
20624 * sysdeps/alpha/fpu/conjf.c: Likewise.
20625 * sysdeps/alpha/fpu/crealf.c: Likewise.
20626 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
20627 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
20628 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
20629 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
20630 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
20631 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
20632 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
20633 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
20634 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
20635 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
20636 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
20637 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
20638 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
20639 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
20640 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
20641 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
20642 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
20643 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
20644 (clog10f): Use libm_alias_float_other.
20645 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20646 (ceilf): Define using libm_alias_float.
20647 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
20648 (copysignf): Define using libm_alias_float.
20649 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20650 (fabsf): Define using libm_alias_float.
20651 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
20652 (floorf): Define using libm_alias_float.
20653 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
20654 (fmaxf): Define using libm_alias_float.
20655 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
20656 (fminf): Define using libm_alias_float.
20657 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20658 (lrintf): Define using libm_alias_float.
20659 (llrintf): Likewise.
20660 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20661 (lroundf): Define using libm_alias_float.
20662 (llroundf): Likewise.
20663 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
20664 (rintf): Define using libm_alias_float.
20665 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
20666 (truncf): Define using libm_alias_float.
20667
20668 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20669 (ceilf): Define using libm_alias_float.
20670 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
20671 (floorf): Define using libm_alias_float.
20672 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20673 (fmaf): Define using libm_alias_float.
20674 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
20675 (fmaxf): Define using libm_alias_float.
20676 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
20677 (fminf): Define using libm_alias_float.
20678 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
20679 (llrintf): Define using libm_alias_float.
20680 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
20681 (llroundf): Define using libm_alias_float.
20682 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20683 (lrintf): Define using libm_alias_float.
20684 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20685 (lroundf): Define using libm_alias_float.
20686 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
20687 <libm-alias-float.h>.
20688 (nearbyintf): Define using libm_alias_float.
20689 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
20690 (rintf): Define using libm_alias_float.
20691 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
20692 (roundf): Define using libm_alias_float.
20693 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
20694 (truncf): Define using libm_alias_float.
20695
20696 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
20697 (ceil): Define using libm_alias_double.
20698 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
20699 (copysign): Define using libm_alias_double.
20700 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
20701 (fabs): Define using libm_alias_double.
20702 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
20703 (floor): Define using libm_alias_double.
20704 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
20705 (fmax): Define using libm_alias_double.
20706 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
20707 (fmin): Define using libm_alias_double.
20708 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
20709 (lrint): Define using libm_alias_double.
20710 (llrint): Likewise.
20711 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
20712 (lround): Define using libm_alias_double.
20713 (llround): Likewise.
20714 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
20715 (rint): Define using libm_alias_double.
20716 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
20717 (trunc): Define using libm_alias_double.
20718
20719 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
20720 (libm_alias_double_r): Add semicolon after weak_alias call.
20721
20722 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20723
20724 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
20725 (ceil): Define using libm_alias_double.
20726 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
20727 (floor): Define using libm_alias_double.
20728 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
20729 (fma): Define using libm_alias_double.
20730 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
20731 (fmax): Define using libm_alias_double.
20732 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
20733 (fmin): Define using libm_alias_double.
20734 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
20735 (llrint): Define using libm_alias_double.
20736 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
20737 (llround): Define using libm_alias_double.
20738 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
20739 (lrint): Define using libm_alias_double.
20740 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
20741 (lround): Define using libm_alias_double.
20742 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
20743 (nearbyint): Define using libm_alias_double.
20744 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
20745 (rint): Define using libm_alias_double.
20746 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
20747 (round): Define using libm_alias_double.
20748 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
20749 (trunc): Define using libm_alias_double.
20750
20751 2017-11-27 Florian Weimer <fweimer@redhat.com>
20752
20753 * sysdeps/unix/sysv/linux/mlock2.c: New file.
20754 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
20755 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
20756 (tests): Add tst-mlock2.
20757 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
20758 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
20759 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
20760 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
20761 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
20762 for mlock. Document mlock2.
20763
20764 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20765
20766 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
20767 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
20768 Likewise.
20769 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
20770 Likewise.
20771 * sysdeps/x86/Makeconfig: New file.
20772 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
20773 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20774 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
20775 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20776 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20777 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20778 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
20779 Likewise.
20780 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20781 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20782 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20783 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20784 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20785 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20786 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20787 * manual/math.texi (Mathematics): Document support for _Float64x.
20788 * math/Versions (GLIBC_2.27): Add _Float64x functions.
20789 * stdlib/Versions (GLIBC_2.27): Likewise.
20790 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20791 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20792 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20793 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20794 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20795 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20796 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20797 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20798 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20799 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20800 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20801 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20803 Likewise.
20804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20805 Likewise.
20806 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20807 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20808 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20809 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20810 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20811 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20812 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20813 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20814 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20815 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20816 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20817 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20818 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20819 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20820
20821 2017-11-27 Andreas Schwab <schwab@suse.de>
20822
20823 * elf/Makefile (dl-routines): Add dl-sort-maps.
20824 * elf/dl-sort-maps.c: New file.
20825 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
20826 (_dl_sort_maps): Declare.
20827 * elf/dl-fini.c (_dl_sort_fini): Remove.
20828 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
20829 * elf/dl-close.c (_dl_close_worker): Likewise.
20830 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
20831 open-coding it.
20832 * elf/dl-open.c (dl_open_worker): Likewise.
20833
20834 2017-11-24 Joseph Myers <joseph@codesourcery.com>
20835
20836 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
20837 using libm_alias_float128.
20838 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
20839 Likewise.
20840 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
20841 Likewise.
20842 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
20843 (setpayloadsigf128): Likewise.
20844 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
20845 Likewise.
20846 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
20847 Likewise.
20848
20849 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
20850 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
20851 -mfloat128 to CFLAGS.
20852 ($(foreach
20853 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
20854 Likewise.
20855 (CFLAGS-libm-test-support-float64x.c): New variable.
20856 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
20857 $(f128-loader-link) to gnulib-tests.
20858
20859 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
20860 (libm_alias_float128_other_r): If
20861 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
20862 alias.
20863 (libm_alias_float128_r): Add semicolon after weak_alias call.
20864 * sysdeps/generic/libm-alias-ldouble.h
20865 (libm_alias_ldouble_other_r_f128): New macro.
20866 (libm_alias_ldouble_other_r_f64x): Likewise.
20867 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20868 and libm_alias_ldouble_other_r_f64x.
20869 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
20870 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
20871 (libm_alias_ldouble_other_r_f128): New macro.
20872 (libm_alias_ldouble_other_r_f64x): Likewise.
20873 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20874 and libm_alias_ldouble_other_r_f64x.
20875
20876 * stdlib/strfroml.c: Always include <stdlib.h>.
20877 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
20878 undefine as macro and define as weak alias.
20879 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
20880 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
20881 <stdlib.h>.
20882 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
20883 Define and later undefine as macro and define as weak alias.
20884
20885 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20886 Define and later undefine as macro. Define as weak alias if
20887 [!USE_WIDE_CHAR].
20888 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
20889 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20890 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
20891 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20892 Define and later undefine as macro. Define as weak alias if
20893 [!USE_WIDE_CHAR].
20894 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
20895 Define and later undefine as macro. Define as weak alias if
20896 [USE_WIDE_CHAR].
20897 * sysdeps/ieee754/float128/strtof128_l.c
20898 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
20899 Define and later undefine as macro. Define as weak alias if
20900 [!USE_WIDE_CHAR].
20901 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
20902 Define and later undefine as macro. Define as weak alias if
20903 [USE_WIDE_CHAR].
20904 * sysdeps/ieee754/ldbl-128/strtold_l.c
20905 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20906 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20907 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20908 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20909 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
20910 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20911 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20912 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20913 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20914 * sysdeps/ieee754/ldbl-96/strtold_l.c
20915 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20916 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20917 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20918 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20919
20920 * math/test-float64x.h: New file.
20921 * math/Makefile (type-float64x-yes): New variable.
20922 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
20923
20924 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
20925 function-like macro.
20926 (min_of_type_): Likewise.
20927 (min_of_type_l): Likewise.
20928 (min_of_type_f128): Likewise.
20929 (min_of_type): Pass () as last argument of __MATH_TG.
20930
20931 * stdlib/tst-strtod-round-skeleton.c
20932 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
20933 headers.
20934
20935 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
20936 for combinations of long double with _Float64 and _Float64x.
20937
20938 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
20939 (__DECL_SIMD_cosf32): Likewise.
20940 (__DECL_SIMD_cosf64): Likewise.
20941 (__DECL_SIMD_cosf32x): Likewise.
20942 (__DECL_SIMD_cosf64x): Likewise.
20943 (__DECL_SIMD_cosf128x): Likewise.
20944 (__DECL_SIMD_sinf16): Likewise.
20945 (__DECL_SIMD_sinf32): Likewise.
20946 (__DECL_SIMD_sinf64): Likewise.
20947 (__DECL_SIMD_sinf32x): Likewise.
20948 (__DECL_SIMD_sinf64x): Likewise.
20949 (__DECL_SIMD_sinf128x): Likewise.
20950 (__DECL_SIMD_sincosf16): Likewise.
20951 (__DECL_SIMD_sincosf32): Likewise.
20952 (__DECL_SIMD_sincosf64): Likewise.
20953 (__DECL_SIMD_sincosf32x): Likewise.
20954 (__DECL_SIMD_sincosf64x): Likewise.
20955 (__DECL_SIMD_sincosf128x): Likewise.
20956 (__DECL_SIMD_logf16): Likewise.
20957 (__DECL_SIMD_logf32): Likewise.
20958 (__DECL_SIMD_logf64): Likewise.
20959 (__DECL_SIMD_logf32x): Likewise.
20960 (__DECL_SIMD_logf64x): Likewise.
20961 (__DECL_SIMD_logf128x): Likewise.
20962 (__DECL_SIMD_expf16): Likewise.
20963 (__DECL_SIMD_expf32): Likewise.
20964 (__DECL_SIMD_expf64): Likewise.
20965 (__DECL_SIMD_expf32x): Likewise.
20966 (__DECL_SIMD_expf64x): Likewise.
20967 (__DECL_SIMD_expf128x): Likewise.
20968 (__DECL_SIMD_powf16): Likewise.
20969 (__DECL_SIMD_powf32): Likewise.
20970 (__DECL_SIMD_powf64): Likewise.
20971 (__DECL_SIMD_powf32x): Likewise.
20972 (__DECL_SIMD_powf64x): Likewise.
20973 (__DECL_SIMD_powf128x): Likewise.
20974
20975 * stdlib/Versions (libc): Move entries for wcstof128 and
20976 wcstof128_l to ....
20977 * wcsmbs/Versions (libc): ... here.
20978 Include <float128-abi.h>.
20979
20980 2017-11-24 Florian Weimer <fweimer@redhat.com>
20981
20982 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20983 bits/mman-shared.h.
20984 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
20985 <bits/mman-shared.h>.
20986 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
20987 to ...
20988 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
20989 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
20990 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
20991 <bits/mman-shared.h>.
20992
20993 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20994
20995 [BZ #22457]
20996 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
20997 posix_memalign/free.
20998 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
20999
21000 2017-11-22 Mike FABIAN <mfabian@redhat.com>
21001
21002 [BZ #22469]
21003 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
21004 and implement the collation rules for pl from CLDR on top of that.
21005 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
21006 of locales to be built for testing.
21007 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
21008
21009 2017-11-23 Joseph Myers <joseph@codesourcery.com>
21010
21011 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
21012 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
21013 libm_alias_ldouble_other.
21014 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
21015 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
21016 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
21017 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
21018 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
21019 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
21020 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
21021 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
21022 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
21023 libm_alias_ldouble_r.
21024 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
21025 libm_alias_ldouble_other.
21026 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
21027 (log10l): Likewise.
21028 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
21029 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
21030 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
21031 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
21032 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
21033 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
21034 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
21035 (atan2l): Likewise.
21036 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
21037 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
21038 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
21039 libm_alias_ldouble.
21040 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
21041 (cosl): Likewise.
21042 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
21043 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
21044 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
21045 (expl): Likewise.
21046 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
21047 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
21048 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
21049 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
21050 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
21051 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
21052 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
21053 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
21054 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
21055 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
21056 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
21057 libm_alias_ldouble.
21058 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
21059 libm_alias_ldouble_other.
21060 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
21061 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
21062 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
21063 libm_alias_ldouble.
21064 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
21065 libm_alias_ldouble_other.
21066 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
21067 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
21068 * sysdeps/ia64/fpu/w_lgammal_main.c
21069 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
21070 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
21071
21072 2017-11-23 Florian Weimer <fweimer@redhat.com>
21073
21074 * malloc/malloc.c (tcache_thread_shutdown): Rename from
21075 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
21076 alike. Remove freeres marker.
21077 * malloc/arena.c (arena_thread_freeres): Call
21078 tcache_thread_shutdown.
21079
21080 2017-11-23 Florian Weimer <fweimer@redhat.com>
21081
21082 [BZ #22459]
21083 Export nscd hash function as __nss_hash.
21084 * include/nss.h (__nss_hash): Declare.
21085 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
21086 symbol.
21087 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
21088 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
21089 of __nscd_hash.
21090 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
21091 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
21092 * nss/Makefiles (routines): Add nss_hash.
21093 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
21094 * nss/nss_hash.c: Rename from nis/nis_hash.c.
21095 (__nss_hash): Rename from __nis_hash. Define hidden alias.
21096 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
21097
21098 2017-11-23 Florian Weimer <fweimer@redhat.com>
21099
21100 [BZ #22478]
21101 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
21102 Return error code, not -1.
21103 * signal/tst-sigwait-eintr.c: New file.
21104 * signal/Makefile (tests): Add tst-sigwait-eintr.
21105
21106 2017-11-23 Florian Weimer <fweimer@redhat.com>
21107
21108 Linux: Add memfd_create system call wrapper
21109 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
21110 tst-memfd_create.
21111 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
21112 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
21113 [__USE_GNU] (memfd_create): Declare.
21114 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
21115 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
21116 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
21117 * sysdeps/unix/sysv/linux/**.abilist: Update.
21118 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
21119
21120 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21121
21122 * localedata/gen-locale.sh: Fix typo in variable name.
21123
21124 * resolv/res_debug.c (p_secstodate): Condition definition on
21125 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
21126 directly as __p_secstodate, and as a compat symbol. Do not use
21127 libresolv_hidden_def.
21128 * resolv/resolv.h (p_secstodate): Remove macro and function
21129 declaration.
21130 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
21131 using p_secstodate.
21132 * include/resolv.h (__p_secstodate): Do not use
21133 libresolv_hidden_proto.
21134 * resolv/Makefile (tests): Move tst-p_secstodate to ....
21135 (tests-internal): ... here.
21136 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
21137 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
21138 and declare and use __p_secstodate and use compat_symbol_reference
21139 in that case.
21140 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
21141 implementation returning 77.
21142
21143 [BZ #22463]
21144 * resolv/res_debug.c: Include <libc-diag.h>.
21145 (p_secstodate): Assert time_t at least as wide as u_long. On
21146 overflow, use integer seconds since the epoch as output, or use
21147 "<overflow>" as output and set errno to EOVERFLOW if integer
21148 seconds since the epoch would be 14 or more characters.
21149 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
21150 for sprintf call.
21151 * resolv/tst-p_secstodate.c: New file.
21152 * resolv/Makefile (tests): Add tst-p_secstodate.
21153 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
21154
21155 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
21156 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
21157 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
21158
21159 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
21160
21161 * posix/regcomp.c (init_word_char): Add comments.
21162
21163 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21164
21165 [BZ #22447]
21166 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
21167 strlen to compute length of ut_user and set trailing NUL byte of
21168 result explicitly.
21169
21170 2017-11-21 Mike FABIAN <mfabian@redhat.com>
21171
21172 [BZ #15537]
21173 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
21174 using “copy "iso14651_t1"” and then implementing the
21175 collation rules for lv from CLDR on top of that.
21176 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
21177 of locales to be built for testing.
21178 * lv_LV.UTF-8.in: New file with test data to test the Latvian
21179 sorting.
21180
21181 2017-11-21 Joseph Myers <joseph@codesourcery.com>
21182
21183 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21184 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
21185 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
21186 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
21187 [__USE_MISC] (MADV_HWPOISON): New macro.
21188 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
21189
21190 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21191
21192 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
21193 -Wmissing-braces on GCC 4.9.
21194
21195 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21196
21197 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
21198 * sysdeps/s390/s390-32/start.S (_start): Likewise
21199 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
21200 (thread_start): Likewise.
21201 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
21202 (thread_start): Likewise.
21203 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
21204 (__makecontext_ret): Likewise.
21205 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
21206 (__makecontext_ret): Likewise.
21207
21208 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21209
21210 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
21211 __wcschrnul): Remove attribute_hidden.
21212
21213 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
21214
21215 regex: don't assume uint64_t or uint32_t
21216 This avoids -Werror=overflow errors for 32-bit systems in
21217 the 64-bit case. Problem reported by Joseph Myers in:
21218 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
21219 Also, when this code is used in Gnulib it ports to platforms
21220 that lack uint64_t and uint32_t. The C standard doesn't guarantee
21221 them, and on some 32-bit compilers there is no uint64_t.
21222 Problem reported by Gianluigi Tiesi in:
21223 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
21224 * posix/regcomp.c (init_word_char): Don't assume that the types
21225 uint64_t and uint32_t exist. Adapted from Gnulib patch
21226 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
21227 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
21228
21229 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
21230
21231 * sysdeps/aarch64/memset-reg.h: New file.
21232 * sysdeps/aarch64/memset.S: Use it.
21233 (__memset): Rename to MEMSET macro.
21234 [ZVA_MACRO]: Use zva_macro.
21235 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21236 Add memset_generic and memset_falkor.
21237 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
21238 (__libc_ifunc_impl_list): Add memset ifuncs.
21239 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
21240 local variable zva_size.
21241 * sysdeps/aarch64/multiarch/memset.c: New file.
21242 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
21243 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
21244 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
21245 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
21246 (DCZID_DZP_MASK): New macro.
21247 (DCZID_BS_MASK): Likewise.
21248 (init_cpu_features): Read and set zva_size.
21249 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
21250 (struct cpu_features): New member zva_size.
21251
21252 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
21253 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
21254 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
21255
21256 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
21257 backwards. Fix timing computation.
21258 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
21259 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
21260 on memset by N at a time. Fix timing computation.
21261
21262 2017-11-20 Florian Weimer <fweimer@redhat.com>
21263
21264 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
21265 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
21266
21267 2017-11-19 Florian Weimer <fweimer@redhat.com>
21268
21269 manual: Document mprotect
21270 * manual/memory.texi (Memory Protection): New section.
21271 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
21272 documentation of PROT_* flags and reference the Memory Protection
21273 section instead.
21274
21275 2017-11-19 Florian Weimer <fweimer@redhat.com>
21276
21277 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
21278 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
21279 (Scatter-Gather): ... to here. Remove misleading comment.
21280
21281 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
21282
21283 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
21284 style.
21285
21286 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
21287 when /proc/<pid>/setgroups does not exist.
21288
21289 2017-11-18 Florian Weimer <fweimer@redhat.com>
21290
21291 * sysdeps/unix/sysv/linux/tst-ttyname.c
21292 (become_root_in_mount_ns): Remove.
21293 (do_in_chroot_1): Call support_enter_mount_namespace.
21294 (do_in_chroot_2): Likewise.
21295 (do_test): Call support_become_root early.
21296
21297 2017-11-18 Florian Weimer <fweimer@redhat.com>
21298
21299 * support/namespace.h (support_enter_mount_namespace): Declare.
21300 * support/support_enter_mount_namespace.c: New file.
21301 * support/Makefile (libsupport-routines): Add
21302 support_enter_mount_namespace.
21303
21304 2017-11-18 Florian Weimer <fweimer@redhat.com>
21305
21306 * support/temp_file.c (support_create_temp_directory): Use
21307 test_dir and do not rely on the presence of the XXXXXX suffix.
21308 * support/temp_file.h (support_create_temp_directory): Update
21309 comment.
21310 * support/tst-xreadlink.c (do_test): Adjust.
21311 * support/support_chroot.c (support_chroot_create): Likewise.
21312
21313 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21314
21315 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
21316 macro.
21317 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
21318 htm-no-suspend.
21319
21320 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21321
21322 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21323 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21324 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21325 (ceill): Define using libm_alias_ldouble.
21326 * sysdeps/x86_64/fpu/s_copysignl.S: Include
21327 <libm-alias-ldouble.h>.
21328 (copysignl): Define using libm_alias_ldouble.
21329 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21330 (fabsl): Define using libm_alias_ldouble.
21331 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21332 (floorl): Define using libm_alias_ldouble.
21333 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21334 (fmaxl): Define using libm_alias_ldouble.
21335 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21336 (fminl): Define using libm_alias_ldouble.
21337 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21338 (llrintl): Define using libm_alias_ldouble.
21339 (lrintl): Likewise.
21340 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
21341 <libm-alias-ldouble.h>.
21342 (nearbyintl): Define using libm_alias_ldouble.
21343 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21344 (truncl): Define using libm_alias_ldouble.
21345 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
21346 <libm-alias-ldouble.h>.
21347 (lrintl): Define using libm_alias_ldouble.
21348
21349 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21350 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21351 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
21352 (asinhl): Define using libm_alias_ldouble.
21353 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
21354 (atanl): Define using libm_alias_ldouble.
21355 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
21356 (cbrtl): Define using libm_alias_ldouble.
21357 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21358 (ceill): Define using libm_alias_ldouble.
21359 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
21360 (copysignl): Define using libm_alias_ldouble.
21361 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21362 (fabsl): Define using libm_alias_ldouble.
21363 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21364 (floorl): Define using libm_alias_ldouble.
21365 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21366 (fmaxl): Define using libm_alias_ldouble.
21367 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21368 (fminl): Define using libm_alias_ldouble.
21369 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
21370 (frexpl): Define using libm_alias_ldouble.
21371 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21372 (llrintl): Define using libm_alias_ldouble.
21373 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
21374 (logbl): Define using libm_alias_ldouble.
21375 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
21376 (lrintl): Define using libm_alias_ldouble.
21377 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
21378 (nearbyintl): Define using libm_alias_ldouble.
21379 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
21380 (nextafterl): Define using libm_alias_ldouble.
21381 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
21382 (remquol): Define using libm_alias_ldouble.
21383 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
21384 (rintl): Define using libm_alias_ldouble.
21385 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21386 (truncl): Define using libm_alias_ldouble.
21387 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21388 (fmaxl): Define using libm_alias_ldouble.
21389 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21390 (fminl): Define using libm_alias_ldouble.
21391
21392 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
21393 to C syntax instead of availability and properties of types.
21394 * bits/floatn.h [!__ASSEMBLER]: Likewise.
21395 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
21396 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
21397 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
21398 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
21399 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
21400
21401 2017-11-17 Florian Weimer <fweimer@redhat.com>
21402
21403 support_become_root: Enable file creation in namespaces.
21404 * support/support_become_root.c (setup_mapping): New function.
21405 (support_become_root): Call it.
21406
21407 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21408
21409 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
21410 macro.
21411
21412 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21413
21414 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
21415 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
21416
21417 2017-11-16 Joseph Myers <joseph@codesourcery.com>
21418
21419 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
21420
21421 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21422 version to 4.14.
21423
21424 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
21425
21426 * INSTALL: Fix botched up regeneration.
21427
21428 * NEWS: Update sourceare link to https.
21429 * configure.ac: Likewise.
21430 * crypt/md5test-giant.c: Likewise.
21431 * dlfcn/bug-atexit1.c: Likewise.
21432 * dlfcn/bug-atexit2.c: Likewise.
21433 * localedata/README: Likewise.
21434 * malloc/tst-mallocfork.c: Likewise.
21435 * manual/install.texi: Likewise.
21436 * nptl/tst-pthread-getattr.c: Likewise.
21437 * stdio-common/tst-fgets.c: Likewise.
21438 * stdio-common/tst-fwrite.c: Likewise.
21439 * sunrpc/Makefile: Likewise.
21440 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
21441 * wcsmbs/tst-mbrtowc2.c: Likewise.
21442 * configure: Regenerate.
21443 * INSTALL: Regenerate.
21444
21445 2017-11-15 Martin Sebor <msebor@redhat.com>
21446
21447 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
21448 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
21449 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
21450
21451 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21452
21453 [BZ #22145]
21454 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
21455 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
21456
21457 [BZ #22145]
21458 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
21459 Defer is_pty check until end of the function.
21460 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21461
21462 [BZ #22145]
21463 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
21464 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
21465 (ttyname): Likewise.
21466 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
21467 (__ttyname_r): Likewise.
21468
21469 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
21470 int to bool.
21471
21472 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
21473
21474 * manual/terminal.texi (Is It a Terminal):
21475 Mention ENODEV for ttyname and ttyname_r.
21476
21477 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21478
21479 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
21480 constant and macro.
21481
21482 * sysdeps/unix/sysv/linux/bits/mman-linux.h
21483 [__USE_MISC] (MADV_WIPEONFORK): New macro.
21484 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21485 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21486 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
21487 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21488
21489 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21490
21491 * signal/sigrelse.c (sigrelse): Optimize implementation.
21492
21493 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
21494 (__sigpause): Rely on __sigsuspend to implement single thread
21495 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
21496
21497 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21498
21499 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
21500 kernel version to 4.14.
21501
21502 2017-11-15 Steve Ellcey <sellcey@cavium.com>
21503
21504 [BZ #22442]
21505 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
21506 Check if ifname is too long.
21507
21508 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21509
21510 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
21511
21512 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21513
21514 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
21515 was accidentally lost.
21516
21517 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21518
21519 * localedata/locales/az_IR: Add standard copyright header.
21520
21521 2017-11-15 Florian Weimer <fweimer@redhat.com>
21522
21523 [BZ #22439]
21524 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
21525 not just the top one. Output a new "subheaps" statistic.
21526
21527 2017-11-15 Florian Weimer <fweimer@redhat.com>
21528
21529 [BZ #22408]
21530 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
21531 under the per-arena lock.
21532 * malloc/Makefile (tests): Add tst-malloc_info.
21533 (tst-malloc_info): Link with libpthread.
21534 * malloc/tst-malloc_info.c: New file.
21535
21536 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21537
21538 [BZ #21660]
21539 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
21540 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
21541 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
21542 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
21543 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
21544 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
21545 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
21546 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
21547 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
21548 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
21549 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
21550 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
21551 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
21552 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
21553 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
21554 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
21555 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
21556 (__floating_type): Likewise.
21557 (__real_integer_type): Likewise.
21558 (__complex_integer_type): Likewise.
21559 (__expr_is_real): Likewise.
21560 (__tgmath_real_type_sub): Likewise.
21561 (__tgmath_real_type): Likewise.
21562 (__tgmath_complex_type_sub): Likewise.
21563 (__tgmath_complex_type): Likewise.
21564 (__TGMATH_F128): Likewise.
21565 (__TGMATH_CF128): Likewise.
21566 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
21567 new macros.
21568 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
21569 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
21570 Likewise.
21571 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
21572 Likewise.
21573 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
21574 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
21575 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
21576 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
21577 Likewise.
21578 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
21579 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
21580 Likewise.
21581 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
21582 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
21583 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
21584 Likewise.
21585 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
21586 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
21587 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
21588 (cimag): Likewise.
21589 (creal): Likewise.
21590
21591 2017-11-14 Joseph Myers <joseph@codesourcery.com>
21592
21593 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
21594 for stpncpy calls for GCC 8.
21595 (test_strncat): Disable -Wstringop-truncation warning for strncat
21596 calls for GCC 8. Disable -Wstringop-overflow= warning for one
21597 strncat call for GCC 7.
21598 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
21599 calls for GCC 8.
21600 (test_memcmp): Use memcpy instead of strncpy for calls not copying
21601 trailing NUL.
21602
21603 * string/bug-strncat1.c: Include <libc-diag.h>.
21604 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
21605
21606 2017-11-13 Claude Paroz <claude@2xlibre.net>
21607
21608 [BZ #22387]
21609 * localedata/locales/aa_DJ: Improved readibility by replacing
21610 <Uxxxx> sequences in the ASCII printable range by their ASCII
21611 character equivalents.
21612 * localedata/locales/aa_ER: Likewise.
21613 * localedata/locales/aa_ER@saaho: Likewise.
21614 * localedata/locales/aa_ET: Likewise.
21615 * localedata/locales/af_ZA: Likewise.
21616 * localedata/locales/agr_PE: Likewise.
21617 * localedata/locales/ak_GH: Likewise.
21618 * localedata/locales/am_ET: Likewise.
21619 * localedata/locales/anp_IN: Likewise.
21620 * localedata/locales/ar_AE: Likewise.
21621 * localedata/locales/ar_BH: Likewise.
21622 * localedata/locales/ar_DZ: Likewise.
21623 * localedata/locales/ar_EG: Likewise.
21624 * localedata/locales/ar_IN: Likewise.
21625 * localedata/locales/ar_IQ: Likewise.
21626 * localedata/locales/ar_JO: Likewise.
21627 * localedata/locales/ar_KW: Likewise.
21628 * localedata/locales/ar_LB: Likewise.
21629 * localedata/locales/ar_LY: Likewise.
21630 * localedata/locales/ar_MA: Likewise.
21631 * localedata/locales/ar_OM: Likewise.
21632 * localedata/locales/ar_QA: Likewise.
21633 * localedata/locales/ar_SA: Likewise.
21634 * localedata/locales/ar_SD: Likewise.
21635 * localedata/locales/ar_SS: Likewise.
21636 * localedata/locales/ar_SY: Likewise.
21637 * localedata/locales/ar_TN: Likewise.
21638 * localedata/locales/ar_YE: Likewise.
21639 * localedata/locales/as_IN: Likewise.
21640 * localedata/locales/ast_ES: Likewise.
21641 * localedata/locales/ayc_PE: Likewise.
21642 * localedata/locales/az_AZ: Likewise.
21643 * localedata/locales/az_IR: Likewise.
21644 * localedata/locales/be_BY: Likewise.
21645 * localedata/locales/be_BY@latin: Likewise.
21646 * localedata/locales/bem_ZM: Likewise.
21647 * localedata/locales/ber_DZ: Likewise.
21648 * localedata/locales/ber_MA: Likewise.
21649 * localedata/locales/bg_BG: Likewise.
21650 * localedata/locales/bhb_IN: Likewise.
21651 * localedata/locales/bho_IN: Likewise.
21652 * localedata/locales/bi_VU: Likewise.
21653 * localedata/locales/bn_BD: Likewise.
21654 * localedata/locales/bn_IN: Likewise.
21655 * localedata/locales/bo_CN: Likewise.
21656 * localedata/locales/bo_IN: Likewise.
21657 * localedata/locales/br_FR: Likewise.
21658 * localedata/locales/brx_IN: Likewise.
21659 * localedata/locales/bs_BA: Likewise.
21660 * localedata/locales/byn_ER: Likewise.
21661 * localedata/locales/ca_AD: Likewise.
21662 * localedata/locales/ca_ES: Likewise.
21663 * localedata/locales/ca_FR: Likewise.
21664 * localedata/locales/ca_IT: Likewise.
21665 * localedata/locales/ce_RU: Likewise.
21666 * localedata/locales/chr_US: Likewise.
21667 * localedata/locales/cmn_TW: Likewise.
21668 * localedata/locales/crh_UA: Likewise.
21669 * localedata/locales/cs_CZ: Likewise.
21670 * localedata/locales/csb_PL: Likewise.
21671 * localedata/locales/cv_RU: Likewise.
21672 * localedata/locales/cy_GB: Likewise.
21673 * localedata/locales/da_DK: Likewise.
21674 * localedata/locales/de_AT: Likewise.
21675 * localedata/locales/de_BE: Likewise.
21676 * localedata/locales/de_CH: Likewise.
21677 * localedata/locales/de_DE: Likewise.
21678 * localedata/locales/de_IT: Likewise.
21679 * localedata/locales/de_LI: Likewise.
21680 * localedata/locales/de_LU: Likewise.
21681 * localedata/locales/doi_IN: Likewise.
21682 * localedata/locales/dv_MV: Likewise.
21683 * localedata/locales/dz_BT: Likewise.
21684 * localedata/locales/el_CY: Likewise.
21685 * localedata/locales/el_GR: Likewise.
21686 * localedata/locales/en_AG: Likewise.
21687 * localedata/locales/en_AU: Likewise.
21688 * localedata/locales/en_BW: Likewise.
21689 * localedata/locales/en_CA: Likewise.
21690 * localedata/locales/en_DK: Likewise.
21691 * localedata/locales/en_GB: Likewise.
21692 * localedata/locales/en_HK: Likewise.
21693 * localedata/locales/en_IE: Likewise.
21694 * localedata/locales/en_IL: Likewise.
21695 * localedata/locales/en_IN: Likewise.
21696 * localedata/locales/en_NG: Likewise.
21697 * localedata/locales/en_NZ: Likewise.
21698 * localedata/locales/en_PH: Likewise.
21699 * localedata/locales/en_SG: Likewise.
21700 * localedata/locales/en_US: Likewise.
21701 * localedata/locales/en_ZA: Likewise.
21702 * localedata/locales/en_ZM: Likewise.
21703 * localedata/locales/en_ZW: Likewise.
21704 * localedata/locales/eo: Likewise.
21705 * localedata/locales/es_AR: Likewise.
21706 * localedata/locales/es_BO: Likewise.
21707 * localedata/locales/es_CL: Likewise.
21708 * localedata/locales/es_CO: Likewise.
21709 * localedata/locales/es_CR: Likewise.
21710 * localedata/locales/es_CU: Likewise.
21711 * localedata/locales/es_DO: Likewise.
21712 * localedata/locales/es_EC: Likewise.
21713 * localedata/locales/es_ES: Likewise.
21714 * localedata/locales/es_GT: Likewise.
21715 * localedata/locales/es_HN: Likewise.
21716 * localedata/locales/es_MX: Likewise.
21717 * localedata/locales/es_NI: Likewise.
21718 * localedata/locales/es_PA: Likewise.
21719 * localedata/locales/es_PE: Likewise.
21720 * localedata/locales/es_PR: Likewise.
21721 * localedata/locales/es_PY: Likewise.
21722 * localedata/locales/es_SV: Likewise.
21723 * localedata/locales/es_US: Likewise.
21724 * localedata/locales/es_UY: Likewise.
21725 * localedata/locales/es_VE: Likewise.
21726 * localedata/locales/et_EE: Likewise.
21727 * localedata/locales/eu_ES: Likewise.
21728 * localedata/locales/eu_ES@euro: Likewise.
21729 * localedata/locales/fa_IR: Likewise.
21730 * localedata/locales/ff_SN: Likewise.
21731 * localedata/locales/fi_FI: Likewise.
21732 * localedata/locales/fil_PH: Likewise.
21733 * localedata/locales/fo_FO: Likewise.
21734 * localedata/locales/fr_BE: Likewise.
21735 * localedata/locales/fr_CA: Likewise.
21736 * localedata/locales/fr_CH: Likewise.
21737 * localedata/locales/fr_FR: Likewise.
21738 * localedata/locales/fr_LU: Likewise.
21739 * localedata/locales/fur_IT: Likewise.
21740 * localedata/locales/fy_DE: Likewise.
21741 * localedata/locales/fy_NL: Likewise.
21742 * localedata/locales/ga_IE: Likewise.
21743 * localedata/locales/gd_GB: Likewise.
21744 * localedata/locales/gez_ER: Likewise.
21745 * localedata/locales/gez_ET: Likewise.
21746 * localedata/locales/gl_ES: Likewise.
21747 * localedata/locales/gu_IN: Likewise.
21748 * localedata/locales/gv_GB: Likewise.
21749 * localedata/locales/ha_NG: Likewise.
21750 * localedata/locales/hak_TW: Likewise.
21751 * localedata/locales/he_IL: Likewise.
21752 * localedata/locales/hi_IN: Likewise.
21753 * localedata/locales/hif_FJ: Likewise.
21754 * localedata/locales/hne_IN: Likewise.
21755 * localedata/locales/hr_HR: Likewise.
21756 * localedata/locales/hsb_DE: Likewise.
21757 * localedata/locales/ht_HT: Likewise.
21758 * localedata/locales/hu_HU: Likewise.
21759 * localedata/locales/hy_AM: Likewise.
21760 * localedata/locales/i18n: Likewise.
21761 * localedata/locales/ia_FR: Likewise.
21762 * localedata/locales/id_ID: Likewise.
21763 * localedata/locales/ig_NG: Likewise.
21764 * localedata/locales/ik_CA: Likewise.
21765 * localedata/locales/is_IS: Likewise.
21766 * localedata/locales/it_CH: Likewise.
21767 * localedata/locales/it_IT: Likewise.
21768 * localedata/locales/iu_CA: Likewise.
21769 * localedata/locales/ja_JP: Likewise.
21770 * localedata/locales/ka_GE: Likewise.
21771 * localedata/locales/kk_KZ: Likewise.
21772 * localedata/locales/kl_GL: Likewise.
21773 * localedata/locales/kn_IN: Likewise.
21774 * localedata/locales/ko_KR: Likewise.
21775 * localedata/locales/kok_IN: Likewise.
21776 * localedata/locales/ks_IN: Likewise.
21777 * localedata/locales/ks_IN@devanagari: Likewise.
21778 * localedata/locales/ku_TR: Likewise.
21779 * localedata/locales/kw_GB: Likewise.
21780 * localedata/locales/ky_KG: Likewise.
21781 * localedata/locales/lb_LU: Likewise.
21782 * localedata/locales/lg_UG: Likewise.
21783 * localedata/locales/li_BE: Likewise.
21784 * localedata/locales/li_NL: Likewise.
21785 * localedata/locales/lij_IT: Likewise.
21786 * localedata/locales/ln_CD: Likewise.
21787 * localedata/locales/lo_LA: Likewise.
21788 * localedata/locales/lt_LT: Likewise.
21789 * localedata/locales/lv_LV: Likewise.
21790 * localedata/locales/lzh_TW: Likewise.
21791 * localedata/locales/mag_IN: Likewise.
21792 * localedata/locales/mai_IN: Likewise.
21793 * localedata/locales/mg_MG: Likewise.
21794 * localedata/locales/mhr_RU: Likewise.
21795 * localedata/locales/mi_NZ: Likewise.
21796 * localedata/locales/mk_MK: Likewise.
21797 * localedata/locales/ml_IN: Likewise.
21798 * localedata/locales/mn_MN: Likewise.
21799 * localedata/locales/mni_IN: Likewise.
21800 * localedata/locales/mr_IN: Likewise.
21801 * localedata/locales/ms_MY: Likewise.
21802 * localedata/locales/mt_MT: Likewise.
21803 * localedata/locales/my_MM: Likewise.
21804 * localedata/locales/nan_TW: Likewise.
21805 * localedata/locales/nan_TW@latin: Likewise.
21806 * localedata/locales/nb_NO: Likewise.
21807 * localedata/locales/nds_DE: Likewise.
21808 * localedata/locales/nds_NL: Likewise.
21809 * localedata/locales/ne_NP: Likewise.
21810 * localedata/locales/nhn_MX: Likewise.
21811 * localedata/locales/niu_NU: Likewise.
21812 * localedata/locales/niu_NZ: Likewise.
21813 * localedata/locales/nl_AW: Likewise.
21814 * localedata/locales/nl_BE: Likewise.
21815 * localedata/locales/nl_NL: Likewise.
21816 * localedata/locales/nn_NO: Likewise.
21817 * localedata/locales/nr_ZA: Likewise.
21818 * localedata/locales/nso_ZA: Likewise.
21819 * localedata/locales/oc_FR: Likewise.
21820 * localedata/locales/om_ET: Likewise.
21821 * localedata/locales/om_KE: Likewise.
21822 * localedata/locales/or_IN: Likewise.
21823 * localedata/locales/os_RU: Likewise.
21824 * localedata/locales/pa_IN: Likewise.
21825 * localedata/locales/pa_PK: Likewise.
21826 * localedata/locales/pap_AW: Likewise.
21827 * localedata/locales/pap_CW: Likewise.
21828 * localedata/locales/pl_PL: Likewise.
21829 * localedata/locales/ps_AF: Likewise.
21830 * localedata/locales/pt_BR: Likewise.
21831 * localedata/locales/pt_PT: Likewise.
21832 * localedata/locales/quz_PE: Likewise.
21833 * localedata/locales/raj_IN: Likewise.
21834 * localedata/locales/ro_RO: Likewise.
21835 * localedata/locales/ru_RU: Likewise.
21836 * localedata/locales/ru_UA: Likewise.
21837 * localedata/locales/rw_RW: Likewise.
21838 * localedata/locales/sa_IN: Likewise.
21839 * localedata/locales/sat_IN: Likewise.
21840 * localedata/locales/sc_IT: Likewise.
21841 * localedata/locales/sd_IN: Likewise.
21842 * localedata/locales/sd_IN@devanagari: Likewise.
21843 * localedata/locales/se_NO: Likewise.
21844 * localedata/locales/sgs_LT: Likewise.
21845 * localedata/locales/shs_CA: Likewise.
21846 * localedata/locales/si_LK: Likewise.
21847 * localedata/locales/sid_ET: Likewise.
21848 * localedata/locales/sk_SK: Likewise.
21849 * localedata/locales/sl_SI: Likewise.
21850 * localedata/locales/sm_WS: Likewise.
21851 * localedata/locales/so_DJ: Likewise.
21852 * localedata/locales/so_ET: Likewise.
21853 * localedata/locales/so_KE: Likewise.
21854 * localedata/locales/so_SO: Likewise.
21855 * localedata/locales/sq_AL: Likewise.
21856 * localedata/locales/sq_MK: Likewise.
21857 * localedata/locales/sr_ME: Likewise.
21858 * localedata/locales/sr_RS: Likewise.
21859 * localedata/locales/sr_RS@latin: Likewise.
21860 * localedata/locales/ss_ZA: Likewise.
21861 * localedata/locales/st_ZA: Likewise.
21862 * localedata/locales/sv_FI: Likewise.
21863 * localedata/locales/sv_SE: Likewise.
21864 * localedata/locales/sw_KE: Likewise.
21865 * localedata/locales/sw_TZ: Likewise.
21866 * localedata/locales/szl_PL: Likewise.
21867 * localedata/locales/ta_IN: Likewise.
21868 * localedata/locales/ta_LK: Likewise.
21869 * localedata/locales/tcy_IN: Likewise.
21870 * localedata/locales/te_IN: Likewise.
21871 * localedata/locales/tg_TJ: Likewise.
21872 * localedata/locales/th_TH: Likewise.
21873 * localedata/locales/the_NP: Likewise.
21874 * localedata/locales/ti_ER: Likewise.
21875 * localedata/locales/ti_ET: Likewise.
21876 * localedata/locales/tig_ER: Likewise.
21877 * localedata/locales/tk_TM: Likewise.
21878 * localedata/locales/tl_PH: Likewise.
21879 * localedata/locales/tn_ZA: Likewise.
21880 * localedata/locales/to_TO: Likewise.
21881 * localedata/locales/tpi_PG: Likewise.
21882 * localedata/locales/tr_CY: Likewise.
21883 * localedata/locales/tr_TR: Likewise.
21884 * localedata/locales/ts_ZA: Likewise.
21885 * localedata/locales/tt_RU: Likewise.
21886 * localedata/locales/tt_RU@iqtelif: Likewise.
21887 * localedata/locales/ug_CN: Likewise.
21888 * localedata/locales/uk_UA: Likewise.
21889 * localedata/locales/unm_US: Likewise.
21890 * localedata/locales/ur_IN: Likewise.
21891 * localedata/locales/ur_PK: Likewise.
21892 * localedata/locales/uz_UZ: Likewise.
21893 * localedata/locales/uz_UZ@cyrillic: Likewise.
21894 * localedata/locales/ve_ZA: Likewise.
21895 * localedata/locales/vi_VN: Likewise.
21896 * localedata/locales/wa_BE: Likewise.
21897 * localedata/locales/wae_CH: Likewise.
21898 * localedata/locales/wal_ET: Likewise.
21899 * localedata/locales/wo_SN: Likewise.
21900 * localedata/locales/xh_ZA: Likewise.
21901 * localedata/locales/yi_US: Likewise.
21902 * localedata/locales/yo_NG: Likewise.
21903 * localedata/locales/yue_HK: Likewise.
21904 * localedata/locales/yuw_PG: Likewise.
21905 * localedata/locales/zh_CN: Likewise.
21906 * localedata/locales/zh_HK: Likewise.
21907 * localedata/locales/zh_SG: Likewise.
21908 * localedata/locales/zh_TW: Likewise.
21909 * localedata/locales/zu_ZA: Likewise.
21910
21911 2017-11-13 Florian Weimer <fweimer@redhat.com>
21912
21913 * support/next_to_fault.h, support/next_to_fault.c: New files.
21914 * support/Makefile (libsupport-routines): Add next_to_fault.
21915 * resolv/tst-inet_pton.c (struct next_to_fault)
21916 (next_to_fault_allocate, next_to_fault_free): Remove.
21917 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
21918
21919 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
21920
21921 * elf/dl-support.c: Include <dl-procruntime.c>.
21922 * include/link.h: Include <link_map.h>.
21923 * sysdeps/generic/dl-procruntime.c: New file.
21924 * sysdeps/generic/link_map.h: Likewise.
21925 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
21926 the writable ld.so namespace.
21927
21928 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
21929
21930 timezone: pacify GCC -Wstringop-truncation
21931 Problem reported by Martin Sebor in:
21932 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
21933 * timezone/zic.c (writezone): Use memcpy, not strncpy.
21934
21935 2017-11-12 Florian Weimer <fweimer@redhat.com>
21936
21937 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
21938 tst-xreadlink.
21939 (tests): Add tst-xreadlink.
21940 * support/support.h (xstrndup): Declare.
21941 * support/xunistd.h (xunlink, xreadlink): Declare.
21942 * support/temp_file.h (support_create_temp_directory): Declare.
21943 * support/temp_file.c (support_create_temp_directory): New function.
21944 * support/support_chroot.c (support_chroot_create): Use it.
21945 * support/xreadlink.c: New file.
21946 * support/xstrndup.c: Likewise.
21947 * support/xunlink.c: Likewise.
21948 * support/tst-xreadlink.c: Likewise.
21949
21950 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
21951
21952 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
21953
21954 2017-11-11 Florian Weimer <fweimer@redhat.com>
21955
21956 [BZ #22409]
21957 [BZ #22412]
21958 * resolv/res_comp.c (printable_string, binary_hnok)
21959 (binary_leading_dash): New functions.
21960 (res_hnok): Reimplement using these functions and ns_name_pton.
21961 (res_ownok): Likewise.
21962 (res_mailok): Reimplement using printable_string, ns_name_pton and
21963 binary_hnok.
21964 (res_dnok): Reimplement using printable_string and ns_name_pton.
21965 * resolv/tst-res_hnok.c (tests): Add additional tests.
21966 (LETTERDIGITS, PRINTABLE): Define.
21967 (do_test): Adjust one_char results.
21968
21969 2017-11-11 Florian Weimer <fweimer@redhat.com>
21970
21971 [BZ #22413]
21972 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
21973 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
21974
21975 2017-11-11 Florian Weimer <fweimer@redhat.com>
21976
21977 * resolv/tst-ns_name_pton.c: New file.
21978 * resolv/Makefile (tests): Add tst-ns_name_pton.
21979 (tst-ns_name_pton): Link against libresolv.
21980
21981 2017-11-11 Florian Weimer <fweimer@redhat.com>
21982
21983 * resolv/tst-res_hnok.c: New file.
21984 * resolv/Makefile (tests): Add tst-res_hnok.
21985 (tst-res_hnok): Link against libresolv.
21986
21987 2017-11-11 Florian Weimer <fweimer@redhat.com>
21988
21989 * resolv/tst-resolv-network.c: Use test framework instead explicit
21990 main function.
21991
21992 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
21993
21994 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
21995 <jmp_buf-macros.h>.
21996 [!_ISOMAC] (STR_HELPER): New.
21997 [!_ISOMAC] (STR): Likewise.
21998 [!_ISOMAC] (TEST_SIZE): Likewise.
21999 [!_ISOMAC] (TEST_ALIGN): Likewise.
22000 [!_ISOMAC] (TEST_OFFSET): Likewise.
22001 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
22002 field offsets of jmp_buf as well as sigjmp_buf.
22003 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
22004 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
22005 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
22006 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
22007 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
22008 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
22009 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
22010 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
22011 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
22012 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
22013 Likewise.
22014 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
22015 Likewise.
22016 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
22017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
22018 Likewise.
22019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
22020 Likewise.
22021 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
22022 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
22023 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
22024 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
22025 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
22026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
22027 Likewise.
22028 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
22029 Likewise.
22030 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
22031 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
22032 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
22033
22034 2017-11-07 Joseph Myers <joseph@codesourcery.com>
22035
22036 * include/float.h
22037 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22038 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
22039 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22040 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
22041 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22042 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
22043 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22044 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
22045 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22046 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
22047 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22048 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
22049 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22050 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
22051 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22052 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
22053 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22054 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
22055 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22056 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
22057 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22058 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
22059 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22060 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
22061 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22062 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
22063 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22064 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
22065 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22066 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
22067 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22068 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
22069 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22070 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
22071 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22072 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
22073 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22074 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
22075 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22076 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
22077 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22078 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
22079 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22080 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
22081 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22082 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
22083 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22084 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
22085 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22086 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
22087 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22088 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
22089 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22090 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
22091 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22092 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
22093 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22094 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
22095 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22096 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
22097 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22098 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
22099 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22100 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
22101 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22102 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
22103 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22104 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
22105 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22106 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
22107 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22108 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
22109 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22110 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
22111 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22112 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
22113 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22114 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
22115 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22116 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
22117 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22118 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
22119 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22120 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
22121 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22122 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
22123 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22124 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
22125
22126 * stdlib/tst-strtod.h (F16): New macro.
22127 (F32): Likewise.
22128 (F64): Likewise.
22129 (F32X): Likewise.
22130 (F64X): Likewise.
22131 (F128X): Likewise.
22132 (IF_FLOAT16): Likewise.
22133 (IF_FLOAT32): Likewise.
22134 (IF_FLOAT64): Likewise.
22135 (IF_FLOAT32X): Likewise.
22136 (IF_FLOAT64X): Likewise.
22137 (IF_FLOAT128X): Likewise.
22138 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
22139 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
22140 (STRTOD_TEST_FOREACH): Likewise.
22141 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
22142 (CHOOSE_f64): Likewise.
22143 (CHOOSE_f32x): Likewise.
22144 (CHOOSE_f64x): Likewise.
22145
22146 2017-11-07 Andreas Schwab <schwab@suse.de>
22147
22148 * nptl/Makefile (tests-internal): Remove tst-typesizes.
22149
22150 2017-11-07 Mike FABIAN <mfabian@redhat.com>
22151
22152 [BZ #22403]
22153 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
22154 to be escaped.
22155 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
22156 to be escaped.
22157
22158 2017-11-07 Claude Paroz <claude@2xlibre.net>
22159
22160 [BZ #22403]
22161 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
22162 to be escaped.
22163 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
22164 to be escaped.
22165 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
22166 to be escaped.
22167
22168 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22169
22170 [BZ #22298]
22171 * nptl/allocatestack.c (allocate_stack): Check if
22172 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
22173 __PTHREAD_MUTEX_HAVE_PREV is defined.
22174 * nptl/descr.h (pthread): Likewise.
22175 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22176 Likewise.
22177 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
22178 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
22179 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
22180 * sysdeps/nptl/bits/thread-shared-types.h
22181 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22182 defines.
22183 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
22184 of __WORDSIZE for internal layout.
22185 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
22186 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
22187 instead of __WORDSIZE whether to use an union for __spins and __list
22188 fields.
22189 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
22190 case.
22191 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
22192 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22193 defines.
22194 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
22195 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22196 Likewise.
22197 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
22198 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22199 Likewise.
22200 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
22201 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22202 Likewise.
22203 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
22204 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22205 Likewise.
22206 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
22207 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22208 Likewise.
22209 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
22210 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22211 Likewise.
22212 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
22213 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22214 Likewise.
22215 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
22216 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22217 Likewise.
22218 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
22219 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22220 Likewise.
22221 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
22222 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22223 Likewise.
22224 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
22225 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22226 Likewise.
22227 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
22228 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22229 Likewise.
22230 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
22231 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22232 Likewise.
22233 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
22234 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22235 Likewise.
22236
22237 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
22238 New macros.
22239 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
22240 checks for expected input type size.
22241 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
22242 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22243 Likewise.
22244 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22245 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
22246 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22247 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
22248 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
22249 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
22250 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
22251 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
22252 superflous runtime assert check.
22253 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
22254 Likewise.
22255 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
22256 Likewise.
22257 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
22258 Likewise.
22259 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
22260 Likewise.
22261 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
22262 Likewise.
22263 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
22264 Likewise.
22265 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
22266 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
22267 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
22268 Likewise.
22269 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
22270 Likewise.
22271 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
22272 Likewise.
22273 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
22274 Likewise.
22275 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
22276 Likewise.
22277 * nptl/pthread_attr_setinheritsched.c
22278 (__pthread_attr_setinheritsched): Likewise.
22279 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
22280 Likewise.
22281 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
22282 Likewise.
22283 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
22284 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
22285 __old_pthread_attr_setstack): Likewise.
22286 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
22287 Likewise.
22288 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
22289 Likewise.
22290 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
22291 Likewise.
22292 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
22293 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
22294 Likewise.
22295 * nptl/tst-typesizes.c: Remove file.
22296
22297 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
22298 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
22299 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
22300 checks for internal pthread_mutex_t offsets.
22301 * sysdeps/aarch64/nptl/pthread-offsets.h
22302 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
22303 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
22304 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
22305 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
22306 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
22307 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
22308 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
22309 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
22310 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
22311 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
22312 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
22313 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
22314 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
22315 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
22316 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
22317 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
22318 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
22319 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
22320
22321 2017-11-07 Florian Weimer <fweimer@redhat.com>
22322
22323 * bits/mman-linux.h: Move ...
22324 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
22325 comment.
22326 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
22327 outdated comment.
22328
22329 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22330
22331 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
22332 Redefine STRNLEN as __strnlen_power8.
22333
22334 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22335
22336 * signal/sighold.c (sighold): Optimize implementation.
22337
22338 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
22339 __NR_rt_sigqueueinfo.
22340
22341 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
22342 __sigtimedwait.
22343 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
22344 assume __NR_rt_sigtimedwait.
22345 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
22346 and add LIBC_CANCEL_HANDLED for cancellation marking.
22347 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22348
22349 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22350 (sysdeps_routines): Add memchr_noneon.
22351 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
22352 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
22353 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
22354 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
22355 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
22356 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
22357 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
22358
22359 * sysdeps/arm/arm-ifunc.h: New file.
22360 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
22361 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
22362 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
22363 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
22364 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
22365 (__memcpy_neon): Avoid create hidden alias.
22366 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
22367 (__memcpy_vfp): Likewise.
22368 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22369 (sysdep_routines): Add memcpy_arm.
22370 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
22371
22372 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
22373
22374 [BZ #22362]
22375 * Makerules (make-link-multidir): New.
22376 * config.make.in (multidir): New.
22377 * configure.ac (libc_cv_multidir): New. AC_SUBST.
22378 * configure: Regenerated.
22379 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
22380 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
22381 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
22382 New target.
22383
22384 2017-11-06 Joseph Myers <joseph@codesourcery.com>
22385
22386 [BZ #22402]
22387 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
22388 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
22389
22390 2017-11-04 Mike FABIAN <mfabian@redhat.com>
22391
22392 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
22393 to be escaped.
22394
22395 2017-11-04 Florian Weimer <fweimer@redhat.com>
22396
22397 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
22398
22399 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22400
22401 * math/math.h [__HAVE_DISTINCT_FLOAT16
22402 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22403 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22404 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22405 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
22406 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
22407 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
22408 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22409 (__MATH_TG_F32): New macro.
22410 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22411 (__MATH_TG_F64X): Likewise.
22412 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22413 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
22414
22415 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
22416
22417 * po/de.po: Update translations.
22418 * po/ru.po: Likewise.
22419
22420 2017-11-03 Florian Weimer <fweimer@redhat.com>
22421
22422 * manual/filesys.texi (Hard Links): Document linkat.
22423
22424 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22425
22426 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
22427 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22428 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22429 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22430 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22431 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22432 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
22433 the same as _Float128.
22434 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22435 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22436 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
22437
22438 * stdlib/stdlib.h
22439 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
22440 Declare.
22441 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
22442 Likewise.
22443 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
22444 Likewise.
22445 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22446 (strtof32x): Likewise.
22447 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22448 (strtof64x): Likewise.
22449 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22450 (strtof128x): Likewise.
22451 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22452 (strfromf16): Likewise.
22453 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22454 (strfromf32): Likewise.
22455 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22456 (strfromf64): Likewise.
22457 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22458 (strfromf32x): Likewise.
22459 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22460 (strfromf64x): Likewise.
22461 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22462 (strfromf128x): Likewise.
22463 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
22464 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
22465 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
22466 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
22467 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
22468 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
22469
22470 2017-11-03 Richard Henderson <rth@twiddle.net>
22471
22472 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
22473
22474 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22475
22476 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
22477
22478 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22479
22480 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
22481 DT_TLSDESC_GOT initialization.
22482 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
22483 (_dl_tlsdesc_resolve_hold): Likewise.
22484 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
22485 (_dl_tlsdesc_resolve_hold): Likewise.
22486 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
22487 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22488
22489 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22490
22491 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
22492
22493 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22494
22495 [BZ #18572]
22496 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
22497 non-lazily for R_ARM_TLS_DESC.
22498
22499 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22500
22501 [BZ #17078]
22502 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
22503 R_ARM_TLS_DESC case.
22504 (elf_machine_lazy_rel): Remove the prelink check.
22505
22506 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22507
22508 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
22509 DT_TLSDESC_GOT initialization.
22510 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
22511 (_dl_tlsdesc_resolve_rela): Likewise.
22512 (_dl_tlsdesc_resolve_hold): Likewise.
22513 (_dl_tlsdesc_undefweak): Remove ldar.
22514 (_dl_tlsdesc_dynamic): Likewise.
22515 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
22516 (_dl_tlsdesc_resolve_rela): Likewise.
22517 (_dl_tlsdesc_resolve_hold): Likewise.
22518 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
22519 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22520 (_dl_tlsdesc_resolve_rela): Likewise.
22521 (_dl_tlsdesc_resolve_hold): Likewise.
22522
22523 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22524
22525 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
22526 binding and initialization non-lazily for R_AARCH64_TLSDESC.
22527
22528 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22529
22530 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
22531 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22532
22533 2017-11-02 Joseph Myers <joseph@codesourcery.com>
22534
22535 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
22536 Declare.
22537 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
22538 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
22539 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
22540 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
22541 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
22542 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
22543 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
22544 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
22545 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
22546 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
22547 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
22548
22549 2017-11-02 Mike FABIAN <mfabian@redhat.com>
22550
22551 [BZ #22382]
22552 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
22553 * localedata/locales/tpi_PG: Add standard header.
22554
22555 2017-11-02 Florian Weimer <fweimer@redhat.com>
22556
22557 test-errno-linux: quotactl can fail with EPERM in containers.
22558 * sysdeps/unix/sysv/linux/test-errno-linux.c
22559 (LIST, LIST_FORWARD): New macros.
22560 (check_error_in_list): New function.
22561 (test_wrp_rv): Accept list of permitted error codes.
22562 (test_wrp_rv2): Remove.
22563 (test_wrp): Call test_wrp_rv with list of error codes.
22564 (test_wrp2): Accept list of error codes.
22565 (do_test): Adjust. Allow EPERM for quotactl.
22566
22567 2017-11-02 Florian Weimer <fweimer@redhat.com>
22568
22569 * stdio-common/bug16.c (do_test): Use array_length.
22570 * stdio-common/errlist.c (_sys_nerr): Likewise.
22571 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
22572 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
22573 * stdio-common/psiginfo.c (psiginfo): Use array_length.
22574 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
22575 (do_test): Use array_length.
22576 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
22577 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
22578 * stdio-common/tst-printf-round.c (do_test): Likewise.
22579 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
22580 (CHECK): Use array_length.
22581 * stdio-common/tstdiomisc.c (t3, F): Likewise.
22582 * stdio-common/tstscanf.c (main): Likewise.
22583 * stdio-common/vfprintf.c (process_string_arg): Likewise.
22584
22585 2017-11-02 Florian Weimer <fweimer@redhat.com>
22586
22587 Add array_length and array_end macros.
22588 * include/array_length.h: New file.
22589
22590 2017-11-02 Florian Weimer <fweimer@redhat.com>
22591
22592 [BZ #22332]
22593 * posix/tst-glob-tilde.c (do_noescape): New variable.
22594 (one_test): Process it.
22595 (do_test): Set do_noescape. Add unescaping test case.
22596
22597 2017-11-01 Joseph Myers <joseph@codesourcery.com>
22598
22599 * math/complex.h
22600 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
22601 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
22602 with appropriate macros defined and undefined.
22603 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
22604 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22605 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
22606 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22607 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
22608 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22609 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
22610 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22611 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
22612 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22613
22614 * math/complex.h
22615 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
22616 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
22617 that for long double. Do not condition define and undefine of
22618 _Mdouble_complex_ on [__CFLOAT128].
22619
22620 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
22621
22622 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22623 of <sysdeps/generic/sysdep.h>.
22624 (ALIGNARG): Removed.
22625 (ASM_SIZE_DIRECTIVE): Likewise.
22626 (ENTRY): Likewise.
22627 (END): Likewise.
22628 (ENTRY_CHK): Likewise.
22629 (END_CHK): Likewise.
22630 (syscall_error): Likewise.
22631 (mcount): Likewise.
22632 (PSEUDO_END): Likewise.
22633 (L): Likewise.
22634 (atom_text_section): Likewise.
22635 * sysdeps/x86/sysdep.h: New file.
22636 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22637 of <sysdeps/generic/sysdep.h>.
22638 (ALIGNARG): Removed.
22639 (ASM_SIZE_DIRECTIVE): Likewise.
22640 (ENTRY): Likewise.
22641 (END): Likewise.
22642 (ENTRY_CHK): Likewise.
22643 (END_CHK): Likewise.
22644 (syscall_error): Likewise.
22645 (mcount): Likewise.
22646 (PSEUDO_END): Likewise.
22647 (L): Likewise.
22648 (atom_text_section): Likewise.
22649
22650 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
22651
22652 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
22653 category of LC_CTYPE set to "i18n:2012".
22654 * localedata/locales/i18n_ctype: Regenerate.
22655
22656 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
22657
22658 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
22659 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
22660 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
22661 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
22662
22663 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
22664 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
22665 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
22666 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
22667
22668 2017-10-31 Joseph Myers <joseph@codesourcery.com>
22669
22670 * math/complex.h
22671 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
22672 New macro.
22673 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
22674 Likewise.
22675 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
22676 Likewise.
22677 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22678 (CMPLXF32X): Likewise.
22679 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22680 (CMPLXF64X): Likewise.
22681 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22682 (CMPLXF128X): Likewise.
22683
22684 * math/math.h
22685 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
22686 (__MATH_EVAL_FMT2): Define to add 0.0f.
22687
22688 2017-10-31 Alan Modra <amodra@gmail.com>
22689
22690 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
22691 include sysdep.h.
22692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
22693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
22694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
22695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
22696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
22697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
22698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
22699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
22700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
22701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
22702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
22703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
22704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
22705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
22706 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
22707 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
22708 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
22709 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
22710 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
22711 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
22712 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
22713 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
22714 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
22715 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
22716 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
22717 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
22718 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
22719 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
22720 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
22721 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
22722 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22723 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22724 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
22725 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
22726 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
22727 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
22728 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
22729 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
22730 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
22731 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22732 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
22733 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
22734 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
22735 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
22736 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
22737 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
22738 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
22739 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
22740 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22741 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
22742 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
22743 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
22744 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
22745 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
22746 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
22747 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
22748 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
22749 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
22750 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22751 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22752 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
22753 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
22754 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
22755 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22756 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
22757 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
22758 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
22759 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
22760 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
22761
22762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
22763 include sysdep.h and math_ldbl_opt.h.
22764
22765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
22766 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
22767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
22768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
22769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
22770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
22771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
22772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
22773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
22774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
22775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
22776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
22777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
22778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
22779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
22780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
22781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
22782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
22783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
22784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
22785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
22786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
22787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
22788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
22789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
22790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
22791
22792 2017-10-31 Alan Modra <amodra@gmail.com>
22793
22794 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
22795 string/strncase_l.c, not string/strncase.c.
22796 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
22797 (libc_hidden_def): Redefine.
22798
22799 2017-10-31 Alan Modra <amodra@gmail.com>
22800
22801 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
22802 (__STRCMP, STRCMP, __strcasecmp_l): Define.
22803 (__strcasecmp): Don't define.
22804
22805 2017-10-31 Alan Modra <amodra@gmail.com>
22806
22807 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
22808 IS_IN (libc).
22809 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22810 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22811 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22812
22813 2017-10-31 Alan Modra <amodra@gmail.com>
22814
22815 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
22816 USE_AS_STPNCPY.
22817
22818 2017-10-31 Alan Modra <amodra@gmail.com>
22819
22820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
22821 Redefine only when SHARED.
22822
22823 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22824
22825 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22826 Include <bits/math-finite.h> with appropriate macros defined and
22827 undefined.
22828 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22829 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22830 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22831 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22832 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22833
22834 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
22835 [!_Mlong_double_] (_Mlong_double_): Likewise.
22836 [!_Mfloat16_] (_Mfloat16_): Likewise.
22837 [!_Mfloat32_] (_Mfloat32_): Likewise.
22838 [!_Mfloat64_] (_Mfloat64_): Likewise.
22839 [!_Mfloat128_] (_Mfloat128_): Likewise.
22840 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
22841 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
22842 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
22843 (_Mdouble_): Define without indirection through those macros.
22844 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
22845 [!_Mfloat128_] (_Mfloat128_): Likewise.
22846 [_Mlong_double_] (_Mlong_double_): Likewise.
22847 (_Mdouble_): Define without indirection through those macros.
22848 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
22849 not add -D_Mlong_double_=double.
22850 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
22851 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
22852
22853 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22854
22855 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
22856
22857 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22858
22859 * sysdeps/x86/libc-start.c: Reformat.
22860
22861 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22862
22863 [BZ #22353]
22864 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
22865 (1): Renamed to ...
22866 (L(Src0)): This.
22867 (L(Src1)): New.
22868 (L(Src2)): Likewise.
22869 (L(1)): Renamed to ...
22870 (L(Src3)): This.
22871
22872 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22873
22874 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
22875 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
22876 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
22877 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
22878 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
22879 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
22880 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
22881 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
22882 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
22883 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
22884 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
22885 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
22886 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
22887 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
22888 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
22889 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
22890 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
22891 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
22892 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
22893 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
22894 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
22895 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
22896 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
22897 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
22898 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
22899 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
22900 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
22901 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
22902 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
22903 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
22904 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
22905 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
22906 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
22907 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
22908 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
22909 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
22910 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
22911 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
22912 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
22913 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
22914 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
22915 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
22916 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
22917 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
22918 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
22919 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
22920 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
22921 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
22922 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
22923 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
22924 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
22925 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
22926 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
22927 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
22928 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
22929 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
22930 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
22931 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
22932 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
22933 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
22934 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
22935 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
22936 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
22937 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
22938 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
22939 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
22940
22941 2017-10-30 Florian Weimer <fweimer@redhat.com>
22942
22943 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
22944 always defined.
22945 * io/tst-mkdirat.c (do_test): Likewise.
22946 * io/tst-mkfifoat.c (do_test): Likewise.
22947 * io/tst-mknodat.c (do_test): Likewise.
22948 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
22949 * locale/programs/locale.c (select_dirs): Likewise.
22950 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
22951 * posix/bug-glob2.c (my_readdir): Likewise.
22952 * posix/tst-dir.c (main): Likewise.
22953 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
22954 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
22955
22956 2017-10-30 Florian Weimer <fweimer@redhat.com>
22957
22958 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
22959 just __USE_GNU.
22960
22961 2017-10-30 Florian Weimer <fweimer@redhat.com>
22962
22963 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
22964 Convert to support/test-driver.c.
22965 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
22966 New macro parameters.
22967 (PRINTF): Remove macro. Use test_verbose conditionals instead.
22968 * posix/tst-gnuglob.c: New file.
22969 * posix/tst-gnuglob64.c: Likewise.
22970 * posix/Makefile (tests): Add tst-gnuglob64.
22971
22972 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
22973
22974 [BZ #19485]
22975 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
22976 and use a better translation for March in “mon”.
22977 * localedata/locales/csb_PL: Use more ASCII to improve the
22978 readability of the source.
22979
22980 2017-10-30 Mike FABIAN <mfabian@redhat.com>
22981
22982 [BZ #13953]
22983 * localedata/locales/km_KH: Use ASCII as much
22984 as possible for better readability of the source and
22985 remove useless comments.
22986 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
22987 was commented out and apparently wrong anyway because it was
22988 using Lao characters. If Buddhist era should be used
22989 for km_KH, a native speaker should write the correct formaat
22990 for Khmer.
22991 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
22992 (According to CLDR, the first weekday for Cambodia is Sunday).
22993 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
22994 (These were using Lao characters which must be wrong. If we get
22995 the correct data from a native speaker, we could add it back, until
22996 then it is better not to have name_mr and name_mrs at all than
22997 having it wrong).
22998
22999 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
23000
23001 * locale/loadlocale.c: Correct size of
23002 _nl_value_type_LC_<category> arrays.
23003
23004 2017-10-27 Joseph Myers <joseph@codesourcery.com>
23005
23006 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23007 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
23008 with appropriate macros defined and undefined.
23009 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23010 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23011 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23012 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23013 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23014
23015 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
23016
23017 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23018 "-O2 -march=i586".
23019
23020 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23021
23022 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
23023 with lowercase letters to make it agree with CLDR.
23024
23025 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23026
23027 [BZ #15260]
23028 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
23029 first letters of yesstr and nostr in yesexpr and noexpr,
23030 not for the full words.
23031 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23032 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
23033 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
23034 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
23035 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
23036 first letters of yesstr and nostr in yesexpr and noexpr,
23037 until now only English was matched in yesexpr and noexpr.
23038 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
23039 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
23040 fil but not for tl. As tl and fil are very similar, using fil
23041 is probably better than using English.
23042
23043 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
23044
23045 [BZ #21706]
23046 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
23047 in yesstr and nostr.
23048
23049 2017-10-26 Joseph Myers <joseph@codesourcery.com>
23050
23051 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23052 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
23053 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
23054 Likewise.
23055 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
23056 Likewise.
23057 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
23058 Likewise.
23059 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
23060 Likewise.
23061 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23062 (SNANF128X): Likewise.
23063
23064 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23065 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
23066 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23067 (HUGE_VAL_F32): Likewise.
23068 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23069 (HUGE_VAL_F64): Likewise.
23070 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23071 (HUGE_VAL_F32X): Likewise.
23072 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23073 (HUGE_VAL_F64X): Likewise.
23074 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23075 (HUGE_VAL_F128X): Likewise.
23076
23077 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23078
23079 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
23080 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
23081 for the br_FR locale.
23082
23083 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23084
23085 [BZ #21706]
23086 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
23087
23088 2017-10-25 Carlos O'Donell <carlos@redhat.com>
23089
23090 * locale/programs/record-status.h: Define globals, and function
23091 prototypes. Move function bodies...
23092 * locale/programs/record-status.c: ... to here. New file.
23093 * iconv/Makefile (iconv_prog-modules): Add record-status.
23094 * locale/Makefile (lib-modules): Likewise.
23095 * iconv/iconv_prog.c: Remove verbose.
23096 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
23097 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
23098 record a warning about ASCII compatibility.
23099 * locale/programs/ld-monetary.c (monetary_finish): If
23100 warn_int_curr_symbol is true then record a warning about the symbol
23101 not being in our ISO 4217 list.
23102 * locale/programs/locale.c: Include record-status.h. Remove verbose.
23103 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
23104 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
23105 (OPT_NO_WARN): Define.
23106 (OPT_WARN): Define.
23107 (options): Add entry for --no-warnings, and --warnings.
23108 (set_warnings): New function to enable/disable warnings.
23109 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
23110 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
23111 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
23112 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
23113 Pass flags to generate_locale.
23114 (generate_locale): Accept new flag argument and pass it to localedef
23115 invocation.
23116 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
23117 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
23118
23119 * localedata/Makefile (test-input-data): Use full file name.
23120 * localedata/da_DK.in: Rename to...
23121 * localedata/da_DK.ISO-8859-1.in: ...this.
23122 * localedata/de_DE.in: Rename to...
23123 * localedata/de_DE.ISO-8859-1.in: ...this.
23124 * localedata/en_US.in: Rename to...
23125 * localedata/en_US.ISO-8859-1.in: ...this.
23126 * localedata/fr_FR.in: Rename to...
23127 * localedata/fr_FR.UTF-8.in: ... this.
23128 * localedata/hr_HR.in: Rename to...
23129 * localedata/hr_HR.ISO-8859-2.in: ...this.
23130 * localedata/hu_HU.in: Rename to...
23131 * localedata/hu_HU.UTF-8.in: ...this.
23132 * localedata/si_LK.in: Rename to...
23133 * localedata/si_LK.UTF-8.in: ...this.
23134 * localedata/sv_SE.in: Rename to...
23135 * localedata/sv_SE.ISO-8859-1.in: ...this.
23136 * localedata/tr_TR.in: Rename to...
23137 * localedata/tr_TR.UTF-8.in: ...this.
23138 * localedata/uk_UA.in: Rename to...
23139 * localedata/uk_UA.UTF-8.in: ...this.
23140 * localedata/sort-test.sh: Test file is locale name with the
23141 suffix.
23142
23143 * localedata/unicode-gen/Makefile (check_i18n): Rename to
23144 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
23145 file.
23146 * localedata/locales/i18n_ctype: Regenerate.
23147 * localedata/locales/tr_TR: Likewise.
23148 * localedata/locales/translit_circle: Likewise.
23149 * localedata/locales/translit_cjk_compat: Likewise.
23150 * localedata/locales/translit_combining: Likewise.
23151 * localedata/locales/translit_compat: Likewise.
23152 * localedata/locales/translit_font: Likewise.
23153 * localedata/locales/translit_fraction: Likewise.
23154
23155 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23156
23157 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
23158 lxvd2x/stxvd2x with lvx/stvx.
23159 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
23160
23161 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
23162
23163 * include/alloc_buffer.h: Replace "if if " with "if " in
23164 comments.
23165 * sysdeps/mips/memcpy.S: Likkewise.
23166 * sysdeps/mips/memset.S: Likewise.
23167 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
23168 Likewise.
23169 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
23170 Likewise.
23171 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
23172 Likewise.
23173
23174 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23175
23176 [BZ #15261]
23177 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
23178 yesexpr and noexpr.
23179 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23180 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23181 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23182 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23183 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23184 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23185 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23186
23187 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23188
23189 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
23190 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23191 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23192 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23193 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23194 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
23195 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23196 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23197 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23198 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23199 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23200 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23201
23202 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23203
23204 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
23205 as possible for better readability of the source.
23206 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
23207 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
23208 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
23209 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
23210 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
23211 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
23212 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
23213 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
23214 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23215 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
23216 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
23217 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
23218 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
23219 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
23220 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
23221 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
23222 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
23223 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
23224 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
23225 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
23226 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
23227 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
23228 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
23229 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
23230 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
23231 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
23232 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
23233 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
23234 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
23235 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
23236 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
23237 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23238 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
23239 * localedata/locales/en_US (LC_MESSAGES): Likewise.
23240 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
23241 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
23242 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
23243 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
23244 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
23245 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
23246 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
23247 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
23248 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
23249 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
23250 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
23251 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
23252 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
23253 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
23254 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
23255 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
23256 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
23257 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
23258 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
23259 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23260 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23261 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
23262 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
23263 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23264 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
23265 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
23266 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
23267 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
23268 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
23269 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
23270 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
23271 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
23272 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
23273 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
23274 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
23275 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
23276 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
23277 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
23278 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
23279 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
23280 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23281 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
23282 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
23283 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
23284 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
23285 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
23286 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
23287 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
23288 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
23289 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23290 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
23291 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
23292 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
23293 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23294 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
23295 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
23296 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
23297 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
23298 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23299 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
23300 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
23301 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23302 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
23303 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23304 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
23305 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
23306 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
23307 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
23308 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
23309 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
23310 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
23311 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
23312 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
23313 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
23314 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
23315 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
23316 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
23317 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
23318 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23319 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
23320 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
23321 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
23322 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
23323 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
23324 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
23325 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
23326 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
23327 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
23328 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
23329 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
23330 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
23331 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
23332 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
23333 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
23334 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
23335 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
23336 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
23337 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
23338 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
23339 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
23340 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
23341 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
23342 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
23343 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
23344 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
23345 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
23346 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
23347 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
23348 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
23349 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
23350 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
23351 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23352 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
23353 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
23354 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
23355 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
23356 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
23357 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
23358 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
23359 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
23360 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23361 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
23362 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
23363 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
23364 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
23365 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
23366 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
23367 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
23368 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
23369 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
23370 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
23371 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23372 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
23373 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
23374 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
23375 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
23376 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23377 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23378 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23379 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
23380
23381 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23382
23383 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
23384 (Use first letters of yesstr and nostr correctly instead of using
23385 full words).
23386
23387 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23388
23389 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
23390 (Use first letters of yesstr and nostr correctly).
23391
23392 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23393
23394 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
23395 also check for the first characters of yesstr and nostr.
23396 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
23397 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
23398
23399 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23400
23401 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
23402 also check for Chinese characters.
23403
23404 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23405
23406 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
23407 match also for the contents of yesstr and nostr. As the first letter
23408 of yesstr and nostr is equal, checking only for the first letter
23409 is not enough.
23410
23411 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23412
23413 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
23414 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
23415
23416 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23417
23418 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
23419 of main contributor.
23420
23421 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23422
23423 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
23424 instead of using English.
23425
23426 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23427
23428 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
23429 by including the first letters of nostr and yesexpr in the regexp.
23430 Also make it more readable by using ASCII where possible.
23431
23432 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23433
23434 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
23435 the first letter of nostr in the regexp. It agrees with CLDR now.
23436 Also make it more readable by using ASCII where possible.
23437
23438 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23439
23440 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
23441 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
23442 these strings contain a U+17D6 (which somewhat looks like a colon)
23443 instead of a real colon to separate the full words for “yes”
23444 and “no” from the single letter responses.
23445
23446 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23447
23448 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
23449 it agree with CLDR (include the first letter of yesstr).
23450 Also make it more readable by using ASCII where possible.
23451
23452 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23453
23454 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
23455 and improve yesexpr and noexpr. The yesstr and nostr apparently
23456 came from CLDR. And CLDR has a bug there: these strings contain
23457 a U+0903 (which looks like a colon) instead of a real colon
23458 to separate the full words for “yes” and “no” from the single
23459 letter responses.
23460
23461 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23462
23463 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
23464 letters of the full yesstr and nostr in yesexpr and noexpr.
23465
23466 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23467
23468 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
23469 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
23470 * localedata/locales/an_ES: Make source more readable by using ASCII
23471 where possible.
23472
23473 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23474
23475 [BZ #20952]
23476 * localedata/locales/yuw_PG: New file.
23477 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
23478 * locale/iso-639.def: Add Yau (Uruwa).
23479
23480 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23481
23482 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
23483
23484 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23485
23486 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
23487 (__libc_realloc): Likewise.
23488 (_mid_memalign): Likewise.
23489 (__libc_calloc): Likewise.
23490
23491 2017-10-23 Mike FABIAN <mfabian@redhat.com>
23492
23493 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
23494 by adding the generic +1 and -0 as in all other locales.
23495 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
23496 day names and make it more readable by using ASCII where possible.
23497
23498 2017-10-24 Joseph Myers <joseph@codesourcery.com>
23499
23500 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
23501 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
23502
23503 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23504
23505 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
23506 WNOHANG in waitpid call.
23507
23508 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
23509
23510 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
23511 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
23512
23513 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
23514 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
23515 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
23516 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
23517 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
23518 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
23519 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
23520 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
23521 variables.
23522
23523 2017-10-23 Michael Collison <michael.collison@arm.com>
23524
23525 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
23526 with __builtin_sqrt.
23527 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
23528 with __builtin_sqrtf.
23529 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
23530 with __builtin_ceil.
23531 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
23532 with __builtin_ceilf.
23533 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
23534 with __builtin_floor.
23535 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
23536 with __builtin_floorf.
23537 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
23538 with __builtin_fma.
23539 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
23540 with __builtin_fmaf.
23541 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
23542 with __builtin_fmax.
23543 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
23544 with __builtin_fmaxf.
23545 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
23546 with __builtin_fmin.
23547 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
23548 with __builtin_fminf.
23549 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
23550 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
23551 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
23552 with builtin_rint and conversion to int.
23553 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
23554 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
23555 with builtin_llround.
23556 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
23557 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
23558 with builtin_rint and conversion to long int.
23559 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
23560 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
23561 with builtin_lround.
23562 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
23563 with builtin_lroundf.
23564 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
23565 statements with __builtin_nearbyint.
23566 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
23567 statements with __builtin_nearbyintf.
23568 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
23569 with __builtin_rint.
23570 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
23571 with __builtin_rintf.
23572 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
23573 with __builtin_round.
23574 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
23575 with __builtin_roundf.
23576 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
23577 with __builtin_trunc.
23578 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
23579 with __builtin_truncf.
23580 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
23581 and s_l[l]round[f].c too.
23582
23583 2017-10-23 Alan Modra <amodra@gmail.com>
23584
23585 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
23586 Adjust stack after restoring regs. Add missing LR cfi_restore.
23587
23588 2017-10-23 Alan Modra <amodra@gmail.com>
23589
23590 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
23591 Move LR save and frame setup/teardown and LR restore to
23592 immediately around memset call. Provide cfi.
23593
23594 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23595
23596 * sysdeps/i386/fpu/e_powf.S: Removed.
23597 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
23598 * sysdeps/i386/fpu/w_powf.c: Likewise.
23599 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
23600 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23601 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23602 Add e_powf-sse2.
23603 (CFLAGS-e_powf-sse2.c): New.
23604 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
23605 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
23606
23607 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23608
23609 * sysdeps/i386/fpu/e_log2f.S: Removed.
23610 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
23611 * sysdeps/i386/fpu/w_log2f.c: Likewise.
23612 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
23613 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23614 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23615 Add e_log2f-sse2.
23616 (CFLAGS-e_log2f-sse2.c): New.
23617 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
23618 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
23619
23620 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23621
23622 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23623 Add e_powf-fma.
23624 (CFLAGS-e_powf-fma.c): New.
23625 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
23626 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
23627
23628 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23629
23630 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23631 Add e_log2f-fma.
23632 (CFLAGS-e_log2f-fma.c): New.
23633 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
23634 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
23635
23636 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23637
23638 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23639 Add e_logf-fma.
23640 (CFLAGS-e_logf-fma.c): New.
23641 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
23642 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
23643
23644 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23645
23646 * sysdeps/i386/fpu/e_logf.S: Removed.
23647 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
23648 * sysdeps/i386/fpu/w_logf.c: Likewise.
23649 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
23650 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
23651 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23652 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23653 Add e_logf-sse2.
23654 (CFLAGS-e_logf-sse2.c): New.
23655 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
23656 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
23657
23658 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23659
23660 * sysdeps/i386/fpu/e_exp2f.S: Removed.
23661 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
23662 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
23663 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23664 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23665 Add e_exp2f-sse2.
23666 (CFLAGS-e_exp2f-sse2.c): New.
23667 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
23668 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
23669
23670 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23671
23672 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23673 Add e_exp2f-fma.
23674 (CFLAGS-e_exp2f-fma.c): New.
23675 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
23676 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
23677
23678 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23679
23680 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
23681 * sysdeps/i386/fpu/e_expf.S: Likewise.
23682 * sysdeps/i386/fpu/math_errf.c: Likewise.
23683 * sysdeps/i386/fpu/w_expf.c: Likewise.
23684 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
23685 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
23686 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
23687 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
23688 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23689 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23690 Remove e_expf-ia32.
23691 (CFLAGS-e_expf-sse2.c): New.
23692 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
23693 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
23694
23695 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23696
23697 * sysdeps/x86_64/fpu/e_expf.S: Removed.
23698 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
23699 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
23700 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
23701 e_expf.c.
23702 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
23703 New.
23704 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
23705 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
23706 Renamed to ...
23707 (__redirect_expf): This.
23708 (SYMBOL_NAME): Changed to expf.
23709 (__ieee754_expf): Renamed to ...
23710 (__expf): This.
23711 (__GI___expf): This.
23712 (__ieee754_expf): Add strong_alias.
23713 (__expf_finite): Likewise.
23714 (__expf): New.
23715 Include <sysdeps/ieee754/flt-32/e_expf.c>.
23716
23717 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
23718
23719 [BZ #22332]
23720 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
23721 unescaping.
23722
23723 2017-10-21 Florian Weimer <fweimer@redhat.com>
23724
23725 * posix/Makefile (tests): Add tst-glob-tilde.
23726 (tests-special): Add tst-glob-tilde-mem.out
23727 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
23728 (tst-glob-tilde-mem.out): Add mtrace check.
23729 * posix/tst-glob-tilde.c: New file.
23730
23731 2017-10-20 Joseph Myers <joseph@codesourcery.com>
23732
23733 * bits/floatn-common.h: New file.
23734 * math/Makefile (headers): Add bits/floatn-common.h.
23735 * bits/floatn.h: Include <bits/floatn-common.h>.
23736 * sysdeps/ia64/bits/floatn.h: Likewise.
23737 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23738 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
23739 * sysdeps/powerpc/bits/floatn.h: Likewise.
23740 * sysdeps/x86/bits/floatn.h: Likewise.
23741
23742 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23743
23744 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
23745 indicates whether compiler emits an warning for alias for
23746 functions with incompatible types.
23747
23748 [BZ #22273]
23749 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
23750 the auxiliary process is terminated by a signal before calling _exit
23751 or execve.
23752
23753 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23754
23755 [BZ #21265]
23756 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
23757 New.
23758 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
23759 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
23760 and bit_arch_XSAVEC_Usable if needed.
23761 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
23762 and bit_arch_Use_dl_runtime_resolve_opt.
23763 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
23764 Removed.
23765 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
23766 (bit_arch_Prefer_No_AVX512): Updated.
23767 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
23768 (bit_arch_XSAVEC_Usable): New.
23769 (STATE_SAVE_OFFSET): Likewise.
23770 (STATE_SAVE_MASK): Likewise.
23771 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
23772 (cpu_features): Add xsave_state_size and xsave_state_full_size.
23773 (index_arch_Use_dl_runtime_resolve_opt): Removed.
23774 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
23775 (index_arch_XSAVEC_Usable): New.
23776 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
23777 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
23778 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
23779 is enabled.
23780 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
23781 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
23782 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
23783 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
23784 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
23785 _dl_runtime_resolve_xsavec.
23786 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
23787 Removed.
23788 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
23789 instead of VEC_SIZE.
23790 (REGISTER_SAVE_BND0): Removed.
23791 (REGISTER_SAVE_BND1): Likewise.
23792 (REGISTER_SAVE_BND3): Likewise.
23793 (REGISTER_SAVE_RAX): Always defined to 0.
23794 (VMOV): Removed.
23795 (_dl_runtime_resolve_avx): Likewise.
23796 (_dl_runtime_resolve_avx_slow): Likewise.
23797 (_dl_runtime_resolve_avx_opt): Likewise.
23798 (_dl_runtime_resolve_avx512): Likewise.
23799 (_dl_runtime_resolve_avx512_opt): Likewise.
23800 (_dl_runtime_resolve_sse): Likewise.
23801 (_dl_runtime_resolve_sse_vex): Likewise.
23802 (USE_FXSAVE): New.
23803 (_dl_runtime_resolve_fxsave): Likewise.
23804 (USE_XSAVE): Likewise.
23805 (_dl_runtime_resolve_xsave): Likewise.
23806 (USE_XSAVEC): Likewise.
23807 (_dl_runtime_resolve_xsavec): Likewise.
23808 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
23809 Removed.
23810 (_dl_runtime_resolve_avx512_opt): Likewise.
23811 (_dl_runtime_resolve_avx): Likewise.
23812 (_dl_runtime_resolve_avx_opt): Likewise.
23813 (_dl_runtime_resolve_sse): Likewise.
23814 (_dl_runtime_resolve_sse_vex): Likewise.
23815 (_dl_runtime_resolve_fxsave): New.
23816 (_dl_runtime_resolve_xsave): Likewise.
23817 (_dl_runtime_resolve_xsavec): Likewise.
23818
23819 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
23820
23821 [BZ #22320]
23822 CVE-2017-15670
23823 * posix/glob.c (__glob): Fix one-byte overflow.
23824
23825 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23826
23827 * malloc/malloc.c (sysdep-cancel.h): Add include.
23828
23829 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23830
23831 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
23832
23833 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
23834
23835 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
23836 (tests): Remove $(objpfx)ga_test depdendency.
23837 * resolv/ga_test.c: Remove file.
23838
23839 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23840
23841 [BZ #18812]
23842 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
23843 * localedata/locales/kab_DZ: New file.
23844
23845 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23846
23847 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
23848 _dl_relocate_static_pie instead of _dl_start to compute load
23849 address in static PIE.
23850
23851 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23852
23853 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
23854
23855 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23856
23857 [BZ #13605]
23858 * localedata/SUPPORTED: Add shn_MM/UTF-8.
23859 * localedata/locales/shn_MM: New file.
23860
23861 2017-10-20 Florian Weimer <fweimer@redhat.com>
23862
23863 [BZ #22321]
23864 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
23865 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
23866 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
23867 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
23868 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
23869 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
23870
23871 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
23872
23873 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23874
23875 2017-10-19 Joseph Myers <joseph@codesourcery.com>
23876
23877 * sysdeps/mips/ieee754/bits/floatn.h: New file.
23878
23879 [BZ #22322]
23880 * sysdeps/mips/bits/long-double.h: Move to ....
23881 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
23882
23883 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
23884
23885 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
23886
23887 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
23888 H.J. Lu <hongjiu.lu@intel.com>
23889
23890 [BZ #22299]
23891 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23892 GLRO(dl_platform) to NULL.
23893 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
23894 (modules-names): Add tst-platformmod-1 and
23895 x86_64/tst-platformmod-2.
23896 (CFLAGS-tst-platform-1.c): New.
23897 (CFLAGS-tst-platformmod-1.c): Likewise.
23898 (CFLAGS-tst-platformmod-2.c): Likewise.
23899 (LDFLAGS-tst-platformmod-2.so): Likewise.
23900 ($(objpfx)tst-platform-1): Likewise.
23901 ($(objpfx)tst-platform-1.out): Likewise.
23902 (tst-platform-1-ENV): Likewise.
23903 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
23904 * sysdeps/x86_64/tst-platform-1.c: New file.
23905 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
23906 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
23907
23908 2017-10-19 Mike FABIAN <mfabian@redhat.com>
23909
23910 [BZ #13994]
23911 * locale/iso-639.def: Add Karbi.
23912 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
23913 * localedata/locales/mjw_IN: New file.
23914
23915 2017-10-18 Joseph Myers <joseph@codesourcery.com>
23916
23917 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
23918 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23919 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
23920 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
23921 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23922 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23923 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
23924 <bits/floatn.h>.
23925 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23926 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23927 * manual/math.texi (Mathematics): Document additional architecture
23928 support for _Float128.
23929 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23930 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23931 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23932 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23933 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23934 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23935 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23936 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23937 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23938 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23939 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23940 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23941 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23942 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23943 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23944
23945 2017-10-18 Renlin Li <renlin.li@arm.com>
23946
23947 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
23948 _DYNAMIC symbol to calculate load address.
23949
23950 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
23951
23952 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
23953 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
23954 summary bits.
23955 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
23956 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
23957
23958 2017-10-18 Mike FABIAN <mfabian@redhat.com>
23959
23960 [BZ #16777]
23961 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
23962 and improve readability by using more ASCII.
23963 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
23964 and improve readability by using more ASCII.
23965
23966 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
23967
23968 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
23969 not all targets support atomics on bool.
23970
23971 2017-10-17 Joseph Myers <joseph@codesourcery.com>
23972
23973 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
23974 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
23975 __f128.
23976 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23977 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
23978 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23979 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
23980 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23981 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
23982
23983 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23984
23985 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
23986 defines.
23987
23988 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23989
23990 [BZ #22159]
23991 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
23992 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
23993 (do_check_remalloced_chunk): Fix build bug.
23994 (do_check_malloc_state): Add assert that checks arena->top.
23995 (malloc_consolidate): Remove initialization.
23996 (int_mallinfo): Remove call to malloc_consolidate.
23997 (__libc_mallopt): Clarify why malloc_consolidate is needed.
23998
23999 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24000
24001 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
24002 (have_fastchunks): Remove.
24003 (clear_fastchunks): Remove.
24004 (set_fastchunks): Remove.
24005 (malloc_state): Add have_fastchunks.
24006 (malloc_init_state): Use have_fastchunks.
24007 (do_check_malloc_state): Remove incorrect invariant checks.
24008 (_int_malloc): Use have_fastchunks.
24009 (_int_free): Likewise.
24010 (malloc_consolidate): Likewise.
24011
24012 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24013
24014 * malloc/malloc.c (tcache_put): Inline.
24015 (tcache_get): Inline.
24016
24017 2017-10-17 Jordi Mallach <jordi@gnu.org>
24018
24019 Aurelien Jarno <aurelien@aurel32.net>
24020 [BZ #2522]
24021 * localedata/locales/ca_ES@valencia: New file.
24022 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
24023
24024 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
24025
24026 [BZ #22296]
24027 * math/math.h: Let signbit use the builtin in C++ mode with gcc
24028 < 6.x
24029
24030 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24031
24032 * scripts/build-many-glibcs.py (Context.add_all_configs):
24033 Add arm-linux-gnueabihf multiarch extra_glibcs.
24034
24035 * sysdeps/generic/ifunc-init.h: New file.
24036 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
24037
24038 2017-10-17 Mike FABIAN <mfabian@redhat.com>
24039
24040 [BZ #22019]
24041 * localedata/locales/el_GR: Set n_cs_precedes to 0.
24042 * localedata/locales/el_CY: copy "el_GR" because it is identical.
24043 * stdlib/tst-strfmon_l.c: adapt test case.
24044
24045 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24046
24047 * sysdeps/generic/float128-abi.h: New file.
24048 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
24049 non-__prefixed symbols to ....
24050 * math/Versions: ... here. Include <float128-abi.h>.
24051 * stdlib/Versions ... and here. Include <float128-abi.h>
24052
24053 2017-10-16 Florian Weimer <fweimer@redhat.com>
24054
24055 * version.h (VERSION): Switch to ".9000" as the development
24056 version suffix.
24057
24058 2017-10-16 Florian Weimer <fweimer@redhat.com>
24059
24060 [BZ #22050]
24061 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
24062 compat_symbol_reference to access non-default version.
24063
24064 2017-10-16 Florian Weimer <fweimer@redhat.com>
24065
24066 * malloc/Makefile (others-extras): Set to mcheck-init.o.
24067
24068 2017-10-16 Carlos O'Donell <carlos@redhat.com>
24069
24070 * include/shlib-compat.h (compat_symbol_reference): Update
24071 comment.
24072
24073 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24074
24075 * math/Makefile (test-types): Add
24076 $(type-float128-$(float128-alias-fcts)).
24077 * math/test-float128.h (TYPE_STR): Define conditional on
24078 [FLT128_MANT_DIG == LDBL_MANT_DIG].
24079 (ULP_IDX): Likewise.
24080 (ULP_I_IDX): Likewise.
24081
24082 * stdlib/strtold.c: Include <bits/floatn.h>
24083 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
24084 and later undefine as macro. Define as weak alias if
24085 [!USE_WIDE_CHAR].
24086 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
24087 and later undefine as macro. Define as weak alias if
24088 [USE_WIDE_CHAR].
24089 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
24090 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
24091 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24092 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24093 Define and later undefine as macro. Define as weak alias if
24094 [USE_WIDE_CHAR].
24095 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
24096 <bits/floatn.h>.
24097 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
24098 Define and later undefine as macro. Define as weak alias if
24099 [!USE_WIDE_CHAR].
24100 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24101 Define and later undefine as macro. Define as weak alias if
24102 [USE_WIDE_CHAR].
24103
24104 2017-10-15 Carlos O'Donell <carlos@redhat.com>
24105
24106 * localedata/collate-test.c (allocate_arrays): Don't use \n in
24107 record_verbose messages.
24108
24109 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
24110
24111 [BZ #22052]
24112 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
24113 to silence -O3 -Wall warning with GCC 7.
24114
24115 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
24116
24117 * Makeconfig (+link-static-before-libc): Use the first of
24118 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
24119 * gmon/Makefile (tests): Add tst-gmon-static.
24120 (tests-static): Likewise.
24121 (CFLAGS-tst-gmon-static.c): New.
24122 (CRT-tst-gmon-static): Likewise.
24123 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
24124 (tst-gmon-static-ENV): Likewise.
24125 (tests-special): Likewise.
24126 ($(objpfx)tst-gmon-static.out): Likewise.
24127 (clean-tst-gmon-static-data): Likewise.
24128 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
24129 * gmon/tst-gmon-static-gprof.sh: New file.
24130 * gmon/tst-gmon-static.c: Likewise.
24131
24132 2017-10-13 Carlos O'Donell <carlos@redhat.com>
24133
24134 [BZ #22295]
24135 * locale/programs/linereader.c (get_string): Don't warn on
24136 non-symbolic character.
24137
24138 [BZ #22294]
24139 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
24140 int_curr_symbol.
24141
24142 [BZ #22292]
24143 * locale/programs/record-status.h: New file
24144 * locale/programs/locale.c: Add comment.
24145 * locale/programs/charmap-dir.c: Don't include error.h.
24146 (charmap_opendir): Use record_error.
24147 * locale/programs/charmap.c: Don't include error.h.
24148 (charmap_read): Use record_error, and record_warning.
24149 (parse_charmap): Likewise.
24150 * locale/programs/ld-address.c: Don't include error.h.
24151 (address_finish): Use record_error, and record_warning.
24152 * locale/programs/ld-collate.c: Don't include error.h.
24153 (collate_finish): Use record_error, and record_error_at_line.
24154 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
24155 (ctype_class_new): Likewise.
24156 (ctype_map_new): Likewise.
24157 (set_one_default): Likewise.
24158 (set_class_defaults): Likewise.
24159 (translit_flatten): Likewise.
24160 (allocate_arrays): Use record_error, and record_verbose.
24161 * locale/programs/ld-identification.c: Don't include error.h.
24162 (indentation_finish): Use record_error and record_warning.
24163 * locale/programs/ld-measurement.c: Don't include error.h.
24164 (measurement_finish): Use record_error.
24165 * locale/programs/ld-messages.c
24166 (message_finish): Likewise.
24167 * locale/programs/ld-monetary.c
24168 (monetary_finish): Likewise.
24169 * locale/programs/ld-name.c (name_finish): Use record_error
24170 and record_warning.
24171 * locale/programs/ld-numeric.c
24172 (numeric_finish): Use record_error.
24173 * locale/programs/ld-paper.c: Don't include error.h.
24174 (paper_finish): Use record_error.
24175 * locale/programs/ld-telephone.c: Don't include error.h.
24176 (telephone_finish): Use record_error.
24177 * locale/programs/ld-time.c (time_finish): Likewise.
24178 * locale/programs/linereader.h (lr_error): Make inline func.
24179 * locale/programs/localedef.c: Define recorded_warning_count,
24180 and recorded_error_count.
24181 (main): Use record_error. Use recorded_error_count and
24182 recorded_warning_count to issue correct error returns.
24183 (add_to_readlist): Use record_error.
24184 (find_locale): Likewise.
24185 (load_locale): Likewise.
24186 * locale/programs/localedef.h: Remove be_quiet
24187 and WITH_CUR_LOCALE.
24188 * locale/programs/locarchive.c (compare_from_file): Use
24189 record_error.
24190 * locale/programs/locfile.c (write_locale_data): Use
24191 record_error.
24192 * locale/programs/repertoire.c: Dont include error.h.
24193 (repertoire_complain): Use record_error.
24194 * localedata/tst-fmon.sh: Expect failures from localedef.
24195 * localedata/tst-locale.sh: Likewise.
24196 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
24197
24198 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
24199 (REPORTS): Likewise.
24200 (check): Likewise.
24201 (i18n): Rename to...
24202 (i18n_ctype): ...this.
24203 (i18n-report): Rename to...
24204 (i18n_ctype-report): ...this.
24205 * localedata/locales/i18n_ctype: Regenerate.
24206 * localedata/locales/i18n: copy i18n_ctype.
24207
24208 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24209
24210 * stdlib/strfroml.c: Include <bits/floatn.h>.
24211 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
24212 Define before include of <stdlib.h> and undefine afterwards, then
24213 define as weak alias.
24214
24215 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
24216 Undefine and restore default definition. Use
24217 libm_alias_ldouble_other.
24218
24219 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
24220
24221 [BZ #22153]
24222 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
24223 in coredumps.
24224
24225 2017-10-13 James Clarke <jrtc27@jrtc27.com>
24226
24227 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24228 Assign sym_map to be map for local symbols, as TLS relocations
24229 use sym_map to determine whether the symbol is defined and to
24230 extract the TLS information.
24231 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24232 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24233
24234 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24235
24236 [BZ #22189]
24237 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
24238 (math_force_eval): Add powerpc version.
24239
24240 [BZ #22142]
24241 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
24242 -DBL_MAX.
24243 (do_test): Likewise.
24244 * stdio-common/tst-printf.sh: Likewise.
24245 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
24246 ifdef clause in order to set the carry bit right. Replace r0 by
24247 0 without changing the behavior.
24248
24249 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24250
24251 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
24252 <libm-alias-ldouble.h>.
24253 (fabsl): Define using libm_alias_ldouble.
24254 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
24255 <libm-alias-ldouble.h>.
24256 (fabsl): Define using libm_alias_ldouble.
24257
24258 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
24259 Remove conditional code.
24260
24261 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
24262 Rename to __clog10_internal_l.
24263 (__clog10_internal_l): Define aliases using
24264 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
24265 with __clog10.
24266
24267 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24268
24269 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
24270 * benchtests/sincosf-inputs: New file.
24271 * benchtests/cosf-inputs: New file.
24272 * benchtests/sinf-inputs: New file.
24273
24274 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24275
24276 * posix/tst-spawn.c (do_test): Wait for both children.
24277
24278 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
24279
24280 [BZ #22284]
24281 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
24282 tests-pie): Add tst-gmon-pie.
24283 (CFLAGS-tst-gmon-pie.c): New.
24284 (CRT-tst-gmon-pie): Likewise.
24285 (tst-gmon-pie-ENV): Likewise.
24286 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
24287 ($(objpfx)tst-gmon-pie.out): Likewise.
24288 (clean-tst-gmon-pie-data): Likewise.
24289 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
24290 * gmon/gmon.c [PIC]: Include <link.h>.
24291 [PIC] (callback): New function.
24292 (write_hist): Add an argument for load address. Subtract load
24293 address from PCs.
24294 (write_call_graph): Likewise.
24295 (write_gmon): Call __dl_iterate_phdr to get load address, pass
24296 it to write_hist and write_call_graph.
24297 * gmon/tst-gmon-pie.c: New file.
24298
24299 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24300
24301 * math/Makefile (test-types-basic): New variable.
24302 (test-types): Likewise.
24303 (libm-test-support): Use $(test-types) instead of $(types).
24304 (libm-tests-base-normal): Likewise.
24305 (libm-tests-base-finite): Likewise.
24306 (libm-tests-base-inline): Likewise.
24307 (generated): Likewise.
24308 ($(objpfx)libm-test-support-$(t).c): Likewise.
24309 (libm-tests-for-type iterator): Likewise.
24310 (libm-test-support iterator): Likewise.
24311 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
24312 (ulp_idx): Use ULP_IDX.
24313 * math/test-ldouble.h: Include <float.h>.
24314 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
24315 (ULP_IDX): New macro.
24316 (ULP_I_IDX): Likewise.
24317 * math/test-double.h (ULP_IDX): Likewise.
24318 (ULP_I_IDX): Likewise.
24319 * math/test-float.h (ULP_IDX): Likewise.
24320 (ULP_I_IDX): Likewise.
24321 * math/test-float128.h (ULP_IDX): Likewise.
24322 (ULP_I_IDX): Likewise.
24323
24324 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24325
24326 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
24327 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24328 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24329 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
24330 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24331 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
24332 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
24333 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24334 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24335 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24336 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
24337 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24338 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24339 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24340 (SINGLE_THREAD_BY_GLOBAL): Define.
24341 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24342 Likewise.
24343 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24344 Likewise.
24345 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24346 Likewise.
24347 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24348 Likewise.
24349 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
24350 (SINGLE_THREAD_BY_GLOBAL): Likewise.
24351 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24352 Likewise.
24353
24354 2017-10-11 Andreas Schwab <schwab@suse.de>
24355
24356 * nis/Makefile (aux): Remove.
24357 * nscd/Makefile (aux): Add nscd_hash.
24358 (nscd-modules): Likewise.
24359 ($(objpfx)nscd): Don't depend on libnsl.
24360 * nscd/nscd_hash.c: New file.
24361 * nscd/nscd_hash.h: Likewise.
24362 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
24363 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
24364 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
24365 instead of <nis/rpcsvc/nis.h>.
24366 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
24367
24368 2017-10-11 Florian Weimer <fweimer@redhat.com>
24369
24370 [BZ #22078]
24371 Avoid large NSS buffers with many addresses, aliases.
24372 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
24373 using dynarrays and struct alloc_buffer.
24374 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
24375 (tst-nss-files-hosts-multi): Link with -ldl.
24376 * nss/tst-nss-files-hosts-multi.c: New file.
24377
24378 2017-10-11 Florian Weimer <fweimer@redhat.com>
24379
24380 [BZ #18023]
24381 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
24382 scratch_buffer. Eliminate gotos.
24383
24384 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24385
24386 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
24387 libm_alias_ldouble_other.
24388 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
24389 undefine and redefine.
24390 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
24391 (exp10l): Do not define here.
24392 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
24393 (weak_alias): Undefine and redefine.
24394 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
24395 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
24396 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
24397 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
24398
24399 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
24400 [!__fma] (fma): Define using libm_alias_double.
24401 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
24402 [!__fmaf] (fmaf): Define using libm_alias_float.
24403 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
24404 (fmal): Define using libm_alias_ldouble.
24405
24406 2017-10-10 Joseph Myers <joseph@codesourcery.com>
24407
24408 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
24409 New macro.
24410 (libm_alias_double_other): Likewise.
24411 (libm_alias_double_r): Use libm_alias_double_other_r.
24412 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
24413 New macro.
24414 (libm_alias_float_other): Likewise.
24415 (libm_alias_float_r): Use libm_alias_float_other_r.
24416 * sysdeps/generic/libm-alias-float128.h
24417 (libm_alias_float128_other_r): New macro.
24418 (libm_alias_float128_other): Likewise.
24419 (libm_alias_float128_r): Use libm_alias_float128_other_r.
24420 * sysdeps/generic/libm-alias-ldouble.h
24421 (libm_alias_ldouble_other_r): New macro.
24422 (libm_alias_ldouble_other): Likewise.
24423 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24424 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24425 (libm_alias_double_other_r): New macro.
24426 (libm_alias_double_other): Likewise.
24427 (libm_alias_double_r): Use libm_alias_double_other_r.
24428 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24429 (libm_alias_ldouble_other_r): New macro.
24430 (libm_alias_ldouble_other): Likewise.
24431 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24432 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
24433 [!USE_AS_COMPAT]: Use libm_alias_double_other.
24434 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
24435 [!USE_AS_COMPAT]: Use libm_alias_float_other.
24436 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
24437 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
24438 * math/w_exp2f.c: Use libm_alias_float_other.
24439 * math/w_expf.c: Likewise.
24440 * math/w_log2f.c: Likewise.
24441 * math/w_logf.c: Likewise.
24442 * math/w_powf.c: Likewise.
24443 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
24444 [!__exp2f]: Use libm_alias_float_other.
24445 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
24446 [!__expf]: Use libm_alias_float_other.
24447 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
24448 [!__log2f]: Use libm_alias_float_other.
24449 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
24450 [!__logf]: Use libm_alias_float_other.
24451 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
24452 [!__powf]: Use libm_alias_float_other.
24453
24454 2017-10-10 Florian Weimer <fweimer@redhat.com>
24455
24456 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
24457 function.
24458 (_nss_files_gethostbyname3_r): Call it.
24459
24460 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24461
24462 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
24463 error. Remove default definition of declare_mgen_alias.
24464 [!declare_mgen_alias_r]: Likewise.
24465 * sysdeps/generic/math-type-macros-double.h
24466 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
24467 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
24468 (declare_mgen_alias_r): Likewise.
24469 * sysdeps/generic/math-type-macros-float128.h
24470 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24471 * sysdeps/generic/math-type-macros-ldouble.h
24472 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24473 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
24474 macro.
24475 (declare_mgen_alias_r_s): Likewise.
24476 (declare_mgen_alias_r): Likewise.
24477 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
24478 (lgamma_r): Define using libm_alias_double_r.
24479 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
24480 (lgammaf_r): Define using libm_alias_float_r.
24481 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
24482 (lgammal_r): Define using libm_alias_ldouble_r.
24483 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
24484 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
24485
24486 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24487
24488 * lib/glob.c (__glob_pattern_type): Remove now-spurious
24489 extern declaration.
24490
24491 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24492
24493 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
24494
24495 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
24496
24497 [BZ #21326]
24498 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
24499 [__cplusplus >= 201103] (__USE_ISOC99): Define.
24500 * math/Makefile (test-math-cxx11): New test.
24501 * math/test-math-cxx11.cc: New file.
24502
24503 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
24504
24505 * login/openpty.c (openpty): Close slave pty file descriptor on error.
24506
24507 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
24508 call to allocate the slave pty file descriptor.
24509
24510 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24511
24512 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
24513 [!__fma] (fma): Define using libm_alias_double.
24514 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
24515 [!__fma] (fma): Define using libm_alias_double.
24516
24517 * sysdeps/ieee754/float128/float128_private.h: Include
24518 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
24519 (libm_alias_ldouble_r): Undefine and redefine.
24520 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
24521 <libm-alias-ldouble.h>.
24522 (asinhl): Define using libm_alias_ldouble.
24523 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
24524 <libm-alias-ldouble.h>.
24525 (atanl): Define using libm_alias_ldouble.
24526 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
24527 <libm-alias-ldouble.h>.
24528 (cbrtl): Define using libm_alias_ldouble.
24529 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
24530 <libm-alias-ldouble.h>.
24531 (ceill): Define using libm_alias_ldouble.
24532 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
24533 <libm-alias-ldouble.h>.
24534 (copysignl): Define using libm_alias_ldouble.
24535 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
24536 <libm-alias-ldouble.h>.
24537 (cosl): Define using libm_alias_ldouble.
24538 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
24539 <libm-alias-ldouble.h>.
24540 (erfl): Define using libm_alias_ldouble.
24541 (erfcl): Likewise.
24542 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
24543 <libm-alias-ldouble.h>.
24544 (expm1l): Define using libm_alias_ldouble.
24545 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
24546 <libm-alias-ldouble.h>.
24547 (fabsl): Define using libm_alias_ldouble.
24548 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
24549 <libm-alias-ldouble.h>.
24550 (floorl): Define using libm_alias_ldouble.
24551 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
24552 <libm-alias-ldouble.h>.
24553 (fmal): Define using libm_alias_ldouble.
24554 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
24555 <libm-alias-ldouble.h>.
24556 (frexpl): Define using libm_alias_ldouble.
24557 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
24558 libm_alias_ldouble.
24559 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
24560 <libm-alias-ldouble.h>.
24561 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
24562 libm_alias_ldouble.
24563 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
24564 <libm-alias-ldouble.h>.
24565 (getpayloadl): Define using libm_alias_ldouble.
24566 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
24567 <libm-alias-ldouble.h>.
24568 (llrintl): Define using libm_alias_ldouble.
24569 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
24570 <libm-alias-ldouble.h>.
24571 (llroundl): Define using libm_alias_ldouble.
24572 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
24573 <libm-alias-ldouble.h>.
24574 (logbl): Define using libm_alias_ldouble.
24575 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
24576 <libm-alias-ldouble.h>.
24577 (lrintl): Define using libm_alias_ldouble.
24578 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
24579 <libm-alias-ldouble.h>.
24580 (lroundl): Define using libm_alias_ldouble.
24581 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
24582 <libm-alias-ldouble.h>.
24583 (modfl): Define using libm_alias_ldouble.
24584 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
24585 <libm-alias-ldouble.h>.
24586 (nearbyintl): Define using libm_alias_ldouble.
24587 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
24588 <libm-alias-ldouble.h>.
24589 (nextafterl): Define using libm_alias_ldouble.
24590 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
24591 <libm-alias-ldouble.h>.
24592 (nextupl): Define using libm_alias_ldouble.
24593 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
24594 <libm-alias-ldouble.h>.
24595 (remquol): Define using libm_alias_ldouble.
24596 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
24597 <libm-alias-ldouble.h>.
24598 (rintl): Define using libm_alias_ldouble.
24599 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
24600 <libm-alias-ldouble.h>.
24601 (roundevenl): Define using libm_alias_ldouble.
24602 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
24603 <libm-alias-ldouble.h>.
24604 (roundl): Define using libm_alias_ldouble.
24605 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
24606 using libm_alias_ldouble.
24607 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
24608 <libm-alias-ldouble.h>.
24609 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
24610 Define using libm_alias_ldouble.
24611 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
24612 <libm-alias-ldouble.h>.
24613 (sincosl): Define using libm_alias_ldouble.
24614 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
24615 <libm-alias-ldouble.h>.
24616 (sinl): Define using libm_alias_ldouble.
24617 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
24618 <libm-alias-ldouble.h>.
24619 (tanhl): Define using libm_alias_ldouble.
24620 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
24621 <libm-alias-ldouble.h>.
24622 (tanl): Define using libm_alias_ldouble.
24623 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
24624 <libm-alias-ldouble.h>.
24625 (totalorderl): Define using libm_alias_ldouble.
24626 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
24627 <libm-alias-ldouble.h>.
24628 (totalordermagl): Define using libm_alias_ldouble.
24629 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
24630 <libm-alias-ldouble.h>.
24631 (truncl): Define using libm_alias_ldouble.
24632 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
24633 libm_alias_ldouble.
24634 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
24635 libm_alias_ldouble.
24636 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
24637 <libm-alias-ldouble.h>.
24638 (weak_alias): Do not undefine and redefine.
24639 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24640 (copysignl): Define with long_double_symbol only if [IS_IN
24641 (libc)].
24642 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
24643 <libm-alias-ldouble.h>.
24644 (weak_alias): Do not undefine and redefine.
24645 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24646 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
24647 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
24648 <libm-alias-ldouble.h>.
24649 (weak_alias): Do not undefine and redefine.
24650 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24651 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
24652 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
24653 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
24654 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
24655 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
24656 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
24657 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
24658 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
24659 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
24660 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
24661 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
24662 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
24663 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
24664 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
24665 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
24666 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
24667 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
24668 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
24669 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
24670 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
24671 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
24672 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
24673 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
24674 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
24675 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
24676
24677 2017-10-06 Carlos O'Donell <carlos@redhat.com>
24678
24679 [BZ #22111]
24680 * malloc/malloc.c (tcache_shutting_down): Use bool type.
24681 (tcache_thread_freeres): Set tcache_shutting_down before
24682 freeing the tcache.
24683 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
24684 * malloc/tst-malloc-tcache-leak.c: New file.
24685
24686 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24687
24688 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
24689 back to powerpc32 file.
24690 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
24691 (memrchr): Add __memrchr_power8 to ifunc list.
24692 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
24693 extra bytes for unaligned inputs.
24694
24695 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24696
24697 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
24698 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
24699 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
24700 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24701 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24702
24703 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24704
24705 * sysdeps/arm/libm-test-ulps: Update.
24706
24707 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
24708 <libm-alias-ldouble.h>.
24709 (asinhl): Define using libm_alias_ldouble.
24710 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
24711 <libm-alias-ldouble.h>.
24712 (cbrtl): Define using libm_alias_ldouble.
24713 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
24714 <libm-alias-ldouble.h>.
24715 (copysignl): Define using libm_alias_ldouble.
24716 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
24717 <libm-alias-ldouble.h>.
24718 (cosl): Define using libm_alias_ldouble.
24719 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
24720 <libm-alias-ldouble.h>.
24721 (erfl): Define using libm_alias_ldouble.
24722 (erfcl): Likewise.
24723 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
24724 <libm-alias-ldouble.h>.
24725 (fmal): Define using libm_alias_ldouble.
24726 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
24727 <libm-alias-ldouble.h>.
24728 (frexpl): Define using libm_alias_ldouble.
24729 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
24730 libm_alias_ldouble.
24731 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
24732 <libm-alias-ldouble.h>.
24733 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
24734 libm_alias_ldouble.
24735 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
24736 <libm-alias-ldouble.h>.
24737 (getpayloadl): Define using libm_alias_ldouble.
24738 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
24739 <libm-alias-ldouble.h>.
24740 (llrintl): Define using libm_alias_ldouble.
24741 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
24742 <libm-alias-ldouble.h>.
24743 (llroundl): Define using libm_alias_ldouble.
24744 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
24745 <libm-alias-ldouble.h>.
24746 (lrintl): Define using libm_alias_ldouble.
24747 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
24748 <libm-alias-ldouble.h>.
24749 (lroundl): Define using libm_alias_ldouble.
24750 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
24751 <libm-alias-ldouble.h>.
24752 (modfl): Define using libm_alias_ldouble.
24753 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
24754 <libm-alias-ldouble.h>.
24755 (nextupl): Define using libm_alias_ldouble.
24756 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
24757 <libm-alias-ldouble.h>.
24758 (remquol): Define using libm_alias_ldouble.
24759 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
24760 <libm-alias-ldouble.h>.
24761 (roundevenl): Define using libm_alias_ldouble.
24762 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
24763 <libm-alias-ldouble.h>.
24764 (roundl): Define using libm_alias_ldouble.
24765 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
24766 using libm_alias_ldouble.
24767 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
24768 <libm-alias-ldouble.h>.
24769 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
24770 <libm-alias-ldouble.h>.
24771 (setpayloadsigl): Define using libm_alias_ldouble.
24772 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
24773 <libm-alias-ldouble.h>.
24774 (sincosl): Define using libm_alias_ldouble.
24775 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
24776 <libm-alias-ldouble.h>.
24777 (sinl): Define using libm_alias_ldouble.
24778 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
24779 <libm-alias-ldouble.h>.
24780 (tanhl): Define using libm_alias_ldouble.
24781 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
24782 <libm-alias-ldouble.h>.
24783 (tanl): Define using libm_alias_ldouble.
24784 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
24785 <libm-alias-ldouble.h>.
24786 (totalorderl): Define using libm_alias_ldouble.
24787 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
24788 <libm-alias-ldouble.h>.
24789 (totalordermagl): Define using libm_alias_ldouble.
24790 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
24791 libm_alias_ldouble.
24792 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
24793 libm_alias_ldouble.
24794
24795 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
24796
24797 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
24798 memmove_falkor.
24799 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24800 (__libc_ifunc_impl_list): Likewise.
24801 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
24802 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
24803
24804 * benchtests/bench-memmove-walk.c: New file.
24805 * benchtests/Makefile (string-benchset): Add it.
24806
24807 * benchtests/bench-memset-walk.c: New file.
24808 * benchtests/Makefile (string-benchset): Add it.
24809
24810 * benchtests/bench-memcpy-walk.c: New file.
24811 * benchtests/Makefile (string-benchset): Add it.
24812
24813 2017-10-05 Florian Weimer <fweimer@redhat.com>
24814
24815 nscd: Eliminate compilation time dependency in the build output.
24816 * nscd/nscd_stat.c (STATDATA_VERSION)
24817 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
24818 (STATDATA_VERSION_FULL): New macro definitions.
24819 (compilation): Remove.
24820 (struct statdata): Adjust version member.
24821 (send_stats): Set version from STATDATA_VERSION_FULL.
24822 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
24823
24824 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24825
24826 * configure.ac (--enable-add-ons): Remove option.
24827 (machine): Do not mention add-ons in comment.
24828 (LIBC_PRECONFIGURE): Likewise.
24829 (add_ons): Remove variable and sanity checks and logic to locate
24830 add-ons.
24831 (add_ons_automatic): Remove variable.
24832 (configured_add_ons): Likewise.
24833 (add_ons_sfx): Likewise.
24834 (add_ons_pfx): Likewise.
24835 (add_on_subdirs): Likewise.
24836 (sysnames_add_ons): Likewise. Remove loop over add-ons and
24837 consideration of add-ons in Implies handling.
24838 (sysdeps_add_ons): Likewise.
24839 * configure: Regenerated.
24840 * libidn/configure.ac: Remove.
24841 * libidn/configure: Likewise.
24842 * sysdeps/unix/inet/configure.ac: New file.
24843 * sysdeps/unix/inet/configure: New generated file.
24844 * sysdeps/unix/inet/Subdirs: Add libidn.
24845 * Makeconfig (sysdeps-srcdirs): Remove variable.
24846 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
24847 ($(common-objpfx)config.status): Do not depend on add-on files.
24848 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
24849 comment.
24850 (all-subdirs): Do not include $(add-on-subdirs).
24851 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
24852 * config.make.in (add-ons): Remove variable.
24853 (add-on-subdirs): Likewise.
24854 (sysdeps-add-ons): Likewise.
24855 * manual/Makefile (add-chapters): Remove.
24856 ($(objpfx)texis): Do not depend on $(add-chapters).
24857 (nonexamples): Do not handle $(add-chapters).
24858 (examples): Do not handle $(add-ons).
24859 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
24860 libc-texinfo.sh.
24861 * manual/install.texi (Installation): Do not mention add-ons.
24862 (--enable-add-ons): Do not document configure option.
24863 * INSTALL: Regenerated.
24864 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
24865 * manual/maint.texi (Hierarchy Conventions): Do not mention
24866 add-ons.
24867 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
24868 --enable-add-ons.
24869 * scripts/gen-sorted.awk: Do not handle Subdirs files from
24870 add-ons.
24871 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
24872 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
24873
24874 2017-10-05 Andreas Schwab <schwab@suse.de>
24875
24876 [BZ #15142]
24877 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
24878 (_IO_flush_all_lockp): Always lock list_all_lock.
24879 (_IO_flush_all_linebuffered): Likewise.
24880 (_IO_unbuffer_all): Likewise.
24881
24882 2017-10-05 Florian Weimer <fweimer@redhat.com>
24883
24884 [BZ #15436]
24885 Do not flush stdio streams on abort.
24886 * stdlib/abort.c (fflush): Remove macro definition.
24887 (abort): Remove stages related to stdio flushing.
24888
24889 2017-10-05 Florian Weimer <fweimer@redhat.com>
24890
24891 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
24892
24893 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
24894
24895 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24896
24897 2017-10-05 Florian Weimer <fweimer@redhat.com>
24898
24899 * support/support_format_hostent.c (support_format_hostent): Add
24900 more error information for NETDB_INTERNAL.
24901
24902 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24903
24904 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
24905 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
24906 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
24907 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
24908 AC_DEFINE if multi-arch is enabled.
24909 * sysdeps/i386/configure: Regenerated.
24910
24911 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24912
24913 * Makeconfig (+link-static-before-libc): Use
24914 $(DEFAULT-LDFLAGS-$(@F)).
24915 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
24916 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
24917 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
24918
24919 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24920
24921 * elf/Makefile (tests): Add tst-main1.
24922 (modules-names): Add tst-main1mod.
24923 ($(objpfx)tst-main1): New.
24924 (CRT-tst-main1): Likewise.
24925 (LDFLAGS-tst-main1): Likewise.
24926 (LDLIBS-tst-main1): Likewise.
24927 (tst-main1mod.so-no-z-defs): Likewise.
24928 * elf/tst-main1.c: New file.
24929 * elf/tst-main1mod.c: Likewise.
24930
24931 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24932
24933 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
24934
24935 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24936
24937 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
24938 (fma): Define using libm_alias_double.
24939 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
24940 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
24941 <math_ldbl_opt.h>.
24942 (fmal): Do not define as compat symbol here.
24943 * sysdeps/alpha/fpu/s_fma.c: New file.
24944
24945 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24946
24947 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
24948
24949 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24950
24951 [BZ #22229]
24952 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24953 <math_ldbl_opt.h>
24954 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24955 and libc.
24956 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
24957 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24958 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
24959 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
24960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24961 Include <math_ldbl_opt.h>
24962 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24963 and libc.
24964 (compat_symbol): Undefine and redefine.
24965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24966 <math_ldbl_opt.h>
24967 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24968 (compat_symbol): Undefine and redefine.
24969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
24970 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
24971 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
24972 GLIBC_2_1 for libm.
24973 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
24974 GLIBC_2.0 copysignl symbol.
24975 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24976 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
24977
24978 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
24979
24980 2017-10-04 Florian Weimer <fweimer@redhat.com>
24981
24982 * scripts/check-local-headers.sh: Ignore nspr4 header file
24983 directory in addition to nspr.
24984
24985 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
24986
24987 [BZ #17956]
24988 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
24989 * configure: Regenerate.
24990 * crypt/Makefile (nss-cpp-flags): New variable.
24991 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
24992 (CPPFLAGS-md5-crypt.c): Use it.
24993 * scripts/check-local-headers.sh: Ignore nspr header file
24994 directory.
24995
24996 2017-10-04 Andreas Schwab <schwab@suse.de>
24997
24998 * nis/Makefile (services): Remove compat.
24999 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
25000 ($(objpfx)libnss_compat.so): Remove rule.
25001 * nis/Versions (libnss_compat): Remove.
25002 * nss/Makefile (services): Add compat.
25003 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
25004 * nss/Versions (libnss_compat): Define.
25005 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
25006 Don't include <rpc/types.h>. Replace bool_t by bool.
25007 * nss/nss_compat/compat-initgroups.c: Likewise.
25008 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
25009 instead of <rpcsrv/ypclnt.h>.
25010 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
25011 yp_get_default_domain.
25012 * nss/nss_compat/compat-pwd.c: Likewise.
25013 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
25014 yp_get_default_domain.
25015 * nss/nss_compat/nisdomain.c: New file.
25016 * nss/nss_compat/nisdomain.h: Likewise.
25017
25018 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25019
25020 [BZ #22244]
25021 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
25022 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25023
25024 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25025
25026 [BZ #22243]
25027 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
25028 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
25029
25030 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25031
25032 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
25033 "movl main@GOTOFF(%ebx), %eax".
25034
25035 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25036
25037 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
25038 allow undefined _DYNAMIC in PIE libc.a.
25039 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
25040 Likewse.
25041
25042 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25043
25044 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
25045 check _DYNAMIC.
25046
25047 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25048
25049 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
25050 check _DYNAMIC.
25051
25052 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25053
25054 * math/test-math-iscanonical.cc (error): Replace bool with int.
25055
25056 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25057
25058 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
25059 (modf): Define using libm_alias_double, only if [!__modf].
25060 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
25061 <libm-alias-double.h>.
25062 (modf): Define using libm_alias_double, only if [!__modf].
25063 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
25064 compat symbol here.
25065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
25066 (weak_alias): Do not undefine and redefine.
25067 (strong_alias): Likewise.
25068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
25069 (weak_alias): Likewise.
25070 (strong_alias): Likewise.
25071
25072 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
25073 (logb): Define using libm_alias_double, only if [!__logb].
25074 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
25075 <libm-alias-double.h>.
25076 (logb): Define using libm_alias_double, only if [!__logb].
25077 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
25078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
25079 (weak_alias): Do not undefine and redefine.
25080 (strong_alias): Likewise.
25081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
25082 (weak_alias): Likewise.
25083 (strong_alias): Likewise.
25084
25085 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25086
25087 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
25088 Check SHARED instead PIC.
25089
25090 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25091
25092 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
25093 [!__fmaf] (fmaf): Define using libm_alias_float.
25094
25095 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
25096 (frexp): Define using libm_alias_double.
25097 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
25098 <libm-alias-double.h>.
25099 (frexp): Define using libm_alias_double.
25100 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
25101 compat symbol here.
25102
25103 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25104
25105 [BZ #22235]
25106 * math/math.h: Trivial fix for unbalanced parentheses in comment.
25107 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
25108 (CFLAGS-test-math-iscanonical.cc): New variable.
25109 * math/test-math-iscanonical.cc: New file.
25110 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
25111 Provide a C++ implementation based on function overloading,
25112 rather than using __MATH_TG, which uses C-only builtins.
25113 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
25114 Likewise.
25115 * sysdeps/powerpc/powerpc64le/Makefile
25116 (CFLAGS-test-math-iscanonical.cc): New variable.
25117
25118 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25119
25120 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
25121 (ceil): Define using libm_alias_double.
25122 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
25123 (floor): Define using libm_alias_double.
25124 * sysdeps/ieee754/dbl-64/s_llround.c: Include
25125 <libm-alias-double.h>.
25126 (llround): Define using libm_alias_double.
25127 * sysdeps/ieee754/dbl-64/s_lround.c: Include
25128 <libm-alias-double.h>.
25129 (lround): Define using libm_alias_double.
25130 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
25131 <libm-alias-double.h>.
25132 (nearbyint): Define using libm_alias_double.
25133 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
25134 <libm-alias-double.h>.
25135 (remquo): Define using libm_alias_double.
25136 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
25137 (rint): Define using libm_alias_double.
25138 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
25139 (round): Define using libm_alias_double.
25140 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
25141 (trunc): Define using libm_alias_double.
25142 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
25143 <libm-alias-double.h>.
25144 (ceil): Define using libm_alias_double.
25145 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
25146 <libm-alias-double.h>.
25147 (floor): Define using libm_alias_double.
25148 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
25149 <libm-alias-double.h>.
25150 (llround): Define using libm_alias_double.
25151 [_LP64] (lround): Likewise.
25152 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
25153 <libm-alias-double.h>.
25154 [!_LP64] (lround): Define using libm_alias_double.
25155 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
25156 <libm-alias-double.h>.
25157 (nearbyint): Define using libm_alias_double.
25158 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
25159 <libm-alias-double.h>.
25160 (remquo): Define using libm_alias_double.
25161 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
25162 <libm-alias-double.h>.
25163 (rint): Define using libm_alias_double.
25164 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
25165 <libm-alias-double.h>.
25166 (round): Define using libm_alias_double.
25167 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
25168 <libm-alias-double.h>.
25169 (trunc): Define using libm_alias_double.
25170 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
25171 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
25172 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
25173 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
25174 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
25175 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
25176 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
25177 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
25178 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
25179
25180 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25181
25182 * math/w_remainder.c: New file.
25183 * math/w_remainderf.c: New file.
25184 * math/w_remainderl.c: New file.
25185
25186 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25187
25188 * elf/rtld.c (BOOTSTRAP_MAP): New.
25189 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
25190 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25191 Likewise.
25192 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25193 Likewise.
25194 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25195 Likewise.
25196
25197 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
25198
25199 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
25200 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
25201 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
25202 rtld_hidden_data_ver): Define to empty.
25203 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
25204 __assert_perror_fail): Likewise.
25205 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25206 (__rewinddir): Likewise.
25207 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25208 (__profile_frequency): Likewise.
25209 * include/setjmp.h (__sigsetjmp): Likewise.
25210 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
25211 __libc_sigaction): Likewise.
25212 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
25213 not set hidden attribute.
25214 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
25215 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
25216 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
25217 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
25218 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
25219 __fxstatat64): Likewise.
25220 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25221 (__uname): Likewise.
25222 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25223 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
25224 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
25225 (NO_RTLD_HIDDEN): Set.
25226 * sysdeps/mach/hurd/configure: Refresh.
25227 * config.h.in: Refresh.
25228
25229 2017-10-02 Joseph Myers <joseph@codesourcery.com>
25230
25231 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
25232 (atan): Define using libm_alias_double.
25233 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
25234 (tan): Define using libm_alias_double.
25235 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
25236 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
25237
25238 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
25239 define as weak alias of __atan. Do not define any aliases if
25240 [__atan].
25241 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
25242 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
25243 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
25244 as weak alias of __tan. Do not define any aliases if [__tan].
25245 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
25246 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
25247 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
25248 __atan.
25249 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
25250 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
25251 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
25252 and define as weak alias of __atan.
25253 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
25254 __atan.
25255 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
25256 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
25257 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
25258 define as weak alias of __tan.
25259
25260 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25261
25262 * math/w_lgamma.c: New file.
25263 * math/w_lgammaf.c: New file.
25264 * math/w_lgammal.c: New file.
25265
25266 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25267
25268 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
25269 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
25270 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
25271 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
25272 * sysdeps/ieee754/flt-32/w_logf.c: New file.
25273 * sysdeps/ieee754/flt-32/w_powf.c: New file.
25274 * sysdeps/i386/fpu/w_log2f.c: New file.
25275 * sysdeps/i386/fpu/w_logf.c: New file.
25276 * sysdeps/i386/fpu/w_powf.c: New file.
25277 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
25278 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
25279 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
25280
25281 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25282 H.J. Lu <hongjiu.lu@intel.com>
25283
25284 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
25285 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
25286 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
25287 * sysdeps/ieee754/flt-32/w_expf.c: New file.
25288 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
25289 the new expf code.
25290 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
25291 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
25292 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
25293 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
25294 * sysdeps/i386/fpu/w_exp2f.c: New file.
25295 * sysdeps/i386/fpu/w_expf.c: New file.
25296 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
25297 * sysdeps/x86_64/fpu/w_expf.c: New file.
25298
25299 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25300
25301 * math/Versions (logf): New libm symbol at GLIBC_2.27.
25302 (log2f): Likewise.
25303 (powf): Likewise.
25304 * math/w_log2f.c: New file.
25305 * math/w_logf.c: New file.
25306 * math/w_powf.c: New file.
25307 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
25308 * math/w_logf_compat.c (__logf_compat): Likewise.
25309 * math/w_powf_compat.c (__powf_compat): Likewise.
25310 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
25311 * sysdeps/ia64/fpu/e_logf.S: Likewise.
25312 * sysdeps/ia64/fpu/e_powf.S: Likewise.
25313 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
25314 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25315 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25316 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25317 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25318 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25319 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25320 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25321 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25322 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25323 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25324 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25326 Likewise.
25327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25328 Likewise.
25329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25330 Likewise.
25331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25332 Likewise.
25333 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25334 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25335 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25336 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25337 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25339 Likewise.
25340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25341 Likewise.
25342 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25343 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25344 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25345
25346 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25347
25348 * sysdeps/powerpc/powerpc64/multiarch/Makefile
25349 (sysdep_routines): Add memrchr_power8.
25350 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25351 (memrchr): Add __memrchr_power8 to list of memrchr functions.
25352 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
25353 New file.
25354 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25355 (memrchr): Add __memrchr_power8 to ifunc list.
25356 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
25357
25358 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25359
25360 [BZ #18822]
25361 * sysdeps/unix/sysv/linux/posix_fadvise64.c
25362 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
25363 libc_hidden_def.
25364 * sysdeps/unix/sysv/linux/posix_fallocate64.c
25365 (__posix_fallocate64_l64): Likewise.
25366
25367 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25368
25369 [BZ #18822]
25370 * sysdeps/unix/sysv/linux/sched_setaffinity.c
25371 (__sched_setaffinity_new): Add libc_hidden_proto and
25372 libc_hidden_def.
25373
25374 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25375
25376 [BZ #18822]
25377 * include/glob.h (__glob64): Add libc_hidden_proto.
25378 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
25379 libc_hidden_def.
25380
25381 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25382
25383 [BZ #18822]
25384 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
25385 attribute_hidden.
25386
25387 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25388
25389 [BZ #18822]
25390 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
25391
25392 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25393
25394 [BZ #18822]
25395 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
25396 libc_hidden_def.
25397
25398 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25399
25400 [BZ #18822]
25401 * csu/version.c (__libc_print_version): Add attribute_hidden.
25402
25403 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25404
25405 [BZ #18822]
25406 * include/libc-internal.h (__init_misc): Add attribute_hidden.
25407
25408 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25409
25410 [BZ #18822]
25411 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
25412
25413 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25414
25415 [BZ #18822]
25416 * nscd/nscd_helper.c (__nis_hash): New prototype.
25417
25418 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25419
25420 [BZ #18822]
25421 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
25422 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
25423 libc_hidden_def.
25424 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25425 * termios/tcgetattr.c (__tcgetattr): Likewise.
25426
25427 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25428
25429 [BZ #18822]
25430 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
25431 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
25432 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
25433 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
25434 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
25435
25436 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25437
25438 [BZ #18822]
25439 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
25440
25441 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25442
25443 [BZ #18822]
25444 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
25445 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
25446
25447 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25448
25449 [BZ #18822]
25450 * intl/hash-string.h (__hash_string): Add attribute_hidden.
25451
25452 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25453
25454 [BZ #18822]
25455 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
25456 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
25457
25458 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25459
25460 [BZ #18822]
25461 * include/ifreq.h: New file.
25462 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
25463 (__ifreq): Likewise.
25464 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
25465 (__ifreq): Likewise.
25466
25467 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25468
25469 [BZ #18822]
25470 * include/idna.h: New file.
25471 * inet/getnameinfo.c: Include <idna.h> instead of
25472 <libidn/idna.h>.
25473 (__idna_to_unicode_lzlz): Removed.
25474 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
25475 <libidn/idna.h>.
25476 (__idna_to_ascii_lz): Removed.
25477 (__idna_to_unicode_lzlz): Likewise.
25478
25479 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25480
25481 [BZ #18822]
25482 * include/plural-exp.h: New file.
25483 * intl/plural-exp.c: Include <plural-exp.h> instead of
25484 "plural-exp.h".
25485
25486 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25487
25488 [BZ #18822]
25489 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
25490 "getsourcefilter.h".
25491 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
25492 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
25493 "getsourcefilter.h".
25494 (__get_sol): Removed.
25495
25496 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25497
25498 [BZ #18822]
25499 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
25500 to ...
25501 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
25502
25503 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25504
25505 [BZ #18822]
25506 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
25507 attribute_hidden.
25508
25509 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25510
25511 [BZ #18822]
25512 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
25513
25514 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25515
25516 [BZ #18822]
25517 * include/search.h (__tdestroy): Add libc_hidden_proto.
25518 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
25519
25520 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25521
25522 [BZ #18822]
25523 * include/assert.h (__assert_fail_base): Add attribute_hidden.
25524
25525 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25526
25527 [BZ #18822]
25528 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
25529 attribute_hidden.
25530
25531 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25532
25533 [BZ #18822]
25534 * include/signal.h (__kill): Add libc_hidden_proto.
25535 (__sigblock): Likewise.
25536 (__sigprocmask): Likewise.
25537 (__sigaltstack): Likewise.
25538 * signal/kill.c (__kill): Add libc_hidden_def.
25539 * signal/sigblock.c (__sigblock): Likewise.
25540 * signal/sigprocmask.c (__sigprocmask): Likewise.
25541 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
25542 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
25543 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
25544 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
25545 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
25546 Likewise.
25547 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
25548 Likewise.
25549 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
25550 (__sigprocmask): Likewise.
25551 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
25552 Likewise.
25553 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
25554 (__sigprocmask): Likewise.
25555 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
25556 Likewise.
25557
25558 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25559
25560 [BZ #18822]
25561 * include/string.h (__strsep): Add libc_hidden_proto.
25562 * string/strsep.c (__strsep): Add libc_hidden_def.
25563
25564 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25565
25566 [BZ #18822]
25567 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
25568 attribute_hidden.
25569 (__spawni): Likewise.
25570
25571 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25572
25573 [BZ #18822]
25574 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
25575 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
25576 libc_hidden_def.
25577
25578 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25579
25580 [BZ #18822]
25581 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
25582
25583 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25584
25585 [BZ #18822]
25586 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
25587 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
25588 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
25589 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
25590 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
25591 Likewise.
25592 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
25593 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
25594
25595 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25596
25597 [BZ #18822]
25598 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
25599 (__dcigettext): Likewise.
25600
25601 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25602
25603 [BZ #18822]
25604 * include/sys/sysinfo.h (__get_nprocs_conf): Add
25605 libc_hidden_proto.
25606 (__get_nprocs): Likewise.
25607 (__get_phys_pages): Likewise.
25608 (__get_avphys_pages): Likewise.
25609 (__get_child_max): Add attribute_hidden.
25610 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
25611 (__get_nprocs): Likewise.
25612 (__get_phys_pages): Likewise.
25613 (__get_avphys_pages): Likewise.
25614 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
25615 libc_hidden_def.
25616 (__get_nprocs): Likewise.
25617 (__get_phys_pages): Likewise.
25618 (__get_avphys_pages): Likewise.
25619 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
25620 libc_hidden_def.
25621 (__get_nprocs_conf): Likewise.
25622 (__get_phys_pages): Likewise.
25623 (__get_avphys_pages): Likewise.
25624
25625 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25626
25627 [BZ #18822]
25628 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
25629 attribute_hidden.
25630 (__netlink_close): Likewise.
25631 (__netlink_free_handle): Likewise.
25632 (__netlink_request): Likewise.
25633
25634 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25635
25636 [BZ #18822]
25637 * include/rpc/rpc.h (__rpc_thread_variables): Add
25638 attribute_hidden.
25639 (__rpc_thread_svc_cleanup): Likewise.
25640 (__rpc_thread_clnt_cleanup): Likewise.
25641 (__rpc_thread_key_cleanup): Likewise.
25642
25643 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25644
25645 [BZ #18822]
25646 * include/sys/uio.h (__readv): Add libc_hidden_proto.
25647 (__writev): Likewise.
25648 * misc/readv.c (__readv): Add libc_hidden_def.
25649 * misc/writev.c (__writev): Likewise.
25650 * sysdeps/posix/readv.c (__readv): Likewise.
25651 * sysdeps/posix/writev.c (__writev): Likewise.
25652 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
25653 (__readv): Likewise.
25654 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
25655 (__writev): Likewise.
25656
25657 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25658
25659 [BZ #18822]
25660 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
25661 (__regcomp): Add libc_hidden_proto.
25662 (__regexec): Likewise.
25663 (__regfree): Likewise.
25664 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
25665 (__regfree): Likewise.
25666 * posix/regexec.c (__regexec): Likewise.
25667
25668 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25669
25670 [BZ #18822]
25671 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
25672 (__getutent): Likewise.
25673 (__getutid): Likewise.
25674 (__getutline): Likewise.
25675 (__pututline): Likewise.
25676 (__getutent_r): Likewise.
25677 (__getutid_r): Likewise.
25678 (__getutline_r): Likewise.
25679 (__utmpname): Add attribute_hidden.
25680 (__setutent): Likewise.
25681 (__endutent): Likewise.
25682 * login/getutent.c (__getutent): Add libc_hidden_def.
25683 * login/getutent_r.c (__getutent_r): Likewise.
25684 (__pututline): Likewise.
25685 * login/getutid.c (__getutid): Likewise.
25686 * login/getutid_r.c (__getutid_r): Likewise.
25687 * login/getutline.c (__getutline): Likewise.
25688 * login/getutline_r.c (__getutline_r): Likewise.
25689 * login/updwtmp.c (__updwtmp): Likewise.
25690
25691 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25692
25693 [BZ #18822]
25694 * include/dirent.h (__opendir): Always add attribute_hidden.
25695 (__fdopendir): Likewise.
25696 (__closedir): Likewise.
25697 (__readdir): Likewise.
25698 (__readdir64): Add libc_hidden_proto.
25699 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
25700 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
25701 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
25702 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
25703 New alias.
25704
25705 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25706
25707 [BZ #18822]
25708 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
25709 * include/netdb.h (__gethostbyaddr_r): Likewise.
25710 (__gethostbyname_r): Likewise.
25711 (__gethostbyname2_r): Likewise.
25712 (__getnetbyaddr_r): Likewise.
25713 (__getnetbyname_r): Likewise.
25714 (__getservbyname_r): Likewise.
25715 (__getservbyport_r): Likewise.
25716 (__getprotobyname_r): Likewise.
25717 (__getprotobynumber_r): Likewise.
25718 (__getnetgrent_r): Likewise.
25719 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
25720 (__getrpcbynumber_r): Likewise.
25721 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
25722
25723 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25724
25725 [BZ #18822]
25726 * include/stdio.h (__fcloseall): Add attribute_hidden.
25727 (__getline): Likewise.
25728 (__path_search): Likewise.
25729 (__gen_tempname): Likewise.
25730 (__libc_message): Likewise.
25731 (__flockfile): Likewise.
25732 (__funlockfile): Likewise.
25733 (__fxprintf): Likewise.
25734 (__fxprintf_nocancel): Likewise.
25735
25736 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25737
25738 [BZ #18822]
25739 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
25740 (__sgetsgent_r): Likewise.
25741
25742 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25743
25744 [BZ #18822]
25745 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
25746 (__statfs64): Likewise.
25747 (__fstatfs64): Likewise.
25748 * include/sys/statvfs.h (__statvfs64): Likewise.
25749 (__fstatvfs64): Likewise.
25750 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
25751 (__statfs_filesize_max): Likewise.
25752 (__statfs_symlinks): Likewise.
25753 (__statfs_chown_restricted): Likewise.
25754
25755 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25756
25757 [BZ #18822]
25758 * include/time.h (__tzstring): Add attribute_hidden.
25759 (__tzfile_read): Likewise.
25760 (__tzfile_compute): Likewise.
25761 (__tzfile_default): Likewise.
25762 (__tzset_parse_tz): Likewise.
25763 (__offtime): Likewise.
25764 (__asctime_r): Likewise.
25765 (__tzset): Likewise.
25766 (__tz_convert): Likewise.
25767 (__getdate_r): Likewise.
25768 (__getclktck): Likewise.
25769
25770 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25771
25772 [BZ #18822]
25773 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
25774 (__nscd_unmap): Likewise.
25775 (__nscd_cache_search): Likewise.
25776 (__nscd_get_nl_timestamp): Likewise.
25777 (__nscd_getpwnam_r): Likewise.
25778 (__nscd_getpwuid_r): Likewise.
25779 (__nscd_getgrnam_r): Likewise.
25780 (__nscd_getgrgid_r): Likewise.
25781 (__nscd_gethostbyname_r): Likewise.
25782 (__nscd_gethostbyname2_r): Likewise.
25783 (__nscd_gethostbyaddr_r): Likewise.
25784 (__nscd_getai): Likewise.
25785 (__nscd_getgrouplist): Likewise.
25786 (__nscd_getservbyname_r): Likewise.
25787 (__nscd_getservbyport_r): Likewise.
25788 (__nscd_innetgr): Likewise.
25789 (__nscd_setnetgrent): Likewise.
25790
25791 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25792
25793 [BZ #18822]
25794 * include/gmp.h: Declare internal functions only if _ISOMAC is
25795 undefined.
25796 (__mpn_extract_double): Add attribute_hidden.
25797 (__mpn_extract_long_double): Likewise.
25798 (__mpn_extract_float128): Likewise.
25799 (__mpn_construct_float): Likewise.
25800 (__mpn_construct_double): Likewise.
25801 (__mpn_construct_long_double): Likewise.
25802 (__mpn_construct_float128): Likewise.
25803 (mpn_add_1): Likewise.
25804 (mpn_addmul_1): Likewise.
25805 (mpn_add_n): Likewise.
25806 (mpn_cmp): Likewise.
25807 (mpn_divrem): Likewise.
25808 (mpn_lshift): Likewise.
25809 (mpn_mul): Likewise.
25810 (mpn_mul_1): Likewise.
25811 (mpn_rshift): Likewise.
25812 (mpn_sub_1): Likewise.
25813 (mpn_submul_1): Likewise.
25814 (mpn_sub_n): Likewise.
25815
25816 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25817
25818 [BZ #18822]
25819 * include/wchar.h (__wcsnlen): Add attribute_hidden.
25820 (__wcscat): Likewise.
25821 (__btowc): Likewise.
25822 (__wcrtomb): Likewise.
25823 (__mbsrtowcs): Likewise.
25824 (__wcsrtombs): Likewise.
25825 (__mbsnrtowcs): Likewise.
25826 (__wcsnrtombs): Likewise.
25827 (__wcsncpy): Likewise.
25828 (__wcpncpy): Likewise.
25829 (__wmemcpy): Likewise.
25830 (__wmempcpy): Likewise.
25831 (__wmemmove): Likewise.
25832 (__wcschrnul): Likewise.
25833 (__vfwscanf): Likewise.
25834 (__vswprintf): Likewise.
25835 (__fwprintf): Likewise.
25836 (__vfwprintf): Likewise.
25837
25838 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25839
25840 [BZ #18822]
25841 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
25842 (__getgrgid_r): Likewise.
25843 (__getgrnam_r): Likewise.
25844 * include/pwd.h (__getpwuid_r): Likewise.
25845 (__getpwnam_r): Likewise.
25846 (__fgetpwent_r): Likewise.
25847 * include/shadow.h (__getspnam_r): Likewise.
25848 (__sgetspent_r): Likewise.
25849 (__fgetspent_r): Likewise.
25850
25851 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25852
25853 [BZ #18822]
25854 * include/unistd.h (__access): Add attribute_hidden.
25855 (__lseek64): Likewise.
25856 (__libc_pread64): Likewise.
25857 (__pipe2): Likewise.
25858 (__sleep): Likewise.
25859 (__chdir): Likewise.
25860 (__fchdir): Likewise.
25861 (__getcwd): Likewise.
25862 (__rmdir): Likewise.
25863 (__execvpe): Likewise.
25864 (__execve): Likewise.
25865 (__setsid): Likewise.
25866 (__getuid): Likewise.
25867 (__geteuid): Likewise.
25868 (__getgid): Likewise.
25869 (__getegid): Likewise.
25870 (__getgroups): Likewise.
25871 (__group_member): Likewise.
25872 (__ttyname_r): Likewise.
25873 (__isatty): Likewise.
25874 (__readlink): Likewise.
25875 (__unlink): Likewise.
25876 (__gethostname): Likewise.
25877 (__profil): Likewise.
25878 (__getdtablesize): Likewise.
25879 (__brk): Likewise.
25880 (__ftruncate): Likewise.
25881 (__ftruncate64): Likewise.
25882
25883 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25884
25885 [BZ #18822]
25886 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
25887 * argp/argp-fs-xinl.c: Likewise.
25888 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
25889 * argp/argp-parse.c: Include <argp.h>.
25890 * argp/argp-xinl.c: Likewise.
25891 * include/argp-fmtstream.h: New file.
25892 * include/argp.h (__argp_error): Add attribute_hidden.
25893 (__argp_failure): Likewise.
25894 (__argp_input): Likewise.
25895 (__argp_state_help): Likewise.
25896
25897 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25898
25899 [BZ #18822]
25900 * include/wchar.h (____wcstof_l_internal): New prototype.
25901 (____wcstod_l_internal): Likewise.
25902 (____wcstold_l_internal): Likewise.
25903 (____wcstol_l_internal): Likewise.
25904 (____wcstoul_l_internal): Likewise.
25905 (____wcstoll_l_internal): Likewise.
25906 (____wcstoull_l_internal): Likewise.
25907 (____wcstof128_l_internal): Likewise.
25908 * sysdeps/ieee754/float128/wcstof128.c
25909 (____wcstof128_l_internal): Removed.
25910 * sysdeps/ieee754/float128/wcstof128_l.c
25911 (____wcstof128_l_internal): Likewise.
25912 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
25913 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
25914 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
25915 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
25916 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
25917 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
25918 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
25919 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
25920 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
25921 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
25922
25923 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25924
25925 [BZ #18822]
25926 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
25927 instead of <sys/statvfs.h>.
25928 (__internal_statvfs): Removed.
25929 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
25930 instead of <sys/statvfs.h>.
25931 (__internal_statvfs64): Removed.
25932 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
25933 "internal_statvfs.h" instead of <sys/statvfs.h>.
25934 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
25935 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
25936 instead of <sys/statvfs.h>.
25937 (__internal_statvfs): Removed.
25938 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
25939 instead of <sys/statvfs.h>.
25940 (__internal_statvfs64): Removed.
25941
25942 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25943
25944 [BZ #18822]
25945 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
25946 (__gconv_close): Likewise.
25947 (__gconv): Likewise.
25948 (__gconv_find_transform): Likewise.
25949 (__gconv_lookup_cache): Likewise.
25950 (__gconv_compare_alias_cache): Likewise.
25951 (__gconv_load_cache): Likewise.
25952 (__gconv_get_path): Likewise.
25953 (__gconv_close_transform): Likewise.
25954 (__gconv_release_cache): Likewise.
25955 (__gconv_find_shlib): Likewise.
25956 (__gconv_release_shlib): Likewise.
25957 (__gconv_get_builtin_trans): Likewise.
25958 (__gconv_compare_alias): Likewise.
25959 * include/dlfcn.h (_dlerror_run): Likewise.
25960 * include/stdio.h (__fortify_fail_abort): Likewise.
25961 * include/time.h (__tz_compute): Likewise.
25962 (__strptime_internal): Likewise.
25963 * intl/gettextP.h (_nl_find_domain): Likewise.
25964 (_nl_load_domain): Likewise.
25965 (_nl_find_msg): Likewise.
25966 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
25967 (EXTRACT_PLURAL_EXPRESSION): Likewise.
25968 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
25969 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
25970 (__gai_find_request): Likewise.
25971 (__gai_remove_request): Likewise.
25972 (__gai_notify): Likewise.
25973 (__gai_notify_only): Likewise.
25974 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
25975 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
25976 (_dl_non_dynamic_init): Likewise.
25977 (_dl_aux_init): Likewise.
25978 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
25979 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
25980 Likewise.
25981 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
25982 (__wcsmbs_clone_conv): Likewise.
25983 (__wcsmbs_named_conv): Likewise.
25984
25985 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25986
25987 [BZ #18822]
25988 * include/stdlib.h (__random): Add attribute_hidden.
25989 (__random_r): Likewise.
25990 (__srandom_r): Likewise.
25991 (__initstate_r): Likewise.
25992 (__setstate_r): Likewise.
25993 (__erand48_r): Likewise.
25994 (__nrand48_r): Likewise.
25995 (__jrand48_r): Likewise.
25996 (__srand48_r): Likewise.
25997 (__seed48_r): Likewise.
25998 (__lcong48_r): Likewise.
25999 (__drand48_iterate): Likewise.
26000 (__setenv): Likewise.
26001 (__unsetenv): Likewise.
26002 (__clearenv): Likewise.
26003 (__ptsname_r): Likewise.
26004 (__posix_openpt): Likewise.
26005 (__add_to_environ): Likewise.
26006 (__realpath): Add libc_hidden_proto.
26007 (__ecvt_r): Likewise.
26008 (__fcvt_r): Likewise.
26009 (__qecvt_r): Likewise.
26010 (__qfcvt_r): Likewise.
26011 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
26012 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
26013
26014 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26015
26016 [BZ #18822]
26017 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
26018 * include/time.h (__mktime_internal): Likewise.
26019 * libio/iolibio.h (__fopen_internal): Likewise.
26020
26021 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
26022
26023 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
26024 pointer in frame.
26025 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
26026 Correct offset used to restore PIC register.
26027
26028 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
26029
26030 [BZ libc/22165]
26031 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
26032 code to load address of __getcontext_ret when generating PIC code.
26033
26034 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
26035
26036 * elf/Makefile (tests-static-internal): Add
26037 tst-tls1-static-non-pie.
26038 (LDFLAGS-tst-tls1-static-non-pie): New.
26039 * elf/tst-tls1-static-non-pie.c: New file.
26040
26041 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26042
26043 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
26044 (asinh): Define using libm_alias_double.
26045 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
26046 (cbrt): Define using libm_alias_double.
26047 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
26048 <libm-alias-double.h>.
26049 (copysign): Define using libm_alias_double.
26050 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
26051 (erf): Define using libm_alias_double.
26052 (erfc): Likewise.
26053 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
26054 (expm1): Define using libm_alias_double.
26055 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
26056 (fabs): Define using libm_alias_double.
26057 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
26058 libm_alias_double.
26059 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
26060 <libm-alias-double.h>.
26061 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
26062 libm_alias_double.
26063 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
26064 <libm-alias-double.h>.
26065 (getpayload): Define using libm_alias_double.
26066 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
26067 <libm-alias-double.h>.
26068 (llrint): Define using libm_alias_double.
26069 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
26070 (lrint): Define using libm_alias_double.
26071 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
26072 <libm-alias-double.h>.
26073 (nextup): Define using libm_alias_double.
26074 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
26075 <libm-alias-double.h>.
26076 (roundeven): Define using libm_alias_double.
26077 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
26078 libm_alias_double.
26079 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
26080 <libm-alias-double.h>.
26081 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
26082 using libm_alias_double.
26083 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
26084 (cos): Define using libm_alias_double.
26085 (sin): Likewise.
26086 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
26087 <libm-alias-double.h>.
26088 (sincos): Define using libm_alias_double.
26089 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
26090 (tanh): Define using libm_alias_double.
26091 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
26092 <libm-alias-double.h>.
26093 (totalorder): Define using libm_alias_double.
26094 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
26095 <libm-alias-double.h>.
26096 (totalordermag): Define using libm_alias_double.
26097 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
26098 libm_alias_double.
26099 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
26100 libm_alias_double.
26101 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
26102 <libm-alias-double.h>.
26103 (getpayload): Define using libm_alias_double.
26104 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
26105 <libm-alias-double.h>.
26106 (roundeven): Define using libm_alias_double.
26107 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
26108 <libm-alias-double.h>.
26109 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
26110 <libm-alias-double.h>.
26111 (totalorder): Define using libm_alias_double.
26112 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
26113 <libm-alias-double.h>.
26114 (totalordermag): Define using libm_alias_double.
26115 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
26116 libc compat symbol here.
26117 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
26118 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
26119 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
26120 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
26121 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
26122 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
26123 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
26124 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
26125 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
26126 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
26127
26128 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26129
26130 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
26131 _dl_relocate_static_pie instead of _dl_start to compute load
26132 address in static PIE. Return 0 if _DYNAMIC is undefined for
26133 static executable.
26134
26135 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26136
26137 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
26138 _DYNAMIC is undefined for static executable.
26139
26140 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26141
26142 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
26143
26144 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26145
26146 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26147
26148 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26149
26150 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
26151 (__ieee754_lgamma_r): Use fabs rather than __fabs.
26152 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26153 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26154 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
26155 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
26156 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
26157 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
26158 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
26159 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26160 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
26161 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
26162 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26163 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26164 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26165 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26166 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
26167
26168 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26169
26170 * math/bits/cmathcalls.h (cimag): Remove inline.
26171 (creal): Remove inline.
26172 (conj): Remove inline.
26173
26174 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26175
26176 * math/Makefile (type-float-routines): Add e_powf_log2_data.
26177 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
26178 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
26179 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
26180 (issignalingf_inline): Likewise.
26181 (POWF_LOG2_TABLE_BITS): Likewise.
26182 (POWF_LOG2_POLY_ORDER): Likewise.
26183 (POWF_SCALE_BITS): Likewise.
26184 (POWF_SCALE): Likewise.
26185 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
26186 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
26187 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
26188
26189 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26190
26191 * math/Makefile (type-float-routines): Add e_log2f_data.
26192 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
26193 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
26194 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
26195 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
26196 * sysdeps/i386/fpu/e_log2f_data.c: New file.
26197 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
26198 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
26199
26200 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26201
26202 * math/Makefile (type-float-routines): Add e_logf_data.
26203 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
26204 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
26205 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
26206 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
26207 * sysdeps/i386/fpu/e_logf_data.c: New file.
26208 * sysdeps/ia64/fpu/e_logf_data.c: New file.
26209 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
26210
26211 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
26212
26213 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
26214 undefined _DYNAMIC in PIE libc.a.
26215 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26216 Likewse.
26217
26218 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26219
26220 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
26221 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
26222 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
26223 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
26224 (__signbit): Remove.
26225 (__signbitl): Remove.
26226 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
26227 (__signbit): Remove.
26228 (__signbitl): Remove.
26229 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
26230 (__signbit): Remove.
26231 (__signbitl): Remove.
26232 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
26233 (__signbit): Remove.
26234 (__signbitl): Remove.
26235 * sysdeps/tile/bits/mathinline.h: Delete file.
26236 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
26237 (__signbit): Remove.
26238 (__signbitl): Remove.
26239
26240 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26241
26242 * math/math.h: Improve handling of C99 isgreater macros.
26243 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
26244 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
26245 * sysdeps/powerpc/bits/mathinline.h: Likewise.
26246 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26247 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
26248
26249 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
26250
26251 * sysdeps/aarch64/libm-test-ulps: Update.
26252
26253 2017-09-28 Joseph Myers <joseph@codesourcery.com>
26254
26255 [BZ #22225]
26256 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26257 math_opt_barrier on argument when doing arithmetic on it.
26258 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26259 Likewise. Use math_force_eval not math_opt_barrier after
26260 arithmetic.
26261 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
26262 math_opt_barrier on argument when doing arithmetic on it.
26263 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26264 Likewise.
26265
26266 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
26267
26268 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
26269 libc_hidden_def.
26270 (__freeifaddrs): Likewise.
26271
26272 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
26273
26274 * include/dirent.h (__dirfd): New declaration.
26275 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
26276 alias.
26277 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
26278 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
26279 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
26280 * include/unistd.h (__revoke): New declaration.
26281 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
26282 alias.
26283 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
26284 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
26285 revoke.
26286 * include/dirent.h (__seekdir): New declaration.
26287 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
26288 redefine as weak alias.
26289 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
26290 of seekdir.
26291 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
26292 and use libc_hidden_def on them.
26293 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
26294 them.
26295 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
26296 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
26297 instead of getifaddrs and freeifaddrs.
26298
26299 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26300
26301 [BZ #18822]
26302 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
26303 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
26304 (__dso_handle): Remove declaration.
26305 * dlfcn/tstatexit.c (__dso_handle): Removed.
26306 (main): Don't check __dso_handle.
26307 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
26308 (main): Don't check __dso_handle.
26309 * include/dso_handle.h: New file.
26310 * malloc/mtrace.c: Include <dso_handle.h>.
26311 (mtrace): Pass __dso_handle directly.
26312 * nptl/pthread_atfork.c: Include <dso_handle.h>.
26313 (__dso_handle): Remove declaration.
26314 (__pthread_atfork): Pass __dso_handle directly.
26315 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
26316 (__dso_handle): Removed.
26317 * posix/wordexp-test.c: Include <dso_handle.h>.
26318 (__dso_handle): Remove declaration.
26319 (__app_register_atfork): Pass __dso_handle directly.
26320 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
26321 (__dso_handle): Remove declaration.
26322 (at_quick_exit): Pass __dso_handle directly.
26323 * stdlib/atexit.c: Include <dso_handle.h>.
26324 (__dso_handle): Remove declaration.
26325 (atexit): Pass __dso_handle directly.
26326 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
26327 (__dso_handle): Removed.
26328
26329 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26330
26331 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
26332 using VDSO.
26333
26334 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
26335
26336 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
26337 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
26338 values to correct default value for given type.
26339
26340 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26341
26342 [BZ #22101]
26343 * elf/Makefile (tests): Add tst-debug1.
26344 ($(objpfx)tst-debug1): New.
26345 ($(objpfx)tst-debug1.out): Likewise.
26346 ($(objpfx)tst-debug1mod1.so): Likewise.
26347 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
26348 with p_filesz == 0.
26349 * elf/tst-debug1.c: New file.
26350
26351 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26352
26353 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
26354 Define using __ifunc.
26355
26356 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26357
26358 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
26359 exp2f() values.
26360
26361 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26362
26363 [BZ #22156]
26364 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
26365
26366 2017-09-26 Florian Weimer <fweimer@redhat.com>
26367
26368 * resolv/Makefile (tests-internal): Fix typo in comment.
26369
26370 2017-09-26 Florian Weimer <fweimer@redhat.com>
26371
26372 * resolv/nss_dns/dns-host.c: Fix typo in comment.
26373
26374 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26375
26376 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
26377 Use an union instead of a max_align_t array for __space,
26378 so that __space is the same size on all platforms.
26379 * malloc/scratch_buffer_grow_preserve.c
26380 (__libc_scratch_buffer_grow_preserve): Likewise.
26381
26382 [BZ #22183]
26383 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
26384 version to 2.
26385 * posix/Makefile (routines): Add glob-lstat-compat and
26386 glob64-lstat-compat.
26387 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
26388 * posix/glob-lstat-compat.c: New file.
26389 * posix/glob64-lstat-compat.c: Likewise.
26390 * posix/tst-glob_lstat_compat.c: Likewise.
26391 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
26392 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
26393 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
26394 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
26395 Likewise.
26396 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
26397 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
26398 * posix/glob.c (glob_lstat): New function.
26399 (glob): Rename to __glob and add versioned symbol to 2.27.
26400 (glob_in_dir): Use glob_lstat.
26401 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
26402 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26403 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
26404 2.27.
26405 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
26406 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
26407 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
26408 gl_lstat on glob call.
26409 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
26410 and glob64 symbols.
26411 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26412 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26413 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26414 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26415 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26416 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26417 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26418 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26419 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26420 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26421 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26422 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26424 Likewise.
26425 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
26426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26427 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26428 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26429 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26430 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26431 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26434 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26435 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26436 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26437
26438 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
26439
26440 * configure.ac (AS): Require binutils 2.25 or later.
26441 * configure: Regenerated.
26442
26443 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26444
26445 [BZ #22207]
26446 * stdlib/test-atexit-race-common.c (do_test): Minimize required
26447 VM size.
26448
26449 2017-09-25 DJ Delorie <dj@redhat.com>
26450
26451 [BZ #22161]
26452 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
26453 resetting timeout.
26454
26455 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
26456
26457 * sysdeps/ieee754/dbl-64/sincos32.h
26458 [SINCCOS32_H]: Remove define.
26459 [SINCOS32_H]: Define.
26460
26461 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26462
26463 * math/Versions (expf): New libm symbol at GLIBC_2.27.
26464 (exp2f): Likewise.
26465 * math/w_exp2f.c: New file.
26466 * math/w_expf.c: New file.
26467 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
26468 * math/w_expf_compat.c (__expf_compat): Likewise.
26469 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
26470 * sysdeps/ia64/fpu/e_expf.S: Likewise.
26471 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26472 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26473 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26474 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26475 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26476 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26477 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26478 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26479 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26480 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26481 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26482 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26484 Likewise.
26485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26486 Likewise.
26487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26488 Likewise.
26489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26490 Likewise.
26491 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26492 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26493 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26494 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26495 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26496 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26497 Likewise.
26498 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26499 Likewise.
26500 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26501 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26502 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26503
26504 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26505
26506 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
26507 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
26508 (roundtoint, converttoint): Likewise.
26509 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
26510 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
26511 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
26512 * sysdeps/ieee754/flt-32/math_config.h: New file.
26513 * sysdeps/ieee754/flt-32/math_errf.c: New file.
26514 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
26515 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
26516 * sysdeps/i386/fpu/math_errf.c: New file.
26517 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
26518 * sysdeps/ia64/fpu/math_errf.c: New file.
26519 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
26520 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
26521
26522 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
26523
26524 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
26525 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
26526 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
26527 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
26528 to make sure that these symbols are defined.
26529 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
26530 of <limits.h>
26531 (__need_NULL): Do not define.
26532 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
26533 alignment.
26534 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
26535 CMGROUP_MAX, cmsgcred): Do not define.
26536 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
26537 NULL.
26538 * bits/socket.h: Likewise.
26539 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
26540 __gettimeofday instead of gettimeofday.
26541 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
26542 instead of settimeofday.
26543
26544 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26545
26546 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
26547 (asinhf): Define using libm_alias_float.
26548 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
26549 (atanf): Define using libm_alias_float.
26550 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
26551 (cbrtf): Define using libm_alias_float.
26552 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
26553 (ceilf): Define using libm_alias_float.
26554 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
26555 <libm-alias-float.h>.
26556 (copysignf): Define using libm_alias_float.
26557 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
26558 (cosf): Define using libm_alias_float.
26559 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
26560 (erff): Define using libm_alias_float.
26561 (erfcf): Likewise.
26562 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
26563 (expm1f): Define using libm_alias_float.
26564 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
26565 (fabsf): Define using libm_alias_float.
26566 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
26567 (floorf): Define using libm_alias_float.
26568 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
26569 (frexpf): Define using libm_alias_float.
26570 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
26571 libm_alias_float.
26572 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
26573 <libm-alias-float.h>.
26574 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
26575 libm_alias_float.
26576 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
26577 <libm-alias-float.h>.
26578 (getpayloadf): Define using libm_alias_float.
26579 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
26580 <libm-alias-float.h>.
26581 (llrintf): Define using libm_alias_float.
26582 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
26583 <libm-alias-float.h>.
26584 (llroundf): Define using libm_alias_float.
26585 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
26586 (logbf): Define using libm_alias_float.
26587 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
26588 (lrintf): Define using libm_alias_float.
26589 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
26590 (lroundf): Define using libm_alias_float.
26591 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
26592 (modff): Define using libm_alias_float.
26593 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
26594 <libm-alias-float.h>.
26595 (nearbyintf): Define using libm_alias_float.
26596 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
26597 <libm-alias-float.h>.
26598 (nextafterf): Define using libm_alias_float.
26599 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
26600 <libm-alias-float.h>.
26601 (nextupf): Define using libm_alias_float.
26602 * sysdeps/ieee754/flt-32/s_remquof.c: Include
26603 <libm-alias-float.h>.
26604 (remquof): Define using libm_alias_float.
26605 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
26606 (rintf): Define using libm_alias_float.
26607 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
26608 <libm-alias-float.h>.
26609 (roundevenf): Define using libm_alias_float.
26610 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
26611 (roundf): Define using libm_alias_float.
26612 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
26613 using libm_alias_float.
26614 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
26615 <libm-alias-float.h>.
26616 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
26617 Define using libm_alias_float.
26618 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
26619 <libm-alias-float.h>.
26620 (sincosf): Define using libm_alias_float.
26621 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
26622 (sinf): Define using libm_alias_float.
26623 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
26624 (tanf): Define using libm_alias_float.
26625 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
26626 (tanhf): Define using libm_alias_float.
26627 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
26628 <libm-alias-float.h>.
26629 (totalorderf): Define using libm_alias_float.
26630 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
26631 <libm-alias-float.h>.
26632 (totalordermagf): Define using libm_alias_float.
26633 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
26634 (truncf): Define using libm_alias_float.
26635 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
26636 libm_alias_float.
26637 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
26638 libm_alias_float.
26639
26640 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26641
26642 [BZ #22146]
26643 math/math.h: Let fpclassify use the builtin in C++ mode, even
26644 when optimazing for size.
26645
26646 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26647
26648 * csu/Makefile (generated): Do not add version-info.h.
26649 (before-compile): Likewise.
26650 (all-Banner-files): Remove variable.
26651 ($(objpfx)version-info.h): Remove rule.
26652 * csu/version.c (banner): Do not include "version-info.h".
26653 * libidn/Banner: Remove.
26654 * manual/contrib.texi (Simon Josefsson): New entry.
26655
26656 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26657
26658 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26659 Remove conditionals on LDBL_MANT_DIG.
26660 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26661 (__ieee754_lgammal_r): Likewise.
26662
26663 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26664
26665 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
26666 _Float128 and L().
26667 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
26668 _Float128 and L(). Replace _Float128 with long double and L(x)
26669 with xL, throughout the file.
26670 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26671 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26672 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26673 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26674
26675 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26676
26677 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
26678 sysdeps/ieee754/ldbl-128ibm.
26679 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
26680 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
26681 of including it. Keep _Float128 and L() intact. These will be
26682 reviewed by a separate patch.
26683 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26684 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26685 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26686 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26687
26688 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26689
26690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
26691 (__finitef128): Define to __redirect___finitef128.
26692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
26693 (__isinff128): Define to __redirect___isinff128.
26694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
26695 (__isnanf128): Define to __redirect___isnanf128.
26696
26697 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26698
26699 * sysdeps/powerpc/powerpc64le/Makefile
26700 (CFLAGS-tst-strtod-nan-locale.c): New variable.
26701 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
26702
26703 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
26704 Carlos O'Donell <carlos@redhat.com>
26705
26706 [BZ #22180]
26707 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
26708 * stdlib/test-dlclose-exit-race.c: New file.
26709 * stdlib/test-dlclose-exit-race-helper.c: New file.
26710 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
26711
26712 2017-09-21 Joseph Myers <joseph@codesourcery.com>
26713
26714 * crypt/Banner: Remove file.
26715 * nptl/Banner: Likewise.
26716 * resolv/Banner: Likewise.
26717 * soft-fp/Banner: Likewise.
26718 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
26719 ($(objpfx)version.d): Remove dependency on banner.h.
26720 ($(objpfx)version.os): Likewise.
26721 * nptl/version.c (banner): Do not include banner.h.
26722 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
26723 Jelinek and BIND code.
26724
26725 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26726 Carlos O'Donell <carlos@redhat.com>
26727
26728 * support/xdlfcn.h: New file.
26729 * support/xdlfcn.c: New file.
26730 * support/Makefile (libsupport-routines): Add xdlfcn.
26731 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
26732
26733 2017-09-20 Joseph Myers <joseph@codesourcery.com>
26734
26735 [BZ #20142]
26736 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26737 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
26738 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
26739 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
26740 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
26741 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
26742 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
26743 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
26744
26745 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26746 Ricky Zhou <rickyz@google.com>
26747 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26748
26749 [BZ #14333]
26750 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
26751 Remove atomics.
26752 (__new_exitfn): Fail registration when we finished at_exit processing.
26753 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26754 * stdlib/on_exit.c (__on_exit): Likewise.
26755 * stdlib/exit.c (__exit_funcs_done): New variable.
26756 (__run_exit_handlers): Use __exit_funcs_lock.
26757 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
26758 declarations.
26759 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
26760 (test-cxa_atexit-race, test-on_exit-race): New tests.
26761 * stdlib/test-atexit-race-common.c: New file.
26762 * stdlib/test-atexit-race.c: New file.
26763 * stdlib/test-at_quick_exit-race.c: New file.
26764 * stdlib/test-cxa_atexit-race.c: New file.
26765 * stdlib/test-on_exit-race.c: New file.
26766
26767 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
26768
26769 * benchtests/Makefile: Add exp2f and log2f benchmarks.
26770 * benchtests/exp2f-inputs: Copy of expf-inputs.
26771 * benchtests/log2f-inputs: Copy of logf-inputs.
26772
26773 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26774
26775 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
26776 Explicitly take address of first element of array arguments in
26777 call to INLINE_SYSCALL.
26778
26779 2017-09-19 Andreas Schwab <schwab@suse.de>
26780
26781 [BZ #22134]
26782 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
26783 execveat first.
26784 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
26785 unimplemented.
26786 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
26787 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
26788 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26789 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
26790 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26791 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26792 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26793 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26794 * posix/Makefile (tests): Add tst-fexecve.
26795 * posix/tst-fexecve.c: New file.
26796
26797 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26798
26799 * benchtests/Makefile: Add logf benchmark.
26800 * benchtests/logf-inputs: Add reduced trace from wrf_r.
26801
26802 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26803
26804 * benchtests/Makefile: Add expf benchmark.
26805 * benchtests/expf-inputs: Add reduced trace from wrf_r.
26806
26807 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26808
26809 * csu/Makefile: Add -funwind-tables to libc-start.c.
26810 * debug/Makefile: Add -funwind-tables to backtrace.c.
26811 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
26812 * sysdeps/arm/Makefile: Likewise.
26813 * sysdeps/i386/Makefile: Likewise.
26814 * sysdeps/m68k/Makefile: Likewise.
26815 * sysdeps/mips/Makefile: Likewise.
26816 * sysdeps/nios2/Makefile: Likewise.
26817 * sysdeps/sh/Makefile: Likewise.
26818 * sysdeps/sparc/Makefile: Likewise.
26819
26820 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26821
26822 * benchtests/Makefile (bench-math): Add trunc and truncf.
26823 (CFLAGS-bench-trunc.c): New variable.
26824 (CFLAGS-bench-truncf.c): Likewise.
26825 * benchtests/trunc-inputs: New file.
26826 * benchtests/truncf-inputs: Likewise.
26827
26828 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26829
26830 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
26831
26832 2017-09-18 Joseph Myers <joseph@codesourcery.com>
26833
26834 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
26835 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
26836 redefine.
26837 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26838 (exp10l): Define as weak alias.
26839 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
26840 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
26841 and redefine.
26842 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
26843 (remainderl): Define as weak alias.
26844
26845 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
26846 (fmal): Define using libm_alias_ldouble.
26847 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
26848 (acoshl): Define using libm_alias_ldouble.
26849 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
26850 (acosl): Define using libm_alias_ldouble.
26851 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
26852 (asinl): Define using libm_alias_ldouble.
26853 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
26854 (atan2l): Define using libm_alias_ldouble.
26855 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
26856 (atanhl): Define using libm_alias_ldouble.
26857 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
26858 (coshl): Define using libm_alias_ldouble.
26859 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
26860 (exp10l): Define using libm_alias_ldouble.
26861 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
26862 (exp2l): Define using libm_alias_ldouble.
26863 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
26864 (expl): Define using libm_alias_ldouble.
26865 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
26866 (fmodl): Define using libm_alias_ldouble.
26867 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
26868 (hypotl): Define using libm_alias_ldouble.
26869 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
26870 (j0l): Define using libm_alias_ldouble.
26871 (y0l): Likewise.
26872 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
26873 (j1l): Define using libm_alias_ldouble.
26874 (y1l): Likewise.
26875 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
26876 (jnl): Define using libm_alias_ldouble.
26877 (ynl): Likewise.
26878 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
26879 (log10l): Define using libm_alias_ldouble.
26880 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
26881 (log2l): Define using libm_alias_ldouble.
26882 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
26883 (logl): Define using libm_alias_ldouble.
26884 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
26885 (powl): Define using libm_alias_ldouble.
26886 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
26887 (remainderl): Define using libm_alias_ldouble.
26888 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
26889 (sinhl): Define using libm_alias_ldouble.
26890 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
26891 (sqrtl): Define using libm_alias_ldouble.
26892 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
26893 (tgammal): Define using libm_alias_ldouble.
26894 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
26895 (exp10l): Do not use long_double_symbol here.
26896 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26897 [LIBM_SVID_COMPAT] (remainderl): Likewise.
26898 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
26899 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
26900 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
26901 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
26902 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
26903 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
26904 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
26905 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
26906 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
26907 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
26908 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
26909 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
26910 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
26911 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
26912 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
26913 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
26914 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
26915 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
26916 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
26917 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
26918
26919 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
26920
26921 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
26922 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
26923
26924 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
26925
26926 * io/read.c (read): Add libc_hidden_weak.
26927 * sysdeps/mach/hurd/read.c (read): Likewise.
26928 * io/write.c (write): Likewise.
26929 * sysdeps/mach/hurd/write.c (write): Likewise.
26930 * io/pread64.c (__pread64): Likewise.
26931 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
26932 * posix/pread64.c (__pread64): Add libc_hidden_def.
26933
26934 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
26935
26936 * benchtests/scripts/compare_strings.py: New option -g.
26937 (draw_graph): Print a message that a graph is being generated.
26938 (process_results): Generate graph only if -g is passed.
26939 (main): Process option -g.
26940
26941 * benchtests/scripts/compare_strings.py (process_results):
26942 Better spacing for output.
26943
26944 * benchtests/scripts/compare_strings.py: Use argparse.
26945 * benchtests/README: Document existence of compare_strings.py.
26946
26947 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26948
26949 * math/s_fma.c: Include <libm-alias-double.h>.
26950 (fma): Define using libm_alias_double.
26951 * math/s_nextafter.c: Include <libm-alias-double.h>.
26952 (nextafter): Define using libm_alias_double.
26953 * math/w_acos_compat.c: Include <libm-alias-double.h>.
26954 (acos): Define using libm_alias_double.
26955 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
26956 (aocsh): Define using libm_alias_double.
26957 * math/w_asin_compat.c: Include <libm-alias-double.h>.
26958 (asin): Define using libm_alias_double.
26959 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
26960 (atan2): Define using libm_alias_double.
26961 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
26962 (atanh): Define using libm_alias_double.
26963 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
26964 (cosh): Define using libm_alias_double.
26965 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
26966 (exp10): Define using libm_alias_double.
26967 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
26968 (exp2): Define using libm_alias_double.
26969 * math/w_exp_compat.c: Include <libm-alias-double.h>.
26970 (exp): Define using libm_alias_double.
26971 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
26972 (fmod): Define using libm_alias_double.
26973 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
26974 (hypot): Define using libm_alias_double.
26975 * math/w_j0_compat.c: Include <libm-alias-double.h>.
26976 (j0): Define using libm_alias_double.
26977 (y0): Likewise.
26978 * math/w_j1_compat.c: Include <libm-alias-double.h>.
26979 (j1): Define using libm_alias_double.
26980 (y1): Likewise.
26981 * math/w_jn_compat.c: Include <libm-alias-double.h>.
26982 (jn): Define using libm_alias_double.
26983 (yn): Likewise.
26984 * math/w_log10_compat.c: Include <libm-alias-double.h>.
26985 (log10): Define using libm_alias_double.
26986 * math/w_log2_compat.c: Include <libm-alias-double.h>.
26987 (log2): Define using libm_alias_double.
26988 * math/w_log_compat.c: Include <libm-alias-double.h>.
26989 (log): Define using libm_alias_double.
26990 * math/w_pow_compat.c: Include <libm-alias-double.h>.
26991 (pow): Define using libm_alias_double.
26992 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
26993 (remainder): Define using libm_alias_double.
26994 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
26995 (sinh): Define using libm_alias_double.
26996 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
26997 (sqrt): Define using libm_alias_double.
26998 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
26999 (tgamma): Define using libm_alias_double.
27000 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
27001 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
27002 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
27003 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
27004 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
27005 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
27006 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
27007 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
27008 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
27009 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
27010 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
27011 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
27012 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
27013 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
27014 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
27015 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
27016 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
27017 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
27018 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
27019 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
27020 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
27021 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
27022 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
27023 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
27024 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
27025
27026 * math/e_acoshl.c: Remove.
27027 * math/e_acosl.c: Likewise.
27028 * math/e_asinl.c: Likewise.
27029 * math/e_atan2l.c: Likewise.
27030 * math/e_atanhl.c: Likewise.
27031 * math/e_coshl.c: Likewise.
27032 * math/e_expl.c: Likewise.
27033 * math/e_fmodl.c: Likewise.
27034 * math/e_gammal_r.c: Likewise.
27035 * math/e_hypotl.c: Likewise.
27036 * math/e_j0l.c: Likewise.
27037 * math/e_j1l.c: Likewise.
27038 * math/e_jnl.c: Likewise.
27039 * math/e_lgammal_r.c: Likewise.
27040 * math/e_log10l.c: Likewise.
27041 * math/e_log2l.c: Likewise.
27042 * math/e_logl.c: Likewise.
27043 * math/e_powl.c: Likewise.
27044 * math/e_rem_pio2l.c: Likewise.
27045 * math/e_sinhl.c: Likewise.
27046 * math/e_sqrtf128.c: Likewise.
27047 * math/e_sqrtl.c: Likewise.
27048 * math/k_cosl.c: Likewise.
27049 * math/k_sinl.c: Likewise.
27050 * math/k_tanl.c: Likewise.
27051 * math/s_asinhl.c: Likewise.
27052 * math/s_atanl.c: Likewise.
27053 * math/s_cbrtl.c: Likewise.
27054 * math/s_erfl.c: Likewise.
27055 * math/s_expm1l.c: Likewise.
27056 * math/s_log1pl.c: Likewise.
27057 * math/s_tanhl.c: Likewise.
27058
27059 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27060
27061 [BZ #21745]
27062 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
27063 [$(subdir) = math] (sysdep_calls): New variable. Has the
27064 previous contents of sysdep_routines, but re-sorted..
27065 [$(subdir) = math] (sysdep_routines): Re-use the contents from
27066 sysdep_calls.
27067 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
27068 defined in sysdep_calls and replace by the respective m_* names.
27069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
27070 (compat_symbol): Undefine to avoid duplicated compat symbols in
27071 libc.
27072
27073 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27074
27075 * math/s_fmaf.c: Include <libm-alias-float.h>.
27076 (fmaf): Define using libm_alias_float.
27077 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
27078 (acosf): Define using libm_alias_float.
27079 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
27080 (acoshf): Define using libm_alias_float.
27081 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
27082 (asinf): Define using libm_alias_float.
27083 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
27084 (atan2f): Define using libm_alias_float.
27085 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
27086 (atanhf): Define using libm_alias_float.
27087 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
27088 (coshf): Define using libm_alias_float.
27089 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
27090 (exp10f): Define using libm_alias_float.
27091 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
27092 (fmodf): Define using libm_alias_float.
27093 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
27094 (hypotf): Define using libm_alias_float.
27095 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
27096 (j0f): Define using libm_alias_float.
27097 (y0f): Likewise.
27098 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
27099 (j1f): Define using libm_alias_float.
27100 (y1f): Likewise.
27101 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
27102 (jnf): Define using libm_alias_float.
27103 (ynf): Likewise.
27104 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
27105 (log10f): Define using libm_alias_float.
27106 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
27107 (log2f): Define using libm_alias_float.
27108 * math/w_logf_compat.c: Include <libm-alias-float.h>.
27109 (logf): Define using libm_alias_float.
27110 * math/w_powf_compat.c: Include <libm-alias-float.h>.
27111 (powf): Define using libm_alias_float.
27112 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
27113 (remainderf): Define using libm_alias_float.
27114 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
27115 (sinhf): Define using libm_alias_float.
27116 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
27117 (sqrtf): Define using libm_alias_float.
27118 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
27119 (tgammaf): Define using libm_alias_float.
27120
27121 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27122
27123 * include/math.h (roundeven): Change hidden_proto call to
27124 __roundeven.
27125 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
27126 alias.
27127 [NO_LONG_DOUBLE] (__j0l): New strong alias.
27128 (y0): Rename to __y0 and define as weak alias.
27129 [NO_LONG_DOUBLE] (__y0l): New strong alias.
27130 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
27131 alias.
27132 (y0f): Rename to __y0f and define as weak alias.
27133 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
27134 alias.
27135 [NO_LONG_DOUBLE] (__j1l): New strong alias.
27136 (y1): Rename to __y1 and define as weak alias.
27137 [NO_LONG_DOUBLE] (__y1l): New strong alias.
27138 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
27139 alias.
27140 (y1f): Rename to __y1f and define as weak alias.
27141 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
27142 alias.
27143 [NO_LONG_DOUBLE] (__jnl): New strong alias.
27144 (yn): Rename to __yn and define as weak alias.
27145 [NO_LONG_DOUBLE] (__ynl): New strong alias.
27146 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
27147 alias.
27148 (ynf): Rename to __ynf and define as weak alias.
27149 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
27150 (fromfp): Define as weak alias.
27151 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
27152 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
27153 (fromfpx): Define as weak alias.
27154 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
27155 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
27156 __getpayload and define as weak alias.
27157 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27158 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
27159 __roundeven and define as weak alias.
27160 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27161 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
27162 __setpayload.
27163 (setpayload): Define as weak alias.
27164 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
27165 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
27166 __setpayloadsig.
27167 (setpayloadsig): Define as weak alias.
27168 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
27169 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
27170 __totalorder and define as weak alias.
27171 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27172 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
27173 to __totalordermag and define as weak alias.
27174 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27175 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
27176 (ufromfp): Define as weak alias.
27177 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
27178 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
27179 __ufromfpx.
27180 (ufromfpx): Define as weak alias.
27181 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
27182 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
27183 Rename to __getpayload and define as weak alias.
27184 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27185 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
27186 Rename to __roundeven and define as weak alias.
27187 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27188 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
27189 Rename to __totalorder and define as weak alias.
27190 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27191 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
27192 (totalordermag): Rename to __totalordermag and define as weak
27193 alias.
27194 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27195 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
27196 macro.
27197 (__roundevenl): Likewise.
27198 (__totalorderl): Likewise.
27199 (__totalordermagl): Likewise
27200 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
27201 __fromfpf128.
27202 (fromfpf128): Define as weak alias.
27203 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
27204 __fromfpxf128.
27205 (fromfpxf128): Define as weak alias.
27206 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
27207 __setpayloadf128.
27208 (setpayloadf128): Define as weak alias.
27209 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
27210 __setpayloadsigf128.
27211 (setpayloadsigf128): Define as weak alias.
27212 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
27213 __ufromfpf128.
27214 (ufromfpf128): Define as weak alias.
27215 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
27216 __ufromfpxf128.
27217 (ufromfpxf128): Define as weak alias.
27218 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
27219 (fromfpf): Define as weak alias.
27220 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
27221 __fromfpxf.
27222 (fromfpxf): Define as weak alias.
27223 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
27224 __getpayloadf and define as weak alias.
27225 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
27226 __roundevenf and define as weak alias.
27227 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
27228 __setpayloadf.
27229 (setpayloadf): Define as weak alias.
27230 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
27231 __setpayloadsigf.
27232 (setpayloadsigf): Define as weak alias.
27233 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
27234 __totalorderf and define as weak alias.
27235 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
27236 Rename to __totalordermagf and define as weak alias.
27237 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
27238 __ufromfpf.
27239 (ufromfpf): Define as weak alias.
27240 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
27241 __ufromfpxf.
27242 (ufromfpxf): Define as weak alias.
27243 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
27244 __fromfpl.
27245 (fromfpl): Define as weak alias.
27246 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
27247 __fromfpxl.
27248 (fromfpxl): Define as weak alias.
27249 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
27250 to __getpayloadl and define as weak alias.
27251 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
27252 __roundevenl and define as weak alias.
27253 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
27254 __setpayloadl.
27255 (setpayloadl): Define as weak alias.
27256 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
27257 __setpayloadsigl.
27258 (setpayloadsigl): Define as weak alias.
27259 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
27260 to __totalorderl and define as weak alias.
27261 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
27262 Rename to __totalordermagl and define as weak alias.
27263 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
27264 __ufromfpl.
27265 (ufromfpl): Define as weak alias.
27266 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
27267 __ufromfpxl.
27268 (ufromfpxl): Define as weak alias.
27269 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
27270 __fromfpl.
27271 (fromfpl): Define as weak alias.
27272 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
27273 __fromfpxl.
27274 (fromfpxl): Define as weak alias.
27275 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
27276 Rename to __getpayloadl and define as weak alias.
27277 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
27278 to __roundevenl and define as weak alias. Call __roundeven
27279 instead of roundeven.
27280 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
27281 __setpayloadl.
27282 (setpayloadl): Define as weak alias.
27283 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
27284 __setpayloadsigl.
27285 (setpayloadsigl): Define as weak alias.
27286 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
27287 Rename to __totalorderl and define as weak alias.
27288 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
27289 Rename to __totalordermagl and define as weak alias.
27290 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
27291 __ufromfpl.
27292 (ufromfpl): Define as weak alias.
27293 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
27294 __ufromfpxl.
27295 (ufromfpxl): Define as weak alias.
27296 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
27297 __fromfpl.
27298 (fromfpl): Define as weak alias.
27299 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
27300 __fromfpxl.
27301 (fromfpxl): Define as weak alias.
27302 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
27303 __getpayloadl and define as weak alias.
27304 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
27305 __roundevenl and define as weak alias.
27306 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
27307 __setpayloadl.
27308 (setpayloadl): Define as weak alias.
27309 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
27310 __setpayloadsigl.
27311 (setpayloadsigl): Define as weak alias.
27312 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
27313 __totalorderl and define as weak alias.
27314 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
27315 Rename to __totalordermagl and define as weak alias.
27316 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
27317 __ufromfpl.
27318 (ufromfpl): Define as weak alias.
27319 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
27320 __ufromfpxl.
27321 (ufromfpxl): Define as weak alias.
27322
27323 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
27324
27325 * benchtests/bench-string.h (realloc_bufs): New function.
27326 (test_init): Call it.
27327 * benchtests/bench-memset-large.c (do_test): Likewise.
27328 * benchtests/bench-memset.c (do_test): Likewise.
27329
27330 * benchtests/bench-memset-large.c: Print output in JSON
27331 format.
27332 * benchtests/bench-memset.c: Likewise.
27333
27334 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27335
27336 [BZ #21084]
27337 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
27338 * iconvdata/Makefile: Add IBM858.
27339 * iconvdata/gconv-modules: Likewise.
27340 * iconvdata/tst-tables.sh: Likewise.
27341 * iconvdata/ibm858.c: New file.
27342 * localedata/charmaps/IBM858: Likewise.
27343
27344 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
27345
27346 [BZ #22023]
27347 * locales/niu_NZ (LC_TIME): copy "niu_NU".
27348 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
27349
27350 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27351
27352 [BZ #22112]
27353 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
27354 and add tel_int_fmt.
27355
27356 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27357
27358 * sysdeps/generic/libm-alias-float128.h: New file.
27359 * sysdeps/generic/math-type-macros-float128.h: Include
27360 <libm-alias-float128.h>.
27361 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27362
27363 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27364
27365 * sysdeps/generic/libm-alias-ldouble.h: New file.
27366 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
27367 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
27368 * sysdeps/generic/math-type-macros-ldouble.h: Include
27369 <libm-alias-ldouble.h>.
27370 [!declare_mgen_alias] (declare_mgen_alias): Define to use
27371 libm_alias_ldouble.
27372
27373 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
27374
27375 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
27376 * math/w_exp_compat.c: ... here.
27377 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
27378 * math/w_expf_compat.c: ... here.
27379 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
27380 * math/w_expl_compat.c: ... here.
27381 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
27382 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
27383 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
27384 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27385
27386 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27387
27388 * math/w_scalbln_template.c (strong_alias): Do not undefine and
27389 redefine.
27390 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
27391 macro.
27392 (ldexpl): Only define as compat symbol for libc, not libm.
27393 (scalbnl): Define as compat symbol for libc here.
27394 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
27395 define for [IS_IN (libc)].
27396 (__ldexpl_2): Remove alias.
27397 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
27398 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
27399 name in long_double_symbol call.
27400 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
27401 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27402 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27403 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
27404 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
27405 Remove macro.
27406 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
27407 Define as compat symbol.
27408
27409 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27410
27411 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
27412 * sysdeps/unix/sysv/linux/alpha/Makefile
27413 [$(subdir) = csu] (sysdep_routines): Remove rule.
27414
27415 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27416
27417 * sysdeps/generic/libm-alias-double.h: New file.
27418 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
27419 * sysdeps/generic/math-type-macros-double.h: Include
27420 <libm-alias-double.h>.
27421 [declare_mgen_alias] (declare_mgen_alias): Define to use
27422 libm_alias_double.
27423 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
27424 (M_LIBM_NEED_COMPAT): Remove macro.
27425 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
27426 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
27427 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
27428 code.
27429 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27430 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27431 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27432 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27433 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27434 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27435 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27436 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27437 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27438 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27439 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27440 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27441 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27442 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27443 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27444 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27445 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27446 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27447 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27448 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27449 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27450 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27451 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27452 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27453 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27454 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27455 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27456 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
27457 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
27458 macro.
27459 (declare_mgen_alias): New macro.
27460 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
27461 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
27462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
27463 (M_LIBM_NEED_COMPAT): Remove macro.
27464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
27465 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
27466 <first-versions.h>.
27467 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
27468 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
27469
27470 2017-09-12 Joseph Myers <joseph@codesourcery.com>
27471
27472 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
27473 (declare_mgen_alias_2): Remove.
27474 * sysdeps/generic/math-type-macros-double.h
27475 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
27476 Likewise.
27477 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
27478 alias.
27479 (ldexp): Define with declare_mgen_alias.
27480 (scalbn): Likewise.
27481
27482 2017-09-12 Steve Ellcey <sellcey@cavium.com>
27483
27484 * grp/initgroups.c: Include config.h.
27485 (DEFAULT_CONFIG): New macro.
27486 (internal_getgrouplist): Use DEFAULT_CONFIG.
27487 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27488 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
27489 (DEFAULT_DEFCONFIG): New macro.
27490 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
27491 * nss/grp-lookup.c: Include config.h
27492 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
27493 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
27494 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
27495 * manual/nss.texi: Update default values section.
27496
27497 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
27498
27499 [BZ #21967]
27500 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
27501 New.
27502 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
27503 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27504 Handle MathVec_Prefer_No_AVX512.
27505 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
27506 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
27507 is set.
27508
27509 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
27510
27511 * posix/sched_primax.c (__sched_get_priority_max): Add
27512 libc_hidden_def.
27513 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
27514 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
27515 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
27516 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
27517 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
27518 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
27519 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
27520 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
27521 Add aliases.
27522
27523 2017-09-11 Joseph Myers <joseph@codesourcery.com>
27524
27525 * sysdeps/generic/libm-alias-float.h: New file.
27526 * sysdeps/generic/math-type-macros-float.h: Include
27527 <libm-alias-float.h>.
27528 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27529
27530 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
27531
27532 [BZ #22093]
27533 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
27534 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
27535 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
27536 (HWCAP_IMPORTANT): Likewise.
27537 (HWCAP_X86_64): New enum.
27538 (HWCAP_X86_AVX512_1): Updated.
27539 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
27540 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
27541 (modules-names): Add x86_64/tst-x86_64mod-1.
27542 (LDFLAGS-tst-x86_64mod-1.so): New.
27543 ($(objpfx)tst-x86_64-1): Likewise.
27544 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
27545 (tst-x86_64-1-clean): Likewise.
27546 * sysdeps/x86_64/tst-x86_64-1.c: New file.
27547 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
27548
27549 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
27550
27551 * po/sv.po: Update translations.
27552 * po/fr.po: Likewise.
27553
27554 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27555
27556 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
27557 seconds.
27558 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
27559 seconds.
27560 * elf/rtld-Rules: Fix $(error) use.
27561
27562 2017-09-09 Mike FABIAN <mfabian@redhat.com>
27563
27564 [BZ #14925]
27565 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
27566 * locale/iso-639.def: Change “Bengali” to “Bangla”.
27567 * localedata/locales/bn_BD: “Bengali” was still used in some
27568 comments. Change it to “Bangla”.
27569
27570 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
27571
27572 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
27573
27574 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27575
27576 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
27577 thunderx2t99p1 to list of cpu names.
27578 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
27579 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
27580
27581 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27582
27583 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
27584 Use strcmp instead of tunable_is_name.
27585
27586 2017-09-08 Joseph Myers <joseph@codesourcery.com>
27587
27588 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27589 (F_GET_RW_HINT): New macro.
27590 [__USE_GNU] (F_SET_RW_HINT): Likewise.
27591 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
27592 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
27593 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
27594 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
27595 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
27596 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
27597 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
27598 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
27599
27600 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27601 (F_ADD_SEALS): New macro.
27602 [__USE_GNU] (F_GET_SEALS): Likewise.
27603 [__USE_GNU] (F_SEAL_SEAL): Likewise.
27604 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
27605 [__USE_GNU] (F_SEAL_GROW): Likewise.
27606 [__USE_GNU] (F_SEAL_WRITE): Likewise.
27607
27608 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27609
27610 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
27611 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
27612 * posix/glob_internal.h (__glob_pattern_type):
27613 * posix/glob.c (glob):
27614 * posix/glob_pattern_p.c (__glob_pattern_p):
27615 Use them.
27616
27617 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
27618 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27619 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
27620 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
27621 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
27623 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
27624 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
27625 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27626 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27627 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27628 * sysdeps/wordsize-64/glob.c: Likewise.
27629 * sysdeps/wordsize-64/glob64.c: Likewise.
27630 * sysdeps/wordsize-64/globfree.c: Likewise.
27631 * sysdeps/wordsize-64/globfree64.c: Likewise.
27632 * sysdeps/unix/sysv/linux/glob.c: New file.
27633 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
27634 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
27635 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
27636 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27637 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
27638 adds !GLOB_NO_OLD_VERSION as an extra condition.
27639 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
27640 using relative path instead of absolute one.
27641 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
27642 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27643 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27644 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
27645 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
27646 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
27647
27648 [BZ #1062]
27649 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
27650 (glob): Use the same scratch buffer for both getlogin_r and
27651 getpwnam_r. Don’t require preallocation of the login name. This
27652 simplifies storage allocation, and corrects the handling of
27653 long login names.
27654
27655 [BZ #1062]
27656 * posix/glob.c (glob): Port recent patches to platforms
27657 lacking getpwnam_r.
27658 (glob): Fix longstanding misuse of errno after getpwnam_r, which
27659 returns an error number rather than setting errno.
27660
27661 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
27662 instead of GCC extension.
27663 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
27664 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
27665 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
27666
27667 [BZ #866]
27668 [BZ #1062]
27669 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
27670 * posix/bug-glob1.c: Remove file.
27671 * posix/tst-glob_symlinks.c: New file.
27672 * posix/glob.c (__lstat64): New macro.
27673 (is_dir): New function.
27674 (glob, glob_in_dir): Match symlinks even if they are dangling.
27675 (link_stat, link_exists_p): Remove. All uses removed.
27676
27677 [BZ #1062]
27678 [BZ #19971]
27679 * posix/glob.c (struct readdir_result): Remove skip_entry member.
27680 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
27681 All uses removed.
27682
27683 [BZ #1062]
27684 CVE-2017-15671
27685 * posix/Makefile (routines): Add globfree, globfree64, and
27686 glob_pattern_p.
27687 * posix/flexmember.h: New file.
27688 * posix/glob_internal.h: Likewise.
27689 * posix/glob_pattern_p.c: Likewise.
27690 * posix/globfree.c: Likewise.
27691 * posix/globfree64.c: Likewise.
27692 * sysdeps/gnu/globfree64.c: Likewise.
27693 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
27694 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27695 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
27696 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27697 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27698 * sysdeps/wordsize-64/globfree.c: Likewise.
27699 * sysdeps/wordsize-64/globfree64.c: Likewise.
27700 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
27701 [NDEBUG): Remove comments.
27702 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
27703 (dirent_type): New type. Use uint_fast8_t not
27704 uint8_t, as C99 does not require uint8_t.
27705 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
27706 (struct readdir_result): Use dirent_type. Do not define skip_entry
27707 unless it is needed; this saves a byte on platforms lacking d_ino.
27708 (readdir_result_type, readdir_result_skip_entry):
27709 New functions, replacing ...
27710 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
27711 these functions, which were removed. This makes the callers
27712 easier to read. All callers changed.
27713 (D_INO_TO_RESULT): Now empty if there is no d_ino.
27714 (size_add_wrapv, glob_use_alloca): New static functions.
27715 (glob, glob_in_dir): Check for size_t overflow in several places,
27716 and fix some size_t checks that were not quite right.
27717 Remove old code using SHELL since Bash no longer
27718 uses this.
27719 (glob, prefix_array): Separate MS code better.
27720 (glob_in_dir): Remove old Amiga and VMS code.
27721 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
27722 separate files.
27723 (glob_in_dir): Do not rely on undefined behavior in accessing
27724 struct members beyond their bounds. Use a flexible array member
27725 instead
27726 (link_stat): Rename from link_exists2_p and return -1/0 instead of
27727 0/1. Caller changed.
27728 (glob): Fix memory leaks.
27729 * posix/glob64 (globfree64): Move to separate file.
27730 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
27731 (globfree64): Remove hidden alias.
27732 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
27733 oldglob.
27734 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
27735 separate file.
27736 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
27737 define.
27738 Move compat code to separate file.
27739 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
27740 separate file.
27741
27742 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
27743
27744 * resolv/tst-resolv-qtypes.c (domain): Changed to
27745 "const char domain[] =".
27746
27747 2017-09-07 Joseph Myers <joseph@codesourcery.com>
27748
27749 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
27750 version to 3.1.6.
27751
27752 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
27753 (TCP_MD5SIG_EXT): Likewise.
27754 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
27755 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
27756 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
27757
27758 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
27759
27760 2017-09-07 Mike FABIAN <mfabian@redhat.com>
27761
27762 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
27763
27764 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
27765
27766 [BZ #22100]
27767 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
27768
27769 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
27770
27771 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
27772 before assuming that the file is empty. Avoid testing buffer content
27773 when nread == 0.
27774
27775 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27776
27777 [BZ #18858]
27778 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27779 Remove define.
27780 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
27781 Likewise.
27782 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
27783 Likewise.
27784 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
27785 Likewise.
27786 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27787 Likewise.
27788 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
27789 Likewise.
27790 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
27791 Likewise.
27792
27793 2017-09-06 Florian Weimer <fweimer@redhat.com>
27794
27795 * malloc/dynarray_emplace_enlarge.c
27796 (__libc_dynarray_emplace_enlarge): Add missing else.
27797
27798 2017-09-06 Florian Weimer <fweimer@redhat.com>
27799
27800 [BZ #22096]
27801 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
27802 case of failure to obtain the global conf object.
27803
27804 2017-09-06 Florian Weimer <fweimer@redhat.com>
27805
27806 [BZ #22095]
27807 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
27808 dynarray allocation failure.
27809
27810 2017-09-06 Florian Weimer <fweimer@redhat.com>
27811
27812 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
27813 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
27814 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
27815 New functions.
27816 (response): Call them. Add 'p', '6' flag processing.
27817 (test_reverse): New function.
27818 (test_get2_any): Call it.
27819 (test_no_inet6): Add 'p' test.
27820 (test_inet6): Likewise.
27821
27822 2017-09-06 Florian Weimer <fweimer@redhat.com>
27823
27824 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
27825 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
27826 the QNAME.
27827 (test_gai): Adjust query names. Add additional tests.
27828 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
27829 test_get2. Adjust query names. Add additional tests.
27830 (test_no_inet6): New function, extracted from threadfunc.
27831 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
27832 Add additional tests.
27833
27834 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27835
27836 [BZ #22070]
27837 * localedata/unicode-gen/utf8_gen.py: Set the width for
27838 characters with Prepended_Concatenation_Mark property to 1
27839 * localedata/charmaps/UTF-8: Updated using the improved script.
27840
27841 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27842
27843 [BZ #21750]
27844 * localedata/unicode-gen/utf8_gen.py: Improve the script to
27845 use the range notation for all ranges of neighbouring characters
27846 with the same width.
27847
27848 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27849
27850 * sysdeps/generic/math-type-macros-double.h: Include
27851 <math-svid-compat.h>.
27852 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27853 * sysdeps/generic/math-type-macros-float.h: Include
27854 <math-svid-compat.h>.
27855 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27856 * sysdeps/generic/math-type-macros-ldouble.h: Include
27857 <math-svid-compat.h>.
27858 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27859 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
27860 condition.
27861 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
27862 * math/w_acosf_compat.c: Likewise.
27863 * math/w_acosh_compat.c: Likewise.
27864 * math/w_acoshf_compat.c: Likewise.
27865 * math/w_acoshl_compat.c: Likewise.
27866 * math/w_acosl_compat.c: Likewise.
27867 * math/w_asin_compat.c: Likewise.
27868 * math/w_asinf_compat.c: Likewise.
27869 * math/w_asinl_compat.c: Likewise.
27870 * math/w_atan2_compat.c: Likewise.
27871 * math/w_atan2f_compat.c: Likewise.
27872 * math/w_atan2l_compat.c: Likewise.
27873 * math/w_atanh_compat.c: Likewise.
27874 * math/w_atanhf_compat.c: Likewise.
27875 * math/w_atanhl_compat.c: Likewise.
27876 * math/w_cosh_compat.c: Likewise.
27877 * math/w_coshf_compat.c: Likewise.
27878 * math/w_coshl_compat.c: Likewise.
27879 * math/w_exp10_compat.c: Likewise.
27880 * math/w_exp10f_compat.c: Likewise.
27881 * math/w_exp10l_compat.c: Likewise.
27882 * math/w_exp2_compat.c: Likewise.
27883 * math/w_exp2f_compat.c: Likewise.
27884 * math/w_exp2l_compat.c: Likewise.
27885 * math/w_fmod_compat.c: Likewise.
27886 * math/w_fmodf_compat.c: Likewise.
27887 * math/w_fmodl_compat.c: Likewise.
27888 * math/w_hypot_compat.c: Likewise.
27889 * math/w_hypotf_compat.c: Likewise.
27890 * math/w_hypotl_compat.c: Likewise.
27891 * math/w_j0_compat.c: Likewise.
27892 * math/w_j0f_compat.c: Likewise.
27893 * math/w_j0l_compat.c: Likewise.
27894 * math/w_j1_compat.c: Likewise.
27895 * math/w_j1f_compat.c: Likewise.
27896 * math/w_j1l_compat.c: Likewise.
27897 * math/w_jn_compat.c: Likewise.
27898 * math/w_jnf_compat.c: Likewise.
27899 * math/w_jnl_compat.c: Likewise.
27900 * math/w_lgamma_r_compat.c: Likewise.
27901 * math/w_lgammaf_r_compat.c: Likewise.
27902 * math/w_lgammal_r_compat.c: Likewise.
27903 * math/w_log10_compat.c: Likewise.
27904 * math/w_log10f_compat.c: Likewise.
27905 * math/w_log10l_compat.c: Likewise.
27906 * math/w_log2_compat.c: Likewise.
27907 * math/w_log2f_compat.c: Likewise.
27908 * math/w_log2l_compat.c: Likewise.
27909 * math/w_log_compat.c: Likewise.
27910 * math/w_logf_compat.c: Likewise.
27911 * math/w_logl_compat.c: Likewise.
27912 * math/w_pow_compat.c: Likewise.
27913 * math/w_powf_compat.c: Likewise.
27914 * math/w_powl_compat.c: Likewise.
27915 * math/w_remainder_compat.c: Likewise.
27916 * math/w_remainderf_compat.c: Likewise.
27917 * math/w_remainderl_compat.c: Likewise.
27918 * math/w_sinh_compat.c: Likewise.
27919 * math/w_sinhf_compat.c: Likewise.
27920 * math/w_sinhl_compat.c: Likewise.
27921 * math/w_sqrt_compat.c: Likewise.
27922 * math/w_sqrtf_compat.c: Likewise.
27923 * math/w_sqrtl_compat.c: Likewise.
27924 * math/w_tgamma_compat.c: Likewise.
27925 * math/w_tgammaf_compat.c: Likewise.
27926 * math/w_tgammal_compat.c: Likewise.
27927 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
27928 [LIBM_SVID_COMPAT].
27929 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
27930 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
27931 [LIBM_SVID_COMPAT].
27932 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
27933 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
27934 [LIBM_SVID_COMPAT].
27935 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
27936 * sysdeps/i386/fpu/w_sqrt.c: New file.
27937 * sysdeps/ia64/fpu/w_acos.c: Likewise.
27938 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
27939 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
27940 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
27941 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
27942 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
27943 * sysdeps/ia64/fpu/w_asin.c: Likewise.
27944 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
27945 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
27946 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
27947 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
27948 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
27949 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
27950 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
27951 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
27952 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
27953 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
27954 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
27955 * sysdeps/ia64/fpu/w_exp.c: Likewise.
27956 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
27957 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
27958 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
27959 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
27960 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
27961 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
27962 * sysdeps/ia64/fpu/w_expf.c: Likewise.
27963 * sysdeps/ia64/fpu/w_expl.c: Likewise.
27964 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
27965 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
27966 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
27967 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
27968 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
27969 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
27970 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
27971 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
27972 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
27973 * sysdeps/ia64/fpu/w_log.c: Likewise.
27974 * sysdeps/ia64/fpu/w_log10.c: Likewise.
27975 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
27976 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
27977 * sysdeps/ia64/fpu/w_log2.c: Likewise.
27978 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
27979 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
27980 * sysdeps/ia64/fpu/w_logf.c: Likewise.
27981 * sysdeps/ia64/fpu/w_logl.c: Likewise.
27982 * sysdeps/ia64/fpu/w_pow.c: Likewise.
27983 * sysdeps/ia64/fpu/w_powf.c: Likewise.
27984 * sysdeps/ia64/fpu/w_powl.c: Likewise.
27985 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
27986 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
27987 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
27988 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
27989 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
27990 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
27991 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
27992 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
27993 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
27994 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
27995 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
27996 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
27997 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
27998 [LIBM_SVID_COMPAT].
27999 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
28000 * sysdeps/ieee754/k_standard.c: Likewise.
28001 * sysdeps/ieee754/k_standardf.c: Likewise.
28002 * sysdeps/ieee754/k_standardl.c: Likewise.
28003 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
28004 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
28005 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
28006 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
28007 long_double_symbol call on [LIBM_SVID_COMPAT].
28008 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28009 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28010 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28011 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28012 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28013 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28014 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28015 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28016 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28017 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28018 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28019 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28020 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28021 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28022 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28023 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28024 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
28025 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28026 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28027 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28028 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
28029 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
28030
28031 2017-09-05 Steve Ellcey <sellcey@cavium.com>
28032
28033 * include/shlib-compat.h (TEST_COMPAT): New Macro.
28034 * malloc/tst-mallocstate.c: Convert from test-skeleton
28035 to test-driver. Ifdef code using TEST_COMPAT macro.
28036 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
28037 * math/test-matherr.c: Likewise.
28038
28039 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28040
28041 [BZ #22086]
28042 * debug/pcprofiledump.c (main): Use byte-swapped mask when
28043 comparing word with byte-swapped constant.
28044
28045 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
28046
28047 [BZ #20498]
28048 * locale/iso-639.def: add Miskito.
28049 * localedata/SUPPORTED: Add miq_NI/UTF-8.
28050 * localedata/locales/miq_NI: New file.
28051
28052 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
28053
28054 [BZ #18822]
28055 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
28056 (__mkdir): Likewise.
28057 * io/chmod.c (__chmod): Add libc_hidden_def.
28058 * io/mkdir.c (__mkdir): Likewise.
28059 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28060 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28061 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
28062 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
28063
28064 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28065
28066 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
28067 version to 4.13.
28068
28069 [BZ #22082]
28070 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
28071 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
28072
28073 2017-09-04 Florian Weimer <fweimer@redhat.com>
28074
28075 * math/math.h: Issue warning if log is defined.
28076
28077 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28078
28079 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28080 kernel version to 4.13.
28081
28082 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28083
28084 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
28085 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
28086 parameter.
28087 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
28088 just <bits/types.h>.
28089 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
28090 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
28091 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
28092 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
28093 * misc/preadv2.c: Include <errno.h>.
28094 * misc/preadv64v2.c: Include <errno.h>.
28095 * misc/pwritev2.c: Include <errno.h>.
28096 * misc/pwritev64v2.c: Include <errno.h>.
28097 * sysdeps/posix/preadv2.c: Include <errno.h>.
28098 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
28099 Fix <unistd.h> inclusion.
28100 * sysdeps/posix/pwritev2.c: Include <errno.h>.
28101 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
28102 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
28103 __strtoul_internal): New functions.
28104 * sysdeps/posix/pause.c: Include <sigsetops.h>.
28105 * sysdeps/posix/system.c: Include <sigsetops.h>.
28106 * sysdeps/mach/hurd/i386/Makefile
28107 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
28108 [$(subdir) = csu] (sysdep-only-routines): Likewise.
28109 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
28110 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
28111 __feraiseexcept_renamed to feraiseexcept instead of
28112 __GI_feraiseexcept.
28113 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
28114 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
28115 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
28116 RWF_NOWAIT): Define to 0 if undefined already.
28117 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
28118 boils down to 0.
28119 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
28120 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
28121
28122 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28123
28124 * manual/math.texi (pow10): Do not document.
28125 (pow10f): Likewise.
28126 (pow10l): Likewise.
28127 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
28128 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
28129 * math/libm-test-exp10.inc (pow10_test): Remove.
28130 (do_test): Do not call pow10.
28131 * math/w_exp10_compat.c (pow10): Make into compat symbol.
28132 [NO_LONG_DOUBLE] (pow10l): Likewise.
28133 * math/w_exp10f_compat.c (pow10f): Likewise.
28134 * math/w_exp10l_compat.c (pow10l): Likewise.
28135 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
28136 (pow10): Make into compat symbol.
28137 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
28138 (pow10f): Make into compat symbol.
28139 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
28140 (pow10l): Make into compat symbol.
28141 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
28142 pow10.
28143 (CFLAGS-nldbl-pow10.c): Remove variable..
28144 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
28145 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
28146 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
28147 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
28148 Undefine and redefine.
28149 (pow10l): Make into compat symbol.
28150 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
28151 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
28152 * sysdeps/arm/libm-test-ulps: Likewise.
28153 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
28154 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
28155 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28156 * sysdeps/microblaze/libm-test-ulps: Likewise.
28157 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28158 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28159 * sysdeps/nios2/libm-test-ulps: Likewise.
28160 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28161 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
28162 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28163 * sysdeps/sh/libm-test-ulps: Likewise.
28164 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28165 * sysdeps/tile/libm-test-ulps: Likewise.
28166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28167
28168 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28169
28170 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
28171
28172 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28173
28174 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
28175 "../ChangeLog.old/ChangeLog.8".
28176 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
28177 "../ChangeLog.old/ChangeLog.14".
28178
28179 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28180
28181 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
28182 Threads Library.
28183
28184 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28185
28186 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
28187
28188 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28189
28190 * csu/version.c (banner): Remove "by Roland McGrath et al.".
28191 * nptl/Banner: Remove "by Ulrich Drepper et al.".
28192
28193 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28194
28195 * stdlib/tst-atexit-common.c (do_test): Test support for at least
28196 32 atexit handlers.
28197
28198 2017-09-01 Zack Weinberg <zackw@panix.com>
28199
28200 * math/math.h (HUGE_VAL): Improve commentary.
28201
28202 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28203 Andreas Schwab <schwab@suse.de>
28204
28205 [BZ #21530]
28206 * include/stdio.h (__gen_tempfd): New function.
28207 * stdio-common/Makefile (routines): Add gentempfd.
28208 * stdio-common/gentempfd.c: New file.
28209 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
28210 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
28211 unnamed file first.
28212
28213 2017-09-01 Florian Weimer <fweimer@redhat.com>
28214
28215 [BZ #21915]
28216 [BZ #21922]
28217 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
28218 result to determine success or failure, not the errno value.
28219 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
28220 (tst-nss-files-hosts-erange): Link with -ldl.
28221 * nss/tst-nss-files-hosts-erange.c: New file.
28222 * nss/tst-resolv-basic.c (response): Handle nodata.example.
28223 (do_test): Add NO_DATA tests.
28224 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
28225 (do_test): Call it.
28226
28227 2017-09-01 Florian Weimer <fweimer@redhat.com>
28228
28229 [BZ #21922]
28230 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
28231 coming from gethostbyname2_r.
28232
28233 2017-09-01 Florian Weimer <fweimer@redhat.com>
28234
28235 * support/namespace.h (struct support_chroot_configuration): Add
28236 hosts, host_conf.
28237 (struct support_chroot): Add path_hosts, path_host_conf.
28238 * support/support_chroot.c (write_file): New function.
28239 (support_chroot_create): Call it to process /etc/resolv.conf,
28240 /etc/hosts, /etc/host.conf.
28241 (support_chroot_free): Update.
28242
28243 2017-09-01 Florian Weimer <fweimer@redhat.com>
28244
28245 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
28246 status indicates it is set.
28247
28248 2017-09-01 Florian Weimer <fweimer@redhat.com>
28249
28250 [BZ #20532]
28251 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
28252 function lookup failures more reliable.
28253
28254 2017-09-01 Florian Weimer <fweimer@redhat.com>
28255
28256 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
28257 (getcanonname): Likewise.
28258 (gaih_inet): Likewise.
28259
28260 2017-09-01 Florian Weimer <fweimer@redhat.com>
28261
28262 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
28263 (getcanonname): Likewise.
28264 (gaih_inet): Likewise.
28265
28266 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28267 Richard Henderson <rth@twiddle.net>
28268
28269 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
28270 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
28271 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
28272 (IREG_SIZE, OREG_SIZE): New macros.
28273 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
28274 (IREG_SIZE, OREG_SIZE): New macros.
28275 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
28276 (IREG_SIZE): New macro.
28277 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
28278 (IREG_SIZE): New macro.
28279 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
28280 New includes.
28281 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
28282 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28283 (__CONCATX): Handle exceptions correctly on large values that may
28284 set FE_INVALID.
28285 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
28286 Initialize if not already set.
28287 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28288
28289 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28290
28291 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
28292 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
28293 Likewise.
28294 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
28295 Likewise.
28296 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
28297 Likewise.
28298 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
28299 Likewise.
28300 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
28301 Likewise.
28302 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
28303 Likewise.
28304 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
28305 Likewise.
28306 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
28307 (NO_CANCELLATION): Likewise.
28308 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
28309 Likewise.
28310 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
28311 Likewise.
28312 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
28313 Likewise.
28314 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
28315 (NO_CANCELLATION): Likewise.
28316 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
28317 (NO_CANCELLATION): Likewise.
28318 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
28319 Likewise
28320 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
28321 Likewise.
28322 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
28323 Likewise.
28324 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
28325 Likewise.
28326 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
28327 hidden prototype.
28328 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
28329 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
28330
28331 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28332
28333 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
28334 in resolver call.
28335
28336 2017-08-31 Florian Weimer <fweimer@redhat.com>
28337
28338 * include/libc-symbols.h (internal_function): Remove.
28339
28340 2017-08-31 Florian Weimer <fweimer@redhat.com>
28341
28342 * stdlib/fmtmsg.c (internal_addseverity): Remove
28343 internal_function.
28344
28345 2017-08-31 Florian Weimer <fweimer@redhat.com>
28346
28347 * stdio-common/printf_fp.c (group_number): Remove
28348 internal_function.
28349 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
28350
28351 2017-08-31 Florian Weimer <fweimer@redhat.com>
28352
28353 * posix/fnmatch.c (internal_function): Remove definition.
28354 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
28355 * posix/regcomp.c (peek_token, init_word_char)
28356 (duplicate_node_closure, fetch_token, peek_token)
28357 (peek_token_bracket, build_range_exp, build_collating_symbol):
28358 Likewise.
28359 * posix/regex_internal.c (re_string_construct_common)
28360 (create_ci_newstate, create_cd_newstate, re_string_allocate)
28361 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
28362 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
28363 (re_string_translate_buffer, re_string_reconstruct)
28364 (re_string_peek_byte_case, re_string_fetch_byte_case)
28365 (re_string_destruct, re_string_context_at, re_node_set_alloc)
28366 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
28367 (re_node_set_add_intersect, re_node_set_init_union)
28368 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
28369 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
28370 (re_dfa_add_node, calc_state_hash, re_acquire_state)
28371 (re_acquire_state_context): Likewise.
28372 * posix/regex_internal.h (internal_function): Remove definition.
28373 (re_string_realloc_buffers, build_wcs_buffer)
28374 (build_wcs_upper_buffer, build_upper_buffer)
28375 (re_string_translate_buffer, re_string_context_at)
28376 (re_string_char_size_at, re_string_wchar_at)
28377 (re_string_elem_size_at): Likewise.
28378 * posix/regexec.c (match_ctx_init, match_ctx_clean)
28379 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
28380 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
28381 (re_search_internal, re_search_2_stub, re_search_stub)
28382 (re_copy_regs, prune_impossible_nodes, check_matching)
28383 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
28384 (free_fail_stack_return, sift_states_iter_mb)
28385 (sift_states_backward, build_sifted_states)
28386 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
28387 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
28388 (check_subexp_limits, sift_states_bkref, merge_state_array)
28389 (find_recover_state, transit_state, merge_state_with_log)
28390 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
28391 (transit_state_mb, transit_state_bkref, get_subexp)
28392 (get_subexp_sub, find_subexp_node, check_arrival)
28393 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
28394 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
28395 (check_node_accept_bytes, find_collation_sequence_value)
28396 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
28397 (acquire_init_state_context, check_halt_node_context)
28398 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
28399 (sub_epsilon_src_nodes): Likewise.
28400 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
28401 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
28402 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
28403 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
28404 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
28405 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
28406 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
28407 * sysdeps/posix/ttyname.c (getttyname): Likewise.
28408 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
28409 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
28410 (PREADV): Likewise.
28411 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
28412 (PREADV): Likewise.
28413 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
28414 (PWRITEV): Likewise.
28415 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
28416 (PWRITEV): Likewise.
28417 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
28418 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28419
28420 2017-08-31 Florian Weimer <fweimer@redhat.com>
28421
28422 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
28423 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
28424 Remove internal_function.
28425 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28426 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
28427 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
28428 (__deallocate_stack, __libc_pthread_init)
28429 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
28430 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
28431 (__libc_disable_asynccancel, __librt_disable_asynccancel):
28432 Likewise.
28433 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
28434 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
28435 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
28436 Likewise.
28437 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
28438 (__pthread_mutex_unlock_usercnt): Likewise.
28439
28440 2017-08-31 Florian Weimer <fweimer@redhat.com>
28441
28442 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
28443 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
28444 (fts_safe_changedir): Remove internal_function.
28445 * io/ftw.c (internal_function): Remove definition.
28446 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
28447
28448 2017-08-31 Florian Weimer <fweimer@redhat.com>
28449
28450 * inet/deadline.c (__deadline_current_time)
28451 (__deadline_from_timeval, __deadline_to_ms): Remove
28452 internal_function.
28453 * inet/getnameinfo.c (nrl_domainname): Likewise.
28454 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
28455 * inet/inet6_option.c (add_pad): Likewise.
28456 * inet/net-internal.h (__deadline_current_time)
28457 (__deadline_from_timeval, __deadline_to_ms): Likewise.
28458 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
28459 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
28460 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
28461
28462 2017-08-31 Joseph Myers <joseph@codesourcery.com>
28463
28464 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
28465 include <bits/nan.h>.
28466 * math/Makefile (headers): Remove bits/nan.h.
28467 * bits/nan.h: Remove.
28468 * sysdeps/ieee754/bits/nan.h: Likewise.
28469 * sysdeps/mips/bits/nan.h: Likewise.
28470
28471 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
28472 not include <bits/inf.h>.
28473 * math/Makefile (headers): Remove bits/inf.h.
28474 * bits/inf.h: Remove.
28475 * sysdeps/ieee754/bits/inf.h: Likewise.
28476
28477 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
28478 bits/huge_vall.h or bits/huge_val_flt128.h.
28479 (HUGE_VAL): Define directly here.
28480 [__USE_ISOC99] (HUGE_VALF): Likewise.
28481 [__USE_ISOC99] (HUGE_VALL): Likewise.
28482 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28483 (HUGE_VAL_F128): Likewise.
28484 * math/Makefile (headers): Remove bits/huge_val.h,
28485 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
28486 * bits/huge_val.h: Remove.
28487 * bits/huge_val_flt128.h: Likewise.
28488 * bits/huge_valf.h: Likewise.
28489 * bits/huge_vall.h: Likewise.
28490 * sysdeps/ia64/bits/huge_vall.h: Likewise.
28491 * sysdeps/ieee754/bits/huge_val.h: Likewise.
28492 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
28493 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
28494 * sysdeps/sh/bits/huge_val.h: Likewise.
28495 * sysdeps/sparc/bits/huge_vall.h: Likewise.
28496 * sysdeps/x86/bits/huge_vall.h: Likewise.
28497
28498 2017-08-31 Florian Weimer <fweimer@redhat.com>
28499
28500 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
28501 internal_function.
28502 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
28503 Likewise.
28504 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
28505 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
28506 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
28507 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
28508 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28509 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
28510 * elf/dl-libc.c (dlerror_run): Likewise.
28511 * elf/dl-load.c (add_name_to_object, decompose_rpath)
28512 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
28513 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
28514 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
28515 Likewise.
28516 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
28517 (_dl_higher_prime_number, _dl_strtoul): Likewise.
28518 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
28519 * elf/dl-profile.c (_dl_start_profile): Likewise.
28520 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
28521 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
28522 Likewise.
28523 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
28524 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
28525 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
28526 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
28527 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
28528 (_dl_allocate_tls_storage): Likewise.
28529 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
28530 (_dl_check_all_versions): Likewise.
28531 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
28532 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
28533 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
28534 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28535 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
28536 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
28537 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
28538 internal_function from __dl_start.
28539 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
28540 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
28541 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
28542 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
28543 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
28544 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
28545 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
28546 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
28547 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
28548 (_dl_next_ld_env_entry, _dl_important_hwcaps)
28549 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
28550 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
28551 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
28552 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
28553 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
28554 Likewise.
28555 (struct rtld_global_ro): Remove internal_function from the
28556 _dl_lookup_symbol_x member.
28557 (_dl_symbol_value): Remove. No longer defined anywhere.
28558 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
28559 internal_function.
28560 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28561 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28562 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
28563 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
28564 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
28565 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
28566 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
28567 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
28568 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
28569 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
28570 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28571 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28572
28573 2017-08-31 Florian Weimer <fweimer@redhat.com>
28574
28575 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
28576 Remove internal_function.
28577 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28578 Likewise.
28579 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28580 Likewise.
28581
28582 2017-08-31 Florian Weimer <fweimer@redhat.com>
28583
28584 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
28585 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
28586 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
28587
28588 2017-08-31 Florian Weimer <fweimer@redhat.com>
28589
28590 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
28591 (__gai_enqueue_request): Remove internal_function.
28592 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
28593 (__gai_remove_request, __gai_notify, __gai_notify_only)
28594 (__gai_sigqueue): Likewise.
28595 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
28596 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28597 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
28598 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28599 Likewise.
28600
28601 2017-08-31 Florian Weimer <fweimer@redhat.com>
28602
28603 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
28604 * include/dirent.h (__opendirat, __getdents, __getdents64)
28605 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
28606 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
28607 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
28608 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28609 Likewise.
28610 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
28611
28612 2017-08-31 Florian Weimer <fweimer@redhat.com>
28613
28614 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
28615 internal_function.
28616 (GETCWD_RETURN_TYPE): Likewise.
28617
28618 2017-08-31 Florian Weimer <fweimer@redhat.com>
28619
28620 * include/time.h (__tz_compute, __strptime_internal): Remove
28621 internal_function.
28622 * time/strptime_l.c (__strptime_internal): Likewise.
28623 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
28624
28625 2017-08-31 Florian Weimer <fweimer@redhat.com>
28626
28627 * iconv/gconv.c (__gconv): Remove internal_function.
28628 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
28629 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
28630 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
28631 (__gconv_release_cache): Likewise.
28632 * iconv/gconv_close.c (__gconv_close): Likewise.
28633 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
28634 (read_conf_file, __gconv_get_path): Likewise.
28635 * iconv/gconv_db.c (derivation_lookup, add_derivation)
28636 (__gconv_release_step, gen_steps, increment_counter)
28637 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
28638 (__gconv_close_transform, free_modules_db): Likewise.
28639 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
28640 Likewise.
28641 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
28642 (__gconv_find_transform, __gconv_lookup_cache)
28643 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
28644 (__gconv_close_transform, __gconv_release_cache)
28645 (__gconv_loaded_object, __gconv_release_shlib)
28646 (__gconv_compare_alias): Likewise.
28647 * iconv/gconv_open.c (__gconv_open): Likewise.
28648 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
28649 * iconv/iconvconfig.c (add_module): Likewise.
28650 * intl/dcigettext.c (plural_lookup, guess_category_value)
28651 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
28652 * intl/eval-plural.h (plural_eval): Likewise.
28653 * intl/finddomain.c (_nl_find_domain): Likewise.
28654 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
28655 (_nl_load_domain, _nl_find_msg): Likewise.
28656 (internal_function): Remove definition.
28657 * intl/loadinfo.h (internal_function): Likewise.
28658 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
28659 internal_function.
28660 * intl/localealias.c (internal_function): Remove definition.
28661 (read_alias_file): Remove internal_function.
28662 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
28663 * intl/plural-exp.h (internal_function): Remove definition.
28664 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
28665 internal_function.
28666 * intl/plural.c: Regenerate.
28667 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
28668 * locale/coll-lookup.c (__collidx_table_lookup)
28669 (__collseq_table_lookup): Likewise.
28670 * locale/coll-lookup.h (__collidx_table_lookup)
28671 (__collseq_table_lookup): Likewise.
28672 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
28673 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
28674 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
28675 (_nl_unload_locale): Likewise.
28676 * locale/localeinfo.h (struct __locale_data): Remove
28677 internal_function from cleanup member.
28678 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
28679 (_nl_remove_locale, _nl_load_locale_from_archive)
28680 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
28681 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
28682 (_nl_cleanup_time): Remove internal_function.
28683 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
28684 (_nl_parse_alt_digit): Likewise.
28685 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
28686 (_nl_select_era_entry): Likewise.
28687 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
28688 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28689 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28690 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28691 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28692
28693 2017-08-31 Florian Weimer <fweimer@redhat.com>
28694
28695 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
28696 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28697 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
28698 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
28699 Likewise.
28700 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
28701 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
28702 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
28703 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
28704 Likewise.
28705 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
28706
28707 2017-08-31 Florian Weimer <fweimer@redhat.com>
28708
28709 * misc/getttyent.c (skip, value): Remove internal_function.
28710 * misc/syslog.c (openlog_internal): Likewise.
28711 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
28712
28713 2017-08-31 Florian Weimer <fweimer@redhat.com>
28714
28715 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
28716 (__nss_rewrite_field): Remove internal_function.
28717 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
28718 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
28719 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
28720 * nss/nsswitch.c (nss_parse_file, nss_getline)
28721 (nss_parse_service_list, nss_new_service): Likewise.
28722 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
28723 * nss/valid_field.c (__nss_valid_field): Likewise.
28724 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
28725
28726 2017-08-31 Florian Weimer <fweimer@redhat.com>
28727
28728 * malloc/arena.c (__malloc_fork_lock_parent)
28729 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
28730 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
28731 internal_function from defintions.
28732 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
28733 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
28734 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
28735 internal_function from declarations.
28736 * malloc/malloc.c (internal_function): Do not define.
28737 (mem2mem_check): Remove internal_function from declaration.
28738 (munmap_chunk, mremap_chunk): Remove internal_function.
28739 * malloc/mtrace.c (tr_where): Likewise.
28740
28741 2017-08-31 Florian Weimer <fweimer@redhat.com>
28742
28743 * include/rpc/pmap_clnt.h (__get_socket): Remove
28744 internal_function.
28745 * sunrpc/auth_des.c (synchronize): Likewise.
28746 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
28747 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
28748 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
28749 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
28750 (key_call): Likewise.
28751 * sunrpc/pm_getport.c (__get_socket): Likewise.
28752 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
28753 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
28754 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
28755 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
28756 (invalidate): Likewise.
28757 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
28758 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
28759 (set_input_fragment, get_input_bytes): Likewise.
28760
28761 2017-08-31 Florian Weimer <fweimer@redhat.com>
28762
28763 * malloc/malloc.c (_int_free): Remove locked variable and related
28764 asserts.
28765
28766 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
28767
28768 [BZ #22051]
28769 * Makerules (build-module-helper-objlist): Filter out
28770 $(elf-objpfx)sofini.os.
28771 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
28772 needed.
28773
28774 2017-08-31 Florian Weimer <fweimer@redhat.com>
28775
28776 * libio/fcloseall.c: Assume weak_alias is defined.
28777 * libio/feof.c: Likewise.
28778 * libio/fileno.c: Likewise.
28779 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
28780 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28781 definitions.
28782 (_IO_file_open): Call __open directly.
28783 (_IO_new_file_sync): Assume ESPIPE is defined.
28784 (_IO_file_seekoff_maybe_mmap): Call __read directly.
28785 (_IO_new_file_write): Call __write directly.
28786 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
28787 * libio/ftello64.c (__ftello64): Assume EIO is defined.
28788 * libio/genops.c: Assume _LIBC is defined.
28789 (save_for_backup): Remove internal_function.
28790 * libio/getc.c: Assume weak_alias is defined.
28791 * libio/getwc.c: Likewise.
28792 * libio/iofclose.c: Assume _LIBC is defined.
28793 * libio/iofdopen.c: Likewise.
28794 (_IO_fcntl): Remove macro definition.
28795 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
28796 Call __fcntl directly.
28797 * libio/iofflush.c: Assume weak_alias is defined.
28798 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
28799 defined.
28800 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
28801 * libio/iofgets.c: Likewise.
28802 * libio/iofopen.c: Assume _LIBC is defined.
28803 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
28804 * libio/iofputs.c: Assume weak_alias is defined.
28805 * libio/iofread.c: Likewise.
28806 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
28807 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28808 * libio/ioftell.c: Assume weak_alias is defined.
28809 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
28810 * libio/iofwide.c: Assume _LIBC is defined.
28811 (_IO_fwide): Drop SHARED conditional because it is implied by
28812 SHLIB_COMPAT.
28813 * libio/iofwrite.c: Assume weak_alias is defined.
28814 * libio/iogetdelim.c: Likewise.
28815 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
28816 * libio/iogetwline.c (wmemcpy): Remove macro definition.
28817 (_IO_getwline): Call __wmemcpy directly.
28818 * libio/iopopen.c: Assume _LIBC is defined.
28819 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28820 (_IO_close): Remove macro definitions.
28821 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
28822 _exit directly.
28823 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
28824 directly.
28825 * libio/ioputs.c: Assume weak_alias is defined.
28826 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
28827 * libio/iosetbuffer.c: Assume weak_alias is defined.
28828 * libio/iosetvbuf.c: Likewise.
28829 * libio/ioungetc.c: Likewise.
28830 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
28831 libc_hidden_def, libc_hidden_weak, NULL are defined.
28832 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
28833 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
28834 defined.
28835 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28836 definitions.
28837 (_IO_old_file_init_internal): Drop SHARED conditional because it
28838 is implied by SHLIB_COMPAT.
28839 (_IO_old_file_fopen): Call __open directly.
28840 (_IO_old_file_sync): Assume ESPIPE is defined.
28841 (_IO_old_file_write): Call __write directly.
28842 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
28843 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
28844 Call __fcntl directly.
28845 * libio/oldiofgetpos.c: Assume weak_alias is defined.
28846 (_IO_old_fgetpos): Assume EIO is defined.
28847 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
28848 (_IO_old_fgetpos64): Assume EIO is defined.
28849 * libio/oldiofsetpos.c: Assume weak_alias is defined.
28850 (_IO_old_fsetpos): Assume EIO is defined.
28851 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
28852 (_IO_old_fsetpos64): Assume EIO is defined.
28853 * libio/oldiopopen.c: Assume _LIBC is defined.
28854 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28855 (_IO_close): Remove macro definitions.
28856 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
28857 directly.
28858 (_IO_old_proc_close): Call __close, __waitpid directly.
28859 * libio/put.c: Assume weak_alias is defined.
28860 * libio/stdfiles.c: Assume _LIBC is defined.
28861 * libio/stdio.c: Likewise.
28862 * libio/wfileops.c: Likewise.
28863 (_IO_wfile_sync): Assume ESPIPE is defined.
28864 * libio/wgenops.c: Assume _LIBC is defined.
28865 (save_for_wbackup): Remove internal_function.
28866
28867 2017-08-31 Florian Weimer <fweimer@redhat.com>
28868
28869 * malloc/malloc.c (top_check): Change return type to void. Remove
28870 internal_function.
28871 * malloc/hooks.c (top_check): Likewise.
28872 (malloc_check, realloc_check, memalign_check): Adjust.
28873
28874 2017-08-30 Joseph Myers <joseph@codesourcery.com>
28875
28876 [BZ #21457]
28877 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28878 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
28879 sigcontext and namespace requirements.
28880 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28881 * sysdeps/m68k/sys/ucontext.h: Likewise.
28882 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
28883 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
28884 <bits/sigcontext.h>.
28885 (__ctx): Define earlier.
28886 (mcontext_t): Define structure contents rather than using struct
28887 sigcontext.
28888 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
28889 __glibc_reserved1 instead of __reserved.
28890 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
28891 <bits/sigcontext.h>.
28892 (__ctx): Define earlier.
28893 (mcontext_t): Define structure contents rather than using struct
28894 sigcontext.
28895 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
28896 mcontext_t instead of struct sigcontext.
28897 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
28898 <bits/sigcontext.h>.
28899 (__ctx): Define earlier.
28900 (mcontext_t): Define structure contents rather than using struct
28901 sigcontext.
28902 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
28903 <bits/sigcontext.h>.
28904 (__ctx): Define earlier.
28905 (mcontext_t): Define structure contents rather than using struct
28906 sigcontext.
28907 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
28908 mcontext_t instead of struct sigcontext.
28909 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
28910 mcontext_t instead of struct sigcontext.
28911 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
28912 <bits/sigcontext.h>.
28913 (__ctx): New macro.
28914 (struct __ia64_fpreg_mcontext): New type.
28915 (mcontext_t): Define structure contents rather than using struct
28916 sigcontext.
28917 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
28918 (uc_sigmask): Define using __ctx.
28919 (uc_stack): Likewise.
28920 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
28921 <bits/sigcontext.h>.
28922 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28923 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
28924 <bits/sigcontext.h>.
28925 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
28926 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
28927 <bits/sigcontext.h>.
28928 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
28929 <bits/sigcontext.h>.
28930 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
28931 <bits/sigcontext.h>.
28932 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
28933 <bits/sigcontext.h>.
28934 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
28935 <bits/sigcontext.h>.
28936 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
28937 <bits/sigcontext.h>.
28938 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
28939 <bits/sigcontext.h>.
28940 (__ctx): Define earlier.
28941 (mcontext_t): Define structure contents rather than using struct
28942 sigcontext.
28943 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
28944 <bits/sigcontext.h>. Include <bits/types.h>.
28945 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
28946 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
28947 (test-xfail-XPG42/ucontext.h/conform): Likewise.
28948 (test-xfail-UNIX98/signal.h/conform): Likewise.
28949 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
28950 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
28951 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
28952 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
28953 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
28954 (test-xfail-POSIX2008/signal.h/conform): Likewise.
28955 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
28956 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
28957 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
28958
28959 2017-08-30 Florian Weimer <fweimer@redhat.com>
28960
28961 * malloc/dynarray_emplace_enlarge.c
28962 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
28963 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
28964 * malloc/tst-dynarray.c (test_long_overflow): New function.
28965 (do_test): Call it.
28966
28967 2017-08-30 Florian Weimer <fweimer@redhat.com>
28968
28969 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
28970 (set_arena_corrupt): Remove definitions.
28971 (mtrim): Do not check for corrupt arena.
28972 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
28973 Likewise.
28974
28975 2017-08-30 Florian Weimer <fweimer@redhat.com>
28976
28977 [BZ #21754]
28978 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
28979 check_action.
28980 (ptmalloc_init): Do not set or use check_action.
28981 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
28982 call to malloc_printerr. Remove return statement.
28983 (free_check): Likewise. Remove arena unlock.
28984 (top_check): Update comment. Adjust call to malloc_printerr.
28985 Remove heap repair code.
28986 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
28987 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
28988 (sysmalloc): Adjust call to malloc_printerr.
28989 (munmap_chunk, __libc_realloc): Likewise. Remove return
28990 statement.
28991 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
28992 Remove errout label and corresponding gotos.
28993 (_int_free): Likewise. Remove arena unlock.
28994 (do_set_mallopt_check): Do not set check_action.
28995 (malloc_printerr): Adjust parameter list. Do not mark arena as
28996 corrupt.
28997 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
28998 comment.
28999 * manual/probes.texi (Memory Allocation Probes): Remove
29000 memory_mallopt_check_action.
29001
29002 2017-08-30 Steve Ellcey <sellcey@cavium.com>
29003
29004 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
29005 Use pointer to uint64_t instead of long int for sp.
29006
29007 2017-08-30 Florian Weimer <fweimer@redhat.com>
29008
29009 [BZ #21754]
29010 * malloc/malloc.c (malloc_printerr): Always terminate the process,
29011 without printing a backtrace. Do not leak any information in the
29012 error message.
29013 * manual/memory.texi (Heap Consistency Checking): Update.
29014 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
29015
29016 2017-08-30 Florian Weimer <fweimer@redhat.com>
29017
29018 Do not scale NPTL tests with available number of CPUs.
29019 * nptl/tst-cond16.c (count): Set to constant value of 8.
29020 * nptl/tst-cond18.c (count): Likewise.
29021
29022 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29023
29024 [BZ #22035]
29025 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
29026 Define to take a second argument that is a macro that
29027 concatentates a suffix, not the suffix itself.
29028 (__CONCAT_d): New macro.
29029 (__CONCAT_f): Likewise.
29030 (__CONCAT_l): Likewise.
29031
29032 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
29033
29034 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
29035 by child.
29036
29037 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29038 Aurelien Jarno <aurelien@aurel32.net>
29039 Maciej W. Rozycki <macro@imgtec.com>
29040
29041 [BZ #21956]
29042 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
29043 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
29044 `mips16-syscall6' and `mips16-syscall7'.
29045 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
29046 (CFLAGS-mips16-syscall7.c): Remove.
29047 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
29048 Remove `__mips16_syscall5', `__mips16_syscall6' and
29049 `__mips16_syscall7'.
29050 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
29051 (__mips16_syscall0): Rename `__mips16_syscall_return' to
29052 `__mips_syscall_return'.
29053 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
29054 (__mips16_syscall1): Likewise.
29055 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
29056 (__mips16_syscall2): Likewise.
29057 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
29058 (__mips16_syscall3): Likewise.
29059 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
29060 (__mips16_syscall4): Likewise.
29061 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
29062 Remove.
29063 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
29064 Remove.
29065 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
29066 Remove.
29067 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
29068 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
29069 `__mips16_syscall5'. Remove prototype.
29070 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
29071 `__mips16_syscall6'. Remove prototype.
29072 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
29073 `__mips16_syscall7'. Remove prototype.
29074 (__nomips16, __mips16_syscall_return): Move to...
29075 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
29076 (__nomips16, __mips_syscall_return): ... here.
29077 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
29078 `__mips16_syscall_return' to `__mips_syscall_return'.
29079 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
29080 `internal_syscall##nr'.
29081 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
29082 `internal_syscall##nr'.
29083 (FORCE_FRAME_POINTER): Remove.
29084 (__mips_syscall5): New prototype.
29085 (internal_syscall5): Rewrite to call `__mips_syscall5'.
29086 (__mips_syscall6): New prototype.
29087 (internal_syscall6): Rewrite to call `__mips_syscall6'.
29088 (__mips_syscall7): New prototype.
29089 (internal_syscall7): Rewrite to call `__mips_syscall7'.
29090 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
29091 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
29092 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
29093 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
29094 (sysdep_routines): Add libc-do-syscall.
29095 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
29096 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
29097
29098 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29099
29100 [BZ #21672]
29101 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
29102 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
29103 (advise_stack_range): New function.
29104 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
29105 stack non required to advise_stack_range at allocatestack.c
29106
29107 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29108
29109 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
29110
29111 2017-08-29 Florian Weimer <fweimer@redhat.com>
29112
29113 [BZ #22026]
29114 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
29115 __end_fct. Mangle __end_fct after setting it to NULL.
29116 * iconv/Makefile (tests): Add tst-gconv-init-failure.
29117 (modules-names, modules-names-tests): Add
29118 tst-gconv-init-failure-mod.
29119 (gconv-modules): New target.
29120 (tst-gconv-init-failure-mod.so): Link against libsupport.
29121 (tst-gconv-init-failure): Depend on gconv-modules,
29122 tst-gconv-init-failure-mod.so.
29123 * iconv/tst-gconv-init-failure-mod.c: New file.
29124 * iconv/tst-gconv-init-failure.c: Likewise.
29125 * iconv/test-gconv-modules: Likewise.
29126
29127 2017-08-29 Florian Weimer <fweimer@redhat.com>
29128
29129 [BZ #22025]
29130 * iconv/gconv_db.c (free_derivation): Remove redundant
29131 parentheses.
29132 (gen_steps): Unconditionally mangle __btowc_fct after
29133 initialization.
29134 (increment_counter): Likewise. Do not call init_fct for internal
29135 modules.
29136
29137 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29138
29139 [BZ #22028]
29140 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29141 (_MSUF_): Remove macro.
29142 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
29143 Likewise.
29144 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29145 (__REDIRFROM_X): New macro.
29146 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
29147 Likewise.
29148 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
29149 (__REDIRTO_X): Likewise.
29150 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
29151 arguments.
29152 (__MATH_REDIRCALL_2): Likewise.
29153 (__MATH_REDIRCALL_INTERNAL): Likewise.
29154 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29155 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
29156 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
29157 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29158 * math/test-finite-macros.c: New file.
29159 * math/Makefile (tests): Add test-finite-macros.
29160 (CFLAGS-test-finite-macros.c): New variable.
29161
29162 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
29163 Jeff Law <law@redhat.com>
29164
29165 [BZ #22025]
29166 Mangle NULL pointers in iconv/gconv.
29167 * iconv/gconv_cache.c (find_module): Demangle init_fct before
29168 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
29169 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
29170 is non-NULL before demangling the end_fct. Check for NULL
29171 end_fct after demangling.
29172 (__gconv_release_step): Demangle the end_fct before checking
29173 it for NULL. Remove assert on __shlibc_handle != NULL.
29174 (gen_steps): Don't check btowc_fct for NULL before mangling.
29175 Demangle init_fct before checking for NULL.
29176 (increment_counter): Likewise.
29177 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
29178 end_fct for NULL before mangling.
29179 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
29180 for NULL.
29181
29182 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
29183
29184 [BZ #21971]
29185 * locale/iso-639.def: add Morisyen.
29186
29187 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29188
29189 [BZ #21930]
29190 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
29191 (iszero): New C++ implementation that does not use
29192 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
29193 signaling nans are enabled, since __builtin_types_compatible_p
29194 is a C-only feature.
29195 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
29196 defined, include ieee754_float128.h for access to the union and
29197 member ieee854_float128.ieee.
29198 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
29199 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
29200 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29201 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
29202 options of test-math-zero on powerpc64le.
29203
29204 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
29205
29206 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29207 Change double to float.
29208
29209 2017-08-28 Joseph Myers <joseph@codesourcery.com>
29210
29211 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
29212 unconditional.
29213 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
29214 conditional code; define contents only for [LIBM_SVID_COMPAT].
29215
29216 2017-08-28 Florian Weimer <fweimer@redhat.com>
29217
29218 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
29219 (abi-lp64_be-options): Remove.
29220 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
29221 (abi-hard-options): Likewise.
29222 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
29223 (abi-o32_hard-options, abi-o32_soft_2008-options)
29224 (abi-o32_hard_2008-options, abi-n32_soft-options)
29225 (abi-n32_hard-options, abi-n32_soft_2008-options)
29226 (abi-n32_hard_2008-options, abi-n64_soft-options)
29227 (abi-n64_hard-options, abi-n64_soft_2008-options)
29228 (abi-n64_hard_2008-options): Likewise.
29229 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
29230 (abi-64-v1-options, abi-64-v2-options): Likewise.
29231 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
29232 (abi-64-options): Likewise.
29233 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
29234 (abi-64-options): Likewise.
29235 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
29236 (abi-64-options): Likewise.
29237 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
29238 (abi-64-options, abi-x32-options): Likewise.
29239
29240 2017-08-28 Florian Weimer <fweimer@redhat.com>
29241
29242 Store supported list of SYS_* system calls in the source tree.
29243 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
29244 (bits/syscall.h): Generate from list file.
29245 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
29246 [$(subdir) = misc] (tests): Add tst-syscall-list.
29247 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
29248 [$(subdir) = misc] (tst-syscall-list-macros.list)
29249 [$(subdir) = misc] (tst-syscall-list-nr.list)
29250 (tst-syscall-list-sys.list): Helper targets for new
29251 tst-syscall-list test.
29252 [$(subdir) = misc] (tst-syscall-list.out): Run test script
29253 tst-syscall-list.sh.
29254 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
29255 target. Do not include bits/syscall.d.
29256 [$(subdir) = misc] (generated): Do not update.
29257 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
29258 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
29259 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
29260 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
29261
29262 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
29263
29264 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
29265 (tst-cxa_atexit, tst-on_exit): Likewise.
29266 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
29267 tst-cxa_atexit, and tst-on_exit.
29268 * stdlib/tst-atexit-common.c: New file.
29269 * stdlib/tst-atexit.c: New file.
29270 * stdlib/tst-at_quick_exit.c: New file.
29271 * stdlib/tst-cxa_atexit.c: New file.
29272 * stdlib/tst-on_exit.c: New file.
29273
29274 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29275
29276 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
29277 * mach/stack_chk_fail_local.c: New file.
29278 * hurd/stack_chk_fail_local.c: New file.
29279 * mach/Machrules ($(interface-library)-routines): Add
29280 stack_chk_fail_local.
29281 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
29282 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
29283 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
29284 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
29285 * hurd/Makefile (CFLAGS-hurdstartup.o,
29286 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
29287
29288 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
29289
29290 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
29291 (index_cpu_*, index_arch_*): Removed.
29292
29293 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29294
29295 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
29296 Use uint64_t instead of unsigned long.
29297
29298 2017-08-25 Joseph Myers <joseph@codesourcery.com>
29299
29300 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
29301 [__HAVE_DISTINCT_FLOAT128].
29302
29303 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
29304 of <bits/math-finite.h>.
29305 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
29306 inclusion of <bits/math-finite.h>.
29307 * math/bits/math-finite.h (__REDIRTO_X): Do not define
29308 conditionally on [__MATH_DECLARING_LDOUBLE && defined
29309 __NO_LONG_DOUBLE_MATH].
29310 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
29311 (__MATH_REDIRCALL_2): Likewise.
29312 (__MATH_REDIRCALL_INTERNAL): Likewise.
29313 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29314 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
29315 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29316
29317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
29318 Remove file.
29319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
29320 Likewise.
29321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
29322 Likewise.
29323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
29324 Likewise.
29325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
29326 Likewise.
29327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
29328 Likewise.
29329 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29330 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29331 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29332 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
29334 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
29335 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
29336 w_sqrtf_compat-ppc32.
29337
29338 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29339
29340 * math/math.h [defined __cplusplus] (issignaling): In the long
29341 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
29342 is not defined. Call __issignaling, otherwise.
29343
29344 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29345
29346 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
29347 syscall definitions and replace __builtin_expect with __glibc_likely.
29348 * sysdeps/unix/syscall-template.S: Update comment about cancellable
29349 syscall.
29350 (SYSCALL_CANCELLABLE): Removedefinition
29351 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
29352 definition.
29353 (PSEUDO_END): Likewise.
29354 [IS_IN (libpthread)] (CENABLE): Likewise.
29355 [IS_IN (libpthread)] (CDISABLE): Likewise.
29356 [IS_IN (libc)] (CENABLE): Likewise.
29357 [IS_IN (libc)] (CENABLE): Likewise.
29358 [IS_IN (librt)] (CDISABLE): Likewise.
29359 [IS_IN (librt)] (CDISABLE): Likewise.
29360 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29361 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
29362 definition.
29363 (PSEUDO_END): Likewise.
29364 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
29365 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
29366 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29367 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29368 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29369 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29370 (CENABLE): Likewise.
29371 (CDISABLE): Likewise.
29372 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29373 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
29374 defintion.
29375 (PSEUDO_END): Likewise.
29376 [IS_IN (libpthread)] (CENABLE): Likewise.
29377 [IS_IN (libpthread)] (CDISABLE): Likewise.
29378 [IS_IN (libc)] (CENABLE): Likewise.
29379 [IS_IN (libc)] (CENABLE): Likewise.
29380 [IS_IN (librt)] (CDISABLE): Likewise.
29381 [IS_IN (librt)] (CDISABLE): Likewise.
29382 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29383 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
29384 definition.
29385 (PSEUDO_END): Likewise.
29386 [IS_IN (libpthread)] (CENABLE): Likewise.
29387 [IS_IN (libpthread)] (CDISABLE): Likewise.
29388 [IS_IN (libc)] (CENABLE): Likewise.
29389 [IS_IN (libc)] (CENABLE): Likewise.
29390 [IS_IN (librt)] (CDISABLE): Likewise.
29391 [IS_IN (librt)] (CDISABLE): Likewise.
29392 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29393 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
29394 definition.
29395 (PSEUDO_END): Likewise.
29396 [IS_IN (libpthread)] (CENABLE): Likewise.
29397 [IS_IN (libpthread)] (CDISABLE): Likewise.
29398 [IS_IN (libc)] (CENABLE): Likewise.
29399 [IS_IN (libc)] (CENABLE): Likewise.
29400 [IS_IN (librt)] (CDISABLE): Likewise.
29401 [IS_IN (librt)] (CDISABLE): Likewise.
29402 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29403 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
29404 definition.
29405 (PSEUDO_END): Likewise.
29406 [IS_IN (libpthread)] (CENABLE): Likewise.
29407 [IS_IN (libpthread)] (CDISABLE): Likewise.
29408 [IS_IN (libc)] (CENABLE): Likewise.
29409 [IS_IN (libc)] (CENABLE): Likewise.
29410 [IS_IN (librt)] (CDISABLE): Likewise.
29411 [IS_IN (librt)] (CDISABLE): Likewise.
29412 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29413 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
29414 definition.
29415 (PSEUDO_END): Likewise.
29416 [IS_IN (libpthread)] (CENABLE): Likewise.
29417 [IS_IN (libpthread)] (CDISABLE): Likewise.
29418 [IS_IN (libc)] (CENABLE): Likewise.
29419 [IS_IN (libc)] (CENABLE): Likewise.
29420 [IS_IN (librt)] (CDISABLE): Likewise.
29421 [IS_IN (librt)] (CDISABLE): Likewise.
29422 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29423 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
29424 definition.
29425 (PSEUDO_END): Likewise.
29426 [IS_IN (libpthread)] (CENABLE): Likewise.
29427 [IS_IN (libpthread)] (CDISABLE): Likewise.
29428 [IS_IN (libc)] (CENABLE): Likewise.
29429 [IS_IN (libc)] (CENABLE): Likewise.
29430 [IS_IN (librt)] (CDISABLE): Likewise.
29431 [IS_IN (librt)] (CDISABLE): Likewise.
29432 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29433 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
29434 Remove definition.
29435 (PSEUDO_END): Likewise.
29436 [IS_IN (libpthread)] (CENABLE): Likewise.
29437 [IS_IN (libpthread)] (CDISABLE): Likewise.
29438 [IS_IN (libc)] (CENABLE): Likewise.
29439 [IS_IN (libc)] (CENABLE): Likewise.
29440 [IS_IN (librt)] (CDISABLE): Likewise.
29441 [IS_IN (librt)] (CDISABLE): Likewise.
29442 (SINGLE_THREAD_P): Likewise.
29443 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
29444 definition.
29445 (PSEUDO_END): Likewise.
29446 [IS_IN (libpthread)] (CENABLE): Likewise.
29447 [IS_IN (libpthread)] (CDISABLE): Likewise.
29448 [IS_IN (libc)] (CENABLE): Likewise.
29449 [IS_IN (libc)] (CENABLE): Likewise.
29450 [IS_IN (librt)] (CDISABLE): Likewise.
29451 [IS_IN (librt)] (CDISABLE): Likewise.
29452 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29453 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
29454 definition.
29455 (PSEUDO_END): Likewise.
29456 [IS_IN (libpthread)] (CENABLE): Likewise.
29457 [IS_IN (libpthread)] (CDISABLE): Likewise.
29458 [IS_IN (libc)] (CENABLE): Likewise.
29459 [IS_IN (libc)] (CENABLE): Likewise.
29460 [IS_IN (librt)] (CDISABLE): Likewise.
29461 [IS_IN (librt)] (CDISABLE): Likewise.
29462 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29463 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
29464 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29465 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
29466 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
29467 definition.
29468 (PSEUDO_END): Likewise.
29469 [IS_IN (libpthread)] (CENABLE): Likewise.
29470 [IS_IN (libpthread)] (CDISABLE): Likewise.
29471 [IS_IN (libc)] (CENABLE): Likewise.
29472 [IS_IN (libc)] (CENABLE): Likewise.
29473 [IS_IN (librt)] (CDISABLE): Likewise.
29474 [IS_IN (librt)] (CDISABLE): Likewise.
29475 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29476 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
29477 definition.
29478 (PSEUDO_END): Likewise.
29479 [IS_IN (libpthread)] (CENABLE): Likewise.
29480 [IS_IN (libpthread)] (CDISABLE): Likewise.
29481 [IS_IN (libc)] (CENABLE): Likewise.
29482 [IS_IN (libc)] (CENABLE): Likewise.
29483 [IS_IN (librt)] (CDISABLE): Likewise.
29484 [IS_IN (librt)] (CDISABLE): Likewise.
29485 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29486 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
29487 definition.
29488 (PSEUDO_END): Likewise.
29489 [IS_IN (libpthread)] (CENABLE): Likewise.
29490 [IS_IN (libpthread)] (CDISABLE): Likewise.
29491 [IS_IN (libc)] (CENABLE): Likewise.
29492 [IS_IN (libc)] (CENABLE): Likewise.
29493 [IS_IN (librt)] (CDISABLE): Likewise.
29494 [IS_IN (librt)] (CDISABLE): Likewise.
29495 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29496 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
29497 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29498 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
29499 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
29500 definition.
29501 (PSEUDO_END): Likewise.
29502 [IS_IN (libpthread)] (CENABLE): Likewise.
29503 [IS_IN (libpthread)] (CDISABLE): Likewise.
29504 [IS_IN (libc)] (CENABLE): Likewise.
29505 [IS_IN (libc)] (CENABLE): Likewise.
29506 [IS_IN (librt)] (CDISABLE): Likewise.
29507 [IS_IN (librt)] (CDISABLE): Likewise.
29508 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29509 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
29510 definition.
29511 (PSEUDO_END): Likewise.
29512 [IS_IN (libpthread)] (CENABLE): Likewise.
29513 [IS_IN (libpthread)] (CDISABLE): Likewise.
29514 [IS_IN (libc)] (CENABLE): Likewise.
29515 [IS_IN (libc)] (CENABLE): Likewise.
29516 [IS_IN (librt)] (CDISABLE): Likewise.
29517 [IS_IN (librt)] (CDISABLE): Likewise.
29518 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29519
29520 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
29521
29522 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
29523
29524 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29525
29526 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29527
29528 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29529
29530 [BZ #21982]
29531 * string/stratcliff.c (do_test): Declare size, nchars, inner,
29532 middle and outer with size_t instead of int. Repleace %d and
29533 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
29534 "MAX (outer, nchars - 64)" to support unsigned outer and
29535 nchars. Also exit loop when outer == 0.
29536
29537 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29538
29539 * include/fcntl.h (__fcntl_nocancel): Remove definition.
29540 * include/signal.h (__sigsuspend_nocancel): Likewise.
29541 * include/time.h (__nanosleep_nocancel): Likewise.
29542 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
29543 * login/utmp_file.c: Include non cancellable syscall header.
29544 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
29545 prototype.
29546
29547 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29548
29549 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
29550 .byte sequences with AVX512F instructions.
29551 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
29552 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
29553 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
29554 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
29555 Likewise.
29556 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29557 Likewise.
29558
29559 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
29560 Steve Ellcey <sellcey@cavium.com>
29561
29562 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
29563 Use PTR_REG macro in cmp instruction.
29564
29565 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29566
29567 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
29568 Change the return type of the ifunc resolver to match the return
29569 type of the target function.
29570
29571 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29572
29573 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
29574 (preadv64): Likewise.
29575 (pwrite64(: Likewise.
29576 (pwritev64): Likewise.
29577
29578 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
29579 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
29580 (LOAD_ARGS_0): Likewise.
29581 (LOAD_ARGS_1): Likewise.
29582 (LOAD_ARGS_2): Likewise.
29583 (LOAD_ARGS_3): Likewise.
29584 (LOAD_ARGS_4): Likewise.
29585 (LOAD_ARGS_5): Likewise.
29586 (LOAD_ARGS_6): Likewise.
29587 (LOAD_REGS_0): Likewise.
29588 (LOAD_REGS_1): Likewise.
29589 (LOAD_REGS_2): Likewise.
29590 (LOAD_REGS_3): Likewise.
29591 (LOAD_REGS_4): Likewise.
29592 (LOAD_REGS_5): Likewise.
29593 (LOAD_REGS_6): Likewise.
29594 (ASM_ARGS_0): Likewise.
29595 (ASM_ARGS_1): Likewise.
29596 (ASM_ARGS_2): Likewise.
29597 (ASM_ARGS_3): Likewise.
29598 (ASM_ARGS_4): Likewise.
29599 (ASM_ARGS_5): Likewise.
29600 (ASM_ARGS_6): Likewise.
29601 (LOAD_ARGS_TYPES_1): Likewise.
29602 (LOAD_ARGS_TYPES_2): Likewise.
29603 (LOAD_ARGS_TYPES_3): Likewise.
29604 (LOAD_ARGS_TYPES_4): Likewise.
29605 (LOAD_ARGS_TYPES_5): Likewise.
29606 (LOAD_ARGS_TYPES_6): Likewise.
29607 (LOAD_REGS_TYPES_1): Likewise.
29608 (LOAD_REGS_TYPES_2): Likewise.
29609 (LOAD_REGS_TYPES_3): Likewise.
29610 (LOAD_REGS_TYPES_4): Likewise.
29611 (LOAD_REGS_TYPES_5): Likewise.
29612 (LOAD_REGS_TYPES_6): Likewise.
29613 (TYPEFY): New define.
29614 (ARGIFY): Likewise.
29615 (internal_syscall0): Likewise.
29616 (internal_syscall1): Likewise.
29617 (internal_syscall2): Likewise.
29618 (internal_syscall3): Likewise.
29619 (internal_syscall4): Likewise.
29620 (internal_syscall5): Likewise.
29621 (internal_syscall6): Likewise.
29622 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
29623 (INTERNAL_SYSCALL_NCS): Remove define.
29624 (internal_syscall1): Add define.
29625
29626 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29627
29628 * math/w_remainder_compat.c: Remove duplicate inclusion of
29629 math-svid-compat.h.
29630 * math/w_remainderf_compat.c: Likewise.
29631 * math/w_remainderl_compat.c: Likewise.
29632
29633 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29634
29635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29636
29637 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29638
29639 [BZ #21684]
29640 * math/tgmath.h (__floating_type): Simplify definitions.
29641 (__real_integer_type): New macro.
29642 (__complex_integer_type): Likewise.
29643 (__expr_is_real): Likewise.
29644 (__tgmath_real_type_sub): Update comment to describe handling of
29645 complex types.
29646 (__tgmath_complex_type_sub): New macro.
29647 (__tgmath_complex_type): Likewise.
29648 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29649 (__TGMATH_CF128): Use __expr_is_real.
29650 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
29651 __expr_is_real.
29652 (__TGMATH_BINARY_REAL_IMAG): Likewise.
29653 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
29654 * math/gen-tgmath-tests.py (Type.create_type): Create complex
29655 integer types.
29656
29657 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29658
29659 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
29660 macro.
29661 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
29662 alias.
29663 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
29664 Likewise.
29665
29666 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
29667 nanosleep_not_cancel with __nanosleep_nocancel.
29668 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
29669 (__nanosleep_nocancel): New macro.
29670 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
29671 function.
29672 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
29673 macro.
29674 (__nanosleep_nocancel): New prototype.
29675
29676 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
29677 pause_not_cancel with __pause_nocancel.
29678 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
29679 (__pause_nocancel): New macro.
29680 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
29681 macro.
29682 (__pause_nocancel): New prototype.
29683 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
29684
29685 2017-08-22 Martin Sebor <msebor@redhat.com>
29686
29687 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
29688 to return a pointer to the same type as the target function.
29689
29690 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29691
29692 [BZ #18822]
29693 [BZ #21986]
29694 * include/printf.h (__printf_fphex): Add attribute_hidden.
29695 (__guess_grouping): New prototype.
29696 * stdio-common/printf_fp.c (__guess_grouping): Removed.
29697 * stdio-common/reg-printf.c (__register_printf_specifier): Add
29698 libc_hidden_proto and libc_hidden_def.
29699 * stdlib/strfmon_l.c (__guess_grouping): Removed.
29700 (__vstrfmon_l): Remove the third argument passed to
29701 __guess_grouping.
29702
29703 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29704
29705 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
29706 definition for issignaling that does not rely on __MATH_TG,
29707 since __MATH_TG uses __builtin_types_compatible_p, which is only
29708 available in C mode.
29709 (CFLAGS-test-math-issignaling.cc): New variable.
29710 * math/Makefile [CXX] (tests): Add test-math-issignaling.
29711 * math/test-math-issignaling.cc: New test for C++ implementation
29712 of type-generic issignaling.
29713 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29714 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
29715 options of test-math-issignaling on powerpc64le.
29716
29717 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29718
29719 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29720 building libc.a.
29721 (hidden_proto): Likewise.
29722 (hidden_tls_proto): Likewise.
29723 (__hidden_proto): Likewise.
29724
29725 2017-08-22 Florian Weimer <fweimer@redhat.com>
29726
29727 math: Statically link tests of internal functionality.
29728 * math/Makefile (tests): Remove atest-exp, atest-sincos,
29729 atest-exp2.
29730 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
29731 (gmp-objs): Remove assignment.
29732 (atest-exp, atest-sincos, atest-exp2): Remove targets.
29733
29734 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29735
29736 [BZ #21987]
29737 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
29738 and copy to ...
29739 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
29740 ... here.
29741 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
29742 ... and here.
29743
29744 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
29745 variable definitions above inclusion of ../Rules.
29746
29747 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29748
29749 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
29750 case calling __builtin_unreachable.
29751
29752 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29753
29754 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
29755 __waitpid_nocancel.
29756 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
29757 (__waitpid_nocancel): New macro.
29758 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
29759 macro.
29760 (__waitpid_nocancel): Replace macro with a function.
29761 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
29762 function.
29763
29764 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
29765 __fcntl_nocancel.
29766 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
29767 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
29768
29769 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
29770 __writev_nocancel_nostatus.
29771 (write_call_graph): Likewise.
29772 (write_bb_counts): Likewise.
29773 * resolv/herror.c (herror): Likewise.
29774 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
29775 macro.
29776 (__writev_nocancel_nostatus): New macro.
29777 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
29778 Remove macro.
29779 (__writev_nocancel_nostatus): New function.
29780
29781 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29782
29783 Revert:
29784 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29785
29786 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29787 building libc.a.
29788 (hidden_proto): Likewise.
29789 (hidden_tls_proto): Likewise.
29790 (__hidden_proto): Likewise.
29791
29792 [BZ #21973]
29793 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
29794 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29796 Likewise.
29797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
29798 Likewise.
29799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29800 Likewise.
29801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
29802 Likewise.
29803 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
29804 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29805 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29806 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29807 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29808 GLIBC_2.0 sqrtl symbol.
29809
29810 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
29811 [__USE_MISC] (_LIB_VERSION): Likewise.
29812 [__USE_MISC] (struct exception): Likewise.
29813 [__USE_MISC] (matherr): Likewise.
29814 [__USE_MISC] (DOMAIN): Likewise.
29815 [__USE_MISC] (SING): Likewise.
29816 [__USE_MISC] (OVERFLOW): Likewise.
29817 [__USE_MISC] (UNDERFLOW): Likewise.
29818 [__USE_MISC] (TLOSS): Likewise.
29819 [__USE_MISC] (PLOSS): Likewise.
29820 [__USE_MISC] (HUGE): Likewise.
29821 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
29822 * math/math-svid-compat.h: New file.
29823 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
29824 and matherrl.
29825 * include/math.h [!_ISOMAC] (__matherr): Remove.
29826 * manual/arith.texi (FP Exceptions): Do not document matherr.
29827 * math/Makefile (tests): Change test-matherr to test-matherr-3.
29828 (tests-internal): New variable.
29829 (install-lib): Do not add libieee.a.
29830 (non-lib.a): Likewise.
29831 (extra-objs): Do not add libieee.a and ieee-math.o.
29832 (CPPFLAGS-s_lib_version.c): Remove variable.
29833 ($(objpfx)libieee.a): Remove rule.
29834 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
29835 * math/ieee-math.c: Remove.
29836 * math/libm-test-support.c (matherr): Remove.
29837 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
29838 and license notices. Include <math-svid-compat.h> and
29839 <shlib-compat.h>.
29840 (matherr): Undefine as macro. Use compat_symbol_reference.
29841 (_LIB_VERSION): Likewise.
29842 * math/test-matherr-2.c: New file.
29843 * math/test-matherr-3.c: Likewise.
29844 * sysdeps/generic/math_private.h (__kernel_standard): Remove
29845 declaration.
29846 (__kernel_standard_f): Likewise.
29847 (__kernel_standard_l): Likewise.
29848 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
29849 <math_private.h>. Include <math-svid-compat.h>.
29850 (_LIB_VERSION): Undefine as macro.
29851 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
29852 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
29853 [LIBM_SVID_COMPAT], use compat_symbol.
29854 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
29855 <math_private.h>. Include <math-svid-compat.h>.
29856 (matherr): Undefine as macro.
29857 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
29858 compat_symbol.
29859 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
29860 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
29861 compat_symbol_reference.
29862 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
29863 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
29864 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
29865 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
29866 (MATHERR_D): Remove declaration.
29867 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
29868 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
29869 [LIBM_BUILD] (pmatherrf): Likewise.
29870 [LIBM_BUILD] (pmatherr): Likewise.
29871 [LIBM_BUILD] (pmatherrl): Likewise.
29872 (DOMAIN): Likewise.
29873 (SING): Likewise.
29874 (OVERFLOW): Likewise.
29875 (UNDERFLOW): Likewise.
29876 (TLOSS): Likewise.
29877 (PLOSS): Likewise.
29878 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
29879 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
29880 compat_symbol.
29881 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
29882 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
29883 compat_symbol.
29884 * math/lgamma-compat.h: Include <math-svid-compat.h>.
29885 * math/w_acos_compat.c: Likewise.
29886 * math/w_acosf_compat.c: Likewise.
29887 * math/w_acosh_compat.c: Likewise.
29888 * math/w_acoshf_compat.c: Likewise.
29889 * math/w_acoshl_compat.c: Likewise.
29890 * math/w_acosl_compat.c: Likewise.
29891 * math/w_asin_compat.c: Likewise.
29892 * math/w_asinf_compat.c: Likewise.
29893 * math/w_asinl_compat.c: Likewise.
29894 * math/w_atan2_compat.c: Likewise.
29895 * math/w_atan2f_compat.c: Likewise.
29896 * math/w_atan2l_compat.c: Likewise.
29897 * math/w_atanh_compat.c: Likewise.
29898 * math/w_atanhf_compat.c: Likewise.
29899 * math/w_atanhl_compat.c: Likewise.
29900 * math/w_cosh_compat.c: Likewise.
29901 * math/w_coshf_compat.c: Likewise.
29902 * math/w_coshl_compat.c: Likewise.
29903 * math/w_exp10_compat.c: Likewise.
29904 * math/w_exp10f_compat.c: Likewise.
29905 * math/w_exp10l_compat.c: Likewise.
29906 * math/w_exp2_compat.c: Likewise.
29907 * math/w_exp2f_compat.c: Likewise.
29908 * math/w_exp2l_compat.c: Likewise.
29909 * math/w_fmod_compat.c: Likewise.
29910 * math/w_fmodf_compat.c: Likewise.
29911 * math/w_fmodl_compat.c: Likewise.
29912 * math/w_hypot_compat.c: Likewise.
29913 * math/w_hypotf_compat.c: Likewise.
29914 * math/w_hypotl_compat.c: Likewise.
29915 * math/w_j0_compat.c: Likewise.
29916 * math/w_j0f_compat.c: Likewise.
29917 * math/w_j0l_compat.c: Likewise.
29918 * math/w_j1_compat.c: Likewise.
29919 * math/w_j1f_compat.c: Likewise.
29920 * math/w_j1l_compat.c: Likewise.
29921 * math/w_jn_compat.c: Likewise.
29922 * math/w_jnf_compat.c: Likewise.
29923 * math/w_jnl_compat.c: Likewise.
29924 * math/w_lgamma_main.c: Likewise.
29925 * math/w_lgamma_r_compat.c: Likewise.
29926 * math/w_lgammaf_main.c: Likewise.
29927 * math/w_lgammaf_r_compat.c: Likewise.
29928 * math/w_lgammal_main.c: Likewise.
29929 * math/w_lgammal_r_compat.c: Likewise.
29930 * math/w_log10_compat.c: Likewise.
29931 * math/w_log10f_compat.c: Likewise.
29932 * math/w_log10l_compat.c: Likewise.
29933 * math/w_log2_compat.c: Likewise.
29934 * math/w_log2f_compat.c: Likewise.
29935 * math/w_log2l_compat.c: Likewise.
29936 * math/w_log_compat.c: Likewise.
29937 * math/w_logf_compat.c: Likewise.
29938 * math/w_logl_compat.c: Likewise.
29939 * math/w_pow_compat.c: Likewise.
29940 * math/w_powf_compat.c: Likewise.
29941 * math/w_powl_compat.c: Likewise.
29942 * math/w_remainder_compat.c: Likewise.
29943 * math/w_remainderf_compat.c: Likewise.
29944 * math/w_remainderl_compat.c: Likewise.
29945 * math/w_scalb_compat.c: Likewise.
29946 * math/w_scalbf_compat.c: Likewise.
29947 * math/w_scalbl_compat.c: Likewise.
29948 * math/w_sinh_compat.c: Likewise.
29949 * math/w_sinhf_compat.c: Likewise.
29950 * math/w_sinhl_compat.c: Likewise.
29951 * math/w_sqrt_compat.c: Likewise.
29952 * math/w_sqrtf_compat.c: Likewise.
29953 * math/w_sqrtl_compat.c: Likewise.
29954 * math/w_tgamma_compat.c: Likewise.
29955 * math/w_tgammaf_compat.c: Likewise.
29956 * math/w_tgammal_compat.c: Likewise.
29957 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
29958 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29959 * sysdeps/ieee754/k_standard.c: Likewise.
29960 * sysdeps/ieee754/k_standardf.c: Likewise.
29961 * sysdeps/ieee754/k_standardl.c: Likewise.
29962 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29963 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29964 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29965 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29966 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29967 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29968 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29969 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
29970 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29972 Likewise.
29973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29974 Likewise.
29975 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
29976 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29977 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29978 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29979
29980 2017-08-21 Florian Weimer <fweimer@redhat.com>
29981
29982 [BZ #21864]
29983 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
29984 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
29985 Move before inclusion of ../Rules.
29986
29987 2017-08-21 Florian Weimer <fweimer@redhat.com>
29988
29989 [BZ #21972]
29990 * assert/assert.h (assert): Use static_cast (bool) for C++.
29991 Use the ternary operator in the warning branch for GNU C.
29992 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
29993 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
29994 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
29995 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
29996 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
29997
29998 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29999
30000 [BZ #18822]
30001 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30002 (__syscall_clock_gettime): Add attribute_hidden.
30003 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
30004 (__start_context): Likewise.
30005
30006 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30007
30008 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30009 building libc.a.
30010 (hidden_proto): Likewise.
30011 (hidden_tls_proto): Likewise.
30012 (__hidden_proto): Likewise.
30013
30014 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30015
30016 * include/libc-symbols.h (attribute_hidden): Enable hidden
30017 visibility in libc.a compiled with PIE.
30018
30019 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30020
30021 [BZ #18822]
30022 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
30023 Add attribute_hidden.
30024
30025 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30026
30027 [BZ #21864]
30028 * Makerules (all-nonlib): Add $(others-extras).
30029 * catgets/Makefile (others-extras): New.
30030 * elf/Makefile (others-extras): Likewise.
30031 * nss/Makefile (others-extras): Likewise.
30032
30033 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30034
30035 [BZ #18822]
30036 * csu/libc-start.c (__libc_multiple_libcs): Removed.
30037 * elf/dl-open.c: Include <libc-internal.h>.
30038 (__libc_multiple_libcs): Removed.
30039 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
30040 <hp-timing.h>.
30041 * include/libc-internal.h (__libc_multiple_libcs): New.
30042 * misc/sbrk.c: Include <libc-internal.h>.
30043 (__libc_multiple_libcs): Removed.
30044
30045 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30046
30047 [BZ #18822]
30048 * grp/initgroups.c (__nss_group_database): Removed.
30049 (__nss_initgroups_database): Likewise.
30050 * nscd/gai.c (__nss_hosts_database): Likewise.
30051 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
30052 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
30053 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
30054 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
30055 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
30056 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
30057 attribute_hidden.
30058 * nss/nsswitch.c (__nss_database_custom): Define only if
30059 USE_NSCD is defined.
30060 (__nss_configure_lookup): Use __nss_database_custom only if
30061 USE_NSCD is defined.
30062 * nss/nsswitch.h (__nss_database_custom): Declare only if
30063 USE_NSCD is defined. Add attribute_hidden.
30064 (__nss_setent): Add attribute_hidden.
30065 (__nss_endent): Likewise.
30066 (__nss_getent_r): Likewise.
30067 (__nss_getent): Likewise.
30068 (DEFINE_DATABASE): Declare __nss_##arg##_database.
30069
30070 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30071
30072 [BZ #18822]
30073 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
30074 libc_hidden_proto and libc_hidden_def.
30075
30076 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30077
30078 [BZ #18822]
30079 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
30080 Add libc_hidden_proto.
30081 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
30082 Add libc_hidden_def.
30083
30084 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30085
30086 [BZ #21974]
30087 * gmon/Makefile (routines): Remove bb_init_func and
30088 bb_exit_func.
30089 (elide-routines.os): Removed.
30090 * gmon/bb_exit_func.c: Likewise.
30091 * gmon/bb_init_func.c: Likewise.
30092 * include/sys/gmon.h (__bb): Likewise.
30093 (__bb_init_func): Likewise.
30094 (__bb_exit_func): Likewise.
30095 * sysdeps/alpha/bb_init_func.S: Likewise.
30096
30097 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30098
30099 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
30100 * include/setjmp.h (____longjmp_chk): Here. Add
30101 attribute_hidden.
30102
30103 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
30104
30105 [BZ #18822]
30106 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
30107 attribute_hidden.
30108 (__strspn_sse2): Likewise.
30109
30110 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30111
30112 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
30113 (close_not_cancel_no_status): Likewise.
30114 (__close_nocancel): New macro.
30115 (__close_nocancel_nostatus): Likewise.
30116 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
30117 macro.
30118 (close_not_cancel): Likewise.
30119 (close_not_cancel_no_status): Likewise.
30120 (__close_nocancel): New prototype.
30121 (__close_nocancel_nostatus): New function.
30122 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
30123 * catgets/open_catalog.c (__open_catalog): Replace
30124 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
30125 * gmon/gmon.c (write_gmon): Likewise.
30126 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
30127 * intl/loadmsgcat.c (close): Likewise.
30128 * io/ftw.c (open_dir_stream): Likewise.
30129 (ftw_startup): Likewise.
30130 * libio/fileops.c (_IO_file_open): Likewise.
30131 (_IO_file_close_mmap): Likewise.
30132 (_IO_file_close): Likewise.
30133 * libio/iopopen.c (_IO_dup2): Likewise.
30134 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30135 * locale/loadlocale.c (_nl_load_locale): Likewise.
30136 * login/utmp_file.c (pututline_file): Likewise.
30137 (endutent_file): Likewise.
30138 * misc/daemon.c (daemon): Likewise.
30139 * nscd/nscd_getai.c (__nscd_getai): Likewise.
30140 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30141 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30142 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30143 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30144 * nscd/nscd_helper.c (open_socket): Likewise.
30145 (__nscd_open_socket): Likewise.
30146 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
30147 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
30148 (__nscd_innetgr): Likewise.
30149 * nss/nss_db/db-open.c (internal_setent): Likewise.
30150 * resolv/res-close.c (__res_iclose): Likewise.
30151 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
30152 * sysdeps/posix/closedir.c (__closedir): Likewise.
30153 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
30154 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30155 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30156 (opendir_tail): Likewise.
30157 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30158 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
30159 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
30160 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30161 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30162 (gethostid): Likewise.
30163 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30164 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30165 Likewise.
30166 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30167 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
30168 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30169 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30170 Likewise.
30171 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
30172 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
30173 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30174 Likewise.
30175 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
30176 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30177 Likewise.
30178 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30179 Likewise.
30180 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30181 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30182 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30183 __close_nocancel.
30184
30185 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
30186 (openat_not_cancel_3): Likewise.
30187 (openat64_not_cancel_3): Likewise).
30188 (openat_not_cancel_3): Likewise).
30189 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
30190 macro.
30191 (openat_not_cancel_3): Likewise.
30192 (openat64_not_cancel): Likewise.
30193 (openat64_not_cancel_3): Likewise.
30194 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
30195 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
30196 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
30197 __open{64}_nocancel.
30198 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30199 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30200 * sysdeps/posix/opendir.c (__opendirat): Likewise.
30201
30202 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30203
30204 [BZ #18822]
30205 * include/argz.h (__argz_create_sep): New function prototype.
30206 (__argz_append): Likewise.
30207 (__argz_add): Likewise.
30208 (__argz_add_sep): Likewise.
30209 (__argz_delete): Likewise.
30210 (__argz_insert): Likewise.
30211 (__argz_replace): Likewise.
30212 * string/argz.h (__argz_create_sep): Removed.
30213 (__argz_append): Likewise.
30214 (__argz_add): Likewise.
30215 (__argz_add_sep): Likewise.
30216 (__argz_delete): Likewise.
30217 (__argz_insert): Likewise.
30218 (__argz_replace): Likewise.
30219
30220 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30221
30222 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
30223 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
30224 (GNU_PROPERTY_STACK_SIZE): Likewie.
30225 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
30226 (GNU_PROPERTY_LOPROC): Likewise.
30227 (GNU_PROPERTY_HIPROC): Likewise.
30228 (GNU_PROPERTY_LOUSER): Likewise.
30229 (GNU_PROPERTY_HIUSER): Likewise.
30230 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
30231 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
30232 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
30233 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
30234 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
30235 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
30236 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
30237 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
30238 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
30239 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
30240 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
30241 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
30242 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
30243 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
30244 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
30245 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
30246 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
30247 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
30248 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
30249 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
30250 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
30251 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
30252 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
30253
30254 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30255
30256 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
30257 in C++ mode.
30258
30259 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30260
30261 [BZ #21930]
30262 * math/math.h (isinf): Check if in C or C++ mode before using
30263 __builtin_types_compatible_p, since this is a C mode feature.
30264
30265 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30266
30267 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
30268 (__write_nocancel): New macro.
30269 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
30270 Rewrite as a function prototype.
30271 (write_not_cancel): Remove macro.
30272 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
30273 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
30274 (write_gmon): Likewise.
30275 * libio/fileops.c (_IO_new_file_write): Likewise.
30276 * login/utmp_file.c (pututline_file): Likewise.
30277 (updwtmp_file): Likewise.
30278 * stdio-common/psiginfo.c (psiginfo): Likewise.
30279 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30280 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30281 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30282 Likewise.
30283 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30284 Likewise.
30285
30286 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
30287 (__read_nocancel): New macro.
30288 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30289 __read_nocancel.
30290 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
30291 macro.
30292 (__read_nocancel): New prototype.
30293 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
30294 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
30295 with __read_nocancel.
30296 * intl/loadmsgcat.c (read): Likewise.
30297 * libio/fileops.c (_IO_file_read): Likewise.
30298 * locale/loadlocale.c (_nl_load_locale): Likewise.
30299 * login/utmp_file.c (getutent_r_file): Likewise.
30300 (internal_getut_r): Likewise.
30301 (getutline_r_file): Likewise.
30302 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30303 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30304 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30305 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30306 Likewise.
30307 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
30308 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30309 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30310 Likewise.
30311 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30312 Likewise.
30313 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30314 Likewise.
30315 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30316 Likewise.
30317 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30318
30319 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30320
30321 [BZ #21966]
30322 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
30323 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
30324 usable.
30325
30326 2017-08-17 DJ Delorie <dj@redhat.com>
30327
30328 * bug17079.c: Update to new test harness.
30329 * test-digits-dots.c: Likewise.
30330 * test-netdb.c: Likewise.
30331 * tst-field.c: Likewise.
30332 * tst-nss-getpwent.c: Likewise.
30333 * tst-nss-static.c: Likewise.
30334 * tst-nss-test1.c: Likewise.
30335 * tst-nss-test2.c: Likewise.
30336 * tst-nss-test3.c: Likewise.
30337 * tst-nss-test4.c: Likewise.
30338 * tst-nss-test5.c: Likewise.
30339
30340 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30341
30342 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
30343 (open_not_cancel_2): Likewise.
30344 (open_nocancel): New macro.
30345 (open64_nocancel): Likewise.
30346 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
30347 (open_not_cancel_2): Likewise.
30348 (__open_nocancel): New prototype.
30349 (__open64_nocancel): Likewise.
30350 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30351 __open_nocancel.
30352 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
30353 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
30354 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
30355 with __open_nocancel.
30356 * csu/check_fds.c (check_one_fd): Likewise.
30357 * gmon/gmon.c (write_gmon): Likewise.
30358 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
30359 * intl/loadmsgcat.c (open): Likewise.
30360 * libio/fileops.c (_IO_file_open): Likewise.
30361 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30362 * locale/loadlocale.c (_nl_load_locale): Likewise.
30363 * login/utmp_file.c (setutent_file): Likewise.
30364 * misc/daemon.c (daemon): Likewise.
30365 * nss/nss_db/db-open.c (internal_setent): Likewise.
30366 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30367 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
30368 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30369 (__opendir): Likewise.
30370 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30371 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30372 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30373 (gethostid): Likewise.
30374 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30375 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30376 Likewise.
30377 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30378 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
30379 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30380 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30381 Likewise.
30382 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30383 Likewise.
30384 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30385 Likewise.
30386 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
30387 Likewise.
30388 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30389 Likewise.
30390 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30391 Likewise.
30392 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30393 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30394
30395 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
30396
30397 * benchtests/bench-skeleton.c (main): Add support for
30398 latency benchmarking.
30399 * benchtests/scripts/bench.py: Add support for latency benchmarking.
30400
30401 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
30402
30403 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
30404 the startup object.
30405
30406 2017-08-17 Florian Weimer <fweimer@redhat.com>
30407
30408 * include/sys/socket.h (__opensock): Remove internal_function.
30409 * socket/opensock.c (__opensock): Likewise.
30410 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
30411
30412 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30413
30414 [BZ #21944]
30415 * signal/bits/types/__sigval_t.h: New file.
30416 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
30417 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
30418 and define sigval_t using __sigval_t.
30419 * include/bits/types/__sigval_t.h: New file.
30420 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
30421 instead of <bits/types/__sigval_t.h>.
30422 (struct sigevent): Use __sigval_t instead of sigval_t.
30423 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
30424 instead of <bits/types/__sigval_t.h>.
30425 (siginfo_t): Use __sigval_t instead of sigval_t.
30426 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
30427 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30428 (struct sigevent): Use __sigval_t instead of sigval_t.
30429 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
30430 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30431 (siginfo_t): Use __sigval_t instead of sigval_t.
30432 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
30433
30434 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30435
30436 * NEWS: Remove "[Add new features here]" for 2.27.
30437
30438 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30439
30440 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
30441 libc.so.
30442
30443 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30444
30445 * NEWS: Mention x86-64 FMA optimization.
30446
30447 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30448
30449 [BZ #21912]
30450 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30451 Add e_expf-fma.
30452 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
30453 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
30454 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
30455
30456 2017-08-16 Andreas Schwab <schwab@suse.de>
30457
30458 [BZ #16750]
30459 CVE-2009-5064
30460 * elf/ldd.bash.in: Never run file directly.
30461
30462 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
30463
30464 [BZ #21955]
30465 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
30466 (L(SP_INF_0)): Likewise.
30467
30468 2017-08-15 Florian Weimer <fweimer@redhat.com>
30469
30470 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
30471 run-built-tests.
30472
30473 2017-08-15 Florian Weimer <fweimer@redhat.com>
30474
30475 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
30476 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
30477 BROKEN_THREAD_SIGNALS code.
30478 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
30479 request_list): Remove caller_pid member used for
30480 BROKEN_THREAD_SIGNALS.
30481 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
30482 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30483 Remove BROKEN_THREAD_SIGNALS support.
30484 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
30485 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
30486
30487 2017-08-15 Florian Weimer <fweimer@redhat.com>
30488
30489 * gmon/Makefile (tests): Add tst-gmon.
30490 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
30491 Set.
30492 (tests-special): Add tst-gmon-prof.out.
30493 (tst-gmon.out): Depend on clean-tst-gmon-data.
30494 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
30495 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
30496 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
30497 startup object.
30498 * aclocal.m4 (GPROF): Set and substitute.
30499 * config.amke.in (GPROF): Set.
30500 * configure: Regenerate.
30501
30502 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
30503
30504 * elf/elf.h A (NT_PPC_TAR): New macro.
30505 (NT_PPC_PPR): Likewise.
30506 (NT_PPC_DSCR): Likewise.
30507 (NT_PPC_EBB): Likewise.
30508 (NT_PPC_PMU): Likewise.
30509 (NT_PPC_TM_CGPR): Likewise.
30510 (NT_PPC_TM_CFPR): Likewise.
30511 (NT_PPC_TM_CVMX): Likewise.
30512 (NT_PPC_TM_CVSX): Likewise.
30513 (NT_PPC_TM_SPR): Likewise.
30514 (NT_PPC_TM_CTAR): Likewise.
30515 (NT_PPC_TM_CPPR): Likewise.
30516 (NT_PPC_TM_CDSCR): Likewise.
30517
30518 2017-08-15 Florian Weimer <fweimer@redhat.com>
30519
30520 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
30521 regparm (2) instead of internal_function.
30522 (_MCOUNT_DECL): Adjust.
30523
30524 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
30525
30526 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
30527 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
30528
30529 2017-08-14 Joseph Myers <joseph@codesourcery.com>
30530
30531 * conform/data/sys/wait.h-data (si_value): Do not expect for
30532 XPG42.
30533
30534 2017-08-14 Florian Weimer <fweimer@redhat.com>
30535
30536 [BZ #21962]
30537 NSS: Create stubs for accidentally exported lookup functions.
30538 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
30539 Remove declaration.
30540 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
30541 (ether_hostton): Call __nss_ethers_lookup2 instead.
30542 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
30543 (ether_ntohost): Call __nss_ethers_lookup2 instead.
30544 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
30545 (setup): Call __nss_netgroup_lookup2 instead.
30546 * nss/Makefile (routines): Add compat-lookup.
30547 * nss/Versions (GLIBC_2.27): Add symbol version.
30548 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
30549 (DB_COMPAT_FCT): Remove.
30550 * nss/compat-lookup.c: New file.
30551 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
30552 from databases.def.
30553 * nss/service-lookup.c (NO_COMPAT): Remove definition.
30554 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
30555 (netname2user): Call __nss_publickey_lookup2 instead.
30556 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
30557 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
30558 instead.
30559
30560 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30561 Sergei Trofimovich <slyfox@inbox.ru>
30562
30563 [BZ #21908]
30564 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
30565 Rename to MMAP2_PAGE_UNIT.
30566 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
30567 __OFF_T_MATCHES_OFF64_T is not defined.
30568 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
30569 uint64_t.
30570 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
30571 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
30572
30573 2017-08-14 Florian Weimer <fweimer@redhat.com>
30574
30575 i386: Do not set internal_function.
30576 * config.h.in (USE_REGPARMS, internal_function): Remove.
30577 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
30578 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
30579
30580 2017-08-14 Florian Weimer <fweimer@redhat.com>
30581
30582 * elf/dl-init.c (_dl_init): Remove internal_function.
30583 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
30584 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
30585
30586 2017-08-14 Florian Weimer <fweimer@redhat.com>
30587
30588 * elf/rtld.c (_dl_start): Remove internal_function.
30589 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
30590 _dl_start.
30591
30592 2017-08-14 Florian Weimer <fweimer@redhat.com>
30593
30594 * elf/dl-fini.c (_dl_fini): Remove internal_function
30595 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30596
30597 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
30598
30599 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
30600 (bit_cpu_SHSTK): Likewise.
30601 (index_cpu_IBT): Likewise.
30602 (index_cpu_SHSTK): Likewise.
30603 (reg_IBT): Likewise.
30604 (reg_SHSTK): Likewise.
30605 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30606 Handle index_cpu_IBT and index_cpu_SHSTK.
30607
30608 2017-08-14 Mike FABIAN <mfabian@redhat.com>
30609
30610 [BZ #19982]
30611 * po/fr.po: Fix spelling mistake.
30612
30613 2017-08-13 Florian Weimer <fweimer@redhat.com>
30614
30615 * elf/dl-addr.c (_dl_addr): Remove internal_function.
30616 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
30617 (_dl_catch_error, _dl_receive_error): Likewise.
30618 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
30619 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
30620 (_dl_deallocate_tls): Likewise.
30621 * include/dlfcn.h (_dl_addr): Likewise.
30622 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
30623 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
30624 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
30625 Likewise.
30626
30627 2017-08-13 Florian Weimer <fweimer@redhat.com>
30628
30629 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
30630 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
30631 internal_function.
30632 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
30633
30634 2017-08-13 Florian Weimer <fweimer@redhat.com>
30635
30636 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
30637 internal_function.
30638 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
30639 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
30640 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
30641 internal_function from _dl_make_stack_executable_hook member.
30642 (_dl_make_stack_executable): Remove internal_function.
30643 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
30644 Likewise.
30645 * sysdeps/unix/sysv/linux/dl-execstack.c
30646 (_dl_make_stack_executable): Likewise.
30647
30648 2017-08-13 Florian Weimer <fweimer@redhat.com>
30649
30650 * sysdeps/unix/sysv/linux/netlinkaccess.h
30651 (__netlink_assert_response): Remove internal_function.
30652 * sysdeps/unix/sysv/linux/netlink_assert_response.c
30653 (__netlink_assert_response): Likewise.
30654
30655 2017-08-13 Florian Weimer <fweimer@redhat.com>
30656
30657 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
30658 internal_function.
30659 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
30660
30661 2017-08-13 Florian Weimer <fweimer@redhat.com>
30662
30663 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
30664 internal_function.
30665 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
30666 * inet/netgroup.h (__internal_setnetgrent)
30667 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30668 * inet/getnetgrent_r.c (__internal_setnetgrent)
30669 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30670 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
30671 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
30672 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
30673 * nss/nsswitch.h (db_lookup_function): Likewise.
30674
30675 2017-08-13 Florian Weimer <fweimer@redhat.com>
30676
30677 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
30678 Remove internal_function.
30679 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
30680 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
30681 message argument on the stack.
30682 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
30683 Likeweise.
30684
30685 2017-08-12 Mike FABIAN <mfabian@redhat.com>
30686
30687 Adapt test case data to the changes in the thousands
30688 separators.
30689
30690 [BZ #20756]
30691 * localedata/tst-langinfo.sh: Adapt test case data.
30692 * stdlib/tst-strfmon_l.c: Likewise.
30693 * stdlib/tst-strtod4.c: Likewise.
30694 * stdlib/tst-strtod5i.c: Likewise.
30695
30696 2017-08-11 Florian Weimer <fweimer@redhat.com>
30697
30698 [BZ #21242]
30699 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
30700 Suppress pedantic warning resulting from statement expression.
30701 (__ASSERT_FUNCTION): Add missing __extension__.
30702
30703 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30704
30705 * benchtests/bench-memmove-large.c: Print output in JSON
30706 format.
30707 * benchtests/bench-memmove.c: Likewise.
30708
30709 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
30710 * benchtests/bench-memchr.c (do_one_test): Likewise.
30711 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
30712 * benchtests/bench-memcpy.c (do_one_test): Likewise.
30713 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
30714 * benchtests/bench-memmove.c (do_one_test): Likewise.
30715 * benchtests/bench-memset-large.c (do_one_test): Likewise.
30716 * benchtests/bench-memset.c (do_one_test): Likewise.
30717 * benchtests/bench-string.h (test_init): Remove memsets.
30718
30719 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30720
30721 * manual/lang.texi
30722 (Computing the Width of an Integer Data Type): Rename section to
30723 "Width of an Integer Type". Remove inaccurate statement regarding
30724 lack of C language facilities for determining width of integer
30725 types, and reorder content to improve flow and context of
30726 discussion.
30727
30728 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30729
30730 * lang.texi (va_copy): Change standard from ISO to C99.
30731 (__va_copy): Add standard and header annotation.
30732 Update description for clarity of origins and current use.
30733
30734 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30735
30736 [BZ #21941]
30737 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
30738 xssqrtqp requires operands to be in Vector Registers
30739 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
30740 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
30741 (__ieee754_sqrtf128): Likewise.
30742
30743 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
30744
30745 * sysdeps/aarch64/memcmp.S (memcmp):
30746 Rewrite of optimized memcmp.
30747
30748 2017-08-10 Florian Weimer <fweimer@redhat.com>
30749
30750 Introduce ld.so exceptions.
30751 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
30752 (_dl_exception_create, _dl_exception_create_format)
30753 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
30754 (_dl_catch_exception): Declare.
30755 (_dl_catch_error): Update comment.
30756 * elf/dl-error-skeleton.c (struct catch): Replace objname,
30757 errstring, malloced members with exception member.
30758 (_dl_out_of_memory): Remove.
30759 (fatal_error): New function, extracted from _dl_signal_error.
30760 (_dl_signal_exception, _dl_signal_cexception): New functions.
30761 (_dl_signal_error): Call _dl_exception_create to allocate an
30762 exception object.
30763 (_dl_catch_exception): New function, based on _dl_catch_error.
30764 (_dl_catch_error): Implement using _dl_catch_exception.
30765 * elf/dl-exception.c: New file.
30766 * elf/Makefile (dl-routines): Add dl-exception.
30767 (elide-routines.os): Likewise.
30768 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
30769 _dl_exception_create_format, _dl_exception_free.
30770 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
30771 _dl_signal_exception.
30772 * elf/dl-lookup.c (make_string): Remove.
30773 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
30774 _dl_signal_cexception, _dl_exception_free.
30775 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
30776 _dl_signal_exception.
30777 * elf/dl-sym.c (do_sym): Likewise.
30778 * elf/dl-version.c (make_string): Remove.
30779 (match_symbol): Use _dl_exception_create_format,
30780 _dl_signal_cexception, _dl_exception_free.
30781 (_dl_check_map_versions): Likewise.
30782 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
30783 _dl_catch_exception.
30784 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
30785 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
30786 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
30787 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
30788 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
30789 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
30790 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
30791 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
30792 Likewise.
30793 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
30794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
30795 (ld.so): Likewise.
30796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
30797 (ld.so): Likewise.
30798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
30799 Likewise.
30800 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
30801 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
30802 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
30803 Likewise.
30804 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
30805 Likewise.
30806 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
30807
30808 2017-08-10 Florian Weimer <fweimer@redhat.com>
30809
30810 * inet/net-internal.h (__inet6_scopeid_pton): Remove
30811 attribute_hidden, internal_function.
30812 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
30813 internal_function.
30814
30815 2017-08-10 Florian Weimer <fweimer@redhat.com>
30816
30817 * malloc/malloc.c (get_max_fast): Reimplement as an inline
30818 function which calls __builtin_unreachable.
30819
30820 2017-08-10 Mike FABIAN <mfabian@redhat.com>
30821
30822 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
30823 Indian monetary formatting
30824 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
30825 test cases.
30826
30827 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
30828
30829 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
30830 Fix typo in comment.
30831
30832 [BZ #21928]
30833 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
30834 PTRACE_SEIZE_DEVEL): Remove.
30835 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
30836 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30837 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30838 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30839 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30840
30841 2017-08-09 Joseph Myers <joseph@codesourcery.com>
30842
30843 * posix/bits/types.h (__qaddr_t): Remove.
30844
30845 [BZ #21457]
30846 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
30847 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30848 __glibc_reserved1.
30849 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
30850 (ucontext_t): Use __ctx with uc_flags.
30851 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
30852 (__ctxt): Likewise.
30853 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30854 __glibc_reserved1.
30855 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
30856 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30857 __glibc_reserved1.
30858 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
30859 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30860 __glibc_reserved1.
30861 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
30862 macro.
30863 (ucontext_t): Use __ctx with uc_flags.
30864 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
30865 (ucontext_t): Use __ctx with uc_flags.
30866 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
30867 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
30868 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
30869 (ucontext_t): Use __ctx with uc_flags.
30870 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
30871 undefine further down.
30872 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30873 __glibc_reserved1.
30874 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
30875 undefine further down.
30876 (ucontext_t): Use __ctx with uc_flags.
30877 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
30878 undefine further down.
30879 (ucontext_t): Use __ctx with uc_flags.
30880 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
30881 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
30882 Rename uc_pad to __glibc_reserved1.
30883 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
30884 undefine further down.
30885 (ucontext_t): Use __ctx with uc_flags.
30886 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
30887 further down.
30888 (ucontext_t): Use __ctx with uc_flags.
30889 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
30890 __ctx with uc_flags.
30891 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
30892 (ucontext_t): Use __ctx with uc_flags.
30893 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
30894 __ctx with uc_flags.
30895
30896 2017-08-09 Florian Weimer <fweimer@redhat.com>
30897
30898 [BZ #21932]
30899 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
30900 before early return.
30901
30902 2017-08-09 Andreas Schwab <schwab@suse.de>
30903
30904 [BZ #21041]
30905 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
30906 renamed alias.
30907
30908 [BZ #21041]
30909 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
30910 tst-compat-forwarder.
30911 (modules-names): Add tst-compat-forwarder-mod.
30912 ($(objpfx)tst-compat-forwarder): Depend on
30913 $(objpfx)tst-compat-forwarder-mod.so.
30914 * nptl/tst-compat-forwarder.c: New file.
30915 * nptl/tst-compat-forwarder-mod.c: New file.
30916
30917 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
30918
30919 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
30920 comments.
30921
30922 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
30923 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
30924 memcpy_falkor.
30925 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
30926 Bump.
30927 (__libc_ifunc_impl_list): Add __memcpy_falkor.
30928 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
30929 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
30930 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30931 Add falkor.
30932 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
30933 New macro.
30934
30935 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30936
30937 [BZ #759]
30938 * manual/setjmp.texi (getcontex): Document uc_stack value
30939 compatibility differences.
30940
30941 2017-08-08 Joseph Myers <joseph@codesourcery.com>
30942
30943 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
30944 (old_malloc_hook): Likewise.
30945 (old_memalign_hook): Likewise.
30946 (old_realloc_hook): Likewise.
30947 (struct hdr): Likewise.
30948 (flood): Likewise.
30949 (freehook): Likewise.
30950 (mallochook): Likewise.
30951 (memalignhook): Likewise.
30952 (reallochook): Likewise.
30953 (mprobe): Likewise.
30954 * malloc/mtrace.c (mallwatch): Likewise.
30955 (tr_old_free_hook): Likewise.
30956 (tr_old_malloc_hook): Likewise.
30957 (tr_old_realloc_hook): Likewise.
30958 (tr_old_memalign_hook): Likewise.
30959 (tr_where): Likewise.
30960 (lock_and_info): Likewise.
30961 (tr_freehook): Likewise.
30962 (tr_mallochook): Likewise.
30963 (tr_reallochook): Likewise.
30964 (tr_memalignhook): Likewise.
30965 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
30966 * misc/mmap.c (__mmap): Likewise.
30967 * misc/mmap64.c (__mmap64): Likewise.
30968 * misc/mprotect.c (__mprotect): Likewise.
30969 * misc/msync.c (msync): Likewise.
30970 * misc/munmap.c (__munmap): Likewise.
30971 * posix/posix_madvise.c (posix_madvise): Likewise.
30972 * socket/send.c (__send): Likewise.
30973 * socket/sendto.c (__sendto): Likewise.
30974 * socket/setsockopt.c (__setsockopt): Likewise.
30975 * string/memcmp.c (__ptr_t): Remove macro.
30976 (MEMCMP): Use void * instead of ptr_t.
30977 * string/memrchr.c (__ptr_t): Remove macro.
30978 (__memrchr): Use void * instead of ptr_t.
30979 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
30980 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30981 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30982 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
30983 * sysdeps/mach/msync.c (msync): Likewise.
30984 * sysdeps/mach/munmap.c (__munmap): Likewise.
30985 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
30986 Likewise.
30987 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30988 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
30989 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
30990 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
30991 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
30992 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
30993 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
30994 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
30995 Likewise.
30996 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
30997 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
30998 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
30999 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
31000 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
31001 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
31002 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
31003 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
31004 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
31005 Likewise.
31006 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
31007 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
31008 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
31009 (MEMCMP): Use void * instead of ptr_t.
31010 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
31011 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
31012
31013 2017-08-08 Florian Weimer <fweimer@redhat.com>
31014
31015 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
31016 return statement.
31017
31018 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
31019
31020 [BZ #21913]
31021 * csu/libc-tls.c: Include <startup.h> first.
31022 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
31023 * elf/dl-tunables.c: Include <startup.h> first.
31024 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
31025 * sysdeps/generic/startup.h: New file.
31026 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
31027 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
31028 (I386_USE_SYSENTER): New. Defined to 0.
31029
31030 2017-08-08 Andreas Schwab <schwab@suse.de>
31031
31032 [BZ #21041]
31033 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
31034 * nptl/pt-system.c (system): Likewise.
31035
31036 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31037
31038 [BZ #21780]
31039 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
31040 EOPNOTSUPP.
31041 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
31042 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
31043 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
31044 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
31045 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
31046 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
31047 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
31048
31049 2017-08-07 Joseph Myers <joseph@codesourcery.com>
31050
31051 [BZ #21899]
31052 * bits/sigaction.h (struct sigaction): Define sa_handler and
31053 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
31054 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31055 [__USE_XOPEN_EXTENDED].
31056 (SA_RESTART): Likewise.
31057 (SA_NODEFER): Likewise.
31058 (SA_RESETHAND): Likewise.
31059 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
31060 (struct sigaction): Define sa_handler and sa_sigaction using union
31061 also for [__USE_XOPEN_EXTENDED].
31062 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31063 [__USE_XOPEN_EXTENDED].
31064 (SA_RESTART): Likewise.
31065 (SA_NODEFER): Likewise.
31066 (SA_RESETHAND): Likewise.
31067 * sysdeps/unix/sysv/linux/bits/sigaction.h
31068 (struct sigaction): Define sa_handler and sa_sigaction using union
31069 also for [__USE_XOPEN_EXTENDED].
31070 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31071 [__USE_XOPEN_EXTENDED].
31072 (SA_RESTART): Likewise.
31073 (SA_NODEFER): Likewise.
31074 (SA_RESETHAND): Likewise.
31075 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
31076 (struct sigaction): Define sa_handler and sa_sigaction using union
31077 also for [__USE_XOPEN_EXTENDED].
31078 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31079 [__USE_XOPEN_EXTENDED].
31080 (SA_RESTART): Likewise.
31081 (SA_NODEFER): Likewise.
31082 (SA_RESETHAND): Likewise.
31083 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
31084 (struct sigaction): Define sa_handler and sa_sigaction using union
31085 also for [__USE_XOPEN_EXTENDED].
31086 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31087 [__USE_XOPEN_EXTENDED].
31088 (SA_RESTART): Likewise.
31089 (SA_NODEFER): Likewise.
31090 (SA_RESETHAND): Likewise.
31091 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
31092 (struct sigaction): Define sa_handler and sa_sigaction using union
31093 also for [__USE_XOPEN_EXTENDED].
31094 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31095 [__USE_XOPEN_EXTENDED].
31096 (SA_RESTART): Likewise.
31097 (SA_NODEFER): Likewise.
31098 (SA_RESETHAND): Likewise.
31099 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
31100 (struct sigaction): Define sa_handler and sa_sigaction using union
31101 also for [__USE_XOPEN_EXTENDED].
31102 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31103 [__USE_XOPEN_EXTENDED].
31104 (SA_RESTART): Likewise.
31105 (SA_NODEFER): Likewise.
31106 (SA_RESETHAND): Likewise.
31107 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
31108 (struct sigaction): Define sa_handler and sa_sigaction using union
31109 also for [__USE_XOPEN_EXTENDED].
31110 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31111 [__USE_XOPEN_EXTENDED].
31112 (SA_RESTART): Likewise.
31113 (SA_NODEFER): Likewise. Define directly rather than as alias.
31114 (SA_RESETHAND): Likewise.
31115 (SA_INTERRUPT): Define only for [__USE_MISC].
31116 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
31117 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
31118 [__USE_MISC].
31119 (SA_STACK): Define only for [__USE_MISC].
31120 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
31121 (struct sigaction): Define sa_handler and sa_sigaction using union
31122 also for [__USE_XOPEN_EXTENDED].
31123 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31124 [__USE_XOPEN_EXTENDED].
31125 (SA_RESTART): Likewise.
31126 (SA_NODEFER): Likewise.
31127 (SA_RESETHAND): Likewise.
31128 (SA_NOPTRACE): Define only for [__USE_MISC].
31129
31130 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
31131 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
31132 (struct catalog_info): Likewise.
31133 * inet/htontest.c (lo): Likewise.
31134 (foo): Likewise.
31135 * inet/inet_lnaof.c (inet_lnaof): Likewise.
31136 * inet/inet_net.c (inet_network): Likewise.
31137 * inet/inet_netof.c (inet_netof): Likewise.
31138 * inet/rcmd.c (__ivaliduser): Likewise.
31139 (iruserok): Likewise.
31140 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
31141 * locale/programs/locale-spec.c (locale_special): Likewise.
31142 * nis/nis_findserv.c (struct findserv_req): Likewise.
31143 (__nis_findfastest_with_timeout): Likewise.
31144 * nss/test-netdb.c (test_network): Likewise.
31145 * resolv/inet_neta.c (inet_neta): Likewise.
31146 * resolv/ns_date.c (ns_datetosecs): Likewise.
31147 (SECS_PER_DAY): Likewise.
31148 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
31149 Likewise.
31150 * resolv/res_comp.c (__putlong): Likewise.
31151 (__putshort): Likewise.
31152 (_getlong): Likewise.
31153 (_getshort): Likewise.
31154 * resolv/res_debug.c (p_time): Likewise.
31155 (precsize_ntoa): Likewise.
31156 (precsize_aton): Likewise.
31157 (latlon2ul): Likewise.
31158 (loc_aton): Likewise.
31159 (loc_ntoa): Likewise.
31160 * resolv/res_hconf.c (struct netaddr): Likewise.
31161 (_res_hconf_reorder_addrs): Likewise.
31162 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
31163 (clnttcp_control): Likewise.
31164 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31165 (clntudp_control): Likewise.
31166 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
31167 (clntunix_control): Likewise.
31168 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
31169 * sunrpc/rpc/auth.h (union des_block): Likewise.
31170 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
31171 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
31172 (xdrrec_create): Likewise.
31173 (xdrrec_endofrecord): Likewise.
31174 (flush_out): Likewise.
31175 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
31176 (xdrstdio_putlong): Likewise.
31177 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
31178 Likewise.
31179
31180 * misc/sys/cdefs.h (__long_double_t): Remove.
31181 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
31182 instead of __long_double_t,
31183 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
31184
31185 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
31186
31187 * benchtests/scripts/compare_strings.py: Avoid display error when
31188 running on a text terminal.
31189
31190 * benchtests/scripts/compare_strings.py (main): Add an
31191 optional -base option.
31192 (process_results): New argument base_func.
31193
31194 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
31195 hardcoding memcpy.
31196 * benchtests/bench-memcpy-large.c (test_name): Likewise.
31197 * benchtests/bench-memcpy-random.c (test_name): Likewise.
31198
31199 2017-08-07 Andreas Schwab <schwab@suse.de>
31200
31201 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
31202 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
31203 * intl/Makefile ($(objpfx)tst-gettext.out)
31204 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
31205 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
31206 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
31207 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
31208 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
31209 * posix/Makefile ($(objpfx)globtest.out)
31210 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
31211 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
31212 ($(objpfx)tst-printf.out): Likewise.
31213 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
31214 ($(objpfx)tst-setcontext3.out): Likewise.
31215
31216 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
31217
31218 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31219 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
31220 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
31221 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
31222 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
31223 and mptan-fma.
31224 (CFLAGS-doasin-fma.c): New.
31225 (CFLAGS-dosincos-fma.c): Likewise.
31226 (CFLAGS-e_asin-fma.c): Likewise.
31227 (CFLAGS-e_atan2-fma.c): Likewise.
31228 (CFLAGS-e_exp-fma.c): Likewise.
31229 (CFLAGS-e_log-fma.c): Likewise.
31230 (CFLAGS-e_pow-fma.c): Likewise.
31231 (CFLAGS-halfulp-fma.c): Likewise.
31232 (CFLAGS-mpa-fma.c): Likewise.
31233 (CFLAGS-mpatan-fma.c): Likewise.
31234 (CFLAGS-mpatan2-fma.c): Likewise.
31235 (CFLAGS-mpexp-fma.c): Likewise.
31236 (CFLAGS-mplog-fma.c): Likewise.
31237 (CFLAGS-mpsqrt-fma.c): Likewise.
31238 (CFLAGS-mptan-fma.c): Likewise.
31239 (CFLAGS-s_atan-fma.c): Likewise.
31240 (CFLAGS-sincos32-fma.c): Likewise.
31241 (CFLAGS-slowexp-fma.c): Likewise.
31242 (CFLAGS-slowpow-fma.c): Likewise.
31243 (CFLAGS-s_sin-fma.c): Likewise.
31244 (CFLAGS-s_tan-fma.c): Likewise.
31245 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
31246 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
31247 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
31248 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
31249 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
31250 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
31251 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
31252 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
31253 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
31254 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
31255 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
31256 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
31257 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
31258 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
31259 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
31260 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
31261 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
31262 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
31263 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
31264 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
31265 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
31266 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
31267 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
31268 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
31269 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31270 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31271 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31272 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
31273 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31274 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31275 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31276
31277 2017-08-04 Joseph Myers <joseph@codesourcery.com>
31278
31279 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
31280 (min_of_type_f): New macro.
31281 (min_of_type_): Likewise.
31282 (min_of_type_l): Likewise.
31283 (min_of_type_f128): Likewise.
31284 (min_of_type): Define using __MATH_TG and taking an expression
31285 argument.
31286 (math_check_force_underflow): Pass expression instead of type to
31287 min_of_type.
31288 (math_check_force_underflow_nonneg): Likewise.
31289
31290 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31291
31292 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31293 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
31294 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
31295
31296 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31297
31298 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31299 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
31300 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
31301 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
31302 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
31303 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
31304 memcpy_chk-nonshared, mempcpy_chk-nonshared,
31305 memmove_chk-nonshared and memset_chk-nonshared
31306 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
31307 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
31308 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
31309 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
31310 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
31311 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
31312 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
31313 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
31314 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
31315 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
31316 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
31317 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
31318 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
31319 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
31320 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
31321 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
31322 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
31323 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
31324 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
31325 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
31326 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
31327 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
31328 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
31329 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
31330 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
31331 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
31332 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
31333 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
31334 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
31335 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
31336 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
31337 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
31338 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
31339 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31340 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31341 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
31342 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
31343 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
31344 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
31345 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
31346 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
31347 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
31348 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
31349 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
31350 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
31351 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
31352 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
31353 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
31354 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
31355 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
31356 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
31357 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
31358 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
31359 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
31360 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
31361 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
31362 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
31363 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
31364 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
31365 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
31366 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
31367 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
31368 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
31369 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
31370 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
31371 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
31372 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
31373 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
31374 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
31375 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
31376 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
31377 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31378 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31379 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31380 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31381 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31382 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31383 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31384 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31385 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31386 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31387 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31388 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31389 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31390 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31391 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31392 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31393 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31394 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31395 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31396 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31397 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31398 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31399 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31400 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31401 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31402 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31403 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31404 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31405 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31406 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31407 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31408 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31409 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31410 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31411 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31412 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31413 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31414
31415 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31416
31417 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
31418 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
31419 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
31420 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
31421 svml_d_log2_core-sse2, svml_d_log4_core-sse,
31422 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
31423 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
31424 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
31425 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
31426 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
31427 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
31428 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
31429 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
31430 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
31431 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
31432 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
31433 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
31434 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
31435 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
31436 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
31437 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
31438 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
31439 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
31440 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
31441 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
31442 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
31443 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
31444 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
31445 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
31446 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
31447 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
31448 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
31449 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
31450 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
31451 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
31452 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
31453 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
31454 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
31455 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
31456 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
31457 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
31458 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
31459 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
31460 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
31461 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
31462 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
31463 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
31464 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
31465 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
31466 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
31467 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
31468 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
31469 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
31470 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
31471 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
31472 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
31473 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
31474 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
31475 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
31476 ...
31477 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
31478 Don't include <sysdep.h> nor <init-arch.h>.
31479 (_ZGVbN2v_cos): Removed.
31480 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
31481 ...
31482 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
31483 Don't include <sysdep.h> nor <init-arch.h>.
31484 (_ZGVdN4v_cos): Removed.
31485 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
31486 ...
31487 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
31488 Don't include <sysdep.h> nor <init-arch.h>.
31489 (_ZGVeN8v_cos): Removed.
31490 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
31491 ...
31492 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
31493 Don't include <sysdep.h> nor <init-arch.h>.
31494 (_ZGVbN2v_exp): Removed.
31495 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
31496 ...
31497 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
31498 Don't include <sysdep.h> nor <init-arch.h>.
31499 (_ZGVdN4v_exp): Removed.
31500 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
31501 ...
31502 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
31503 Don't include <sysdep.h> nor <init-arch.h>.
31504 (_ZGVeN8v_exp): Removed.
31505 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
31506 ...
31507 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
31508 Don't include <sysdep.h> nor <init-arch.h>.
31509 (_ZGVbN2v_log): Removed.
31510 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
31511 ...
31512 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
31513 Don't include <sysdep.h> nor <init-arch.h>.
31514 (_ZGVdN4v_log): Removed.
31515 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
31516 ...
31517 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
31518 Don't include <sysdep.h> nor <init-arch.h>.
31519 (_ZGVeN8v_log): Removed.
31520 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
31521 ...
31522 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
31523 Don't include <sysdep.h> nor <init-arch.h>.
31524 (_ZGVbN2vv_pow): Removed.
31525 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
31526 ...
31527 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
31528 Don't include <sysdep.h> nor <init-arch.h>.
31529 (_ZGVdN4vv_pow): Removed.
31530 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
31531 ...
31532 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
31533 Don't include <sysdep.h> nor <init-arch.h>.
31534 (_ZGVeN8vv_pow): Removed.
31535 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
31536 ...
31537 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
31538 Don't include <sysdep.h> nor <init-arch.h>.
31539 (_ZGVbN2v_sin): Removed.
31540 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
31541 ...
31542 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
31543 Don't include <sysdep.h> nor <init-arch.h>.
31544 (_ZGVbN4v_sin): Removed.
31545 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
31546 ...
31547 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
31548 Don't include <sysdep.h> nor <init-arch.h>.
31549 (_ZGVbN8v_sin): Removed.
31550 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
31551 ...
31552 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
31553 Don't include <sysdep.h> nor <init-arch.h>.
31554 (_ZGVbN2vvv_sincos): Removed.
31555 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
31556 ...
31557 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
31558 Don't include <sysdep.h> nor <init-arch.h>.
31559 (_ZGVdN4vvv_sincos): Removed.
31560 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
31561 ...
31562 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
31563 Don't include <sysdep.h> nor <init-arch.h>.
31564 (_ZGVeN8vvv_sincos): Removed.
31565 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
31566 ...
31567 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
31568 Don't include <sysdep.h> nor <init-arch.h>.
31569 (_ZGVeN16v_cosf): Removed.
31570 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
31571 ...
31572 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
31573 Don't include <sysdep.h> nor <init-arch.h>.
31574 (_ZGVbN4v_cosf): Removed.
31575 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
31576 ...
31577 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
31578 Don't include <sysdep.h> nor <init-arch.h>.
31579 (_ZGVdN8v_cosf): Removed.
31580 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
31581 ...
31582 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
31583 Don't include <sysdep.h> nor <init-arch.h>.
31584 (_ZGVeN16v_expf): Removed.
31585 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
31586 ...
31587 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
31588 Don't include <sysdep.h> nor <init-arch.h>.
31589 (_ZGVbN4v_expf): Removed.
31590 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
31591 ...
31592 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
31593 Don't include <sysdep.h> nor <init-arch.h>.
31594 (_ZGVdN8v_expf): Removed.
31595 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
31596 ...
31597 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
31598 Don't include <sysdep.h> nor <init-arch.h>.
31599 (_ZGVeN16v_logf): Removed.
31600 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
31601 ...
31602 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
31603 Don't include <sysdep.h> nor <init-arch.h>.
31604 (_ZGVbN4v_logf): Removed.
31605 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
31606 ...
31607 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
31608 Don't include <sysdep.h> nor <init-arch.h>.
31609 (_ZGVdN8v_logf): Removed.
31610 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
31611 ...
31612 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
31613 Don't include <sysdep.h> nor <init-arch.h>.
31614 (_ZGVeN16vv_powf): Removed.
31615 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
31616 ...
31617 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
31618 Don't include <sysdep.h> nor <init-arch.h>.
31619 (_ZGVbN4vv_powf): Removed.
31620 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
31621 ...
31622 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
31623 Don't include <sysdep.h> nor <init-arch.h>.
31624 (_ZGVdN8vv_powf): Removed.
31625 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
31626 ...
31627 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
31628 Don't include <sysdep.h> nor <init-arch.h>.
31629 (_ZGVeN16vvv_sincosf): Removed.
31630 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
31631 ...
31632 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
31633 Don't include <sysdep.h> nor <init-arch.h>.
31634 (_ZGVbN4vvv_sincosf): Removed.
31635 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
31636 ...
31637 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
31638 Don't include <sysdep.h> nor <init-arch.h>.
31639 (_ZGVdN8vvv_sincosf): Removed.
31640 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
31641 ...
31642 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
31643 Don't include <sysdep.h> nor <init-arch.h>.
31644 (_ZGVeN16v_sinf): Removed.
31645 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
31646 ...
31647 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
31648 Don't include <sysdep.h> nor <init-arch.h>.
31649 (_ZGVbN4v_sinf): Removed.
31650 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
31651 ...
31652 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
31653 Don't include <sysdep.h> nor <init-arch.h>.
31654 (_ZGVdN8v_sinf): Removed.
31655
31656 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31657
31658 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31659 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
31660 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
31661 s_rint-sse4_1 and s_rintf-sse4_1.
31662 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
31663 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
31664 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
31665 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
31666 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
31667 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
31668 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
31669 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
31670 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
31671 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
31672 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
31673 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31674 (__ceil): Removed.
31675 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
31676 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
31677 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31678 (__ceilf): Removed.
31679 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
31680 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
31681 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31682 (__floor): Removed.
31683 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
31684 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
31685 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31686 (__floorf): Removed.
31687 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
31688 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
31689 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31690 (__nearbyint): Removed.
31691 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
31692 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
31693 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31694 (__nearbyintf): Removed.
31695 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
31696 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
31697 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31698 (__rint): Removed.
31699 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
31700 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
31701 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31702 (__rintf): Removed.
31703
31704 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31705
31706 * sysdeps/i386/start.S (_start): Check Check PIC instead of
31707 SHARED. Avoid dynamic relocation against main in static PIE.
31708
31709 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31710
31711 [BZ #21815]
31712 * elf/Makefile (CFLAGS-tst-prelink.c): New.
31713 (LDFLAGS-tst-prelink): Likewise.
31714
31715 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31716
31717 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
31718 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
31719 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
31720 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
31721 (INTERNAL_SYSCALL_NCS): Likewise.
31722 (LOADARGS_1): Likewise.
31723 (LOADARGS_5): Likewise.
31724 (RESTOREARGS_1): Likewise.
31725 (RESTOREARGS_5): Likewise.
31726
31727 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31728
31729 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
31730 (MEMPCPY_SYMBOL): Likewise.
31731 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31732 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
31733 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
31734 in libc.a.
31735 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31736 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
31737 Likewise.
31738 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
31739 (__hidden_ver1): Don't use in libc.a.
31740 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
31741 (__mempcpy): Don't create a weak alias in libc.a.
31742 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
31743 libc.a.
31744 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
31745 (__hidden_ver1): Don't use in libc.a.
31746
31747 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31748
31749 * config.make.in (have-insert): New.
31750 * configure.ac (libc_cv_insert): New. Set to yes if linker
31751 supports INSERT in linker script.
31752 (AC_SUBST(libc_cv_insert): New.
31753 * configure: Regenerated.
31754 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
31755 if $(have-insert) == yes.
31756
31757 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31758
31759 * elf/Makefile (tests): Add vismain only if
31760 $(have-protected-data) == yes.
31761 (tests-pie): Likewise.
31762
31763 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31764
31765 [BZ #21871]
31766 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
31767 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
31768
31769 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31770
31771 [BZ #21790]
31772 * sysdeps/i386/i586/memset.S
31773 (__memset_zero_constant_len_parameter): Removed.
31774 * sysdeps/i386/i686/memset.S
31775 (__memset_zero_constant_len_parameter): Likewise.
31776 * sysdeps/i386/i686/multiarch/memset_chk.S
31777 (__memset_zero_constant_len_parameter): Likewise.
31778 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
31779 Likewise.
31780
31781 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31782
31783 * stdlib/getentropy.c (getentropy): Change return type to int.
31784
31785 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31786
31787 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
31788
31789 2017-08-03 Joseph Myers <joseph@codesourcery.com>
31790
31791 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
31792 u_intN_t.
31793 * math/s_nexttowardf.c (__nexttowardf): Likewise.
31794 * sysdeps/generic/math_private.h (ieee_double_shape_type):
31795 Likewise.
31796 (ieee_float_shape_type): Likewise.
31797 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
31798 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
31799 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31800 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31801 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
31802 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
31803 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
31804 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
31805 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
31806 Likewise.
31807 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
31808 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
31809 (__ieee754_yn): Likewise.
31810 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31811 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31812 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
31813 Likewise.
31814 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31815 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
31816 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
31817 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
31818 (__erfc): Likewise.
31819 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
31820 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
31821 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
31822 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
31823 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
31824 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
31825 Likewise.
31826 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
31827 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
31828 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
31829 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
31830 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
31831 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
31832 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
31833 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
31834 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
31835 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
31836 (__issignaling): Likewise.
31837 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
31838 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
31839 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31840 Likewise.
31841 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31842 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
31843 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
31844 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
31845 Likewise.
31846 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
31847 Likewise.
31848 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
31849 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
31850 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
31851 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
31852 (__erfcf): Likewise.
31853 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
31854 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31855 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
31856 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
31857 Likewise.
31858 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
31859 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
31860 Likewise.
31861 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
31862 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
31863 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
31864 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
31865 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
31866 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31867 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
31868 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
31869 Likewise.
31870 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
31871 Likewise.
31872 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
31873 Likewise.
31874 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
31875 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31876 Likewise.
31877 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
31878 Likewise.
31879 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31880 (__ieee754_ynl): Likewise.
31881 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
31882 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
31883 Likewise.
31884 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
31885 Likewise.
31886 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
31887 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
31888 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31889 Likewise.
31890 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
31891 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
31892 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
31893 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
31894 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
31895 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31896 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
31897 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
31898 Likewise.
31899 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
31900 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
31901 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
31902 Likewise.
31903 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
31904 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
31905 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
31906 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
31907 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
31908 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31909 Likewise.
31910 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31911 Likewise.
31912 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31913 Likewise.
31914 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31915 Likewise.
31916 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
31917 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31918 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31919 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
31920 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
31921 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
31922 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
31923 Likewise.
31924 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31925 Likewise.
31926 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31927 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31928 Likewise.
31929 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
31930 (__ieee754_remainderl): Likewise.
31931 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31932 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31933 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31934 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31935 Likewise.
31936 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31937 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31938 Likewise.
31939 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31940 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
31941 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
31942 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
31943 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
31944 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31945 Likewise.
31946 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
31947 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
31948 (__ieee754_y0l): Likewise.
31949 (pzero): Likewise.
31950 (qzero): Likewise.
31951 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31952 (__ieee754_y1l): Likewise.
31953 (pone): Likewise.
31954 (qone): Likewise.
31955 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31956 (__ieee754_ynl): Likewise.
31957 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
31958 (__ieee754_lgammal_r): Likewise.
31959 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
31960 Likewise.
31961 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
31962 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
31963 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
31964 (__erfcl): Likewise.
31965 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
31966 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
31967 Likewise.
31968 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
31969 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
31970 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
31971 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
31972 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
31973 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31974 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31975 Likewise.
31976 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
31977 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31978 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
31979 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
31980 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31981 Likewise.
31982 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
31983 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
31984 Likewise.
31985 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
31986 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
31987 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
31988 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31989 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
31990
31991 2017-08-03 Florian Weimer <fweimer@redhat.com>
31992
31993 [BZ #21885]
31994 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
31995 on memory allocation failure.
31996
31997 2017-08-03 Alan Modra <amodra@gmail.com>
31998
31999 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
32000 tst-tlsopt-powerpc.c with function name change and no test harness.
32001 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
32002 Call tls_get_addr_opt_test.
32003 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
32004 (modules-names): Add mod-tlsopt-powerpc.
32005 (mod-tlsopt-powerpc.so-no-z-defs): Define.
32006 (tst-tlsopt-powerpc): Depend on .so.
32007 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
32008 define. Expand use in TLS_GD and TLS_LD.
32009
32010 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32011
32012 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
32013 function.
32014 * sysdeps/posix/shm_open.c: Include <pthread.h>.
32015
32016 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32017
32018 [BZ #21686]
32019 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
32020 comparing size with that of double.
32021 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32022 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32023 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32024 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32025 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32026 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
32027 unsigned __int128 types.
32028
32029 2017-08-02 Steve Ellcey <sellcey@cavium.com>
32030
32031 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
32032 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
32033 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
32034 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
32035 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
32036
32037 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32038
32039 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
32040
32041 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32042
32043 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
32044 of SHARED.
32045 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
32046 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32047 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32048 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32049 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32050 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32051 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32052
32053 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32054
32055 [BZ #21685]
32056 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
32057 bit-field expressions passed to sizeof or typeof.
32058 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32059 (__TGMATH_F128): Likewise.
32060 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32061 (__TGMATH_CF128): Likewise.
32062 (__TGMATH_UNARY_REAL_ONLY): Likewise.
32063 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
32064 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
32065 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
32066 (__TGMATH_BINARY_REAL_ONLY): Likewise.
32067 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32068 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32069 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32070 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32071 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
32072 (__TGMATH_UNARY_REAL_IMAG): Likewise.
32073 (__TGMATH_UNARY_IMAG): Likewise.
32074 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
32075 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32076 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
32077 type.
32078 (define_vars_for_type): Handle bit_field type specially.
32079 (Tests.__init__): Declare structure with bit-field element.
32080
32081 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32082
32083 [BZ #21791]
32084 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
32085 (MEMCPY_CHK): Define only if SHARED is defined.
32086 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
32087 Likewise.
32088 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
32089 Likewise.
32090
32091 See ChangeLog.18 for earlier changes.