]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
malloc: Various cleanups for malloc/tst-mxfast
[thirdparty/glibc.git] / ChangeLog
1 2019-08-15 Florian Weimer <fweimer@redhat.com>
2
3 * malloc/Makefile (tests): Only add tst-mxfast for
4 $(have-tunables).
5 * malloc/tst-mxfast.c: Fix copyright year.
6 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
7 assert for checks.
8
9 2019-08-09 DJ Delorie <dj@redhat.com>
10
11 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
12 * manual/tunables.texi: Document it.
13 * malloc/malloc.c (do_set_mxfast): New.
14 (__libc_mallopt): Call it.
15 * malloc/arena.c: Add mxfast tunable.
16 * malloc/tst-mxfast.c: New.
17 * malloc/Makefile: Add it.
18
19 2019-08-08 Niklas Hambüchen <mail@nh2.me>
20 Carlos O'Donell <carlos@redhat.com>
21
22 [BZ #24026]
23 * malloc/malloc.c (__malloc_info): Account for top chunk.
24
25 2019-08-01 Florian Weimer <fweimer@redhat.com>
26
27 [BZ #24867]
28 * malloc/malloc.c (__malloc_info): Remove unwanted leading
29 whitespace.
30
31 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
32
33 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
34 (tcache_put): Remove redundant assert.
35 (tcache_get): Remove redundant asserts.
36 (__libc_malloc): Check tcache count is not zero.
37 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
38
39 2019-02-04 Joseph Myers <joseph@codesourcery.com>
40
41 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
42 with 0, not tcache->entries[tc_idx].
43
44 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
45
46 [BZ #23403]
47 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
48 TLS_TCB_AT_TP tls variant.
49 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
50 Add alignment checks.
51 * support/Makefile (libsupport-routines): Add xposix_memalign and
52 xpthread_setstack.
53 * support/support.h: Add xposix_memalign.
54 * support/xthread.h: Add xpthread_attr_setstack.
55 * support/xposix_memalign.c: New File.
56 * support/xpthread_attr_setstack.c: Likewise.
57
58 2019-06-18 Florian Weimer <fweimer@redhat.com>
59
60 [BZ #24323]
61 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
62 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
63 fail when called from dlopen.
64 * elf/Makefile [have-fpie && build-shared] (tests): Add
65 tst-dlopen-pie.
66 (tst-dlopen-pie): Link with -ldl.
67 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
68 * elf/tst-dlopen-pie.c (do_test): New file.
69
70 2019-07-10 DJ Delorie <dj@redhat.com>
71 Sergei Trofimovich <slyfox@inbox.ru>
72
73 [BZ #24696]
74 [BZ #24695]
75 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
76 mappings.
77 * nss/tst-nss-db-endgrent.c: New.
78 * nss/tst-nss-db-endgrent.root: New.
79 * nss/tst-nss-db-endpwent.c: New.
80 * nss/tst-nss-db-endpwent.root: New.
81 * nss/Makefile: Add new tests.
82 * support/links-dso-program-c.c: Add selinux dependency.
83 * support/links-dso-program.cc: Add selinux dependency.
84 * support/Makefile: Build those with -lselinux if enabled.
85
86 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
87
88 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
89 * support/support.h (support_bindir_prefix): New variable.
90 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
91
92 * config.make.in (bindir): New variable.
93
94 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
95
96 [BZ #24259]
97 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
98 relocation.
99 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
100 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
101 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
102 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
103 and tst-cet-legacy-mod-6c.
104 (CFLAGS-tst-cet-legacy-5a.c): New.
105 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
106 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
107 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
108 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
109 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
110 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
111 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
112 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
113 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
114 ($(objpfx)tst-cet-legacy-5a): Likewise.
115 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
116 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
117 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
118 ($(objpfx)tst-cet-legacy-5b): Likewise.
119 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
120 (tst-cet-legacy-5b-ENV): Likewise.
121 ($(objpfx)tst-cet-legacy-6a): Likewise.
122 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
123 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
124 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
125 ($(objpfx)tst-cet-legacy-6b): Likewise.
126 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
127 (tst-cet-legacy-6b-ENV): Likewise.
128 * sysdeps/x86/tst-cet-legacy-5.c: New file.
129 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
130 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
131 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
132 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
133 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
134 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
135 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
136 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
137 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
138 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
139 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
140 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
141 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
142
143 2019-09-20 Joseph Myers <joseph@codesourcery.com>
144
145 * sysdeps/unix/sysv/linux/riscv/vfork.S: Do not include
146 <linux/sched.h>.
147 (CLONE_VM): New macro.
148 (CLONE_VFORK): Likewise.
149
150 2019-09-14 Aurelien Jarno <aurelien@aurel32.net>
151
152 [BZ #24986]
153 * sysdeps/unix/alpha/getegid.S: Move to ...
154 * sysdeps/unix/sysv/linux/alpha/getegid.S: ... here.
155 * sysdeps/unix/alpha/geteuid.S: Move to ...
156 * sysdeps/unix/sysv/linux/alpha/geteuid.S: ... here.
157 * sysdeps/unix/alpha/getppid.S: Move to ...
158 * sysdeps/unix/sysv/linux/alpha/getppid.S: ... here
159
160 2019-09-13 Wilco Dijkstra <wdijkstr@arm.com>
161
162 * string/memmem.c (__memmem): Rewrite to improve performance.
163
164 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
165
166 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
167 warning.
168 (two_way_long_needle): Block inlining.
169 * string/strstr.c (strstr2): Add new function.
170 (strstr3): Likewise.
171 (STRSTR): Completely rewrite strstr to improve performance.
172
173 2019-09-03 Aurelien Jarno <aurelien@aurel32.net>
174
175 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated using GCC 9.2.
176
177 2019-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
178
179 * sysdeps/hppa/fpu/libm-test-ulps: Update.
180
181 2019-08-15 Richard Henderson <rth@twiddle.net>
182
183 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
184 Do not redefine.
185 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
186 Do not redefine.
187
188 2019-07-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
189
190 [BZ #24699]
191 * posix/tst-mmap-offset.c: Mention BZ #24699.
192 (do_test_bz21270): Rename to do_test_large_offset and use
193 mmap64_maximum_offset to check for maximum expected offset value.
194 * sysdeps/generic/mmap_info.h: New file.
195 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
196 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
197 __NR_mmap2 is used.
198
199 2019-07-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
200
201 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Check
202 STO_AARCH64_VARIANT_PCS and bind such symbols at load time.
203
204 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
205
206 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
207 (DT_AARCH64_VARIANT_PCS): Define.
208
209 2019-06-28 Florian Weimer <fweimer@redhat.com>
210
211 [BZ #24744]
212 io: Remove the copy_file_range emulation.
213 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
214 not define and call copy_file_range_compat.
215 * io/Makefile (tests-static, tests-internal): Do not add
216 tst-copy_file_range-compat.
217 * io/copy_file_range-compat.c: Remove file.
218 * io/copy_file_range.c (copy_file_range): Define as stub.
219 * io/tst-copy_file_range-compat.c: Remove file.
220 * io/tst-copy_file_range.c (xdevfile): Remove variable.
221 (typical_sizes): Update comment. Remove 16K sizes.
222 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
223 Remove variables.
224 (find_maximum_offset, pipe_as_source, pipe_as_destination)
225 (delayed_write_failure_beginning, delayed_write_failure_end)
226 (cross_device_failure, enospc_failure_1, enospc_failure)
227 (oappend_failure): Remove functions.
228 (tests): Adjust test case list.
229 (do_test): Remove file system search code. Check for ENOSYS from
230 copy_file_range. Do not free xdevfile.
231 * manual/llio.texi (Copying File Data): Document ENOSYS error from
232 copy_file_range. Do not document the EXDEV error, which future
233 kernels may not report. Update the wording to reflect that
234 further errors are possible.
235 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
236 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
237 not undefine.
238 * sysdeps/unix/sysv/linux/arm/kernel-features.h
239 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
240 Likewise.
241 * sysdeps/unix/sysv/linux/kernel-features.h
242 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
243 Remove definition.
244 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
245 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
246 not undefine.
247 * sysdeps/unix/sysv/linux/sh/kernel-features.h
248 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
249 Likewise.
250
251 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
252 Florian Weimer <fweimer@redhat.com>
253
254 [BZ #24228]
255 * libio/genops.c (_IO_unbuffer_all)
256 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
257 buffers and access _IO_FILE_complete members of legacy libio streams.
258 * libio/tst-bz24228.c: New file.
259 * libio/tst-bz24228.map: Likewise.
260 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
261 [build-shared] (generated): Add tst-bz24228.mtrace and
262 tst-bz24228.check.
263 [run-built-tests && build-shared] (tests-special): Add
264 $(objpfx)tst-bz24228-mem.out.
265 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
266 ($(objpfx)tst-bz24228-mem.out): New rule.
267
268 2019-03-13 Zack Weinberg <zackw@panix.com>
269
270 * scripts/check-obsolete-constructs.py: New test script.
271 * scripts/check-installed-headers.sh: Remove tests for
272 obsolete typedefs, superseded by check-obsolete-constructs.py.
273 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
274 as a special test. Update commentary.
275 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
276 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
277 Update commentary.
278 * posix/sys/types.h (__u_intN_t): Remove.
279 (u_int8_t): Typedef using __uint8_t.
280 (u_int16_t): Typedef using __uint16_t.
281 (u_int32_t): Typedef using __uint32_t.
282 (u_int64_t): Typedef using __uint64_t.
283
284 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
285
286 * malloc/tst-memalign.c (do_test): Disable
287 -Walloc-size-larger-than= around tests of malloc with negative
288 sizes.
289 * malloc/tst-malloc-too-large.c (do_test): Likewise.
290
291 2019-05-22 Wilco Dijkstra <wdijkstr@arm.com>
292
293 [BZ #24531]
294 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
295 (do_set_tcache_count): Only update if count is small enough.
296 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
297
298 2019-05-15 Mark Wielaard <mark@klomp.org>
299
300 [BZ#24476]
301 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
302 __libc_once_get (once) and static_buf == NULL.
303 (__dlerror): Check we have a valid key, set result to static_buf
304 otherwise.
305
306 2019-05-15 Andreas Schwab <schwab@suse.de>
307
308 [BZ #20568]
309 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
310 __codecvt_do_length.
311 * libio/Makefile (tests): Add tst-wfile-sync.
312 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
313 * libio/tst-wfile-sync.c: New file.
314 * libio/tst-wfile-sync.input: New file.
315
316 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
317
318 [BZ #18035]
319 * elf/Makefile (tests-container): Add tst-pldd.
320 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
321 (E(find_maps)): Avoid use alloca, use default read file operations
322 instead of explicit LFS names, and fix infinite loop.
323 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
324 (get_process_info): Use _Static_assert instead of assert, use default
325 directory operations instead of explicit LFS names, and free some
326 leadek pointers.
327 * elf/tst-pldd.c: New file.
328
329 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
330
331 * support/Makefile (libsupport-routines): Add support_subprocess,
332 xposix_spawn, xposix_spawn_file_actions_addclose, and
333 xposix_spawn_file_actions_adddup2.
334 (tst-support_capture_subprocess-ARGS): New rule.
335 * support/capture_subprocess.h (support_capture_subprogram): New
336 prototype.
337 * support/support_capture_subprocess.c (support_capture_subprocess):
338 Refactor to use support_subprocess and support_capture_poll.
339 (support_capture_subprogram): New function.
340 * support/tst-support_capture_subprocess.c (write_mode_to_str,
341 str_to_write_mode, test_common, parse_int, handle_restart,
342 do_subprocess, do_subprogram, do_multiple_tests): New functions.
343 (do_test): Add support_capture_subprogram tests.
344 * support/subprocess.h: New file.
345 * support/support_subprocess.c: Likewise.
346 * support/xposix_spawn.c: Likewise.
347 * support/xposix_spawn_file_actions_addclose.c: Likewise.
348 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
349 * support/xspawn.h: Likewise.
350
351 2019-04-09 Carlos O'Donell <carlos@redhat.com>
352 Kwok Cheung Yeung <kcy@codesourcery.com>
353
354 [BZ #16573]
355 * malloc/mtrace.c: Define prototypes for all hooks.
356 (set_default_hooks): New function.
357 (set_trace_hooks): Likewise.
358 (save_default_hooks): Likewise.
359 (tr_freehook): Use new s*_hooks functions.
360 (tr_mallochook): Likewise.
361 (tr_reallochook): Likewise.
362 (tr_memalignhook): Likewise.
363 (mtrace): Likewise.
364 (muntrace): Likewise.
365
366 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
367
368 [BZ #22964]
369 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
370 era.
371
372 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
373
374 [BZ #24162]
375 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
376 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
377
378 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
379
380 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
381 Add HWCAP_S390_VX and HWCAP_S390_VXE.
382
383 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
384
385 CVE-2019-9169
386 regex: fix read overrun [BZ #24114]
387 Problem found by AddressSanitizer, reported by Hongxu Chen in:
388 https://debbugs.gnu.org/34140
389 * posix/regexec.c (proceed_next_node):
390 Do not read past end of input buffer.
391
392 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
393
394 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
395 call _dl_procinfo.
396 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
397 Ignore types other than AT_HWCAP.
398 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
399 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
400 Likewise.
401 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
402 in the case of falling back to generic output mechanism.
403 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
404 Likewise.
405
406 2019-02-15 Florian Weimer <fweimer@redhat.com>
407
408 [BZ #24211]
409 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
410 pd->result after the thread descriptor has been freed.
411
412 2019-02-08 Florian Weimer <fweimer@redhat.com>
413
414 [BZ #24161]
415 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
416 argument.
417 * nptl/register-atfork.c (__run_fork_handlers): Only perform
418 locking if the new do_locking argument is true.
419 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
420 __run_fork_handlers.
421
422 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
423
424 [BZ #24180]
425 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
426 Add compiler barriers and comments.
427
428 2019-02-05 Florian Weimer <fweimer@redhat.com>
429
430 [BZ #24164]
431 arm: Use "nr" constraint for Systemtap probes, to avoid the
432 compiler using memory operands for constants, due to the "o"
433 alternative in the default "nor" constraint.
434 * include/stap-probe.h [USE_STAP_PROBE]: Include
435 <stap-probe-machine.h>
436 * sysdeps/generic/stap-probe-machine.h: New file.
437 * sysdeps/arm/stap-probe-machine.h: Likewise.
438
439 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
440
441 [BZ #24155]
442 CVE-2019-7309
443 * NEWS: Updated for CVE-2019-7309.
444 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
445 upper 32 bits of RDX register for x32. Use unsigned Jcc
446 instructions, instead of signed.
447 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
448 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
449
450 2019-01-31 Carlos O'Donell <carlos@redhat.com>
451 Torvald Riegel <triegel@redhat.com>
452 Rik Prohaska <prohaska7@gmail.com>
453
454 [BZ# 23844]
455 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
456 tst-rwlock-trywrlock-stall.
457 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
458 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
459 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
460 Set __wrphase_fute to 1 only if we started the write phase.
461 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
462 * nptl/tst-rwlock-trywrlock-stall.c: New file.
463 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
464 * support/xpthread_rwlock_destroy.c: New file.
465 * support/xthread.h: Declare xpthread_rwlock_destroy.
466
467 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
468
469 * version.h (RELEASE): Set to "stable".
470 (VERSION): Set to "2.29".
471 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
472
473 * NEWS: Add the list of bugs fixed in 2.29.
474 * manual/contrib.texi: Update contributors list with some more
475 names.
476 * manual/install.texi: Update latest versions of packages
477 tested.
478 * INSTALL: Regenerated.
479
480 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
481
482 * po/be.po: Update translations.
483 * po/bg.po: Likewise.
484 * po/ca.po: Likewise.
485 * po/cs.po: Likewise.
486 * po/da.po: Likewise.
487 * po/de.po: Likewise.
488 * po/el.po: Likewise.
489 * po/eo.po: Likewise.
490 * po/es.po: Likewise.
491 * po/fi.po: Likewise.
492 * po/fr.po: Likewise.
493 * po/gl.po: Likewise.
494 * po/hr.po: Likewise.
495 * po/hu.po: Likewise.
496 * po/ia.po: Likewise.
497 * po/id.po: Likewise.
498 * po/it.po: Likewise.
499 * po/ja.po: Likewise.
500 * po/ko.po: Likewise.
501 * po/lt.po: Likewise.
502 * po/nb.po: Likewise.
503 * po/nl.po: Likewise.
504 * po/pl.po: Likewise.
505 * po/pt_BR.po: Likewise.
506 * po/ru.po: Likewise.
507 * po/rw.po: Likewise.
508 * po/sk.po: Likewise.
509 * po/sl.po: Likewise.
510 * po/sv.po: Likewise.
511 * po/tr.po: Likewise.
512 * po/uk.po: Likewise.
513 * po/vi.po: Likewise.
514 * po/zh_CN.po: Likewise.
515 * po/zh_TW.po: Likewise.
516
517 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
518
519 [BZ #24130]
520 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
521 of $f3 register on $y_is_neg path.
522
523 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
524
525 [BZ #24110]
526 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
527 sigaltstack.ss_flags.
528
529 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
530
531 [BZ #23758]
532 * manual/time.texi (strftime): Document "%Ey".
533 * time/strftime_l.c (__strftime_internal): Set the default width
534 padding with zero of "%Ey" to 2.
535
536 [BZ #24096]
537 * manual/time.texi (strftime): Document "%EC" and "%EY".
538 * time/Makefile (tests): Add tst-strftime2.
539 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
540 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
541 override padding for "%Ey".
542 If an optional flag ('_' or '-') is specified to "%EY", interpret the
543 "%Ey" in the subformat as if decorated with that flag.
544 * time/tst-strftime2.c: New file.
545
546 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
547
548 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
549 are not defined.
550
551 [BZ #24122]
552 * elf/Makefile (tests): Add tst-audit13.
553 (modules-names): Add tst-audit13mod1.
554 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
555 rule.
556 * elf/rtld.c (dl_main): Handle invalid audit module version.
557 * elf/tst-audit13.c: New file.
558 * elf/tst-audit13mod1.c: Likewise.
559
560 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
561
562 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
563 returned by __hurd_at_flags.
564 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
565 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
566 directly instead of __hurd_file_name_lookup.
567
568 2019-01-21 Joseph Myers <joseph@codesourcery.com>
569
570 * scripts/build-many-glibcs.py (Context.checkout): Default
571 binutils version to 2.32 branch.
572
573 2019-01-21 Florian Weimer <fweimer@redhat.com>
574
575 [BZ #20018]
576 CVE-2016-10739
577 resolv: Reject trailing characters in host names
578 * include/arpa/inet.h (__inet_aton_exact): Declare.
579 (inet_aton): Remove hidden prototype. No longer used internally.
580 * nscd/gai.c (__inet_aton): Do not define.
581 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
582 * nss/digits_dots.c (__inet_aton): Likewise.
583 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
584 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
585 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
586 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
587 (tst-resolv-trailing): Likewise.
588 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
589 libc.
590 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
591 Make static. Add endp parameter.
592 (__inet_aton_exact): New function.
593 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
594 (__inet_addr): Call inet_aton_end.
595 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
596 not just IPv6. Call __inet_aton_exact.
597 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
598 (tests): Make const. Add additional test cases with trailing
599 characters.
600 (do_test): Use array_length.
601 * resolv/tst-inet_aton_exact.c: New file.
602 * resolv/tst-resolv-trailing.c: Likewise.
603 * resolv/tst-resolv-nondecimal.c: Likewise.
604 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
605
606 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
607
608 [BZ# 24097]
609 CVE-2019-6488
610 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
611 Clear the upper 32 bits of RSI register.
612 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
613 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
614 and tst-size_t-wcsnlen.
615 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
616 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
617
618 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
619
620 [BZ# 24097]
621 CVE-2019-6488
622 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
623 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
624 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
625 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
626 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
627
628 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
629
630 [BZ# 24097]
631 CVE-2019-6488
632 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
633 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
634 * sysdeps/x86_64/strcmp.S: Likewise.
635 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
636 tst-size_t-strncmp and tst-size_t-wcsncmp.
637 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
638 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
639 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
640
641 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
642
643 [BZ# 24097]
644 CVE-2019-6488
645 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
646 RDX_LP for length. Clear the upper 32 bits of RDX register.
647 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
648 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
649 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
650 * sysdeps/x86_64/x32/tst-size_t-wmemset.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/memrchr.S: Use RDX_LP for length.
657 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
658 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
659 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
660
661 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
662
663 [BZ# 24097]
664 CVE-2019-6488
665 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
666 length. Clear the upper 32 bits of RDX register.
667 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
668 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
669 Likewise.
670 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
671 Likewise.
672 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
673 tst-size_t-wmemchr.
674 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
675
676 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
677
678 [BZ# 24097]
679 CVE-2019-6488
680 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
681 length. Clear the upper 32 bits of RDX register.
682 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
683 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
684 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
685 tst-size_t-wmemcmp.
686 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
687 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
688
689 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
690
691 [BZ# 24097]
692 CVE-2019-6488
693 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
694 upper 32 bits of RDX register.
695 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
696 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
697 tst-size_t-wmemchr.
698 * sysdeps/x86_64/x32/test-size_t.h: New file.
699 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
700 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
701
702 2019-01-18 Florian Weimer <fweimer@redhat.com>
703
704 [BZ #24112]
705 resolv: Do not send queries for non-host-names in nss_dns.
706 * resolv/nss_dns/dns-host.c (check_name): New function.
707 (_nss_dns_gethostbyname2_r): Use it.
708 (_nss_dns_gethostbyname_r): Likewise.
709 (_nss_dns_gethostbyname4_r): Likewise.
710
711 2019-01-21 Florian Weimer <fweimer@redhat.com>
712
713 * resolv/inet_addr.c: Reformat to GNU style.
714 (__inet_addr, __inet_aton): Update comment.
715
716 2019-01-18 Florian Weimer <fweimer@redhat.com>
717
718 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
719 ("malloc: Use current (C11-style) atomics for fastbin access").
720 This commit introduces a substantial performance regression on
721 POWER and Aarch64.
722 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
723 (REMOVE_FB): Define.
724 (_int_malloc): Use it and reindent.
725 (_int_free): Use CAS loop with
726 catomic_compare_and_exchange_val_rel.
727 (malloc_consolidate): Use atomic_exchange_acq.
728
729
730 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
731
732 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
733 -Wl,-z,now.
734 (LDFLAGS-tst-minsigstksz-2): Likewise.
735 (LDFLAGS-tst-minsigstksz-3): Likewise.
736 (LDFLAGS-tst-minsigstksz-3a): Likewise.
737 (LDFLAGS-tst-minsigstksz-4): Likewise.
738
739 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
740
741 * manual/time.texi (strftime): Fix the wording to "alternative" rather
742 than "alternate".
743
744 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
745
746 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
747
748 2019-01-16 Zack Weinberg <zackw@panix.com>
749
750 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
751 (xget_sigstack_location): New test support functions.
752 * support/xsigstack.c: New file, implementing them.
753 * support/tst-xsigstack.c: New test for them.
754 * support/Makefile: Update.
755
756 * signal/tst-minsigstksz-1.c
757 * signal/tst-minsigstksz-2.c
758 * signal/tst-minsigstksz-3.c
759 * signal/tst-minsigstksz-3a.c
760 * signal/tst-minsigstksz-4.c: New tests.
761 * signal/Makefile: Run them.
762
763 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
764
765 * po/libc.pot: Regenerate.
766
767 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
768
769 * math/libm-test-fma.inc (fma_test_data): Set
770 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
771
772 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
773
774 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
775 (do_test): Changed __vector __int128_t to __vector unsigned int.
776
777 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
778
779 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
780 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
781 stpcpy-avx2 and stpncpy-avx2.
782 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
783 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
784 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
785 and __stpncpy_avx2.
786 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
787 ifunc-strcpy.h}: rename header for a more generic name.
788 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
789 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
790 AVX unaligned load is fast and vzeroupper is preferred.
791 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
792 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
793 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
794 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
795 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
796 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
797
798 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
799
800 * argp/argp-help.c: Fix typo in comment.
801 * misc/sys/cdefs.h: Likewise.
802 * posix/regexec.c (sift_states_iter_mb): Likewise.
803 * socket/sockatmark.c: Likewise.
804 * socket/sys/socket.h: Likewise.
805 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
806 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
807 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
808 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
809 * sysdeps/unix/sockatmark.c: Likewise.
810 * time/strptime_l.c: Likewise.
811
812 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
813
814 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
815 missing space after the cast of "_NL_CURRENT".
816
817 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
818
819 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
820 ifdef to fix read of VSCR.
821 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
822 tst-ucontext-ppc64-vscr.c to test list.
823 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
824
825 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
826
827 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
828 fall-through.
829
830 2019-01-09 Jim Wilson <jimw@sifive.com>
831
832 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
833
834 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
835
836 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
837 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
838 __memcpy_falkor for ares.
839 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
840 Add new define.
841 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
842 Add ares cpu.
843
844 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
845
846 [BZ #24066]
847 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
848 4_FP_W_TYPEs are used for IEEE quad precision.
849 * soft-fp/extendhftf2.c: Likewise.
850 * soft-fp/extendsftf2.c: Likewise.
851 * soft-fp/extendxftf2.c: Likewise.
852 * soft-fp/trunctfdf2.c: Likewise.
853 * soft-fp/trunctfhf2.c: Likewise.
854 * soft-fp/trunctfsf2.c: Likewise.
855 * soft-fp/trunctfxf2.c: Likewise.
856 * sysdeps/alpha/ots_cvttx.c: Likewise.
857 * sysdeps/alpha/ots_cvtxt.c: Likewise.
858 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
859 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
860 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
861 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
862 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
863 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
864 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
865 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
866 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
867 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
868 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
869 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
870 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
871 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
872 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
873 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
874
875 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
876
877 [BZ #24024]
878 * Makeconfig: Build libm with -fno-math-errno but build the remaining
879 code with -fmath-errno.
880 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
881 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
882 * string/test-strerror-errno.c: New file.
883
884 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
885
886 [BZ #24046]
887 * localedata/locales/en_US (date_fmt): Add, set to
888 "%a %d %b %Y %r %Z".
889
890 2019-01-07 Florian Weimer <fweimer@redhat.com>
891
892 [BZ #24063]
893 * manual/arith.texi (Math Error Reporting): Use @code{errno}
894 instead of @var{errno}.
895 (Parsing of Integers): Likewise.
896 (Parsing of Floats): Likewise.
897 * manual/filesys.texi (Working with Directory Trees): Likewise.
898 (Temporary Files): Likewise.
899 * manual/job.texi (Terminal Access Functions): Likewise.
900 * manual/llio.texi (Synchronizing I/O): Likewise.
901 * manual/math.texi (SVID Random): Likewise.
902 * manual/message.texi (The catgets Functions): Likewise.
903 (Translation with gettext): Likewise.
904 (Locating gettext catalog): Likewise.
905 (Charset conversion in gettext): Likewise.
906 * manual/nss.texi (NSS Module Function Internals): Likewise.
907 * manual/search.texi (Hash Search Function): Likewise.
908 * manual/setjmp.texi (System V contexts): Likewise.
909 * manual/time.texi (Sleeping): Likewise.
910 * manual/users.texi (Lookup User): Likewise.
911 (Lookup Group): Likewise.
912
913 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
914
915 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
916 fix typo.
917
918 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
919
920 [BZ #19444]
921 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
922 __builtin_unreachable for default case in switch.
923 (__ieee754_yn): Likewise.
924 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
925 (__ieee754_ynl): Likewise.
926 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
927 (__ieee754_ynl): Likewise.
928 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
929 (__ieee754_ynl): Likewise.
930
931 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
932
933 * manual/maint.texi: Use @{ and @}.
934
935 2019-01-04 Florian Weimer <fweimer@redhat.com>
936
937 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
938 function.
939 (do_in_chroot_1): Call it.
940 (run_chroot_tests):
941 Improve error reporting in case it is not possible to create a
942 collision for the PTY name required by the test.
943
944 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
945
946 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
947 lll_wait_tid with timeout.
948 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
949 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
950 futex_reltimed_wait_cancelable for cancelabla mode.
951 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
952 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
953 macros.
954 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
955 * sysdeps/posix/waitid.c (__sigwait): Likewise.
956 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
957 SYSCALL_CANCEL_NCS): New macro.
958 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
959 (lll_timedwait_tid): Remove macro.
960 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
961 Likewise.
962 (lll_timedwait_tid): Likewise.
963 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
964 Likewise.
965 (lll_timedwait_tid): Likewise.
966 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
967 Likewise.
968 (lll_timedwait_tid): Likewise.
969 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
970 Use INTERNAL_SYSCALL_CANCEL.
971 * sysdeps/unix/sysv/linux/futex-internal.h
972 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
973 instead of __pthread_{enable,disable}_asynccancel.
974 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
975 (lll_futex_wait_cancel): New macro.
976
977 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
978 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
979
980 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
981 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
982
983 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
984 in backtrace analysis.
985 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
986 side-effects.
987 (tf_send): Likewise.
988
989 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
990 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
991 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
992 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
993 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
994 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
995 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
996 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
997 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
998 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
999 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
1000 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
1001 Likewise.
1002 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
1003 tst-cancel-wrappers.sh.
1004 (generated): Remove tst-cancel-wrappers.out.
1005 (tst-cancel-wrappers.out): Remove rule.
1006 * nptl/tst-cancel-wrappers.sh: Remove file.
1007
1008 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1009
1010 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
1011 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1012 Update.
1013
1014 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1015
1016 [BZ #23640]
1017 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
1018 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
1019 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
1020 close-on-exec reset for adddup2 file action.
1021 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
1022
1023 2019-01-03 Zack Weinberg <zackw@panix.com>
1024
1025 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
1026 parameter. Only use deprecated scanf when __USE_GNU is defined
1027 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
1028 than 201103L, whichever is relevant for the language being compiled.
1029
1030 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
1031 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
1032 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
1033 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
1034 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
1035
1036 * libio/iovsscanf.c
1037 * libio/fwscanf.c
1038 * libio/iovswscanf.c
1039 * libio/swscanf.c
1040 * libio/vscanf.c
1041 * libio/vwscanf.c
1042 * libio/wscanf.c
1043 * stdio-common/fscanf.c
1044 * stdio-common/scanf.c
1045 * stdio-common/vfscanf.c
1046 * stdio-common/vfwscanf.c
1047 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1048 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
1049 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
1050 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
1051 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
1052 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
1053 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
1054 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
1055 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
1056 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
1057 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
1058 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
1059 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
1060 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
1061 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
1062
1063 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
1064 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
1065 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
1066 not sscanf.
1067 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
1068 with a preprocessor macro.
1069
1070 * stdio-common/bug21.c, stdio-common/scanf14.c:
1071 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
1072 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1073 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
1074 to xscanf, xfscanf, xsscanf.
1075
1076 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
1077 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1078 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
1079 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
1080 xfscanf, xsscanf.
1081 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
1082 override feature selection macros or provide definitions of u_char etc.
1083 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
1084 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
1085 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
1086 with -std=gnu89.
1087
1088 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1089
1090 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1091 bits/termios-misc.h.
1092 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
1093 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1094 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1095 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1096 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
1097 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
1098
1099 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
1100 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1101 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
1102 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
1103 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
1104 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
1105 termios-misc.h.
1106 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
1107 (sysdep_headers): Add termios-misc.h.
1108
1109 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
1110 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1111 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1112
1113 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1114 termios-tcflow.h.
1115 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
1116 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
1117 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
1118 TCSAFLUSH): Move to termios-tcflow.h.
1119 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1120 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1121 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1122 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1123
1124 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1125 termios-c_lflag.h.
1126 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
1127 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
1128 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
1129 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
1130 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
1131 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
1132 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
1133 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
1134 Likewise.
1135 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1136 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1137 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1138 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1139
1140 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1141 termios-c_cflag.h.
1142 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
1143 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
1144 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
1145 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
1146 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
1147 termios-c_cflag.h.
1148 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1149 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1150 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1151 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1152
1153 [BZ #23783]
1154 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1155 termios-baud.h.
1156 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
1157 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
1158 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
1159 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
1160 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
1161 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
1162 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
1163 __MAX_BAUD): Move to termios-baud.h.
1164 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
1165 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
1166 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1167 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1168 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1169
1170 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1171 termios-c_oflag.h.
1172 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
1173 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
1174 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
1175 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
1176 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
1177 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
1178 termios-c_oflag.h.
1179 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
1180 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
1181 FFR1): Likewise.
1182 [USE_MISC] (XTABS): Likewise.
1183 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1184 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1185 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1186 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
1187
1188 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1189 termios-c_iflag.h.
1190 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
1191 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
1192 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
1193 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
1194 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
1195 IUTF8): Move to termios-c_iflag.h.
1196 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1197 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1198 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1199 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1200
1201 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1202 termios-cc.h.
1203 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
1204 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
1205 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
1206 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
1207 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
1208 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
1209 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
1210 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
1211 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1212 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1213 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1214 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1215
1216 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
1217 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
1218 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
1219 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
1220 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1221 termios-struct.h.
1222 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
1223 termios-struct.h.
1224 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
1225 Likewise.
1226 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
1227 Likewise.
1228 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
1229 Likewise.
1230 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
1231 Likewise.
1232 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
1233 _HAVE_C_OSPEED): Define.
1234 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
1235 _HAVE_C_OSPEED): Likewise.
1236 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
1237 _HAVE_C_OSPEED): Likewise.
1238 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
1239 (cfsetospeed): Check for define value instead of existence.
1240 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
1241 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1242 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
1243 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1244 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
1245
1246 [BZ #17783]
1247 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
1248 Define.
1249 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1250 (TIOCSER_TEMT): Likewise.
1251 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
1252 (TEOCSER_TEMT): Likewise.
1253
1254 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
1255
1256 [BZ #24011]
1257 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
1258
1259 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1260
1261 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
1262
1263 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
1264
1265 * sysdeps/htl/pt-barrierattr-setpshared.c
1266 (pthread_barrierattr_setpshared): Add stub warning.
1267 * sysdeps/htl/pt-condattr-setpshared.c
1268 (pthread_condattr_setpshared): Likewise.
1269 * sysdeps/htl/pt-mutexattr-setpshared.c
1270 (pthread_mutexattr_setpshared): Likewise.
1271 * sysdeps/htl/pt-rwlockattr-setpshared.c
1272 (pthread_rwlockattr_setpshared): Likewise.
1273 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
1274 (pthread_mutexattr_setpshared): Likewise.
1275
1276 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1277
1278 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
1279 constants to match with Linux 4.20.
1280
1281 * sysdeps/mips/mips32/libm-test-ulps: Update.
1282 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1283
1284 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
1285
1286 [BZ #24034]
1287 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
1288 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
1289 than __typeof (...) for the a_ptr variable.
1290
1291 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1292
1293 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
1294 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
1295 * libio/Makefile (tests): Add tst-sprintf-ub and
1296 tst-sprintf-chk-ub.
1297 (CFLAGS-tst-sprintf-ub.c): New variable.
1298 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
1299 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
1300 destination buffer and check for overflows in fortified mode.
1301 * libio/libioP.h (PRINTF_CHK): New macro.
1302 * libio/tst-sprintf-chk-ub.c: New file.
1303 * libio/tst-sprintf-ub.c: Likewise.
1304
1305 2019-01-02 Florian Weimer <fweimer@redhat.com>
1306
1307 [BZ #24018]
1308 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
1309 failure.
1310
1311 2019-01-02 Florian Weimer <fweimer@redhat.com>
1312
1313 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
1314
1315 2019-01-01 Joseph Myers <joseph@codesourcery.com>
1316
1317 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
1318 macro.
1319
1320 * sysdeps/unix/sysv/linux/netpacket/packet.h
1321 (PACKET_IGNORE_OUTGOING): New macro.
1322
1323 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
1324 macro.
1325
1326 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1327 version to 4.20.
1328 (riscv_flush_icache): New syscall.
1329
1330 * manual/texinfo.tex: Update to version 2018-12-28.17 with
1331 trailing whitespace removed.
1332 * scripts/config.guess: Update to version 2019-01-01.
1333 * scripts/config.sub: Update to version 2019-01-01.
1334 * scripts/move-if-change: Update from gnulib.
1335
1336 * NEWS: Update copyright dates.
1337 * catgets/gencat.c (print_version): Likewise.
1338 * csu/version.c (banner): Likewise.
1339 * debug/catchsegv.sh: Likewise.
1340 * debug/pcprofiledump.c (print_version): Likewise.
1341 * debug/xtrace.sh (do_version): Likewise.
1342 * elf/ldconfig.c (print_version): Likewise.
1343 * elf/ldd.bash.in: Likewise.
1344 * elf/pldd.c (print_version): Likewise.
1345 * elf/sotruss.sh: Likewise.
1346 * elf/sprof.c (print_version): Likewise.
1347 * iconv/iconv_prog.c (print_version): Likewise.
1348 * iconv/iconvconfig.c (print_version): Likewise.
1349 * locale/programs/locale.c (print_version): Likewise.
1350 * locale/programs/localedef.c (print_version): Likewise.
1351 * login/programs/pt_chown.c (print_version): Likewise.
1352 * malloc/memusage.sh (do_version): Likewise.
1353 * malloc/memusagestat.c (print_version): Likewise.
1354 * malloc/mtrace.pl: Likewise.
1355 * manual/libc.texinfo: Likewise.
1356 * nptl/version.c (banner): Likewise.
1357 * nscd/nscd.c (print_version): Likewise.
1358 * nss/getent.c (print_version): Likewise.
1359 * nss/makedb.c (print_version): Likewise.
1360 * posix/getconf.c (main): Likewise.
1361 * scripts/test-installation.pl: Likewise.
1362 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1363
1364 * All files with FSF copyright notices: Update copyright dates
1365 using scripts/update-copyrights.
1366 * locale/programs/charmap-kw.h: Regenerated.
1367 * locale/programs/locfile-kw.h: Likewise.
1368
1369 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1370
1371 * timezone/zdump.c: Update from tzcode 2018i.
1372 * timezone/zic.c: Likewise.
1373
1374 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
1375
1376 regex: improve Gnulib port to AIX
1377 From the glibc point of view, this removes duplicate macro
1378 definitions and is obviously safe.
1379 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
1380 * posix/regex_internal.h:
1381 (__attribute__, __attribute_warn_unused_result__):
1382 Remove; already defined elsewhere.
1383
1384 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
1385
1386 [BZ #24027]
1387 * malloc/malloc.c (_int_realloc): Always call memcpy for the
1388 copying operation. (ncopies had the wrong type, resulting in an
1389 integer wraparound and too few elements being copied.)
1390
1391 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
1392
1393 [BZ #24022]
1394 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
1395 <asm/syscalls.h> exists with __has_include__ before including it.
1396
1397 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1398
1399 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1400 version to 4.20.
1401
1402 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
1403
1404 * hurd/lookup-retry: Include <unistd.h>.
1405 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
1406 Release it on return. Handle "pid" magical lookup retry.
1407
1408 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1409
1410 [BZ #10496]
1411 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
1412 (t_fmt_ampm): Likewise.
1413 * localedata/locales/aa_ER (t_fmt): Likewise.
1414 (t_fmt_ampm): Likewise.
1415 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
1416 (t_fmt_ampm): Likewise.
1417 * localedata/locales/aa_ET (t_fmt): Likewise.
1418 (t_fmt_ampm): Likewise.
1419 * localedata/locales/am_ET (t_fmt): Likewise.
1420 (t_fmt_ampm): Likewise.
1421 * localedata/locales/byn_ER (t_fmt): Likewise.
1422 (t_fmt_ampm): Likewise.
1423 * localedata/locales/om_ET (t_fmt): Likewise.
1424 (t_fmt_ampm): Likewise.
1425 * localedata/locales/sid_ET (t_fmt): Likewise.
1426 (t_fmt_ampm): Likewise.
1427 * localedata/locales/so_DJ (t_fmt): Likewise.
1428 (t_fmt_ampm): Likewise.
1429 * localedata/locales/so_ET (t_fmt): Likewise.
1430 (t_fmt_ampm): Likewise.
1431 * localedata/locales/so_SO (t_fmt): Likewise.
1432 (t_fmt_ampm): Likewise.
1433 * localedata/locales/ti_ER (t_fmt): Likewise.
1434 (t_fmt_ampm): Likewise.
1435 * localedata/locales/ti_ET (t_fmt): Likewise.
1436 (t_fmt_ampm): Likewise.
1437 * localedata/locales/tig_ER (t_fmt): Likewise.
1438 (t_fmt_ampm): Likewise.
1439 * localedata/locales/wal_ET (t_fmt): Likewise.
1440 (t_fmt_ampm): Likewise.
1441
1442 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
1443 * localedata/locales/ar_IN (t_fmt): Likewise.
1444 * localedata/locales/bhb_IN (t_fmt): Likewise.
1445 * localedata/locales/bho_IN (t_fmt): Likewise.
1446 * localedata/locales/bi_VU (t_fmt): Likewise.
1447 * localedata/locales/bn_BD (t_fmt): Likewise.
1448 * localedata/locales/bn_IN (t_fmt): Likewise.
1449 * localedata/locales/brx_IN (t_fmt): Likewise.
1450 * localedata/locales/doi_IN (t_fmt): Likewise.
1451 * localedata/locales/en_HK (t_fmt): Likewise.
1452 (t_fmt_ampm): Likewise.
1453 * localedata/locales/en_IN (t_fmt): Likewise.
1454 * localedata/locales/en_PH (t_fmt): Likewise.
1455 * localedata/locales/gu_IN (t_fmt): Likewise.
1456 * localedata/locales/hi_IN (t_fmt): Likewise.
1457 * localedata/locales/hif_FJ (t_fmt): Likewise.
1458 * localedata/locales/hne_IN (t_fmt): Likewise.
1459 * localedata/locales/kn_IN (t_fmt): Likewise.
1460 * localedata/locales/kok_IN (t_fmt): Likewise.
1461 * localedata/locales/ks_IN (t_fmt): Likewise.
1462 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
1463 * localedata/locales/mag_IN (t_fmt): Likewise.
1464 * localedata/locales/mai_IN (t_fmt): Likewise.
1465 * localedata/locales/mjw_IN (t_fmt): Likewise.
1466 * localedata/locales/ml_IN (t_fmt): Likewise.
1467 * localedata/locales/mni_IN (t_fmt): Likewise.
1468 * localedata/locales/mr_IN (t_fmt): Likewise.
1469 * localedata/locales/ms_MY (t_fmt): Likewise.
1470 * localedata/locales/pa_IN (t_fmt): Likewise.
1471 * localedata/locales/raj_IN (t_fmt): Likewise.
1472 * localedata/locales/sa_IN (t_fmt): Likewise.
1473 * localedata/locales/sat_IN (t_fmt): Likewise.
1474 * localedata/locales/sd_IN (t_fmt): Likewise.
1475 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
1476 * localedata/locales/tcy_IN (t_fmt): Likewise.
1477 * localedata/locales/the_NP (t_fmt): Likewise.
1478 * localedata/locales/to_TO (t_fmt): Likewise.
1479 * localedata/locales/ur_IN (t_fmt): Likewise.
1480
1481 * localedata/locales/hif_FJ (d_t_fmt): Set to
1482 "%A %d %b %Y %I:%M:%S %p".
1483 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
1484
1485 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
1486 * localedata/locales/ar_BH (t_fmt): Likewise.
1487 * localedata/locales/ar_DZ (t_fmt): Likewise.
1488 * localedata/locales/ar_EG (t_fmt): Likewise.
1489 * localedata/locales/ar_IQ (t_fmt): Likewise.
1490 * localedata/locales/ar_JO (t_fmt): Likewise.
1491 * localedata/locales/ar_KW (t_fmt): Likewise.
1492 * localedata/locales/ar_LB (t_fmt): Likewise.
1493 * localedata/locales/ar_LY (t_fmt): Likewise.
1494 * localedata/locales/ar_OM (t_fmt): Likewise.
1495 * localedata/locales/ar_QA (t_fmt): Likewise.
1496 * localedata/locales/ar_SD (t_fmt): Likewise.
1497 * localedata/locales/ar_SS (t_fmt): Likewise.
1498 * localedata/locales/ar_SY (t_fmt): Likewise.
1499 * localedata/locales/ar_TN (t_fmt): Likewise.
1500 * localedata/locales/ar_YE (t_fmt): Likewise.
1501
1502 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
1503 (t_fmt_ampm): Likewise.
1504 * localedata/locales/gez_ET (t_fmt): Likewise.
1505 (t_fmt_ampm): Likewise.
1506
1507 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
1508 (t_fmt_ampm): Likewise.
1509 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
1510
1511 * localedata/locales/zh_HK (t_fmt):
1512 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
1513
1514 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
1515 because this locale does not use the 12-hour clock.
1516 (t_fmt): Set to "%Z %H:%M:%S".
1517 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
1518
1519 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
1520 because this locale does not use the 12-hour clock.
1521 (t_fmt): Set to "%H:%M:%S %Z".
1522 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
1523
1524 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
1525 because this locale does not use the 12-hour clock.
1526 (t_fmt): Set to "%T".
1527 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
1528 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
1529
1530 * localedata/locales/ta_LK (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 %B %Y %H:%M:%S %Z".
1534
1535 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
1536 because this locale does not use the 12-hour clock.
1537 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
1538 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
1539
1540 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1541
1542 [BZ #10496]
1543 [BZ #23724]
1544 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
1545 (t_fmt_ampm): Likewise.
1546 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
1547 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
1548 (d_fmt): Set to "%-d.%-m.%y".
1549
1550 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1551
1552 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
1553 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
1554 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
1555 Likewise.
1556 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
1557 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
1558 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
1559 function.
1560 * support/blob_repeat.c (check_mul_overflow_size_t,
1561 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
1562
1563 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
1564
1565 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
1566
1567 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
1568
1569 regex: simplify Gnulib port
1570 This simplifies the code, by removing stuff intended for porting
1571 to Gnulib but no longer needed there.
1572 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
1573 uses of libc_hidden_def, weak_alias.
1574 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
1575 _Restrict_ except for public-facing headers.
1576 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
1577 Remove; already defined elsewhere.
1578 * posix/regex.c, posix/regex_internal.h:
1579 Use __GNUC_PREREQ instead of rolling our own.
1580 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
1581
1582 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
1583
1584 * benchtests/bench-strlen.c (generic_strlen): New function.
1585 (memchr_strlen): New function.
1586
1587 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1588
1589 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
1590 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
1591 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
1592
1593 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1594
1595 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1596
1597 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1598
1599 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
1600 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
1601 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
1602 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
1603 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
1604 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
1605 <sysdeps/ieee754/flt-32/s_sincosf.c>.
1606
1607 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1608
1609 [BZ #24023]
1610 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
1611 PLT reference in libc.so.
1612 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
1613 _Q_lltoq and _Q_qtod PLT references in libc.so.
1614
1615 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
1616
1617 * benchtests/bench-memchr.c: Cleanup defines.
1618 * benchtests/bench-memcmp.c: Likewise.
1619 * benchtests/bench-memset.c: Likewise.
1620 * benchtests/bench-memset-large.c: Likewise.
1621 * benchtests/bench-memset-walk.c: Likewise.
1622 * benchtests/bench-stpcpy.c: Likewise.
1623 * benchtests/bench-stpncpy.c: Likewise.
1624 * benchtests/bench-strcat.c: Likewise.
1625 * benchtests/bench-strchr.c: Likewise.
1626 * benchtests/bench-strcmp.c: Likewise.
1627 * benchtests/bench-strcpy.c: Likewise.
1628 * benchtests/bench-strcspn.c: Likewise.
1629 * benchtests/bench-string.h: Likewise.
1630 * benchtests/bench-strlen.c: Likewise.
1631 * benchtests/bench-strncat.c: Likewise.
1632 * benchtests/bench-strncmp.c: Likewise.
1633 * benchtests/bench-strncpy.c: Likewise.
1634 * benchtests/bench-strnlen.c: Likewise.
1635 * benchtests/bench-strpbrk.c: Likewise.
1636 * benchtests/bench-strrchr.c: Likewise.
1637 * benchtests/bench-strspn.c: Likewise.
1638
1639 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1640
1641 * stdlib/longlong.h: Update from GCC.
1642
1643 [BZ #23993]
1644 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
1645 * configure: Regenerated.
1646 * manual/install.texi (Tools for Compilation): Update minimum GCC
1647 version.
1648 * INSTALL: Regenerated.
1649
1650 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
1651
1652 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
1653
1654 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
1655
1656 * malloc/malloc.c (mremap_chunk): Additional checks.
1657
1658 2018-12-21 Mao Han <han_mao@c-sky.com>
1659
1660 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
1661 * scripts/build-many-glibcs.py: Add C-SKY targets.
1662 * sysdeps/csky/Implies: New file.
1663 * sysdeps/csky/Makefile: Likewise.
1664 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
1665 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
1666 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
1667 * sysdeps/csky/abiv2/memcmp.S: Likewise.
1668 * sysdeps/csky/abiv2/memcpy.S: Likewise.
1669 * sysdeps/csky/abiv2/memmove.S: Likewise.
1670 * sysdeps/csky/abiv2/memset.S: Likewise.
1671 * sysdeps/csky/abiv2/setjmp.S: Likewise.
1672 * sysdeps/csky/abiv2/start.S: Likewise.
1673 * sysdeps/csky/abiv2/strcmp.S: Likewise.
1674 * sysdeps/csky/abiv2/strcpy.S: Likewise.
1675 * sysdeps/csky/abiv2/strlen.S: Likewise.
1676 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
1677 * sysdeps/csky/abort-instr.h: Likewise.
1678 * sysdeps/csky/atomic-machine.h: Likewise.
1679 * sysdeps/csky/bits/endian.h: Likewise.
1680 * sysdeps/csky/bits/fenv.h: Likewise.
1681 * sysdeps/csky/bits/link.h: Likewise.
1682 * sysdeps/csky/bits/setjmp.h: Likewise.
1683 * sysdeps/csky/bsd-_setjmp.S: Likewise.
1684 * sysdeps/csky/bsd-setjmp.S: Likewise.
1685 * sysdeps/csky/configure: Likewise.
1686 * sysdeps/csky/configure.ac: Likewise.
1687 * sysdeps/csky/dl-machine.h: Likewise.
1688 * sysdeps/csky/dl-procinfo.c: Likewise.
1689 * sysdeps/csky/dl-procinfo.h: Likewise.
1690 * sysdeps/csky/dl-sysdep.h: Likewise.
1691 * sysdeps/csky/dl-tls.h: Likewise.
1692 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
1693 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
1694 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
1695 * sysdeps/csky/fpu/fegetenv.c: Likewise.
1696 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
1697 * sysdeps/csky/fpu/fegetmode.c: Likewise.
1698 * sysdeps/csky/fpu/fegetround.c: Likewise.
1699 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
1700 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
1701 * sysdeps/csky/fpu/fenv_private.h: Likewise.
1702 * sysdeps/csky/fpu/fesetenv.c: Likewise.
1703 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
1704 * sysdeps/csky/fpu/fesetmode.c: Likewise.
1705 * sysdeps/csky/fpu/fesetround.c: Likewise.
1706 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
1707 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
1708 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
1709 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
1710 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
1711 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
1712 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
1713 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
1714 * sysdeps/csky/fpu_control.h: Likewise.
1715 * sysdeps/csky/gccframe.h: Likewise.
1716 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
1717 * sysdeps/csky/ldsodefs.h: Likewise.
1718 * sysdeps/csky/libc-tls.c: Likewise.
1719 * sysdeps/csky/linkmap.h: Likewise.
1720 * sysdeps/csky/machine-gmon.h: Likewise.
1721 * sysdeps/csky/memusage.h: Likewise.
1722 * sysdeps/csky/nofpu/Implies: Likewise.
1723 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
1724 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
1725 * sysdeps/csky/nptl/Makefile: Likewise.
1726 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
1727 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
1728 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
1729 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
1730 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
1731 * sysdeps/csky/nptl/tls.h: Likewise.
1732 * sysdeps/csky/preconfigure: Likewise.
1733 * sysdeps/csky/sfp-machine.h: Likewise.
1734 * sysdeps/csky/sotruss-lib.c: Likewise.
1735 * sysdeps/csky/stackinfo.h: Likewise.
1736 * sysdeps/csky/sysdep.h: Likewise.
1737 * sysdeps/csky/tininess.h: Likewise.
1738 * sysdeps/csky/tst-audit.h: Likewise.
1739 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
1740 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
1741 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
1742 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
1743 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1744 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
1745 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1746 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
1747 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
1748 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
1749 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
1750 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
1751 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
1752 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
1753 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
1754 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
1755 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
1756 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
1757 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
1758 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
1759 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
1760 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
1761 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
1762 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1763 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
1764 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
1765 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1766 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
1767 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
1768 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
1769 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
1770 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
1771 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
1772 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
1773 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
1774 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
1775 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
1776 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
1777 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
1778 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
1779 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
1780 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
1781 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
1782 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
1783
1784 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1785
1786 * include/time.h (__difftime64): Add.
1787 * time/difftime.c (subtract): convert to 64-bit time.
1788 * time/difftime.c (__difftime64): Add.
1789 * time/difftime.c (__difftime): Wrap around __difftime64.
1790
1791 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1792
1793 * manual/examples/add.c: Remove redundant "if not".
1794 * manual/examples/argp-ex1.c: Likewise.
1795 * manual/examples/argp-ex2.c: Likewise.
1796 * manual/examples/argp-ex3.c: Likewise.
1797 * manual/examples/argp-ex4.c: Likewise.
1798 * manual/examples/atexit.c: Likewise.
1799 * manual/examples/db.c: Likewise.
1800 * manual/examples/dir.c: Likewise.
1801 * manual/examples/dir2.c: Likewise.
1802 * manual/examples/execinfo.c: Likewise.
1803 * manual/examples/filecli.c: Likewise.
1804 * manual/examples/filesrv.c: Likewise.
1805 * manual/examples/fmtmsgexpl.c: Likewise.
1806 * manual/examples/genpass.c: Likewise.
1807 * manual/examples/inetcli.c: Likewise.
1808 * manual/examples/inetsrv.c: Likewise.
1809 * manual/examples/isockad.c: Likewise.
1810 * manual/examples/longopt.c: Likewise.
1811 * manual/examples/memopen.c: Likewise.
1812 * manual/examples/memstrm.c: Likewise.
1813 * manual/examples/mkdirent.c: Likewise.
1814 * manual/examples/mkfsock.c: Likewise.
1815 * manual/examples/mkisock.c: Likewise.
1816 * manual/examples/mygetpass.c: Likewise.
1817 * manual/examples/pipe.c: Likewise.
1818 * manual/examples/popen.c: Likewise.
1819 * manual/examples/rprintf.c: Likewise.
1820 * manual/examples/search.c: Likewise.
1821 * manual/examples/select.c: Likewise.
1822 * manual/examples/setjmp.c: Likewise.
1823 * manual/examples/sigh1.c: Likewise.
1824 * manual/examples/sigusr.c: Likewise.
1825 * manual/examples/stpcpy.c: Likewise.
1826 * manual/examples/strdupa.c: Likewise.
1827 * manual/examples/strftim.c: Likewise.
1828 * manual/examples/subopt.c: Likewise.
1829 * manual/examples/swapcontext.c: Likewise.
1830 * manual/examples/termios.c: Likewise.
1831 * manual/examples/testopt.c: Likewise.
1832 * manual/examples/testpass.c: Likewise.
1833 * manual/examples/timeval_subtract.c: Likewise.
1834
1835 2018-12-19 Joseph Myers <joseph@codesourcery.com>
1836
1837 * sysdeps/x86/fpu/math_private.h: New file.
1838 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
1839
1840 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
1841 definition.
1842 (cosh): Likewise.
1843 (tanh): Likewise.
1844
1845 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1846
1847 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
1848 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
1849 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
1850 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
1851 fields.
1852 (_dl_show_auxv): Give a special treatment to
1853 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
1854 and AT_L3_CACHEGEOMETRY.
1855 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
1856 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
1857 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
1858 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
1859
1860 2018-12-19 Andreas Schwab <schwab@suse.de>
1861
1862 * nscd/connections.c (check_use): Don't abort on invalid len.
1863
1864 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
1865
1866 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
1867 values in the 64bit value cases.
1868
1869 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1870
1871 * include/time.h
1872 (__ctime64_r): Add.
1873 * time/ctime_r.c
1874 (__ctime64_r): Add.
1875 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
1876
1877 * include/time.h
1878 (__ctime64): Add.
1879 * time/gmtime.c
1880 (__ctime64): Add.
1881 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
1882
1883 * include/time.h
1884 (__gmtime64_r): Add.
1885 * time/gmtime.c
1886 (__gmtime64_r): Add.
1887 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1888
1889 * include/time.h
1890 (__gmtime64): Add.
1891 * time/gmtime.c
1892 (__gmtime64): Add.
1893 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1894
1895 * include/time.h
1896 (__localtime64_r): Add.
1897 * time/localtime.c
1898 (__localtime64_r): Add.
1899 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
1900
1901 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1902
1903 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
1904 kernel_sigction definition.
1905
1906 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
1907
1908 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
1909
1910 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
1911 __syscall_rt_sigaction.
1912 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
1913 (kernel_sigaction): Use Linux generic defintion.
1914 (STUB): Define.
1915 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
1916 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
1917 (__syscall_rt_sigaction): Remove implementation.
1918 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
1919 hidden.
1920 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
1921 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
1922 INTERNAL_SYSCALL): Remove definitions.
1923 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
1924 action and signal set size.
1925 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
1926 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
1927
1928 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1929 James Clarke <jrtc27@jrtc27.com>
1930
1931 [BZ #23967]
1932 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
1933 Define if SA_RESTORER is defined.
1934 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
1935 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
1936 already defined.
1937 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
1938 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
1939 definitions.
1940 (HAS_SA_RESTORER): Define.
1941 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
1942 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
1943 (HAS_SA_RESTORER): Define.
1944 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
1945 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
1946 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
1947 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
1948 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1949
1950 2018-12-18 Joseph Myers <joseph@codesourcery.com>
1951
1952 * sysdeps/unix/sysv/linux/kernel-features.h
1953 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
1954 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1955 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
1956 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1957 (__ASSUME_ST_INO_64_BIT): Likewise.
1958 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1959 <kernel-features.h>.
1960 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1961 Remove conditional code.
1962 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1963 <kernel-features.h>.
1964 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1965 Remove conditional code.
1966 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
1967 <kernel-features.h>.
1968 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1969 Remove conditional code.
1970 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
1971 <kernel-features.h>.
1972 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
1973 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
1974
1975 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1976
1977 * sysdeps/s390/multiarch/ifunc-resolve.h
1978 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
1979 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
1980 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
1981 Delete macro definition.
1982 (s390_libc_ifunc_init): Rename to
1983 s390_libc_ifunc_expr_stfle_init.
1984 * sysdeps/s390/bzero: Use
1985 s390_libc_ifunc_expr_stfle_init instead of
1986 s390_libc_ifunc_init.
1987 * sysdeps/s390/memcmp.c: Likewise.
1988 * sysdeps/s390/memcpy.c: Likewise.
1989 * sysdeps/s390/mempcpy.c: Likewise.
1990 * sysdeps/s390/memset.c: Likewise.
1991
1992 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1993
1994 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
1995 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
1996
1997 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1998
1999 * sysdeps/s390/multiarch/Makefile
2000 (sysdep_routines): Remove wmemcmp variants.
2001 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
2002 * sysdeps/s390/multiarch/ifunc-impl-list.c
2003 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
2004 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
2005 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
2006 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
2007 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
2008 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
2009 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
2010 * sysdeps/s390/ifunc-wmemcmp.h: New file.
2011
2012 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2013
2014 * sysdeps/s390/multiarch/Makefile
2015 (sysdep_routines): Remove wmemset variants.
2016 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
2017 * sysdeps/s390/multiarch/ifunc-impl-list.c
2018 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
2019 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
2020 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
2021 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
2022 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
2023 * sysdeps/s390/multiarch/wmemset.c: Move to ...
2024 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
2025 * sysdeps/s390/ifunc-wmemset.h: New file.
2026
2027 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2028
2029 * sysdeps/s390/multiarch/Makefile
2030 (sysdep_routines): Remove wmemchr variants.
2031 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
2032 * sysdeps/s390/multiarch/ifunc-impl-list.c
2033 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
2034 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
2035 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
2036 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
2037 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
2038 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
2039 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
2040 * sysdeps/s390/ifunc-wmemchr.h: New file.
2041
2042 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2043
2044 * sysdeps/s390/multiarch/Makefile
2045 (sysdep_routines): Remove wcscspn variants.
2046 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
2047 * sysdeps/s390/multiarch/ifunc-impl-list.c
2048 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
2049 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
2050 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
2051 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
2052 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
2053 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
2054 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
2055 * sysdeps/s390/ifunc-wcscspn.h: New file.
2056
2057 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2058
2059 * sysdeps/s390/multiarch/Makefile
2060 (sysdep_routines): Remove wcspbrk variants.
2061 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
2062 * sysdeps/s390/multiarch/ifunc-impl-list.c
2063 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
2064 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
2065 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
2066 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
2067 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
2068 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
2069 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
2070 * sysdeps/s390/ifunc-wcspbrk.h: New file.
2071
2072 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2073
2074 * sysdeps/s390/multiarch/Makefile
2075 (sysdep_routines): Remove wcsspn variants.
2076 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
2077 * sysdeps/s390/multiarch/ifunc-impl-list.c
2078 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
2079 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
2080 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
2081 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
2082 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
2083 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
2084 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
2085 * sysdeps/s390/ifunc-wcsspn.h: New file.
2086
2087 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2088
2089 * sysdeps/s390/multiarch/Makefile
2090 (sysdep_routines): Remove wcsrchr variants.
2091 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
2092 * sysdeps/s390/multiarch/ifunc-impl-list.c
2093 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
2094 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
2095 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
2096 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
2097 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
2098 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
2099 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
2100 * sysdeps/s390/ifunc-wcsrchr.h: New file.
2101
2102 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2103
2104 * sysdeps/s390/multiarch/Makefile
2105 (sysdep_routines): Remove wcschrnul variants.
2106 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
2107 * sysdeps/s390/multiarch/ifunc-impl-list.c
2108 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
2109 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
2110 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
2111 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
2112 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
2113 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
2114 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
2115 * sysdeps/s390/ifunc-wcschrnul.h: New file.
2116
2117 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2118
2119 * sysdeps/s390/multiarch/Makefile
2120 (sysdep_routines): Remove wcschr variants.
2121 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
2122 * sysdeps/s390/multiarch/ifunc-impl-list.c
2123 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
2124 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
2125 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
2126 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
2127 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
2128 * sysdeps/s390/multiarch/wcschr.c: Move to ...
2129 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
2130 * sysdeps/s390/ifunc-wcschr.h: New file.
2131
2132 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2133
2134 * sysdeps/s390/multiarch/Makefile
2135 (sysdep_routines): Remove wcsncmp variants.
2136 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
2137 * sysdeps/s390/multiarch/ifunc-impl-list.c
2138 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
2139 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
2140 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
2141 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
2142 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
2143 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
2144 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
2145 * sysdeps/s390/ifunc-wcsncmp.h: New file.
2146
2147 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2148
2149 * sysdeps/s390/multiarch/Makefile
2150 (sysdep_routines): Remove wcscmp variants.
2151 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
2152 * sysdeps/s390/multiarch/ifunc-impl-list.c
2153 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
2154 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
2155 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
2156 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
2157 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
2158 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
2159 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
2160 * sysdeps/s390/ifunc-wcscmp.h: New file.
2161
2162 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2163
2164 * sysdeps/s390/multiarch/Makefile
2165 (sysdep_routines): Remove wcsncat variants.
2166 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
2167 * sysdeps/s390/multiarch/ifunc-impl-list.c
2168 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
2169 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
2170 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
2171 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
2172 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
2173 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
2174 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
2175 * sysdeps/s390/ifunc-wcsncat.h: New file.
2176
2177 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2178
2179 * sysdeps/s390/multiarch/Makefile
2180 (sysdep_routines): Remove wcscat variants.
2181 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
2182 * sysdeps/s390/multiarch/ifunc-impl-list.c
2183 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
2184 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
2185 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
2186 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
2187 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
2188 * sysdeps/s390/multiarch/wcscat.c: Move to ...
2189 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
2190 * sysdeps/s390/ifunc-wcscat.h: New file.
2191
2192 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2193
2194 * sysdeps/s390/multiarch/Makefile
2195 (sysdep_routines): Remove wcpncpy variants.
2196 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
2197 * sysdeps/s390/multiarch/ifunc-impl-list.c
2198 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
2199 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
2200 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
2201 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
2202 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
2203 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
2204 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
2205 * sysdeps/s390/ifunc-wcpncpy.h: New file.
2206
2207 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2208
2209 * sysdeps/s390/multiarch/Makefile
2210 (sysdep_routines): Remove wcsncpy variants.
2211 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
2212 * sysdeps/s390/multiarch/ifunc-impl-list.c
2213 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
2214 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
2215 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
2216 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
2217 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
2218 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
2219 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
2220 * sysdeps/s390/ifunc-wcsncpy.h: New file.
2221
2222 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2223
2224 * sysdeps/s390/multiarch/Makefile
2225 (sysdep_routines): Remove wcpcpy variants.
2226 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
2227 * sysdeps/s390/multiarch/ifunc-impl-list.c
2228 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
2229 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
2230 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
2231 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
2232 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
2233 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
2234 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
2235 * sysdeps/s390/ifunc-wcpcpy.h: New file.
2236
2237 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2238
2239 * sysdeps/s390/multiarch/Makefile
2240 (sysdep_routines): Remove wcscpy variants.
2241 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
2242 * sysdeps/s390/multiarch/ifunc-impl-list.c
2243 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
2244 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
2245 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
2246 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
2247 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
2248 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
2249 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
2250 * sysdeps/s390/ifunc-wcscpy.h: New file.
2251
2252 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2253
2254 * sysdeps/s390/multiarch/Makefile
2255 (sysdep_routines): Remove wcsnlen variants.
2256 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
2257 * sysdeps/s390/multiarch/ifunc-impl-list.c
2258 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
2259 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
2260 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
2261 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
2262 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
2263 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
2264 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
2265 * sysdeps/s390/ifunc-wcsnlen.h: New file.
2266
2267 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2268
2269 * sysdeps/s390/multiarch/Makefile
2270 (sysdep_routines): Remove wcslen variants.
2271 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
2272 * sysdeps/s390/multiarch/ifunc-impl-list.c
2273 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
2274 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
2275 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
2276 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
2277 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
2278 * sysdeps/s390/multiarch/wcslen.c: Move to ...
2279 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
2280 * sysdeps/s390/ifunc-wcslen.h: New file.
2281
2282 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2283
2284 * sysdeps/s390/multiarch/Makefile
2285 (sysdep_routines): Remove memrchr variants.
2286 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
2287 * sysdeps/s390/multiarch/ifunc-impl-list.c
2288 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
2289 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
2290 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
2291 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
2292 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
2293 * sysdeps/s390/multiarch/memrchr.c: Move to ...
2294 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
2295 * sysdeps/s390/ifunc-memrchr.h: New file.
2296
2297 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2298
2299 * sysdeps/s390/multiarch/Makefile
2300 (sysdep_routines): Remove memccpy variants.
2301 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
2302 * sysdeps/s390/multiarch/ifunc-impl-list.c
2303 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
2304 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
2305 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
2306 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
2307 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
2308 * sysdeps/s390/multiarch/memccpy.c: Move to ...
2309 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
2310 * sysdeps/s390/ifunc-memccpy.h: New file.
2311
2312 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2313
2314 * sysdeps/s390/multiarch/Makefile
2315 (sysdep_routines): Remove rawmemchr variants.
2316 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
2317 * sysdeps/s390/multiarch/ifunc-impl-list.c
2318 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
2319 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
2320 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
2321 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
2322 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
2323 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
2324 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
2325 * sysdeps/s390/ifunc-rawmemchr.h: New file.
2326
2327 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2328
2329 * sysdeps/s390/multiarch/Makefile
2330 (sysdep_routines): Remove memchr variants.
2331 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
2332 * sysdeps/s390/multiarch/ifunc-impl-list.c
2333 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
2334 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
2335 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
2336 * sysdeps/s390/multiarch/memchr.c: Move to ...
2337 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
2338 * sysdeps/s390/ifunc-memchr.h: New file.
2339 * sysdeps/s390/s390-64/memchr.S: Move to ...
2340 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
2341 for 31/64bit and ifunc handling.
2342 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
2343 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2344 * sysdeps/s390/s390-32/memchr.S: Likewise.
2345
2346 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2347
2348 * sysdeps/s390/multiarch/Makefile
2349 (sysdep_routines): Remove strcspn variants.
2350 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
2351 * sysdeps/s390/multiarch/ifunc-impl-list.c
2352 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
2353 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
2354 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
2355 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
2356 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
2357 * sysdeps/s390/multiarch/strcspn.c: Move to ...
2358 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
2359 * sysdeps/s390/ifunc-strcspn.h: New file.
2360
2361 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2362
2363 * sysdeps/s390/multiarch/Makefile
2364 (sysdep_routines): Remove strpbrk variants.
2365 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
2366 * sysdeps/s390/multiarch/ifunc-impl-list.c
2367 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
2368 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
2369 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
2370 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
2371 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
2372 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
2373 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
2374 * sysdeps/s390/ifunc-strpbrk.h: New file.
2375
2376 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2377
2378 * sysdeps/s390/multiarch/Makefile
2379 (sysdep_routines): Remove strspn variants.
2380 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
2381 * sysdeps/s390/multiarch/ifunc-impl-list.c
2382 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
2383 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
2384 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
2385 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
2386 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
2387 * sysdeps/s390/multiarch/strspn.c: Move to ...
2388 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
2389 * sysdeps/s390/ifunc-strspn.h: New file.
2390
2391 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2392
2393 * sysdeps/s390/multiarch/Makefile
2394 (sysdep_routines): Remove strrchr variants.
2395 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
2396 * sysdeps/s390/multiarch/ifunc-impl-list.c
2397 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
2398 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
2399 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
2400 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
2401 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
2402 * sysdeps/s390/multiarch/strrchr.c: Move to ...
2403 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
2404 * sysdeps/s390/ifunc-strrchr.h: New file.
2405
2406 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2407
2408 * sysdeps/s390/multiarch/Makefile
2409 (sysdep_routines): Remove strchrnul variants.
2410 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
2411 * sysdeps/s390/multiarch/ifunc-impl-list.c
2412 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
2413 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
2414 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
2415 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
2416 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
2417 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
2418 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
2419 * sysdeps/s390/ifunc-strchrnul.h: New file.
2420
2421 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2422
2423 * sysdeps/s390/multiarch/Makefile
2424 (sysdep_routines): Remove strchr variants.
2425 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
2426 * sysdeps/s390/multiarch/ifunc-impl-list.c
2427 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
2428 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
2429 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
2430 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
2431 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
2432 * sysdeps/s390/multiarch/strchr.c: Move to ...
2433 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
2434 * sysdeps/s390/ifunc-strchr.h: New file.
2435
2436 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2437
2438 * sysdeps/s390/multiarch/Makefile
2439 (sysdep_routines): Remove strncmp variants.
2440 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
2441 * sysdeps/s390/multiarch/ifunc-impl-list.c
2442 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
2443 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
2444 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
2445 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
2446 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
2447 * sysdeps/s390/multiarch/strncmp.c: Move to ...
2448 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
2449 * sysdeps/s390/ifunc-strncmp.h: New file.
2450
2451 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2452
2453 * sysdeps/s390/multiarch/Makefile
2454 (sysdep_routines): Remove strcmp variants.
2455 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
2456 * sysdeps/s390/multiarch/ifunc-impl-list.c
2457 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
2458 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
2459 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
2460 * sysdeps/s390/multiarch/strcmp.c: Move to ...
2461 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
2462 * sysdeps/s390/ifunc-strcmp.h: New file.
2463 * sysdeps/s390/s390-64/strcmp.S: Move to ...
2464 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
2465 for 31/64bit and ifunc handling.
2466 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
2467 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2468 * sysdeps/s390/s390-32/strcmp.S: Likewise.
2469
2470 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2471
2472 * sysdeps/s390/multiarch/Makefile
2473 (sysdep_routines): Remove strncat variants.
2474 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
2475 * sysdeps/s390/multiarch/ifunc-impl-list.c
2476 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
2477 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
2478 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
2479 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
2480 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
2481 * sysdeps/s390/multiarch/strncat.c: Move to ...
2482 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
2483 * sysdeps/s390/ifunc-strncat.h: New file.
2484
2485 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2486
2487 * sysdeps/s390/multiarch/Makefile
2488 (sysdep_routines): Remove strcat variants.
2489 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
2490 * sysdeps/s390/multiarch/ifunc-impl-list.c
2491 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
2492 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
2493 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
2494 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
2495 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
2496 * sysdeps/s390/multiarch/strcat.c: Move to ...
2497 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
2498 * sysdeps/s390/ifunc-strcat.h: New file.
2499
2500 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2501
2502 * sysdeps/s390/multiarch/Makefile
2503 (sysdep_routines): Remove stpncpy variants.
2504 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
2505 * sysdeps/s390/multiarch/ifunc-impl-list.c
2506 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
2507 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
2508 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
2509 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
2510 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
2511 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
2512 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
2513 * sysdeps/s390/ifunc-stpncpy.h: New file.
2514
2515 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2516
2517 * sysdeps/s390/multiarch/Makefile
2518 (sysdep_routines): Remove strncpy variants.
2519 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
2520 * sysdeps/s390/multiarch/ifunc-impl-list.c
2521 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
2522 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
2523 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
2524 * sysdeps/s390/multiarch/strncpy.c: Move to ...
2525 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
2526 * sysdeps/s390/ifunc-strncpy.h: New file.
2527 * sysdeps/s390/s390-64/strncpy.S: Move to ...
2528 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
2529 and adjust ifunc handling.
2530 * sysdeps/s390/s390-32/strncpy.S: Move to ...
2531 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
2532 and adjust ifunc handling.
2533 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
2534 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2535
2536 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2537
2538 * sysdeps/s390/multiarch/Makefile
2539 (sysdep_routines): Remove stpcpy variants.
2540 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
2541 * sysdeps/s390/multiarch/ifunc-impl-list.c
2542 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
2543 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
2544 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
2545 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
2546 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
2547 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
2548 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
2549 * sysdeps/s390/ifunc-stpcpy.h: New file.
2550
2551 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2552
2553 * sysdeps/s390/multiarch/Makefile
2554 (sysdep_routines): Remove strcpy variants.
2555 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
2556 * sysdeps/s390/multiarch/ifunc-impl-list.c
2557 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
2558 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
2559 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
2560 * sysdeps/s390/multiarch/strcpy.c: Move to ...
2561 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
2562 * sysdeps/s390/ifunc-strcpy.h: New file.
2563 * sysdeps/s390/s390-64/strcpy.S: Move to ...
2564 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
2565 for 31/64bit and ifunc handling.
2566 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
2567 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2568 * sysdeps/s390/s390-32/strcpy.S: Likewise.
2569
2570 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2571
2572 * sysdeps/s390/multiarch/Makefile
2573 (sysdep_routines): Remove strnlen variants.
2574 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
2575 * sysdeps/s390/multiarch/ifunc-impl-list.c
2576 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
2577 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
2578 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
2579 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
2580 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
2581 * sysdeps/s390/multiarch/strnlen.c: Move to ...
2582 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
2583 * sysdeps/s390/ifunc-strnlen.h: New file.
2584
2585 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2586
2587 * sysdeps/s390/multiarch/Makefile
2588 (sysdep_routines): Remove strlen variants.
2589 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
2590 * sysdeps/s390/multiarch/ifunc-impl-list.c
2591 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
2592 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
2593 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
2594 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
2595 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
2596 * sysdeps/s390/multiarch/strlen.c: Move to ...
2597 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
2598 * sysdeps/s390/ifunc-strlen.h: New file.
2599
2600 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2601
2602 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
2603 * sysdeps/s390/multiarch/ifunc-impl-list.c
2604 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
2605 * sysdeps/s390/ifunc-memmem.h: New file.
2606 * sysdeps/s390/memmem.c: Likewise.
2607 * sysdeps/s390/memmem-c.c: Likewise.
2608 * sysdeps/s390/memmem-vx.c: Likewise.
2609
2610 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2611
2612 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
2613 * sysdeps/s390/multiarch/ifunc-impl-list.c
2614 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
2615 * sysdeps/s390/ifunc-strstr.h: New file.
2616 * sysdeps/s390/strstr.c: Likewise.
2617 * sysdeps/s390/strstr-c.c: Likewise.
2618 * sysdeps/s390/strstr-vx.c: Likewise.
2619
2620 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2621
2622 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
2623 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
2624 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
2625 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
2626 New defines.
2627 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
2628 * sysdeps/s390/memmove-c.c: New file.
2629 * sysdeps/s390/memmove.c: Likewise.
2630 * sysdeps/s390/multiarch/ifunc-impl-list.c
2631 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
2632
2633 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2634
2635 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
2636 * sysdeps/s390/configure.ac: Add check for z13 support.
2637 * sysdeps/s390/configure: Regenerated.
2638
2639 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2640
2641 * sysdeps/s390/memcopy.h: New file.
2642
2643 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2644
2645 * sysdeps/s390/s390-32/bcopy.S: Remove.
2646 * sysdeps/s390/s390-64/bcopy.S: Likewise.
2647
2648 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2649
2650 * sysdeps/s390/ifunc-memcpy.h: New File.
2651 * sysdeps/s390/memcpy.S: Move to ...
2652 * sysdeps/s390/memcpy-z900.S ... here.
2653 Move implementations from memcpy-s390x.s to here.
2654 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
2655 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2656 Remove memcpy/mempcpy variants.
2657 * sysdeps/s390/Makefile (sysdep_routines):
2658 Add memcpy/mempcpy variants.
2659 * sysdeps/s390/multiarch/ifunc-impl-list.c
2660 (__libc_ifunc_impl_list): Adjust ifunc variants for
2661 memcpy and mempcpy.
2662 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
2663 to ...
2664 * sysdeps/s390/memcpy.c: ... here.
2665 Adjust ifunc variants for memcpy.
2666 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
2667 * sysdeps/s390/mempcpy.c: ... here.
2668 Adjust ifunc variants for mempcpy.
2669 * sysdeps/s390/mempcpy.S: Delete file.
2670
2671 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2672
2673 * sysdeps/s390/s390-64/memcpy.S: Move to ...
2674 * sysdeps/s390/memcpy.S: ... here.
2675 Adjust to be usable for 31/64bit.
2676 * sysdeps/s390/s390-32/memcpy.S: Delete File.
2677 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
2678 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
2679 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2680 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
2681 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
2682 Adjust to be usable for 31/64bit.
2683 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
2684 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
2685 * sysdeps/s390/multiarch/memcpy.c: ... here.
2686 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
2687
2688 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2689
2690 * sysdeps/s390/ifunc-memcmp.h: New File.
2691 * sysdeps/s390/memcmp.S: Move to ...
2692 * sysdeps/s390/memcmp-z900.S ... here.
2693 Move implementations from memcmp-s390x.s to here.
2694 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
2695 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2696 Remove memcmp variants.
2697 * sysdeps/s390/Makefile (sysdep_routines):
2698 Add memcmp variants.
2699 * sysdeps/s390/multiarch/ifunc-impl-list.c
2700 (__libc_ifunc_impl_list): Adjust ifunc variants for
2701 memcmp.
2702 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
2703 to ...
2704 * sysdeps/s390/memcmp.c: ... here.
2705 Adjust ifunc variants for memcmp.
2706
2707 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2708
2709 * sysdeps/s390/s390-64/memcmp.S: Move to ...
2710 * sysdeps/s390/memcmp.S: ... here.
2711 Adjust to be usable for 31/64bit.
2712 * sysdeps/s390/s390-32/memcmp.S: Delete File.
2713 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
2714 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2715 Remove memcmp.
2716 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2717 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
2718 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
2719 Adjust to be usable for 31/64bit.
2720 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
2721 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
2722 * sysdeps/s390/multiarch/memcmp.c: ... here.
2723 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
2724
2725 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2726
2727 * sysdeps/s390/s390-32/bzero.S: Delete file.
2728 * sysdeps/s390/s390-64/bzero.S: Likewise.
2729 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
2730 * sysdeps/s390/bzero.c: New file.
2731 * sysdeps/s390/memset-z900.S: Add bzero entry points.
2732 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
2733 * sysdeps/s390/multiarch/ifunc-impl-list.c
2734 (__libc_ifunc_impl_list): Add bzero ifunc variants.
2735
2736 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2737
2738 * sysdeps/s390/ifunc-memset.h: New File.
2739 * sysdeps/s390/memset.S: Move to ...
2740 * sysdeps/s390/memset-z900.S ... here.
2741 Move implementations from memset-s390x.s to here.
2742 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
2743 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2744 Remove memset variants.
2745 * sysdeps/s390/Makefile (sysdep_routines):
2746 Add memset variants.
2747 * sysdeps/s390/multiarch/ifunc-impl-list.c
2748 (__libc_ifunc_impl_list): Adjust ifunc variants for
2749 memset.
2750 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
2751 to ...
2752 * sysdeps/s390/memset.c: ... here.
2753 Adjust ifunc variants for memset.
2754
2755 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2756
2757 * sysdeps/s390/s390-64/memset.S: Move to ...
2758 * sysdeps/s390/memset.S: ... here.
2759 Adjust to be usable for 31/64bit.
2760 * sysdeps/s390/s390-32/memset.S: Delete File.
2761 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
2762 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2763 Remove memset.
2764 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2765 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
2766 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
2767 Adjust to be usable for 31/64bit.
2768 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
2769 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
2770 * sysdeps/s390/multiarch/memset.c: ... here.
2771 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
2772
2773 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2774
2775 * sysdeps/s390/multiarch/ifunc-resolve.h
2776 (s390_libc_ifunc_init, s390_libc_ifunc,
2777 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
2778
2779 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2780
2781 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
2782 * sysdeps/s390/configure.ac: Add check for z10 support.
2783 * sysdeps/s390/configure: Regenerated.
2784
2785 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
2786
2787 * sysdeps/i386/atomic-machine.h: Merged with ...
2788 * sysdeps/x86_64/atomic-machine.h: To ...
2789 * sysdeps/x86/atomic-machine.h: This. New file.
2790
2791 2018-12-18 Florian Weimer <fweimer@redhat.com>
2792
2793 Rewrite locale/gen-translit.pl in Python.
2794 * locale/Makefile (generated): Add C-translit.h.
2795 (before-compile): Add $(objpfx)C-translit.h.
2796 (C-translit.h): Move to $(objpfx). Create target directory.
2797 Build using Python script.
2798 * locale/gen-translit.py: New file.
2799 * locale/gen-translit.pl: Remove file.
2800 * locale/C-translit.h.in: Change comment character to '#' for
2801 easier parsing without a C preprocessor.
2802 * locale/C-translit.h: Remove generated file.
2803 * manual/install.texi (Tools for Compilation): Do not mention
2804 C-translit.h.
2805 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
2806 Remove locale/C-translit.h.
2807 * scripts/update-copyrights: Likewise.
2808 * INSTALL: Regenerate.
2809
2810 2018-12-18 Florian Weimer <fweimer@redhat.com>
2811
2812 [BZ #23995]
2813 * localedata/locales/bi_VU: Remove executable bit from file.
2814
2815 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
2816
2817 * include/time.h
2818 (__localtime64): Add.
2819 * manual/maint.texi: Document Y2038 symbol handling.
2820 * time/localtime.c
2821 (__localtime64): Add.
2822 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
2823
2824 2018-12-17 Joseph Myers <joseph@codesourcery.com>
2825
2826 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
2827 Do not clobber r12.
2828
2829 * scripts/glibcextract.py (compare_macro_consts): Take parameters
2830 to allow extra macros from first or second sources.
2831 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
2832 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2833 (tests-special): Add $(objpfx)tst-mman-consts.out.
2834 ($(objpfx)tst-mman-consts.out): New makefile target.
2835
2836 2018-12-17 Mao Han <han_mao@c-sky.com>
2837
2838 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
2839 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
2840 without stat64 system call support.
2841 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
2842 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
2843 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2844 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
2845 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
2846 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
2847 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
2848 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
2849 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
2850 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
2851 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
2852
2853 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
2854
2855 regex: fix storage-exhaustion error
2856 [BZ #18040]
2857 * posix/regexec.c (get_subexp):
2858 Do not continue if storage is exhausted.
2859
2860 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
2861
2862 regex: fix heap-use-after-free error
2863 [BZ #18040]
2864 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
2865 https://debbugs.gnu.org/32592
2866 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
2867 call extend_buffers which reallocates the re_string_t internal buffer.
2868 Local variable 'buf' was not updated in such case, resulting in
2869 use-after-free.
2870 * posix/regexec.c (get_subexp): Update 'buf' after call to
2871 get_subexp_sub.
2872
2873 2018-12-15 Florian Weimer <fweimer@redhat.com>
2874
2875 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
2876 (minimum_stride_size): Use it.
2877 (support_blob_repeat_allocate): Likewise.
2878
2879 2018-12-14 Joseph Myers <joseph@codesourcery.com>
2880
2881 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
2882 definition.
2883 (acosh): Likewise.
2884 (atanh): Likewise.
2885
2886 2018-12-14 Florian Weimer <fweimer@redhat.com>
2887
2888 * manual/process.texi (Process Creation Concepts): Remove
2889 documentation of process (ID) lifetime. List more process
2890 creation functions. Reference Process Identification section.
2891 (Process Identification): Add information about process ID
2892 lifetime. Describe Linux thread/task IDs.
2893 * manual/signal.texi (Signaling Another Process): Mention that the
2894 signal is always sent to the process.
2895
2896 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2897
2898 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
2899 and tst-ldbl-efgcvt.
2900 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
2901 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
2902 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
2903 (fcvt_tests, output_error, output_r_error, do_test): Use the
2904 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
2905 select the type of floating-point variables and arguments; to
2906 produce extra tests for double and conversion specifiers for
2907 printf; and to set the names of called functions.
2908 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
2909 in tst-efgcvt-template.c.
2910 * misc/tst-ldbl-efgcvt.c: Likewise.
2911
2912 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
2913
2914 * nss/Makefile (tst-nss-test3.out): New rule.
2915
2916 2018-12-13 Joseph Myers <joseph@codesourcery.com>
2917
2918 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
2919 clobber sp.
2920
2921 2018-12-13 fanjinke <fanjinke@hygon.cn>
2922
2923 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
2924 "HygonGenuine".
2925
2926 2018-12-13 Andreas Schwab <schwab@suse.de>
2927
2928 [BZ #23861]
2929 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
2930 (__pthread_rwlock_rdlock_full): Update expected value for
2931 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
2932 * nptl/tst-rwlock-pwn.c: New file.
2933 * nptl/Makefile (tests): Add tst-rwlock-pwn.
2934
2935 2018-12-12 Joseph Myers <joseph@codesourcery.com>
2936
2937 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
2938 definition.
2939
2940 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2941
2942 * benchtests/scripts/compare_bench.py (do_compare): write to
2943 stderr in casestat is not present.
2944 * benchtests/scripts/compare_bench.py (plot_graphs): write to
2945 stderr in case timings field is not present. Also string showing
2946 the output filename goes into the stderr.
2947
2948 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2949
2950 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
2951 and ZeroDivisorError exceptions.
2952 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
2953 argument to loop through user provided statistics.
2954 * benchtests/scripts/compare_bench.py (main): Include the --stats
2955 argument.
2956
2957 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2958
2959 * benchtests/scripts/compare_bench.py (compare_runs): Continue
2960 instead of return.
2961
2962 2018-12-12 Florian Weimer <fweimer@redhat.com>
2963
2964 * sysdeps/posix/timespec_get.c: Add missing “any later version”
2965 clause to copyright header.
2966
2967 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2968
2969 [BZ #23614]
2970 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
2971 registers saved in the stack frame.
2972 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
2973 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
2974
2975 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2976
2977 * include/bits/monetary-ldbl.h: New file.
2978 * include/bits/printf-ldbl.h: Likewise.
2979 * include/bits/stdio-ldbl.h: Likewise.
2980 * include/bits/stdlib-ldbl.h: Likewise.
2981 * include/bits/syslog-ldbl.h: Likewise.
2982 * include/bits/wchar-ldbl.h: Likewise.
2983
2984 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2985
2986 * libio/libio.h: Remove redirection for _IO_vfprintf.
2987
2988 2018-12-11 Andreas Schwab <schwab@suse.de>
2989
2990 * Makerules: Remove all references to abilist-pattern.
2991 (update-all-abi): Simplify find expression.
2992
2993 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2994
2995 [BZ #23961]
2996 * math/auto-libm-test-in: Add new test case.
2997 * math/auto-libm-test-out-pow: Regenerated.
2998 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
2999
3000 2018-12-10 DJ Delorie <dj@redhat.com>
3001
3002 [BZ #23948]
3003 * support/test-container.c: Move postclean step to before we
3004 change namespaces.
3005
3006 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3007
3008 * scripts/gen-as-const.py (main): Handle --python option.
3009 * scripts/gen-py-const.awk: Remove.
3010 * Makerules (py-const-script): Use gen-as-const.py.
3011 ($(py-const)): Likewise.
3012 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
3013 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
3014 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
3015 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
3016 ~PTHREAD_MUTEX_NO_ELISION_NP.
3017 * manual/README.pretty-printers: Update reference to
3018 gen-py-const.awk.
3019
3020 * scripts/glibcextract.py: New file.
3021 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
3022 or tempfile. Import glibcexctract.
3023 (compute_c_consts): Remove. Moved to glibcextract.py.
3024 (gen_test): Update reference to compute_c_consts.
3025 (main): Likewise.
3026 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
3027 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
3028 * sysdeps/unix/sysv/linux/Makefile
3029 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
3030 Redirect stderr as well as stdout.
3031
3032 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
3033
3034 [BZ #19767]
3035 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
3036 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
3037 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
3038 ALWAYS_USE_VSYSCALL.
3039 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
3040 ALWAYS_USE_VSYSCALL.
3041 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
3042 ALWAYS_USE_VSYSCALL.
3043
3044 2018-12-10 Florian Weimer <fweimer@redhat.com>
3045
3046 [BZ #23972]
3047 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
3048 offset instead of count for clarity. Fix typo in comment.
3049 (__old_getdents64): Keep track of previous offset. Use it to call
3050 handle_overflow.
3051 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
3052 that d_off is never zero.
3053
3054 2018-12-10 Andreas Schwab <schwab@suse.de>
3055
3056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
3057 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
3058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
3059 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
3060 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
3061
3062 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3063
3064 * timezone/private.h: Update from tzcode 2018g.
3065 * timezone/tzfile.h: Likewise.
3066 * timezone/tzselect.ksh: Likewise.
3067 * timezone/zdump.c: Likewise.
3068 * timezone/zic.c: Likewise.
3069
3070 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3071
3072 [BZ #23490]
3073 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
3074 (do_test): Adjust buffer size and fix format.
3075
3076 2018-12-07 DJ Delorie <dj@redhat.com>
3077
3078 [BZ #23907]
3079 * malloc/tst-tcfree3.c: New.
3080 * malloc/Makefile: Add it.
3081
3082 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3083
3084 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
3085
3086 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3087
3088 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
3089 used as a mask for the mode argument of __vfscanf_internal and
3090 __vfwscanf_internal.
3091 * stdio-common/vfscanf-internal.c
3092 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
3093 (__strtof128_internal): Define to __wcstof128_internal.
3094 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
3095 __strtof128_internal or __wcstof128_internal when the format of
3096 long double is the same as _Float128.
3097
3098 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
3099
3100 * include/unistd.h (__confstr): Add prototype and hidden prototype.
3101 * posix/confstr.c (confstr): Rename to __confstr.
3102 (__confstr): Add hidden def.
3103 (confstr): Add weak alias for __confstr.
3104 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
3105 confstr.
3106
3107 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3108
3109 * NEWS: Mention getcpu.
3110 * include/sched.h (__getcpu): New libc_hidden_proto.
3111 * manual/resource.texi: Document getcpu.
3112 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
3113 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
3114 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
3115 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3116 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3117 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3118 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3119 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3120 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3121 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3122 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3123 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3124 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3125 Likewise.
3126 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3127 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3128 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3130 Likewise.
3131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3132 Likewise.
3133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3134 Likewise.
3135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3136 Likewise.
3137 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3138 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3139 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3140 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3141 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3142 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3143 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3144 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3145 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
3146 * sysdeps/unix/sysv/linux/getcpu.c: New file.
3147 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
3148 Also check getcpu.
3149
3150 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3151
3152 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
3153 functions.
3154 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
3155
3156 2018-12-07 Florian Weimer <fweimer@redhat.com>
3157
3158 [BZ #17405]
3159 * posix/Makefile (routines): Add spawn_faction_addfchdir.
3160 * posix/Versions (GLIBC_2.29): Export
3161 posix_spawn_file_actions_addfchdir_np.
3162 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
3163 * posix/spawn_faction_destroy.c
3164 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
3165 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
3166 and the field action.fchdir_action.
3167 * posix/tst-spawn-chdir.c (add_chdir): New function.
3168 (do_test): Add do_fchdir loop. Call add_chdir.
3169 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
3170 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3171 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
3172 posix_spawn_file_actions_addfchdir_np.
3173 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
3174 Likewise.
3175 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
3176 Likewise.
3177 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
3178 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
3179 Likewise.
3180 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
3181 Likewise.
3182 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
3183 Likewise.
3184 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
3185 Likewise.
3186 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
3187 Likewise.
3188 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
3189 Likewise.
3190 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3191 (GLIBC_2.29): Likewise.
3192 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3193 (GLIBC_2.29): Likewise.
3194 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3195 (GLIBC_2.29): Likewise.
3196 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3197 (GLIBC_2.29): Likewise.
3198 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
3199 Likewise.
3200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3201 (GLIBC_2.29): Likewise.
3202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3203 (GLIBC_2.29): Likewise.
3204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3205 (GLIBC_2.29): Likewise.
3206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3207 (GLIBC_2.29): Likewise.
3208 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
3209 Likewise.
3210 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
3211 Likewise.
3212 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
3213 Likewise.
3214 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
3215 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
3216 Likewise.
3217 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
3218 Likewise.
3219 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
3220 Likewise.
3221 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
3222 Likewise.
3223
3224 2018-12-06 Joseph Myers <joseph@codesourcery.com>
3225
3226 * manual/texinfo.tex: Update to version 2018-09-21.20 with
3227 trailing whitespace removed.
3228 * scripts/config.guess: Update to version 2018-11-28.
3229 * scripts/config.sub: Update to version 2018-11-28.
3230 * scripts/install-sh: Update to version 2018-03-11.20.
3231 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
3232 * scripts/move-if-change: Update to version 2018-03-07 03:47.
3233
3234 2018-12-07 Florian Weimer <fweimer@redhat.com>
3235
3236 [BZ #23927]
3237 CVE-2018-19591
3238 * inet/tst-if_index-long.c: New file.
3239 * inet/Makefile (tests): Add tst-if_index-long.
3240
3241 2018-12-07 Florian Weimer <fweimer@redhat.com>
3242
3243 * support/check.h (support_record_failure_is_failed): Declare.
3244 * support/descriptors.h: New file.
3245 * support/support_descriptors.c: Likewise.
3246 * support/tst-support_descriptors.c: Likewise.
3247 * support/support_record_failure.c
3248 (support_record_failure_is_failed): New function.
3249 * support/Makefile (libsupport-routines): Add support_descriptors.
3250 (tests): Add tst-support_descriptors.
3251
3252 2018-12-05 Zack Weinberg <zackw@panix.com>
3253 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3254
3255 * stdio-common/vfprintf-internal.c
3256 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
3257 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
3258 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
3259 and __no_long_double.
3260 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
3261 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
3262 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
3263 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
3264 and __nldbl_*syslog* functions.
3265 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
3266 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
3267 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
3268 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
3269 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
3270 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
3271 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
3272 (__nldbl_vwprintf, __nldbl_wprintf):
3273 Directly call the appropriate __v*printf_internal routine, passing
3274 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
3275 variable names.
3276 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
3277 (__nldbl___printf_chk, __nldbl___snprintf_chk)
3278 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
3279 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
3280 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
3281 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3282 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
3283 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
3284 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
3285 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
3286 Likewise, and also pass PRINTF_FORTIFY when appropriate.
3287 (__nldbl_syslog, __nldbl_vsyslog):
3288 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
3289 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3290 appropriate.
3291 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3292 appropriate.
3293
3294 2018-12-05 Zack Weinberg <zackw@panix.com>
3295 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3296
3297 [BZ #11319]
3298 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
3299 Moved here from debug/vsprintf_chk.c.
3300 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
3301 and completion logic for the strfile to match exactly what
3302 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
3303 _IO_str_init_static_internal instead of maxlen-1.
3304 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3305 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
3306 __vsprintf_internal.
3307
3308 * debug/vsprintf_chk.c (__vsprintf_chk)
3309 * debug/sprintf_chk.c (__sprintf_chk):
3310 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
3311 'flags' argument is positive, and slen as maxlen. No need to lock
3312 the FILE and/or construct a temporary FILE. Minimize and normalize
3313 header inclusions and variable names. Do not libc_hidden_def anything.
3314
3315 * debug/asprintf_chk.c (__asprintf_chk)
3316 * debug/dprintf_chk.c (__dprintf_chk)
3317 * debug/fprintf_chk.c (__fprintf_chk)
3318 * debug/fwprintf_chk.c (__fwprintf_chk)
3319 * debug/printf_chk.c (__printf_chk)
3320 * debug/snprintf_chk.c (__snprintf_chk)
3321 * debug/swprintf_chk.c (__swprintf_chk)
3322 * debug/vasprintf_chk.c (__vasprintf_chk)
3323 * debug/vdprintf_chk.c (__vdprintf_chk)
3324 * debug/vfprintf_chk.c (__vfprintf_chk)
3325 * debug/vfwprintf_chk.c (__vfwprintf_chk)
3326 * debug/vprintf_chk.c (__vprintf_chk)
3327 * debug/vsnprintf_chk.c (__vsnprintf_chk)
3328 * debug/vswprintf_chk.c (__vswprintf_chk)
3329 * debug/vwprintf_chk.c (__vwprintf_chk)
3330 * debug/wprintf_chk.c (__wprintf_chk):
3331 Directly call the corresponding vxxprintf_internal function, passing
3332 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
3333 the FILE and/or construct a temporary FILE. Minimize and normalize
3334 header inclusions and variable names. Do not libc_hidden_def anything.
3335
3336 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
3337 __obstack_vprintf_internal.
3338 (__obstack_vprintf_chk): Convert into a wrapper that calls
3339 __obstack_vprintf_internal (these two functions already had the
3340 same code) and move to new file...
3341 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
3342 file.
3343 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
3344 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
3345 * debug/Makefile (routines): Add vobprintf_chk.
3346
3347 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3348 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3349 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
3350 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3351 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
3352 (__nldbl___obstack_vfprintf_chk):
3353 Directly call the corresponding vxxprintf_internal function,
3354 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
3355 duplicate comparison of slen with 0 or maxlen from the corresponding
3356 non-__nldbl function.
3357
3358 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
3359 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
3360 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
3361 Remove libc_hidden_proto.
3362
3363 * stdio-common/vfprintf-internal.c
3364 (__vfprintf_internal, __vfwprintf_internal):
3365 Do not check _IO_FLAGS2_FORTIFY.
3366 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
3367 * libio/libioP.h: Update prototype of __vsprintf_internal and add
3368 a comment explaining why it has the maxlen argument.
3369 (_IO_acquire_lock_clear_flags2_fct): Remove.
3370 (_IO_acquire_lock_clear_flags2): Remove.
3371 (_IO_release_lock): Remove conditional statement which will
3372 now never execute.
3373 (_IO_acquire_lock): Remove variable which is now unused.
3374 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3375 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3376
3377 * stdio-common/Makefile (tests): Add tst-bz11319 and
3378 tst-bz11319-fortify2.
3379 (CFLAGS-tst-bz11319-fortify2.c): New macro.
3380 * stdio-common/tst-bz11319-fortify2.c: New file.
3381 * stdio-common/tst-bz11319.c: Likewise.
3382
3383 2018-12-05 Zack Weinberg <zackw@panix.com>
3384 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3385
3386 * misc/syslog.c: Include libioP.h, not iolibio.h.
3387 (__vsyslog_internal): New function with the former body of
3388 __vsyslog_chk; takes mode_flags argument same as
3389 __v*printf_internal. Call __vfprintf_internal directly.
3390
3391 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
3392 Remove libc_hidden_def.
3393 (__syslog, __syslog_chk): Use __vsyslog_internal.
3394 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
3395
3396 * include/sys/syslog.h: Add multiple inclusion guard.
3397 Add prototype for __vsyslog_internal.
3398 Remove declaration and libc_hidden_proto for __vsyslog_chk.
3399
3400 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
3401 Use __vsyslog_internal.
3402
3403 2018-12-05 Zack Weinberg <zackw@panix.com>
3404 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3405
3406 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
3407 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
3408 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
3409 New functions.
3410 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
3411 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
3412
3413 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
3414 Include wctype.h here if COMPILE_WPRINTF is defined.
3415 Define __vfprintf_internal or __vfwprintf_internal, depending
3416 on COMPILE_WPRINTF.
3417 Temporarily, on entry to this function, update mode_flags
3418 according to the environmental settings corresponding to
3419 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
3420 Throughout, check mode_flags instead of __ldbl_is_dbl and
3421 _IO_FLAGS2_FORTIFY on the destination FILE.
3422 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
3423 Include vfprintf-internal.c. Don't include wctype.h.
3424 * stdio-common/vfprintf.c: New file. Just define __vfprintf
3425 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
3426 and vfprintf.
3427 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
3428 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
3429 and vfwprintf.
3430 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
3431
3432 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
3433 and add mode_flags argument; use __vfprintf_internal.
3434 (__vdprintf): New function. Alias vdprintf to this.
3435 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
3436 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
3437 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
3438 (__obstack_printf): Use __obstack_printf_internal.
3439 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
3440 public aliases __vsnprintf and vsnprintf.
3441 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
3442 called internally.
3443 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
3444 public aliases _IO_vsprintf and vsprintf.
3445 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
3446 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
3447 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
3448 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
3449 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
3450
3451 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
3452 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
3453 * stdio-common/fprintf.c, stdio-common/fxprintf.c
3454 * stdio-common/printf.c: Use __vfprintf_internal.
3455
3456 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
3457 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
3458 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
3459
3460 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
3461 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
3462 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
3463 __vfwprintf_internal.
3464
3465 * libio/libio.h: Remove libc_hidden_proto and declaration for
3466 _IO_vfprintf.
3467 Remove declaration of _IO_vfwprintf.
3468 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
3469 _IO_vsprintf.
3470 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
3471 _IO_obstack_printf.
3472 * include/stdio.h: Add prototype for __vasprintf.
3473 (__vsnprintf): Remove declaration, because there are no more
3474 internal calls.
3475 * include/wchar.h (__vfwprintf, __vswprintf): Remove
3476 declaration, because there are no more internal calls.
3477
3478 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
3479 __vsnprintf_internal, instead of _IO_vsnprintf.
3480 * argp/argp-help.c (__argp_error, __argp_failure): Use
3481 __vasprintf_internal, instead of _IO_vasprintf.
3482 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
3483 redefine, because there are no more internal calls.
3484
3485 2018-12-05 Zack Weinberg <zackw@panix.com>
3486 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3487
3488 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
3489 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
3490 Include libio/strfile.h instead of libioP.h.
3491 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
3492 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
3493 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
3494 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
3495 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
3496 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
3497 necessary. Do not set __no_long_double. Normalize variable names.
3498 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
3499 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
3500 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
3501 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
3502 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
3503 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
3504 Call __vfscanf_internal / __vfwscanf_internal directly, passing
3505 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
3506 Do not set __no_long_double. Normalize variable names.
3507
3508 2018-12-05 Zack Weinberg <zackw@panix.com>
3509 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3510
3511 * stdio-common/isoc99_scanf.c
3512 * stdio-common/isoc99_fscanf.c
3513 * stdio-common/isoc99_sscanf.c
3514 * stdio-common/isoc99_vscanf.c
3515 * stdio-common/isoc99_vfscanf.c
3516 * stdio-common/isoc99_vsscanf.c
3517 * wcsmbs/isoc99_wscanf.c
3518 * wcsmbs/isoc99_fwscanf.c
3519 * wcsmbs/isoc99_swscanf.c
3520 * wcsmbs/isoc99_vwscanf.c
3521 * wcsmbs/isoc99_vfwscanf.c
3522 * wcsmbs/isoc99_vswscanf.c:
3523 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
3524 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
3525 No need to lock and unlock the FILE passed to that function.
3526
3527 * stdio-common/vfscanf-internal.c
3528 (__vfscanf_internal, __vfwscanf_internal):
3529 Don't look at _IO_FLAGS2_SCANF_STD.
3530 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
3531 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
3532 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
3533
3534 2018-12-05 Zack Weinberg <zackw@panix.com>
3535 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3536
3537 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
3538 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
3539 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
3540 * libio/strfile.h: Add multiple inclusion guard.
3541 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
3542
3543 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
3544 consistency with the other version of this file.
3545 (ldbl_compat_symbol): New macro.
3546 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
3547 New macro.
3548
3549 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
3550 Define __vfscanf_internal or __vfwscanf_internal, depending on
3551 COMPILE_WSCANF; don't define any other public symbols.
3552 Remove errval and code to set errp.
3553 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
3554 as the mode_flags argument.
3555 (encode_error, conv_error, input_error): Don't set errval.
3556 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
3557 Include vfscanf-internal.c.
3558 * stdio-common/vfscanf.c: New file defining the public entry
3559 point vfscanf, which calls __vfscanf_internal.
3560 * stdio-common/vfwscanf.c: New file defining the public entry
3561 point vfwscanf, which calls __vfwscanf_internal.
3562
3563 * stdio-common/iovfscanf.c: New file.
3564 * stdio-common/iovfwscanf.c: Likewise.
3565
3566 * stdio-common/Makefile (routines): Add vfscanf-internal,
3567 vfwscanf-internal, iovfscanf, iovfwscanf.
3568 * stdio-common/Versions: Mention GLIBC_2.29, so that
3569 it can be used in SHLIB_COMPAT expressions.
3570 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
3571 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
3572 Call __vfscanf_internal, instead of _IO_vfscanf.
3573 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
3574 _IO_vfscanf.
3575 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
3576 _IO_vfwscanf.
3577
3578 * libio/iovsscanf.c: Clean up includes, when possible. Use
3579 _IO_strfile_read or _IO_strfile_readw, when needed. Call
3580 __vfscanf_internal or __vfwscanf_internal directly.
3581 * libio/iovswscanf.c: Likewise.
3582 * libio/swscanf.c: Likewise.
3583 * libio/vscanf.c: Likewise.
3584 * libio/vwscanf.c: Likewise.
3585 * libio/wscanf.c: Likewise.
3586 * stdio-common/isoc99_fscanf.c: Likewise.
3587 * stdio-common/isoc99_scanf.c: Likewise.
3588 * stdio-common/isoc99_sscanf.c: Likewise.
3589 * stdio-common/isoc99_vfscanf.c: Likewise.
3590 * stdio-common/isoc99_vscanf.c: Likewise.
3591 * stdio-common/isoc99_vsscanf.c: Likewise.
3592 * stdio-common/scanf.c: Likewise.
3593 * stdio-common/sscanf.c: Likewise.
3594 * wcsmbs/isoc99_fwscanf.c: Likewise.
3595 * wcsmbs/isoc99_swscanf.c: Likewise.
3596 * wcsmbs/isoc99_vfwscanf.c: Likewise.
3597 * wcsmbs/isoc99_vswscanf.c: Likewise.
3598 * wcsmbs/isoc99_vwscanf.c: Likewise.
3599 * wcsmbs/isoc99_wscanf.c: Likewise.
3600
3601 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
3602
3603 * include/time.h
3604 (__tz_compute): Replace time_t with __time64_t.
3605 (__tz_convert): Replace time_t* with __time64_t.
3606 (__offtime): Replace time_t* with __time64_t.
3607 * time/gmtime.c
3608 (__gmtime_r): Adjust call to __tz_convert.
3609 (gmtime): Likewise.
3610 * time/localtime.c
3611 (__localtime_r): Likewise.
3612 (localtime): Likewise.
3613 * time/offtime.c: Replace time_t with __time64_t.
3614 * time/tzset.c: Likewise.
3615
3616 2018-12-04 Joseph Myers <joseph@codesourcery.com>
3617
3618 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
3619 dynamic linker unless [$(run-built-tests) = yes].
3620
3621 2018-12-03 DJ Delorie <dj@delorie.com>
3622
3623 * support/test-container.c (check_for_unshare_hints): New.
3624 (main): Call it if unshare fails. Add support for "su" scriptlet
3625 command.
3626
3627 2018-12-03 Joseph Myers <joseph@codesourcery.com>
3628
3629 * scripts/gen-as-const.py (compute_c_consts): Take an argument
3630 'START' to indicate that start text should be output.
3631 (gen_test): Likewise.
3632 (main): Generate 'START' for first symbol or '--' line, or at end
3633 of input if not previously generated.
3634
3635 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
3636
3637 [BZ #19767]
3638 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
3639 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
3640 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
3641 ALWAYS_USE_VSYSCALL.
3642
3643 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3644
3645 [BZ #23913]
3646 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
3647 new_argv by one.
3648
3649 2018-12-03 Carlos O'Donell <carlos@redhat.com>
3650
3651 [BZ #23923]
3652 * locale/programs/localedef.c: Declare boolean hard_links default true.
3653 (options): Add --no-hard-links option.
3654 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
3655 * locale/programs/localedef.h: Declare prototype for hard_links.
3656 * locale/programs/locfile.c (write_locale_data): Don't use hard
3657 links if hard_links is false.
3658
3659 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
3660
3661 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
3662 cpu_features_basic.
3663 (__cache_sysconf): Likewise.
3664 (init_cacheinfo): Likewise.
3665 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
3666 populate COMMON_CPUID_INDEX_80000007 and
3667 COMMON_CPUID_INDEX_80000008.
3668 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
3669 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
3670 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
3671 (init_cpu_features): Use _Static_assert on
3672 index_arch_Fast_Unaligned_Load.
3673 __get_cpuid_registers and __get_arch_feature. Updated for
3674 cpu_features_basic. Set stepping in cpu_features.
3675 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
3676 (FEATURE_INDEX_2): New.
3677 (FEATURE_INDEX_MAX): Changed to enum.
3678 (COMMON_CPUID_INDEX_D_ECX_1): New.
3679 (COMMON_CPUID_INDEX_80000007): Likewise.
3680 (COMMON_CPUID_INDEX_80000008): Likewise.
3681 (cpuid_registers): Likewise.
3682 (cpu_features_basic): Likewise.
3683 (CPU_FEATURE_USABLE): Likewise.
3684 (bit_arch_XXX_Usable): Likewise.
3685 (cpu_features): Use cpuid_registers and cpu_features_basic.
3686 (bit_arch_XXX): Reweritten.
3687 (bit_cpu_XXX): Likewise.
3688 (index_cpu_XXX): Likewise.
3689 (reg_XXX): Likewise.
3690 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
3691 <support/check.h>.
3692 (CHECK_CPU_FEATURE): New.
3693 (CHECK_CPU_FEATURE_USABLE): Likewise.
3694 (cpu_kinds): Likewise.
3695 (do_test): Print vendor, family, model and stepping. Check
3696 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
3697 (TEST_FUNCTION): Removed.
3698 Include <support/test-driver.c> instead of
3699 "../../test-skeleton.c".
3700 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
3701 Check POPCNT instead of POPCOUNT.
3702 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
3703
3704 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3705
3706 * scripts/gen-as-const.py (main): Avoid emitting empty line when
3707 there is no element in `consts'.
3708
3709 2018-12-01 Florian Weimer <fweimer@redhat.com>
3710
3711 * support/support_capture_subprocess.c
3712 (support_capture_subprocess): Check that pipe descriptors have
3713 expected values. Close original pipe descriptors in subprocess.
3714
3715 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
3716
3717 [BZ #23032]
3718 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
3719 attr with __pthread_default_barrierattr.
3720 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
3721 attr with __pthread_default_condattr.
3722 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
3723 attr with __pthread_default_mutexattr.
3724 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
3725 attr with __pthread_default_rwlockattr.
3726
3727 2018-12-01 Kemi Wang <kemi.wang@intel.com>
3728
3729 * manual/tunables.texi (POSIX Thread Tunables): New node.
3730 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
3731 * nptl/nptl-init.c: Include pthread_mutex_conf.h
3732 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
3733 __pthread_tunables_init.
3734 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
3735 (max_adaptive_count): Define.
3736 * nptl/pthread_mutex_conf.c: New file.
3737 * nptl/pthread_mutex_conf.h: New file.
3738 * sysdeps/generic/adaptive_spin_count.h: New file.
3739 * sysdeps/nptl/dl-tunables.list: New file.
3740 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3741 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
3742 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
3743 Likewise.
3744
3745 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
3746
3747 [BZ #20544]
3748 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
3749 * stdlib/on_exit.c (__on_exit): Likewise.
3750 * stdlib/Makefile (tests): Add tst-bz20544.
3751 * stdlib/tst-bz20544.c: New test.
3752
3753 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
3754
3755 [BZ #19767]
3756 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
3757 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
3758 New.
3759
3760 2018-11-30 Florian Weimer <fweimer@redhat.com>
3761
3762 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
3763 Extend error logging.
3764 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
3765 symbol.
3766
3767 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3768
3769 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
3770 __sigismember instead of sigismember.
3771 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
3772 cancel_handler): New definitions.
3773 (do_system): Use posix_spawn instead of fork and execl and remove
3774 reentracy code.
3775 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
3776 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
3777 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
3778 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3779 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3780 * sysdeps/unix/sysv/linux/system.c: Likewise.
3781
3782 [BZ #22834]
3783 [BZ #17490]
3784 * NEWS: Add new semantic for atfork with popen and system.
3785 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
3786 fork and execl.
3787
3788 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3789
3790 [BZ #23690]
3791 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
3792 modification order when accessing reloc_result->addr.
3793 * include/link.h (reloc_result): Add field init.
3794 * nptl/Makefile (tests): Add tst-audit-threads.
3795 (modules-names): Add tst-audit-threads-mod1 and
3796 tst-audit-threads-mod2.
3797 Add rules to build tst-audit-threads.
3798 * nptl/tst-audit-threads-mod1.c: New file.
3799 * nptl/tst-audit-threads-mod2.c: Likewise.
3800 * nptl/tst-audit-threads.c: Likewise.
3801 * nptl/tst-audit-threads.h: Likewise.
3802
3803 2018-11-30 Joseph Myers <joseph@codesourcery.com>
3804
3805 * scripts/gen-as-const.py: New file.
3806 * scripts/gen-as-const.awk: Remove.
3807 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
3808 gen-as-const.py.
3809 ($(objpfx)test-as-const-%.c): Likewise.
3810
3811 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3812
3813 * elf/dl-exception.c: Include <_itoa.h>.
3814
3815 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
3816
3817 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
3818 returned by __f_setlk.
3819
3820 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3821 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3822
3823 * elf/Makefile (tests-internal): Add tst-create_format1.
3824 * elf/dl-exception.c (_dl_exception_create_format): Support
3825 %x, %lx and %zx.
3826 * elf/tst-create_format1.c: New file.
3827
3828 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
3829
3830 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
3831 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
3832 gnulib.)
3833 * argp/argp-help.c (__argp_failure): Likewise.
3834
3835 2018-11-29 Mao Han <han_mao@c-sky.com>
3836
3837 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
3838 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
3839 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
3840 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
3841 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
3842 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
3843 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
3844 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
3845 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
3846 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
3847 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
3848 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
3849 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
3850 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
3851 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
3852 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
3853 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
3854 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
3855 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
3856 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
3857 (R_CKCORE_TLS_TPOFF32): New defines.
3858
3859 2018-11-29 Florian Weimer <fweimer@redhat.com>
3860
3861 * posix/Makefile (before-compile): Remove testcases.h and
3862 ptestcases.h.
3863 (generated): Add testcases.h and ptestcases.h.
3864 (testcases.h, ptestcases.h): Move to $(objpfx).
3865 (runtests.o): Add dependency on testcases.h.
3866 (runptests.o): Add dependency on ptestcases.h.
3867 * posix/testcases.h, posix/ptestcases.h: Remove files.
3868 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
3869 not touch posix/testcases.h and posix/ptestcases.h.
3870
3871 2018-11-28 Florian Weimer <fweimer@redhat.com>
3872
3873 support: Add signal support to support_capture_subprocess_check.
3874 * support/capture_subprocess.h (support_capture_subprocess_check):
3875 Adjust comment and rename parameter.
3876 * support/support_capture_subprocess_check.c
3877 (print_actual_status): New function.
3878 (support_capture_subprocess_check): Support negative
3879 status_or_signal. Call print_actual_status.
3880 * support/tst-support_capture_subprocess.c (do_test): Call
3881 support_capture_subprocess_check.
3882 * libio/tst-vtables-common.c (termination_status)
3883 (init_termination_status): Remove.
3884 (check_for_termination): Adjust support_capture_subprocess_check
3885 call.
3886 (do_test): Remove call to init_termination_status.
3887
3888 2018-11-28 Joseph Myers <joseph@codesourcery.com>
3889
3890 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
3891 source directory instead of a copy.
3892 (CommandList.create_copy_dir): Remove.
3893
3894 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
3895
3896 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3897
3898 2018-11-28 Florian Weimer <fweimer@redhat.com>
3899
3900 * support/support.h (support_quote_string): Do not use str
3901 parameter name.
3902
3903 2018-11-27 Joseph Myers <joseph@codesourcery.com>
3904
3905 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
3906 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
3907
3908 2018-11-27 Florian Weimer <fweimer@redhat.com>
3909
3910 * support/support.h (support_quote_string): Declare.
3911 * support/support_quote_string.c: New file.
3912 * support/tst-support_quote_string.c: Likewise.
3913 * support/Makefile (libsupport-routines): Add
3914 support_quote_string.
3915 (tests): Add tst-support_quote_string.
3916
3917 2018-11-27 Florian Weimer <fweimer@redhat.com>
3918
3919 [BZ #23927]
3920 CVE-2018-19591
3921 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
3922 descriptor leak in case of ENODEV error.
3923
3924 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
3925
3926 [BZ #19767]
3927 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
3928 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
3929 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
3930
3931 2018-11-26 Carlos O'Donell <carlos@redhat.com>
3932
3933 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
3934 Error for unknown lines.
3935
3936 2018-11-26 Joseph Myers <joseph@codesourcery.com>
3937
3938 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3939 Touch additional files.
3940
3941 2018-11-26 Florian Weimer <fweimer@redhat.com>
3942
3943 [BZ #23907]
3944 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
3945 double-frees.
3946
3947 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
3948
3949 [BZ #19767]
3950 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
3951 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
3952 SHARED. Include sysdep.h.
3953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
3954 ALWAYS_USE_VSYSCALL.
3955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
3956 ALWAYS_USE_VSYSCALL.
3957
3958 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
3959
3960 [BZ #19767]
3961 * nptl/Makefile (tests-static): Add tst-cond11-static.
3962 (tests): Likewise.
3963 * nptl/tst-cond11-static.c: New File.
3964 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
3965 tst-affinity-static.
3966 (tests): Likewise.
3967 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
3968 instead of SHARED.
3969 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
3970 (USE_VSYSCALL): Likewise.
3971 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
3972 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
3973 instead of SHARED.
3974 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
3975 SHARED.
3976 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
3977 New.
3978
3979 2018-11-23 Joseph Myers <joseph@codesourcery.com>
3980
3981 [BZ #23915]
3982 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3983 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
3984 Undefine.
3985
3986 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
3987
3988 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
3989 (tst-cet-legacy-1a-ARGS): New.
3990 ($(objpfx)tst-cet-legacy-1a): New target.
3991 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
3992
3993 2018-11-22 Joseph Myers <joseph@codesourcery.com>
3994
3995 * conform/conformtest.py (CompileSubTest.__init__): Set
3996 self.run_early to False.
3997 (ExecuteSubTest.__init__): Likewise.
3998 (HeaderTests.run): Try running all non-optional, non-XFAILed
3999 compilation tests in a single execution of the compiler.
4000
4001 * conform/conformtest.py (CompileSubTest): New class.
4002 (ExecuteSubTest): Likewise.
4003 (ElementTest.run): Rename to gen_subtests. Append tests to
4004 self.subtests instead of running them.
4005 (ConstantTest.run): Likewise.
4006 (SymbolTest.run): Likewise.
4007 (TypeTest.run): Likewise.
4008 (TagTest.run): Likewise.
4009 (FunctionTest.run): Likewise.
4010 (VariableTest.run): Likewise.
4011 (MacroFunctionTest.run): Likewise.
4012 (MacroStrTest.run): Likewise.
4013 (HeaderTests.handle_test_line): Generate subtests for tests.
4014 (HeaderTests.run): Run subtests for tests.
4015
4016 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4017
4018 * math/Versions (GLIBC_2.29): Add pow.
4019 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
4020 symbol.
4021 * math/w_pow.c: New file.
4022 * sysdeps/i386/fpu/w_pow.c: New file.
4023 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
4024 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
4025 and add necessary aliases.
4026 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
4027 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
4028 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4029 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4030 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4031 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4032 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4033 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4034 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4035 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4036 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4037 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4038 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4039 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4040 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4045 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4046 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4047 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4048 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4049 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4050 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4051 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4052 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
4053 __pow.
4054 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
4055 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
4056 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
4057
4058 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4059
4060 * math/Versions (GLIBC_2.29): Add log2.
4061 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
4062 symbol.
4063 * math/w_log2.c: New file.
4064 * sysdeps/i386/fpu/w_log2.c: New file.
4065 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
4066 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
4067 and add necessary aliases.
4068 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
4069 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
4070 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4071 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4072 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4073 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4074 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4075 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4076 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4077 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4078 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4079 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4080 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4081 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4082 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4087 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4088 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4089 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4090 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4091 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4092 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4093 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4094
4095 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4096
4097 * math/Versions (GLIBC_2.29): Add log.
4098 * math/w_log_compat.c (__log_compat): Change to versioned compat
4099 symbol.
4100 * math/w_log.c: New file.
4101 * sysdeps/i386/fpu/w_log.c: New file.
4102 * sysdeps/ia64/fpu/e_log.S: Update.
4103 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
4104 and add necessary aliases.
4105 * sysdeps/ieee754/dbl-64/w_log.c: New file.
4106 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
4107 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4108 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4109 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4110 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4111 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4112 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4113 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4114 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4115 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4116 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4117 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4118 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4119 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4124 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4125 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4126 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4127 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4128 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4129 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4130 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4131 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
4132 __log.
4133 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
4134 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
4135 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
4136 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
4137
4138 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4139
4140 * math/Versions (GLIBC_2.29): Add exp and exp2.
4141 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
4142 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
4143 * math/w_exp_compat.c (__exp_compat): Likewise.
4144 * math/w_exp.c: New file.
4145 * math/w_exp2.c: New file.
4146 * sysdeps/i386/fpu/w_exp.c: New file.
4147 * sysdeps/i386/fpu/w_exp2.c: New file.
4148 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
4149 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
4150 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
4151 and add necessary aliases.
4152 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
4153 and add necessary aliases.
4154 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
4155 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
4156 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
4157 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
4158 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4159 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4160 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4161 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4162 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4163 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4164 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4165 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4166 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4167 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4168 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4169 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4170 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4175 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4176 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4177 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4178 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4179 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4180 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4181 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4182 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
4183 (__ieee754_exp): Rename to __exp.
4184 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
4185 (__ieee754_exp): Rename to __exp.
4186 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
4187 (__ieee754_exp): Rename to __exp.
4188 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
4189 __exp.
4190 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
4191
4192 2018-11-20 DJ Delorie <dj@redhat.com>
4193
4194 * malloc/malloc.c (tcache_entry): Add key field.
4195 (tcache_put): Set it.
4196 (tcache_get): Likewise.
4197 (_int_free): Check for double free in tcache.
4198 * malloc/tst-tcfree1.c: New.
4199 * malloc/tst-tcfree2.c: New.
4200 * malloc/Makefile: Run the new tests.
4201 * manual/probes.texi: Document memory_tcache_double_free probe.
4202
4203 * dlfcn/dlerror.c (check_free): Prevent double frees.
4204
4205 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
4206
4207 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
4208
4209 2018-11-20 Joseph Myers <joseph@codesourcery.com>
4210
4211 * conform/conformtest.py (ElementTest.run): Use unique identifiers
4212 in tests. Use names for format arguments.
4213 (ConstantTest.run): Likewise.
4214 (SymbolTest.run): Likewise.
4215 (TypeTest.run): Likewise.
4216 (TagTest.run): Likewise.
4217 (FunctionTest.run): Likewise.
4218 (VariableTest.run): Likewise.
4219 (MacroFunctionTest.run): Likewise.
4220 (MacroStrTest.run): Likewise.
4221 (HeaderTests.__init__): Set self.num_tests.
4222 (HeaderTests.handle_test_line): Set test.num. Increment
4223 self.num_tests.
4224
4225 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
4226
4227 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
4228 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
4229 SEEK_SET.
4230
4231 2018-11-19 Mao Han <han_mao@c-sky.com>
4232
4233 * scripts/config.guess: Update to version 2018-08-29.
4234 * scripts/config.sub: Update to version 2018-08-29.
4235
4236 2018-11-19 Florian Weimer <fweimer@redhat.com>
4237
4238 support: Print timestamps in timeout handler.
4239 * support/support_test_main.c (print_timestamp): New function.
4240 (signal_handler): Use it to print the termination time and the
4241 time of the last write to standard output.
4242
4243 2018-11-16 Zack Weinberg <zackw@panix.com>
4244 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4245
4246 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
4247 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
4248 argument.
4249 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
4250 and add flags argument. Check flags instead of __ldbl_is_dbl when
4251 deciding whether to set is_long_double.
4252 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
4253 passing zero for flags argument.
4254 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
4255
4256 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4257 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
4258 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
4259 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
4260 variable names. Remove libc_hidden_def/libc_hidden_proto from
4261 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
4262 longer called from within the library.
4263 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
4264 for __nldbl___vstrfmon_l, declare it explicitly.
4265
4266 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
4267
4268 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
4269
4270 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
4271 macros
4272 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
4273 F_SETLK64, F_SETLKW64, respectively.
4274 * sysdeps/mach/hurd/f_setlk.c: New file.
4275 * sysdeps/mach/hurd/f_setlk.h: New file.
4276 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
4277 f_setlk.
4278 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
4279 (__libc_fcntl): Move non-flock operations to...
4280 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
4281 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
4282
4283 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
4284
4285 mktime: DEBUG_MKTIME cleanup
4286 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
4287 And it’s no longer needed now that glibc and Gnulib both have
4288 their own testing mechanisms for mktime.
4289 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
4290
4291 mktime: fix non-EOVERFLOW errno handling
4292 [BZ#23789]
4293 mktime was not properly reporting failures when the underlying
4294 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
4295 them like EOVERFLOW failures, and set errno to EOVERFLOW.
4296 The problem could happen on non-glibc platforms, with Gnulib.
4297 * time/mktime.c (guess_time_tm): Remove, replacing with ...
4298 (tm_diff): ... this simpler function, which does not change errno.
4299 All callers changed to deal with errno themselves.
4300 (ranged_convert, __mktime_internal): Return failure immediately if
4301 the underlying function reports any failure other than EOVERFLOW.
4302 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
4303 gap code fails.
4304
4305 mktime: fix bug with Y2038 DST transition
4306 [BZ#23789]
4307 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
4308 mishandle a DST transition that jumps over the Y2038 boundary.
4309 No such DST transitions are known so this is only a theoretical
4310 bug, but we might as well do things right.
4311
4312 mktime: make more room for overflow
4313 [BZ#23789]
4314 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
4315 This is so that we can add tm_diff results to a previous guess,
4316 which will be useful in a later patch.
4317
4318 mktime: simplify offset guess
4319 [BZ#23789]
4320 * time/mktime.c (__mktime_internal): Omit excess precision.
4321
4322 mktime: new test for mktime failure
4323 [BZ#23789]
4324 Based on a test suggested by Albert Aribaud in:
4325 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
4326 * time/Makefile (tests): Add bug-mktime4.
4327 * time/bug-mktime4.c: New file.
4328
4329 mktime: fix EOVERFLOW bug
4330 [BZ#23789]
4331 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
4332 Include libc-config.h, not config.h, for __set_errno.
4333 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
4334
4335 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
4336
4337 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
4338 __attribute_copy__ to copy attributes from name. Drop static qualifier
4339 to avoid warnings about leaf attribute not having effect on static
4340 functions.
4341
4342 2018-11-13 Florian Weimer <fweimer@redhat.com>
4343
4344 * malloc/malloc.c (fastbin_push_entry): New function.
4345 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
4346 (REMOVE_FB): Remove macro.
4347 (_int_malloc): Use fastbin_pop_entry and reindent.
4348 (_int_free): Use fastbin_push_entry.
4349 (malloc_consolidate): Use atomic_exchange_acquire.
4350
4351 2018-11-13 Joseph Myers <joseph@codesourcery.com>
4352
4353 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
4354 alias attribute, not with strong_alias.
4355
4356 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
4357 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
4358 with additional parameter thread.
4359 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
4360 in terms of __hidden_ver2.
4361 (hidden_tls_def): New macro.
4362 (libc_hidden_tls_def): Likewise.
4363 (rtld_hidden_tls_def): Likewise.
4364 (libm_hidden_tls_def): Likewise.
4365 (libmvec_hidden_tls_def): Likewise.
4366 (libresolv_hidden_tls_def): Likewise.
4367 (librt_hidden_tls_def): Likewise.
4368 (libdl_hidden_tls_def): Likewise.
4369 (libnss_files_hidden_tls_def): Likewise.
4370 (libnsl_hidden_tls_def): Likewise.
4371 (libnss_nisplus_hidden_tls_def): Likewise.
4372 (libutil_hidden_tls_def): Likewise.
4373 (libutil_hidden_tls_def): Likweise.
4374 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
4375 libc_hidden_tls_def.
4376 (__sim_disabled_exceptions_thread): Likewise.
4377 (__sim_round_mode_thread): Likewise.
4378
4379 * sysdeps/sparc/sparc-ifunc.h [SHARED]
4380 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
4381 copy attributes from name.
4382
4383 2018-11-12 Joseph Myers <joseph@codesourcery.com>
4384
4385 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
4386 Use __attribute_copy__ to copy attributes from name.
4387
4388 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
4389 with __hidden_ver1 call.
4390 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
4391 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
4392 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
4393 (__cosf): Do not declare here.
4394 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
4395 (__sincosf): Do not declare here.
4396 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
4397 (__sinf): Do not declare here.
4398
4399 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
4400 (__BIG_ENDIAN): Likewise.
4401 (__BYTE_ORDER): Likewise.
4402 (strong_alias): Likewise.
4403 (_strong_alias): Likewise.
4404
4405 2018-11-12 Florian Weimer <fweimer@redhat.com>
4406
4407 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
4408 function. Move after the definition of in_smallbin_range. Do not
4409 use __builtin_expect for paths that lead to a noreturn function.
4410 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
4411 because it is unclear whether this is in fact an unlikely
4412 condition.
4413 (_int_malloc, _int_free): Adjust.
4414 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
4415 variables.
4416 * malloc/arena.c (heap_trim): Likewise.
4417
4418 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4419
4420 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
4421 it, free it if needed.
4422 (reauthenticate): Test and use ccwdir.
4423 (child_init_port): In non-resetids case, test and use ccwdir.
4424 (child_chdir): New nested function to set ccwdir.
4425 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
4426 * hurd/hurd/port.h (_hurd_port_move): New function.
4427 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
4428 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
4429 * hurd/Versions (_hurd_port_move): Export function.
4430 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
4431 symbol.
4432 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
4433 of dtablesize for allocating dtable_cloexec.
4434
4435 2018-11-09 Martin Sebor <msebor@redhat.com>
4436
4437 * include/libc-symbols.h (__attribute_copy__): Define macro unless
4438 it's already defined.
4439 (_strong_alias): Use __attribute_copy__.
4440 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
4441 * misc/sys/cdefs.h (__attribute_copy__): New macro.
4442 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
4443 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
4444 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
4445 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
4446 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
4447 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
4448 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
4449 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
4450 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
4451 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
4452 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
4453 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
4454 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
4455 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
4456 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
4457 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
4458 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
4459
4460 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4461
4462 * misc/tst-efgcvt.c: Include support/check.h and
4463 support/test-driver.c. Do not include test-skeleton.c.
4464 (error_count): Remove.
4465 (output_error): Replace increments to error_count with calls to
4466 support_record_failure.
4467 (output_r_error): Likewise.
4468 (special): Likewise.
4469 (do_test): Unconditionally return zero.
4470 (TEST_FUNCTION): Remove.
4471
4472 2018-11-09 Joseph Myers <joseph@codesourcery.com>
4473
4474 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
4475 not $(@D)/scratch.
4476 ($(linknamespace-header-tests)): Likewise.
4477
4478 * conform/conformtest.py: New file.
4479 * conform/conformtest.pl: Remove.
4480 * conform/GlibcConform.pm: Likewise.
4481 * conform/glibcconform.py (KEYWORDS_C90): New constant.
4482 (KEYWORDS_C99): Likewise.
4483 (KEYWORDS): Likewise.
4484 * conform/Makefile ($(conformtest-header-tests)): Use
4485 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
4486 option. Use --header instead of --headers.
4487 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
4488 function entries.
4489 * conform/data/spawn.h-data: Likewise.
4490 * conform/data/fcntl.h-data (openat): Add space after function
4491 name.
4492 * conform/data/wchar.h-data (wcscasecmp): Likewise.
4493 (wcscasecmp_l): Likewise.
4494 * conform/data/termios.h-data (c_cc): Add space after element
4495 name.
4496
4497 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4498
4499 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
4500 instead of manually comparing and reporting mismatching strings.
4501 * misc/tst-ldbl-error.c (do_one_test): Likewise.
4502 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
4503
4504 2018-11-08 Joseph Myers <joseph@codesourcery.com>
4505
4506 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
4507 __ASSUME_SOCKETCALL.
4508 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4509 (__ASSUME_SOCKETCALL): Remove.
4510 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4511 (__ASSUME_SOCKETCALL): Likewise.
4512 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4513 (__ASSUME_SOCKETCALL): Likewise.
4514 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4515 (__ASSUME_SOCKETCALL): Likewise.
4516 * sysdeps/unix/sysv/linux/s390/kernel-features.h
4517 (__ASSUME_SOCKETCALL): Likewise.
4518 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4519 (__ASSUME_SOCKETCALL): Likewise.
4520 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4521 (__ASSUME_SOCKETCALL): Likewise.
4522
4523 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
4524
4525 [BZ #23509]
4526 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
4527 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
4528 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
4529 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
4530 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
4531 lc_unknown.
4532
4533 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
4534
4535 [BZ #17630]
4536 * resolv/tst-resolv-network.c: Add test for getnetbyname.
4537
4538 2018-11-07 Joseph Myers <joseph@codesourcery.com>
4539
4540 [BZ #23867]
4541 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4542 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4543 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4544 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4545
4546 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4547
4548 * support/support_test_compare_string.c
4549 (support_test_compare_string): Fix printf format.
4550
4551 2018-11-07 Florian Weimer <fweimer@redhat.com>
4552
4553 Implement TEST_COMPARE_STRING.
4554 * support/check.h (TEST_COMPARE_STRING): Define.
4555 (support_test_compare_string): Declare.
4556 * support/Makefile (libsupport-routines): Add
4557 support_test_compare_string.
4558 (tests): Add tst-test_compare_string.
4559 * support/support_test_compare_string.c: New file.
4560 * support/tst-test_compare_string.c: Likewise.
4561
4562 2018-11-07 Andreas Schwab <schwab@suse.de>
4563
4564 [BZ #23864]
4565 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
4566 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
4567 Undef.
4568
4569 2018-11-06 Joseph Myers <joseph@codesourcery.com>
4570
4571 [BZ #23862]
4572 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4573 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
4574 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
4575 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
4576 Likewise.
4577
4578 2018-11-06 Florian Weimer <fweimer@redhat.com>
4579
4580 [BZ #17405]
4581 * posix/Makefile (routines): Add spawn_faction_addchdir.
4582 (tests): Add tst-spawn-chdir.
4583 * posix/Versions (GLIBC_2.29): Add
4584 posix_spawn_file_actions_addchdir_np.
4585 * posix/spawn_faction_addchdir.c: New file.
4586 * posix/spawn_faction_destroy.c
4587 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
4588 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
4589 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
4590 chdir_action.
4591 * posix/tst-spawn-chdir.c: New file.
4592 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
4593 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4594 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4595 posix_spawn_file_actions_addchdir_np.
4596 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4597 Likewise.
4598 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4599 Likewise.
4600 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4601 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4602 Likewise.
4603 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4604 Likewise.
4605 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4606 Likewise.
4607 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4608 Likewise.
4609 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4610 Likewise.
4611 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4612 Likewise.
4613 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4614 (GLIBC_2.29): Likewise.
4615 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4616 (GLIBC_2.29): Likewise.
4617 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4618 (GLIBC_2.29): Likewise.
4619 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4620 (GLIBC_2.29): Likewise.
4621 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4622 Likewise.
4623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4624 (GLIBC_2.29): Likewise.
4625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4626 (GLIBC_2.29): Likewise.
4627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4628 (GLIBC_2.29): Likewise.
4629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4630 (GLIBC_2.29): Likewise.
4631 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4632 Likewise.
4633 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4634 Likewise.
4635 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4636 Likewise.
4637 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4638 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4639 Likewise.
4640 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4641 Likewise.
4642 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4643 Likewise.
4644 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4645 Likewise.
4646
4647 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4648
4649 * misc/Makefile (tests): Add tst-ldbl-error.
4650 * misc/tst-ldbl-error.c: New file.
4651
4652 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4653
4654 * misc/Makefile (tests): Add tst-ldbl-warn.
4655 * misc/tst-ldbl-warn.c: New file.
4656
4657 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4658
4659 * argp/Makefile (tests): Add tst-ldbl-argp.
4660 * argp/tst-ldbl-argp.c: New file.
4661
4662 2018-11-05 Arjun Shankar <arjun@redhat.com>
4663
4664 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
4665 __gconv_path_elem and call __gconv_get_path unconditionally.
4666
4667 2018-11-05 Andreas Schwab <schwab@suse.de>
4668
4669 [BZ #22927]
4670 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
4671 creating the first helper thread failed.
4672
4673 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4674
4675 * sysdeps/mach/hurd/msync.c: New file.
4676
4677 2018-11-02 Florian Weimer <fweimer@redhat.com>
4678
4679 * support/shell-container.c (copy_func): Call
4680 support_copy_file_range instead of copy_file_range to support
4681 cross-device copies.
4682
4683 2018-11-02 Florian Weimer <fweimer@redhat.com>
4684
4685 * support/test-container.c: Include <libc-pointer-arith.h> for
4686 ALIGN_UP.
4687
4688 2018-11-01 Zong Li <zong@andestech.com>
4689
4690 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
4691 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
4692 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
4693 (__FP_FRAC_SET_8): Add implementation for RV32 use.
4694
4695 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
4696 variable to avoid overlap arguments.
4697
4698 2018-11-01 Joseph Myers <joseph@codesourcery.com>
4699
4700 * posix/bug-regex22.c (main): Use puts with distinct error
4701 messages for unexpected success of re_compile_pattern, not printf
4702 with NULL argument to %s.
4703
4704 * stdio-common/bug22.c: Include <libc-diag.h>.
4705 (do_test): Disable -Wformat-overflow= warnings around fprintf
4706 calls outputting more than INT_MAX characters.
4707 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
4708 around printf call with NULL %s argument.
4709
4710 [BZ #23848]
4711 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
4712 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
4713 Undefine.
4714 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4715 (__ASSUME_RECVMSG_SYSCALL): Likewise.
4716 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4717 (__ASSUME_SENDTO_SYSCALL): Likewise.
4718 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4719 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
4720 [!__arch64__].
4721 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4722 (__ASSUME_CONNECT_SYSCALL): Likewise.
4723 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4724 (__ASSUME_RECVFROM_SYSCALL): Likewise.
4725 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
4726 Define.
4727 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
4728 Likewise.
4729 [__LINUX_KERNEL_VERSION >= 0x040400]
4730 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4731 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
4732 Remove.
4733 (listen): Likewise.
4734 (setsockopt): Likewise.
4735
4736 2018-11-01 Fredrik Noring <noring@nocrew.org>
4737
4738 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
4739 with the ISA override.
4740
4741 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
4742
4743 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
4744 #endif.
4745
4746 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
4747
4748 * manual/errno.texi (EIEIO): Document how translators should
4749 translate the error message.
4750 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
4751 printing trailing whitespaces refused by git.
4752 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
4753 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4754 * hurd/Makefile (user-interfaces): Add pci.
4755
4756 2018-10-30 Joseph Myers <joseph@codesourcery.com>
4757
4758 * conform/linknamespace.py: New file.
4759 * conform/linknamespace.pl: Remove file.
4760 * conform/Makefile ($(linknamespace-header-tests)): Use
4761 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
4762 option.
4763
4764 2018-10-30 Florian Weimer <fweimer@redhat.com>
4765
4766 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
4767 memory leaks.
4768
4769 2018-10-30 Florian Weimer <fweimer@redhat.com>
4770
4771 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
4772
4773 2018-10-30 Florian Weimer <fweimer@redhat.com>
4774
4775 * stdlib/tst-strtod-overflow.c (do_test): Switch to
4776 support_blob_repeat.
4777
4778 2018-10-30 Florian Weimer <fweimer@redhat.com>
4779
4780 Avoid spurious test failures in stdlib/test-bz22786.
4781 * support/Makefile (libsupport-routines): Add blob_repeat.
4782 (tests): Add tst-support_blob_repeat.
4783 * support/blob_repeat.h: New file.
4784 * support/blob_repeat.c: Likewise.
4785 * support/tst-support_blob_repeat.c: Likewise.
4786 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
4787 support_blob_repeat_allocate.
4788
4789 2018-10-30 Andreas Schwab <schwab@suse.de>
4790
4791 [BZ #23125]
4792 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
4793 Don't use tail call.
4794 * elf/tst-unwind-main.c: New file.
4795 * elf/Makefile (tests): Add tst-unwind-main.
4796 (CFLAGS-tst-unwind-main.c): Define.
4797
4798 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
4799
4800 [BZ #23791]
4801 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
4802 n_cs_precedes to 0.
4803 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
4804
4805 2018-10-29 Joseph Myers <joseph@codesourcery.com>
4806
4807 * conform/glibcconform.py: Do not import shutil.
4808 (list_exported_functions): Use tempfile.TemporaryDirectory instead
4809 of mkdtemp.
4810
4811 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
4812 critic_missing for versions before 3.4.
4813 * configure: Regenerated.
4814 * manual/install.texi (Tools for Compilation): Document
4815 requirement for Python to build glibc.
4816 * INSTALL: Regenerated.
4817 * Rules [PYTHON]: Make code unconditional.
4818 * benchtests/Makefile [PYTHON]: Likewise.
4819 * conform/Makefile [PYTHON]: Likewise.
4820 * manual/Makefile [PYTHON]: Likewise.
4821 * math/Makefile [PYTHON]: Likewise.
4822
4823 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4824
4825 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
4826 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
4827 answer to interrupt_operation, return EIEIO instead of EINTR.
4828 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
4829 _hurd_intr_rpc_msg_about_to global point to start of controlled
4830 assembly snippet. Make it check canceled flag.
4831 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
4832 the _hurd_intr_rpc_msg_about_to point.
4833 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
4834 issue, remove cancel flag check.
4835
4836 2018-10-26 Joseph Myers <joseph@codesourcery.com>
4837
4838 * scripts/build-many-glibcs.py: Remove compatibility for missing
4839 os.cpu_count and re.fullmatch.
4840
4841 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
4842
4843 [BZ #23822]
4844 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
4845 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
4846 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
4847
4848 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4849
4850 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
4851 macro.
4852
4853 2018-10-25 Florian Weimer <fweimer@redhat.com>
4854
4855 [BZ #23562]
4856 [BZ #23821]
4857 XFAIL siginfo_t si_band conform test on sparc64.
4858 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4859 (__SI_BAND_TYPE): Only override long int default type on sparc64.
4860 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4861 (conformtest-xfail-conds): Add sparc64-linux.
4862 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
4863 sparc64.
4864 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
4865
4866 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4867
4868 * elf/elf.h (NT_MIPS_DSP): New macro.
4869 (NT_MIPS_FP_MODE): Likewise.
4870
4871 2018-10-25 Zong Li <zong@andestech.com>
4872
4873 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
4874 name by adding the file extension (.so).
4875
4876 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
4877
4878 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
4879 (test-xfail-ISO11/threads.h/linknamespace,
4880 test-xfail-ISO11/threads.h/conform): Add.
4881
4882 2018-10-24 Joseph Myers <joseph@codesourcery.com>
4883
4884 * math/gen-libm-test.py: Import os.
4885 (ALL_FLOATS_MANUAL): New constant.
4886 (ALL_FLOATS_SUFFIX): Likewise.
4887 (Ulps.all_functions): New function.
4888 (real_all_ulps): Likewise.
4889 (generate_err_table_sub): Likewise.
4890 (generate_err_table): Likewise.
4891 (main): Handle -s and -m options.
4892 * manual/libm-err-tab.pl: Remove.
4893 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
4894 instead of libm-err-tab.pl.
4895 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
4896 != no].
4897 * manual/install.texi (Tools for Compilation): Document
4898 requirement for Python to build manual.
4899 * INSTALL: Regenerated.
4900
4901 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4902
4903 * bits/time64.h: New file.
4904 * include/time.h: Replace internal_time_t with __time64_t.
4905 * posix/bits/types (__time64_t): Add.
4906 * stdlib/Makefile: Add bits/time64.h to includes.
4907 * time/tzfile.c: Replace internal_time_t with __time64_t.
4908
4909 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4910
4911 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
4912 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
4913 __posix_spawn_file_actions_init, __posix_spawnattr_init,
4914 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
4915 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
4916 prototype.
4917 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
4918 * posix/spawn_faction_addclose.c
4919 (__posix_spawn_file_actions_addclose): Add hidden definition.
4920 * posix/spawn_faction_adddup2.c
4921 (__posix_spawn_file_actions_adddup2): Likewise.
4922 * posix/spawn_faction_destroy.c
4923 (__posix_spawn_file_actions_destroy): Likewise.
4924 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
4925 Likewise.
4926 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
4927 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
4928 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
4929 Likewise.
4930 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
4931 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
4932 Likewise.
4933
4934 2018-10-24 Andreas Schwab <schwab@suse.de>
4935
4936 [BZ #18093]
4937 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
4938 format cache.
4939 * elf/cache.c (print_cache): Likewise.
4940
4941 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4942
4943 * bits/timesize.h: New file.
4944 * stdlib/Makefile (headers): Add bits/timesize.h.
4945 * sysdeps/unix/sysv/linux/bits/msq-pad.h
4946 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
4947 * sysdeps/unix/sysv/linux/bits/sem-pad.h
4948 (__SEM_PAD_AFTER_TIME): Likewise.
4949 * sysdeps/unix/sysv/linux/bits/shm-pad.h
4950 (__SHM_PAD_AFTER_TIME): Likewise.
4951 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
4952 (__MSQ_PAD_BEFORE_TIME): Likewise.
4953 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
4954 (__SEM_PAD_BEFORE_TIME): Likewise.
4955 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
4956 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4957 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
4958 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
4959 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
4960 (__MSQ_PAD_BEFORE_TIME): Likewise.
4961 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
4962 (__SEM_PAD_BEFORE_TIME): Likewise.
4963 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
4964 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4965 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
4966 (__MSQ_PAD_BEFORE_TIME): Likewise.
4967 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
4968 (__SEM_PAD_BEFORE_TIME): Likewise.
4969 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
4970 (__SHM_PAD_BEFORE_TIME): Likewise.
4971 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
4972 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
4973 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
4974
4975 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
4976
4977 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
4978 USE_RDTSCP is defined.
4979 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
4980 USE_RDTSCP is defined.
4981
4982 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4983
4984 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
4985 defined.
4986
4987 [BZ #23709]
4988 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
4989 independently of other flags.
4990
4991 2018-10-23 Florian Weimer <fweimer@redhat.com>
4992
4993 * time/tst-mktime2.c (N_STRINGS): Remove.
4994 (set_timezone): New function.
4995 (spring_forward_gap): Call it. Use FAIL_EXIT1.
4996 (mktime_test1): Report localtime failure and check errno value.
4997 Use TEST_COMPARE.
4998 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
4999 (do_test): Remove alarm call. Use set_timezone and array_length.
5000
5001 2018-10-23 Andreas Schwab <schwab@suse.de>
5002
5003 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
5004 (__start_context): Use END instead of PSEUDO_END.
5005
5006 2018-10-22 Joseph Myers <joseph@codesourcery.com>
5007
5008 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5009 version to 4.19.
5010
5011 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5012 version to 4.19.
5013
5014 [BZ #23793]
5015 * wcsmbs/c32rtomb.c: New file.
5016 * wcsmbs/mbrtoc32.c: Likewise.
5017 * wcsmbs/tst-c32-state.c: Likewise.
5018 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
5019 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
5020 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
5021 (tests): Add tst-c32-state.
5022 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
5023 $(gen-locales).
5024
5025 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
5026
5027 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
5028 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
5029
5030 2018-10-19 Joseph Myers <joseph@codesourcery.com>
5031
5032 [BZ #23794]
5033 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
5034 pair and return 0 in that case, and use saved character to
5035 interpret following character.
5036 * wcsmbs/tst-c16-surrogate.c: New file.
5037 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
5038 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
5039 Depend on $(gen-locales)
5040
5041 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
5042
5043 [BZ #23562]
5044 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
5045 (struct siginfo_t): Use correct type for si_band.
5046
5047 2018-10-19 Florian Weimer <fweimer@redhat.com>
5048
5049 [BZ #23689]
5050 * resource/bits/types/struct_rusage.h (struct rusage): Update
5051 comment on struct. Remove extraneous field comment.
5052
5053 2018-10-18 David S. Miller <davem@davemloft.net>
5054
5055 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
5056 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
5057 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
5058 sysdep_routines in subdir elf.
5059 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
5060 version for __vdso_clock_gettime.
5061 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
5062 Define.
5063 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5064 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5065
5066 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
5067
5068 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
5069
5070 * sysdeps/i386/init-arch.h: Removed.
5071 * sysdeps/i386/i586/init-arch.h: Likewise.
5072 * sysdeps/i386/i686/init-arch.h: Likewise.
5073 * sysdeps/i386/i686/hp-timing.h: Likewise.
5074 * sysdeps/x86_64/hp-timing.h: Likewise.
5075 * sysdeps/i386/isa.h: New file.
5076 * sysdeps/i386/i586/isa.h: Likewise.
5077 * sysdeps/i386/i686/isa.h: Likewise.
5078 * sysdeps/x86_64/isa.h: Likewise.
5079 * sysdeps/x86/hp-timing.h: New file.
5080 * sysdeps/x86/init-arch.h: Include <isa.h>.
5081
5082 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5083
5084 * math/libm-test-pow.inc (pow_test_data): Do not allow
5085 divide-by-zero exception for pow(+/- 0, -Inf).
5086
5087 2018-10-17 Zack Weinberg <zackw@panix.com>
5088
5089 * manual/job.texi (Job Control is Optional): Remove node, as
5090 job control has not been optional in quite some time.
5091 (Job Control): Mention briefly that systems older than
5092 POSIX.1-2001 might not support job control.
5093 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
5094 defined on systems conforming to POSIX.1-2001.
5095
5096 2018-10-17 Arjun Shankar <arjun@redhat.com>
5097
5098 [BZ #22062]
5099 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
5100 indentation.
5101 * (__gconv_read_conf): Mark function static.
5102 * (once): New static variable.
5103 * (__gconv_load_conf): New function.
5104 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
5105 * iconv/gconv_db.c (once): Remove static variable.
5106 * (__gconv_compare_alias): Use __gconv_load_conf instead of
5107 __gconv_read_conf.
5108 * (__gconv_find_transform): Likewise.
5109 * iconv/tst-iconv-mt.c: New test.
5110 * iconv/Makefile: Add tst-iconv_mt.
5111
5112 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5113
5114 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5115 bits/shm-pad.h.
5116 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
5117 (shmatt_t): Define as __syscall_ulong_t.
5118 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
5119 and [__SHM_PAD_AFTER_TIME].
5120 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
5121 Define shm_segsz and associated padding based on
5122 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
5123 Use __syscall_ulong_t instead of unsigned long int.
5124 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
5125 unsigned long int.
5126 [__USE_MISC] (struct shm_info): Likewise.
5127 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
5128 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
5129 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
5130 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
5131 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
5132 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5133 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
5134 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
5135 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5136 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5137 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5138
5139 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5140 bits/shmlba.h.
5141 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
5142 (SHMLBA): Remove macro.
5143 (__getpagesize): Remove function declaration.
5144 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
5145 <bits/shmlba.h>.
5146 (SHMLBA): Remove macro.
5147 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
5148 <bits/shmlba.h>.
5149 (SHMLBA): Remove macro.
5150 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
5151 <bits/shmlba.h>.
5152 (SHMLBA): Remove macro.
5153 (__getpagesize): Remove function declaration.
5154 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
5155 <bits/shmlba.h>.
5156 (SHMLBA): Remove macro.
5157 (__getshmlba): Remove function declaration.
5158 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
5159 (SHMLBA): Remove macro.
5160 (__getpagesize): Remove function declaration.
5161 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
5162 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
5163 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5164 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
5165 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
5166 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
5167 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
5168 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
5169 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
5170 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
5171
5172 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
5173
5174 [BZ #23275]
5175 * nptl/tst-mutex10.c: New File.
5176 * nptl/Makefile (tests): Add tst-mutex10.
5177 (tst-mutex10-ENV): New variable.
5178 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
5179 Ensure that elision path is used if elision is available.
5180 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
5181 Likewise.
5182 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
5183 Likewise.
5184 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
5185 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
5186 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
5187 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
5188 Likewise.
5189 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
5190 (__pthread_mutex_cond_lock_adjust): Likewise.
5191 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5192 Likewise.
5193 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
5194 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5195 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5196 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
5197 Add comments.
5198 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5199 Use atomic_load_relaxed and atomic_store_relaxed.
5200 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
5201 Use atomic_store_relaxed.
5202
5203 2018-10-17 Andreas Schwab <schwab@suse.de>
5204
5205 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
5206 * crypt/badsalttest.c (TIMEOUT): Likewise.
5207 * crypt/sha256c-test.c (TIMEOUT): Likewise.
5208 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
5209 * io/test-lfs.c (TIMEOUT): Likewise.
5210 * libio/tst-atime.c (TIMEOUT): Likewise.
5211 * localedata/tst-leaks.c (TIMEOUT): Likewise.
5212 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
5213 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
5214 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
5215 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
5216 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
5217 * nptl/tst-cond11.c (TIMEOUT): Likewise.
5218 * nptl/tst-cond14.c (TIMEOUT): Likewise.
5219 * nptl/tst-cond15.c (TIMEOUT): Likewise.
5220 * nptl/tst-cond24.c (TIMEOUT): Likewise.
5221 * nptl/tst-cond25.c (TIMEOUT): Likewise.
5222 * nptl/tst-kill2.c (TIMEOUT): Likewise.
5223 * nptl/tst-kill3.c (TIMEOUT): Likewise.
5224 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
5225 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
5226 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
5227 * nptl/tst-once2.c (TIMEOUT): Likewise.
5228 * nptl/tst-once3.c (TIMEOUT): Likewise.
5229 * nptl/tst-once4.c (TIMEOUT): Likewise.
5230 * nptl/tst-robust8.c (TIMEOUT): Likewise.
5231 * nptl/tst-robust9.c (TIMEOUT): Likewise.
5232 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
5233 * nptl/tst-sem14.c (TIMEOUT): Likewise.
5234 * nptl/tst-sem6.c (TIMEOUT): Likewise.
5235 * nptl/tst-signal3.c (TIMEOUT): Likewise.
5236 * nptl/tst-spin4.c (TIMEOUT): Likewise.
5237 * nptl/tst-tls3.c (TIMEOUT): Likewise.
5238 * nptl/tst-tls4.c (TIMEOUT): Likewise.
5239 * posix/tst-chmod.c (TIMEOUT): Likewise.
5240 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
5241 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
5242 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
5243 * posix/tst-regex2.c (TIMEOUT): Likewise.
5244 * posix/tst-waitid.c (TIMEOUT): Likewise.
5245 * rt/tst-aio.c (TIMEOUT): Likewise.
5246 * rt/tst-aio10.c (TIMEOUT): Likewise.
5247 * rt/tst-aio4.c (TIMEOUT): Likewise.
5248 * rt/tst-aio5.c (TIMEOUT): Likewise.
5249 * rt/tst-aio6.c (TIMEOUT): Likewise.
5250 * rt/tst-aio64.c (TIMEOUT): Likewise.
5251 * rt/tst-aio7.c (TIMEOUT): Likewise.
5252 * rt/tst-aio9.c (TIMEOUT): Likewise.
5253 * rt/tst-clock.c (TIMEOUT): Likewise.
5254 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
5255 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
5256 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
5257 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
5258 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
5259 * rt/tst-timer4.c (TIMEOUT): Likewise.
5260 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
5261 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
5262 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
5263 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
5264 * time/tst-ftime.c (TIMEOUT): Likewise.
5265 * timezone/tst-tzset.c (TIMEOUT): Likewise.
5266
5267 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
5268
5269 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
5270 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
5271 for thunderX2.
5272
5273 2018-10-15 Joseph Myers <joseph@codesourcery.com>
5274
5275 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5276 bits/sem-pad.h.
5277 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
5278 instead of <bits/wordsize.h>.
5279 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
5280 and [__SEM_PAD_AFTER_TIME].
5281 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
5282 __syscall_ulong_t instead of unsigned long int.
5283 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
5284 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
5285 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
5286 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
5287 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
5288 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
5289 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
5290 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
5291 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5292 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5293 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5294
5295 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
5296
5297 regex: simplify by using intprops.h
5298 [BZ#23744]
5299 * posix/regex_internal.h [_LIBC]: Include intprops.h.
5300 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
5301 intprops.h defines them.
5302
5303 regex: __builtin_expect → __glibc_unlikely
5304 [BZ#23744]
5305 This refactoring was prompted by a problem when the regex code is
5306 used as part of Gnulib and when the builder’s compiler does not grok
5307 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
5308 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
5309 Although this refactoring does not fix the problem directly,
5310 we might as well have Gawk use the now-preferred glibc style for when
5311 __builtin_expect is unavailable.
5312 * posix/regex_internal.h (BE): Remove.
5313 All uses replaced by __glibc_unlikely or __glibc_likely.
5314
5315 2018-10-11 Joseph Myers <joseph@codesourcery.com>
5316
5317 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5318 bits/msq-pad.h.
5319 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
5320 instead of <bits/wordsize.h>.
5321 (msgqnum_t): Define as __syscall_ulong_t.
5322 (msglen_t): Likewise.
5323 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
5324 and [__MSQ_PAD_AFTER_TIME].
5325 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
5326 __syscall_ulong_t instead of unsigned long int.
5327 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
5328 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
5329 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
5330 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
5331 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
5332 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
5333 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
5334 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
5335 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5336 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5337 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5338
5339 2018-10-10 Joseph Myers <joseph@codesourcery.com>
5340
5341 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
5342 (struct shmid_ds): Condition padding after time fields on
5343 [__WORDSIZE == 32].
5344 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
5345 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
5346 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5347
5348 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
5349 (struct semid_ds): Condition padding after time fields on
5350 [__WORDSIZE == 32].
5351 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
5352 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
5353 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
5354 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5355
5356 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
5357 (struct msqid_ds): Condition padding after time fields on
5358 [__WORDSIZE == 32].
5359 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
5360 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
5361 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
5362 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5363
5364 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5365
5366 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
5367
5368 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5369
5370 * libio/tst-readline.c (TIMEOUT): Define.
5371
5372 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
5373
5374 mktime fix for Gnulib + coreutils
5375 [BZ#23745]
5376 This fix affects only Gnulib. Problem discovered when
5377 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
5378 * time/mktime.c:
5379 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
5380 Do not define since it is not used. Defining an unused static
5381 function prompts a warning from GCC when Coreutils is configured
5382 with --enable-gcc-warnings.
5383
5384 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5385
5386 * benchtests/scripts/compare_bench.py (main): set float type on
5387 threshold argument.
5388
5389 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
5390
5391 [BZ #23740]
5392 * localedata/locales/kl_GL (mon): Update, the relative case.
5393 (alt_mon): Add, fill with month names in the nominative case.
5394 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
5395 (d_fmt): Set to "%b %d %Y".
5396
5397 2018-10-04 Joseph Myers <joseph@codesourcery.com>
5398
5399 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
5400 <bits/mman-linux.h>.
5401 (PROT_READ): Don't define here.
5402 (PROT_WRITE): Likewise.
5403 (PROT_EXEC): Likewise.
5404 (PROT_NONE): Likewise.
5405 (PROT_GROWSDOWN): Likewise.
5406 (PROT_GROWSUP): Likewise.
5407 (MAP_SHARED): Likewise.
5408 (MAP_PRIVATE): Likewise.
5409 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
5410 [__USE_MISC] (MAP_FILE): Likewise.
5411 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
5412 [__USE_MISC] (MAP_ANON): Likewise.
5413 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
5414 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
5415 (MCL_CURRENT): Likewise.
5416 (MCL_FUTURE): Likewise.
5417 (MCL_ONFAULT): Likewise.
5418 [__USE_MISC] (MADV_NORMAL): Likewise.
5419 [__USE_MISC] (MADV_RANDOM): Likewise.
5420 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
5421 [__USE_MISC] (MADV_WILLNEED): Likewise.
5422 [__USE_MISC] (MADV_DONTNEED): Likewise.
5423 [__USE_MISC] (MADV_FREE): Likewise.
5424 [__USE_MISC] (MADV_REMOVE): Likewise.
5425 [__USE_MISC] (MADV_DONTFORK): Likewise.
5426 [__USE_MISC] (MADV_DOFORK): Likewise.
5427 [__USE_MISC] (MADV_HWPOISON): Likewise.
5428 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
5429 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
5430 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
5431 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
5432 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
5433 (__MAP_ANONYMOUS): New macro.
5434 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
5435 <bits/mman-linux.h> inclusion.
5436 (MAP_FIXED): Likewise.
5437 (MS_SYNC): Likewise.
5438 (MS_ASYNC): Likewise.
5439 (MS_INVALIDATE): Likewise.
5440 [__USE_MISC] (MADV_MERGEABLE): Likewise.
5441 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
5442 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
5443 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
5444 [__USE_MISC] (MADV_DONTDUMP): Likewise.
5445 [__USE_MISC] (MADV_DODUMP): Likewise.
5446 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
5447 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
5448
5449 [BZ #23735]
5450 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
5451 Define.
5452 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
5453 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
5454 Add test-nldbl-redirect.
5455 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
5456 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
5457 $(objpfx)libnldbl_nonshared.a.
5458
5459 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
5460
5461 * support/support.h (support_objdir_elf_ldso): New variable.
5462 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
5463 * support/Makefile (CFLAGS-support_paths.c): Add definition
5464 for OBJDIR_ELF_LDSO_PATH.
5465 * support/test-container.c (main): Search for the ld.so
5466 which is also used by the testsuite.
5467
5468 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
5469
5470 [BZ #20209]
5471 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
5472 should be "sap" rather than "sab".
5473 (day): Fix spelling of Sunday, should be "sapaat" rather than
5474 "sabaat".
5475
5476 2018-10-02 Joseph Myers <joseph@codesourcery.com>
5477
5478 * math/libm-test-fma.inc (fma_test_data): Add more tests.
5479
5480 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
5481
5482 [BZ #19444]
5483 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
5484 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
5485 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
5486
5487 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5488
5489 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
5490
5491 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
5492
5493 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
5494 Add -mrtm.
5495 (CFLAGS-elision-unlock.c): Likewise.
5496 (CFLAGS-elision-timed.c): Likewise.
5497 (CFLAGS-elision-trylock.c): Likewise.
5498 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
5499
5500 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5501
5502 [BZ #21037]
5503 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
5504 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
5505 new fd_to_filename interface.
5506 * libio/freopen64.c (freopen64): Likewise.
5507 * libio/tst-memstream.h: New file.
5508 * libio/tst-memstream4.c: Likewise.
5509 * libio/tst-wmemstream4.c: Likewise.
5510 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
5511 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
5512 and remove internal dynamic allocation.
5513
5514 2018-10-01 Joseph Myers <joseph@codesourcery.com>
5515
5516 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
5517 (MREMAP_MAYMOVE): Do not define here.
5518 [__USE_GNU] (MREMAP_FIXED): Likewise.
5519 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
5520 (MREMAP_MAYMOVE): Define here instead.
5521 [__USE_GNU] (MREMAP_FIXED): Likewise.
5522 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
5523 (MREMAP_MAYMOVE): Remove.
5524 [__USE_GNU] (MREMAP_FIXED): Likewise.
5525
5526 2018-09-28 Joseph Myers <joseph@codesourcery.com>
5527
5528 * math/fromfp.h: Do not include <math_private.h>.
5529 * math/s_cacosh_template.c: Likewise.
5530 * math/s_casin_template.c: Likewise.
5531 * math/s_casinh_template.c: Likewise.
5532 * math/s_ccos_template.c: Likewise.
5533 * math/s_cproj_template.c: Likewise.
5534 * math/s_fdim_template.c: Likewise.
5535 * math/s_fmaxmag_template.c: Likewise.
5536 * math/s_fminmag_template.c: Likewise.
5537 * math/s_iseqsig_template.c: Likewise.
5538 * math/s_ldexp_template.c: Likewise.
5539 * math/s_nextdown_template.c: Likewise.
5540 * math/w_log1p_template.c: Likewise.
5541 * math/w_scalbln_template.c: Likewise.
5542 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
5543 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
5544 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
5545 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
5546 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
5547 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
5548 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
5549 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
5550 * sysdeps/i386/fpu/s_atanl.c: Likewise.
5551 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
5552 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
5553 * sysdeps/i386/fpu/s_fdim.c: Likewise.
5554 * sysdeps/i386/fpu/s_logbl.c: Likewise.
5555 * sysdeps/i386/fpu/s_rintl.c: Likewise.
5556 * sysdeps/i386/fpu/s_significandl.c: Likewise.
5557 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
5558 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
5559 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5560 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5561 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
5562 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5563 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5564 * sysdeps/ieee754/k_standardf.c: Likewise.
5565 * sysdeps/ieee754/k_standardl.c: Likewise.
5566 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5567 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5568 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
5569 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5570 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5571 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5572 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5573 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5574 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5575 * sysdeps/ieee754/s_signgam.c: Likewise.
5576 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5577 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
5578 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
5579 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5580 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5581 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
5582 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5583 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
5584 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5585 * sysdeps/riscv/rvd/s_finite.c: Likewise.
5586 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
5587 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
5588 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
5589 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
5590 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
5591 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
5592 * sysdeps/riscv/rvf/fegetround.c: Likewise.
5593 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
5594 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
5595 * sysdeps/riscv/rvf/fesetround.c: Likewise.
5596 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
5597 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
5598 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
5599 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5600 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
5601 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5602 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
5603 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
5604 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
5605 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
5606 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
5607 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
5608 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
5609 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
5610 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5611 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5612 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
5613 <math_private.h>.
5614 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
5615
5616 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
5617
5618 [BZ #23716]
5619 * sysdeps/i386/dl-cet.c: Removed.
5620 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
5621 prototype.
5622 (_dl_runtime_profile_shstk): Likewise.
5623 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
5624 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
5625
5626 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5627
5628 [BZ #23579]
5629 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
5630 do_test_with_invalid_iov): New tests.
5631 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
5632 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
5633 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
5634 errno is ENOSYS.
5635 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
5636 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
5637 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
5638
5639 2018-09-27 Joseph Myers <joseph@codesourcery.com>
5640
5641 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5642 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
5643 (MATH_REDIRECT_BINARY_ARGS): New macro.
5644 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5645 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
5646 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
5647 header inclusion.
5648 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
5649 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5650 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
5651 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5652 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5653 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5654 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5656 Likewise.
5657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
5658 Likewise.
5659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
5661 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
5662 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
5663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
5664 Likewise.
5665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
5666 Likewise.
5667 * sysdeps/generic/math_private_calls.h
5668 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
5669 Do not declare and define as an inline function.
5670 * math/divtc3.c (__divtc3): Use copysign functions instead of
5671 __copysign variants.
5672 * math/multc3.c (__multc3): Likewise.
5673 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
5674 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
5675 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5676 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5677 Likewise.
5678 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5679 (__ieee754_yn): Likewise.
5680 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5681 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
5682 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5683 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5684 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
5685 (__sin): Likewise.
5686 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
5687 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5688 Likewise.
5689 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5690 Likewise.
5691 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5692 Likewise.
5693 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5694 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5695 Likewise.
5696 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5697 (__ieee754_ynf): Likewise.
5698 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
5699 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5700 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
5701 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5702 Likewise.
5703 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5704 (__ieee754_ynl): Likewise.
5705 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5706 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5707 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5708 Likewise.
5709 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5710 (__ieee754_ynl): Likewise.
5711 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
5712 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5713 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5714 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5715 Likewise.
5716 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5717 (__ieee754_ynl)
5718 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
5719 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5720 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
5721 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5722 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5723
5724 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5725 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
5726 using MATH_REDIRECT.
5727 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
5728 header inclusion.
5729 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
5730 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5731 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5732 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
5733 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5734 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5735 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
5737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
5738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
5739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
5740 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5741 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5742 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5743 (round): Redirect to __round.
5744 (__roundl): Call round instead of __round.
5745 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
5746 Remove macro.
5747 [_ARCH_PWR5X] (__roundf): Likewise.
5748 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
5749 functions instead of __round variants.
5750 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5751 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5752 Likewise.
5753 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5754 Likewise.
5755 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5756 Likewise.
5757 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
5758 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
5759 __lroundl.
5760 (__ieee754_expl): Call roundl instead of __roundl.
5761
5762 2018-09-27 Andreas Schwab <schwab@suse.de>
5763
5764 [BZ #23717]
5765 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
5766 (do_test): Make st1 static.
5767
5768 2018-09-26 Andreas Schwab <schwab@suse.de>
5769
5770 [BZ #23707]
5771 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
5772 * elf/Makefile (tests): Add tst-unwind-ctor.
5773 (modules-names): Add tst-unwind-ctor-lib.
5774 ($(objpfx)tst-unwind-ctor): Depend on
5775 $(objpfx)tst-unwind-ctor-lib.so.
5776
5777 2018-09-26 Joseph Myers <joseph@codesourcery.com>
5778
5779 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
5780 file. Most contents moved from ....
5781 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
5782 and include <bits/mman-map-flags-generic.h>.
5783 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5784 (sysdep_headers): Add bits/mman-map-flags-generic.h.
5785 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
5786 <bits/mman-map-flags-generic.h>.
5787 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
5788 macros defined in <bits/mman-map-flags-generic.h>.
5789 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
5790 <bits/mman-map-flags-generic.h>.
5791 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
5792 defined in <bits/mman-map-flags-generic.h>.
5793
5794 2018-09-26 Andreas Schwab <schwab@suse.de>
5795
5796 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
5797 output.
5798
5799 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
5800 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5801 Fangrui Song <maskray@google.com>
5802
5803 [BZ #20480]
5804 * config.make.in (have-textrel_ifunc): New define.
5805 * configure.ac: Add check if linker supports textrel relocation with
5806 ifunc.
5807 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
5808 tst-ifunc-textrel.
5809 (CFLAGS-tst-ifunc-textrel.c): New rule.
5810 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
5811 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
5812 * elf/tst-ifunc-textrel.c: New file.
5813
5814 2018-09-25 Joseph Myers <joseph@codesourcery.com>
5815
5816 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5817 <bits/procfs-prregset.h>.
5818 (prgregset_t): Define using __prgregset_t.
5819 (prfpregset_t): Define using __prfpregset_t.
5820 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5821 (sysdep_headers): Add bits/procfs-prregset.h.
5822 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
5823 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
5824 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
5825 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
5826
5827 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5828 <bits/procfs-id.h> and <bits/procfs-extra.h>.
5829 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
5830 pr_uid and pr_gid.
5831 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5832 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
5833 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
5834 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
5835 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
5836 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
5837 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
5838 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
5839 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
5840 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
5841 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
5842 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
5843 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
5844 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
5845 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
5846 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
5847 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
5848 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
5849 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
5850 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
5851 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
5852 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
5853 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5854 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
5855
5856 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
5857 AArch64 version. Include <bits/procfs.h>.
5858 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5859 (sysdep_headers): Add bits/procfs.h.
5860 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
5861 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
5862 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
5863 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
5864 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
5865 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
5866 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
5867 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
5868 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
5869 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
5870 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
5871 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
5872 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
5873 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
5874 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
5875 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5876 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
5877
5878 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5879
5880 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
5881 Use libsupport.
5882
5883 2018-09-25 Arjun Shankar <arjun@redhat.com>
5884
5885 * iconv/gconv_int.h (__gconv_path_elem): Remove.
5886 (__gconv_max_path_elem_len): Likewise.
5887 (__gconv_nmodules): Likewise.
5888 (__gconv_get_path): Likewise.
5889 (path_elem): Move to ...
5890 * iconv/gconv_conf.c: ... here.
5891 (__gconv_get_path): Mark function static.
5892 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
5893 * iconv/gconv_open.c: ... here.
5894
5895 2018-09-24 Andreas Schwab <schwab@suse.de>
5896
5897 * scripts/haveversions.awk: New file.
5898 * Makerules ($(common-objpfx)Versions.def)
5899 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5900 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5901 Move rules ...
5902 * Makeconfig ($(common-objpfx)Versions.def)
5903 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5904 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5905 ... here.
5906 ($(common-objpfx)Versions.mk): New rule. Include it.
5907 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
5908 Emit error if build-obsolete-nsl = yes.
5909 * manual/install.texi (Configuring and compiling): Describe
5910 --enable-obsolete-nsl as unavaiable after version 2.28.
5911 * INSTALL: Regenerate.
5912
5913 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5914
5915 * NEWS: Add note about new TLE support on powerpc64le.
5916 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
5917 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
5918 __ununsed1.
5919 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
5920 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
5921 * sysdeps/powerpc/powerpc32/sysdep.h,
5922 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
5923 ABORT_TRANSACTION): Remove macros.
5924 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
5925 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
5926 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
5927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
5928 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5929 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
5930 usage.
5931 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
5932
5933 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
5934
5935 [BZ #10425]
5936 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
5937 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
5938 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
5939 which is the same as in it_IT.
5940 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
5941 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
5942
5943 2018-09-20 Joseph Myers <joseph@codesourcery.com>
5944
5945 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5946 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
5947 using MATH_REDIRECT.
5948 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
5949 header inclusion.
5950 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
5951 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5952 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
5953 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5954 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5955 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
5957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
5958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
5959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
5960 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5961 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5962 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5963 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5964 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
5965 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
5966 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
5967 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5968 (ceil): Redirect to __ceil.
5969 (floor): Redirect to __floor.
5970 (trunc): Redirect to __trunc.
5971 (__truncl): Call trunc instead of __trunc.
5972 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
5973 Remove macro.
5974 [_ARCH_PWR5X] (__truncf): Likewise.
5975 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
5976 trunc functions instead of __trunc variants.
5977 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5978 Likewise.
5979 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5980 Likewise.
5981 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5982 Likewise.
5983 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5984 Likewise.
5985
5986 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
5987 [__i586__ || __pentium__].
5988 [__i486__]: Handle explicitly.
5989 (HAS_CPUID): Define to 1 if above macros are undefined.
5990 (HAS_I586): Likewise.
5991 (HAS_I686): Likewise.
5992
5993 2018-09-20 Florian Weimer <fweimer@redhat.com>
5994
5995 * misc/tst-gethostid.c: New file.
5996 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
5997 (tst-gethostid): Link with -ldl.
5998
5999 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
6000
6001 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
6002 value from gethostbyname_r.
6003
6004 2018-09-19 Carlos O'Donell <carlos@redhat.com>
6005
6006 * stdlib/tst-setcontext9.c (f1): Rename to...
6007 (f1a): ... this.
6008 (f1b): New function implementing lower half of f1 in alternate stack.
6009
6010 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
6011
6012 Fix mktime localtime offset confusion
6013 [BZ #23603]
6014 * include/time.h (__mktime_internal): The localtime offset is now
6015 of type long int instead of time_t. This is the longstanding type
6016 in glibc, and it is more than enough to represent difference
6017 between localtime and gmtime even if it is 32 bits and time_t is
6018 64. Changing it now will let us avoid an unnecessary change when
6019 time_t is widened to 64 bits on 32-bit platforms.
6020 * time/mktime-internal.h (mktime_offset_t): Now long int.
6021
6022 Merge mktime, timegm from upstream Gnulib
6023 [BZ #23603][BZ #16346]
6024 This fixes some obscure problems with integer overflow.
6025 Although it looks scary, it is almost all a byte-for-byte copy
6026 from Gnulib, and the Gnulib code has been tested reasonably well.
6027 * include/intprops.h: New file, copied from Gnulib.
6028 * include/verify.h, time/mktime-internal.h:
6029 New tiny files, simplified from Gnulib.
6030 * time/mktime.c: Copy from Gnulib. This has the following changes:
6031 Do not include config.h if DEBUG_MKTIME is nonzero.
6032 Include stdbool.h, intprops.h, verify.h.
6033 Include string.h only if needed.
6034 Include stdlib.h on MS-Windows.
6035 Include mktime-internal.h.
6036 (DEBUG_MKTIME): Default to 0, and simplify later uses.
6037 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
6038 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
6039 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
6040 simplify later conditionals; default the others to zero. Use
6041 these conditionals to express only the code needed on the current
6042 platform. In uses of these conditionals, explicitly spell out how
6043 _LIBC affects things, so it’s easier to review from a glibc
6044 viewpoint.
6045 (WRAPV): Remove; no longer needed now that we have
6046 systematic overflow checking.
6047 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
6048 compartmentalize tzset issues. Move system-dependent tzsettish
6049 code here from mktime.
6050 (verify): Remove; now done by verify.h. All uses changed.
6051 (long_int): Use a more-conservative definition, to avoid
6052 integer overflow.
6053 (SHR): Remove, replacing with ...
6054 (shr): New function, which means we needn’t worry about side
6055 effects in args, and conversion analysis is simpler.
6056 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
6057 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
6058 (time_t_avg, time_t_add_ok): Remove.
6059 (mktime_min, mktime_max): New constants.
6060 (leapyear, isdst_differ): Use bool for booleans.
6061 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
6062 Use long_int, not time_t, for mktime differences.
6063 (long_int_avg): New function, replacing time_t_avg.
6064 INT_ADD_WRAPV replaces time_t_add_ok.
6065 (guess_time_tm): 6th arg is now long_int, not time_t const *.
6066 All uses changed.
6067 (convert_time): New function.
6068 (ranged_convert): Use it.
6069 (__mktime_internal): Last arg now points to mktime_offset_t, not
6070 time_t. All uses changed. This is a no-op on glibc, where
6071 mktime_offset_t is always time_t. Use int, not time_t, for UTC
6072 offset guess. Directly check for integer overflow instead of
6073 using a heuristic that works only 99.9...% of the time.
6074 Access *OFFSET only once, to avoid an unlikely race if the
6075 compiler delays a load and if this cascades into a signed integer
6076 overflow.
6077 (mktime): Move tzsettish code to my_tzset, and move
6078 localtime_offset to within mktime so that it doesn’t
6079 need a separate ifdef.
6080 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
6081 instead of localtime.
6082 * time/timegm.c: Copy from Gnulib. This has the following changes:
6083 Include mktime-internal.h.
6084 [!_LIBC]: Include config.h and time.h. Do not include
6085 timegm.h or time_r.h. Make __mktime_internal a macro,
6086 and include mktime-internal.h to get its declaration.
6087 (timegm): Temporary is now mktime_offset_t, not time_t.
6088 This affects only Gnulib.
6089
6090 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
6091
6092 [BZ #23637]
6093 * string/test-strstr.c (pr23637): New function.
6094 (test_main): Add tests with longer needles.
6095 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
6096 * string/strstr.c (AVAILABLE): Likewise.
6097
6098 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6099
6100 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
6101
6102 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6103
6104 * NEWS: Mention pow improvements.
6105 * math/Makefile (type-double-routines): Add e_pow_log_data.
6106 * sysdeps/generic/math_private.h (__exp1): Remove.
6107 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
6108 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
6109 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
6110 contraction.
6111 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
6112 (exp_inline): Remove.
6113 (__ieee754_exp): Only single double input is handled.
6114 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
6115 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
6116 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
6117 (__pow_log_data): Define.
6118 * sysdeps/ieee754/dbl-64/upow.h: Remove.
6119 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
6120 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
6121 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
6122 contraction.
6123 (CFLAGS-e_pow-fma4.c): Likewise.
6124
6125 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
6126
6127 Simplify tzfile fstat failure code
6128 [BZ #21716]
6129 * time/tzfile.c (__tzfile_read): Simplify slightly.
6130
6131 Fix tzfile low-memory assertion failure
6132 [BZ #21716]
6133 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
6134 when registering time zone abbreviations.
6135
6136 2018-09-18 Joseph Myers <joseph@codesourcery.com>
6137
6138 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
6139 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
6140 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
6141 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
6142 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
6143 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
6144 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
6145 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6146 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6147
6148 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
6149 __ceil.
6150 (__ceill): Call ceil instead of __ceil.
6151 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
6152 __floor.
6153 (__floorl): Call floor instead of __floor.
6154
6155 2018-09-17 Joseph Myers <joseph@codesourcery.com>
6156
6157 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6158 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
6159 using MATH_REDIRECT.
6160 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
6161 header inclusion.
6162 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
6163 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6164 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6165 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
6166 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6167 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6168 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6169 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
6170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
6171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
6172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
6173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
6174 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6175 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6176 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
6177 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
6178 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
6179 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
6180 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
6181 Remove macro.
6182 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
6183 functions instead of __ceil variants.
6184 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6185 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6186 Likewise.
6187 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6188 Likewise.
6189 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6190 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6191 Likewise.
6192 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6193 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6194
6195 [BZ #21286]
6196 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
6197 constant.
6198 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
6199 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
6200 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
6201 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
6202 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
6203 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
6204 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
6205 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
6206 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
6207 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
6208 (ILL_BADIADDR): Remove constant.
6209 (TRAP_BRANCH): Likewise.
6210 (TRAP_HWBKPT): Likewise.
6211
6212 2018-09-14 Joseph Myers <joseph@codesourcery.com>
6213
6214 [BZ #23656]
6215 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
6216 Remove [_MIPS_SIM = _ABIN32] conditional case.
6217 (struct elf_prpsinfo): Likewise.
6218
6219 [BZ #23649]
6220 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
6221 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
6222 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
6223 Likewise.
6224 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
6225 elf_prpsinfo): Likewise.
6226 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
6227 elf_prpsinfo): Likewise.
6228 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
6229 Likewise.
6230
6231 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6232 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
6233 using MATH_REDIRECT.
6234 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
6235 header inclusion.
6236 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
6237 * sysdeps/alpha/fpu/s_rint.c: Likewise.
6238 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
6239 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6240 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6241 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6242 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
6243 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6244 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6245 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6246 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
6247 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
6248 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
6249 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
6250 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
6251 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6252 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6253 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
6254 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
6256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
6257 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
6258 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
6259 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
6260 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
6261 * sysdeps/x86_64/fpu/math_private.h: Remove file.
6262 * math/e_scalb.c (invalid_fn): Use rint functions instead of
6263 __rint variants.
6264 * math/e_scalbf.c (invalid_fn): Likewise.
6265 * math/e_scalbl.c (invalid_fn): Likewise.
6266 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6267 Likewise.
6268 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6269 Likewise.
6270 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6271 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
6272 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6273 Likewise.
6274 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6275 Likewise.
6276 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6277 Likewise.
6278 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
6279 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
6280
6281 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6282 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
6283 New macro.
6284 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6285 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
6286 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6287 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
6288 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6289 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
6290 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6291 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
6292 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6293 && !NO_MATH_REDIRECT] (floor): Likewise.
6294 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
6295 header inclusion.
6296 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
6297 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6298 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6299 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
6300 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6301 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6302 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6303 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
6304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
6305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
6306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
6307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
6308 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6309 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6310 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
6311 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
6312 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
6313 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
6314 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
6315 Remove macro.
6316 [_ARCH_PWR5X] (__floorf): Likewise.
6317 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
6318 inline function.
6319 [__SSE4_1__] (__floorf): Likewise.
6320 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
6321 instead of __floor variants.
6322 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
6323 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
6324 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
6325 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
6326 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
6327 * math/w_tgamma_compat.c (__tgamma): Likewise.
6328 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
6329 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
6330 * math/w_tgammal_compat.c (__tgammal): Likewise.
6331 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
6332 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6333 Likewise.
6334 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
6335 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
6336 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
6337 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6338 Likewise.
6339 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6340 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
6341 Likewise.
6342 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6343 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
6344 Likewise.
6345 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6346 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
6347 Likewise.
6348 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6349 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6350 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
6351 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
6352 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6353 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6354
6355 2018-09-12 Joseph Myers <joseph@codesourcery.com>
6356
6357 * elf/Makefile (modules-names-tests): New variable.
6358
6359 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6360
6361 * NEWS: Mention log2 improvements.
6362 * math/Makefile (type-double-routines): Add e_log2_data.
6363 * sysdeps/i386/fpu/e_log2_data.c: New file.
6364 * sysdeps/ia64/fpu/e_log2_data.c: New file.
6365 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
6366 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
6367 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
6368 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
6369 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
6370
6371 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6372
6373 * NEWS: Mention log improvement.
6374 * math/Makefile (type-double-routines): Add e_log_data.
6375 * sysdeps/i386/fpu/e_log_data.c: New file.
6376 * sysdeps/ia64/fpu/e_log_data.c: New file.
6377 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
6378 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
6379 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
6380 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
6381 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
6382 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
6383
6384 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
6385 Xuepeng Guo <xuepeng.guo@intel.com>
6386
6387 [BZ #23606]
6388 * sysdeps/i386/start.S: Include <sysdep.h>
6389 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
6390 enabled. Add cfi_undefined (eip).
6391
6392 2018-09-11 Joseph Myers <joseph@codesourcery.com>
6393
6394 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
6395 (MOVQ): Likewise.
6396 (EXTRACT_WORDS64): Likewise.
6397 (INSERT_WORDS64): Likewise.
6398 (GET_FLOAT_WORD): Likewise.
6399 (SET_FLOAT_WORD): Likewise.
6400
6401 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
6402 argument.
6403 (Config.build_gcc): Use --disable-libsanitizer for first GCC
6404 build, but not for second build if --full-gcc. Use
6405 --enable-languages=all for second build if --full-gcc.
6406 (get_parser): Add --full-gcc option.
6407 (main): Update call to Context.
6408
6409 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
6410
6411 [BZ #10797]
6412 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
6413 Single Quotation Mark).
6414 (thousands_sep): Likewise.
6415 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
6416 * localedata/locales/it_IT (thousands_sep): Use ".".
6417 (grouping): Use "3;3".
6418
6419 2018-09-10 Joseph Myers <joseph@codesourcery.com>
6420
6421 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
6422 x86_64 and i686 configs using --enable-obsolete-rpc
6423 --enable-obsolete-nsl.
6424
6425 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6426
6427 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6428
6429 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6430
6431 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
6432 Increment size of new_argv by one.
6433
6434 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
6435
6436 [BZ #17426]
6437 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
6438 * localedata/locales/ar_IN (d_fmt): Likewise.
6439 * localedata/locales/bhb_IN (d_fmt): Likewise.
6440 * localedata/locales/bho_IN (d_fmt): Likewise.
6441 * localedata/locales/bn_BD (d_fmt): Likewise.
6442 * localedata/locales/bn_IN (d_fmt): Likewise.
6443 * localedata/locales/doi_IN (d_fmt): Likewise.
6444 * localedata/locales/gu_IN (d_fmt): Likewise.
6445 * localedata/locales/hi_IN (d_fmt): Likewise.
6446 * localedata/locales/hne_IN (d_fmt): Likewise.
6447 * localedata/locales/kn_IN (d_fmt): Likewise.
6448 * localedata/locales/mag_IN (d_fmt): Likewise.
6449 * localedata/locales/mai_IN (d_fmt): Likewise.
6450 * localedata/locales/mjw_IN (d_fmt): Likewise.
6451 * localedata/locales/ml_IN (d_fmt): Likewise.
6452 * localedata/locales/mni_IN (d_fmt): Likewise.
6453 * localedata/locales/mr_IN (d_fmt): Likewise.
6454 * localedata/locales/pa_IN (d_fmt): Likewise.
6455 * localedata/locales/raj_IN (d_fmt): Likewise.
6456 * localedata/locales/sat_IN (d_fmt): Likewise.
6457 * localedata/locales/sd_IN (d_fmt): Likewise.
6458 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
6459 * localedata/locales/ta_IN (d_fmt): Likewise.
6460 * localedata/locales/ta_LK (d_fmt): Likewise.
6461 * localedata/locales/tcy_IN (d_fmt): Likewise.
6462 * localedata/locales/ur_IN (d_fmt): Likewise.
6463
6464 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
6465 * localedata/locales/ks_IN (d_fmt): Likewise.
6466 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
6467
6468 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
6469 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
6470 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
6471 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
6472
6473 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
6474
6475 * NEWS: Mention exp and exp2 improvements.
6476 * math/Makefile (libm-support): Remove t_exp.
6477 (type-double-routines): Add math_err and e_exp_data.
6478 * sysdeps/aarch64/libm-test-ulps: Update.
6479 * sysdeps/arm/libm-test-ulps: Update.
6480 * sysdeps/i386/fpu/e_exp_data.c: New file.
6481 * sysdeps/i386/fpu/math_err.c: New file.
6482 * sysdeps/i386/fpu/t_exp.c: Remove.
6483 * sysdeps/ia64/fpu/e_exp_data.c: New file.
6484 * sysdeps/ia64/fpu/math_err.c: New file.
6485 * sysdeps/ia64/fpu/t_exp.c: Remove.
6486 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
6487 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
6488 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
6489 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
6490 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
6491 * sysdeps/ieee754/dbl-64/math_config.h: New file.
6492 * sysdeps/ieee754/dbl-64/math_err.c: New file.
6493 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
6494 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
6495 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
6496 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
6497 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
6498 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
6499 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
6500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6501 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6502
6503 2018-09-05 Joseph Myers <joseph@codesourcery.com>
6504
6505 * sysdeps/alpha/fpu/math_private.h: Remove.
6506
6507 * sysdeps/generic/math_private.h
6508 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
6509 Move this inline function ....
6510 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
6511 * include/math.h [!_ISOMAC]: To here....
6512
6513 2018-09-04 Joseph Myers <joseph@codesourcery.com>
6514
6515 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
6516 code ....
6517 [!FE_HAVE_ROUNDING_MODES]: And this code ....
6518 * include/fenv.h [!_ISOMAC]: ... to here.
6519 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
6520 (feraiseexcept): Likewise.
6521 * math/fromfp.h: Do not include <fenv_private.h>.
6522 * math/s_cexp_template.c: Likewise.
6523 * math/s_csin_template.c: Likewise.
6524 * math/s_csinh_template.c: Likewise.
6525 * math/s_ctan_template.c: Likewise.
6526 * math/s_ctanh_template.c: Likewise.
6527 * math/s_iseqsig_template.c: Likewise.
6528 * math/w_acos_compat.c: Likewise.
6529 * math/w_acosf_compat.c: Likewise.
6530 * math/w_acosl_compat.c: Likewise.
6531 * math/w_asin_compat.c: Likewise.
6532 * math/w_asinf_compat.c: Likewise.
6533 * math/w_asinl_compat.c: Likewise.
6534 * math/w_j0_compat.c: Likewise.
6535 * math/w_j0f_compat.c: Likewise.
6536 * math/w_j0l_compat.c: Likewise.
6537 * math/w_j1_compat.c: Likewise.
6538 * math/w_j1f_compat.c: Likewise.
6539 * math/w_j1l_compat.c: Likewise.
6540 * math/w_jn_compat.c: Likewise.
6541 * math/w_jnf_compat.c: Likewise.
6542 * math/w_log10_compat.c: Likewise.
6543 * math/w_log10f_compat.c: Likewise.
6544 * math/w_log10l_compat.c: Likewise.
6545 * math/w_log2_compat.c: Likewise.
6546 * math/w_log2f_compat.c: Likewise.
6547 * math/w_log2l_compat.c: Likewise.
6548 * math/w_log_compat.c: Likewise.
6549 * math/w_logf_compat.c: Likewise.
6550 * math/w_logl_compat.c: Likewise.
6551 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6552 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6553 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6554 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6555 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6556 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6557 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6558 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6559 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6560 * sysdeps/ieee754/k_standardl.c: Likewise.
6561 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6562 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6563 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6564 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6565 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6566 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6567 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6568 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6569 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6570 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6571 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6572 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6573 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6574 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6575 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6576 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6577 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6578 * math/w_ilogb_template.c: Include <fenv.h> instead of
6579 <fenv_private.h>.
6580 * math/w_llogb_template.c: Likewise.
6581 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6582 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6583
6584 2018-09-03 Joseph Myers <joseph@codesourcery.com>
6585
6586 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
6587 * math/fromfp.h: Include <fenv_private.h>.
6588 * math/math-narrow.h: Likewise.
6589 * math/s_cexp_template.c: Likewise.
6590 * math/s_csin_template.c: Likewise.
6591 * math/s_csinh_template.c: Likewise.
6592 * math/s_ctan_template.c: Likewise.
6593 * math/s_ctanh_template.c: Likewise.
6594 * math/s_iseqsig_template.c: Likewise.
6595 * math/w_acos_compat.c: Likewise.
6596 * math/w_acosf_compat.c: Likewise.
6597 * math/w_acosl_compat.c: Likewise.
6598 * math/w_asin_compat.c: Likewise.
6599 * math/w_asinf_compat.c: Likewise.
6600 * math/w_asinl_compat.c: Likewise.
6601 * math/w_ilogb_template.c: Likewise.
6602 * math/w_j0_compat.c: Likewise.
6603 * math/w_j0f_compat.c: Likewise.
6604 * math/w_j0l_compat.c: Likewise.
6605 * math/w_j1_compat.c: Likewise.
6606 * math/w_j1f_compat.c: Likewise.
6607 * math/w_j1l_compat.c: Likewise.
6608 * math/w_jn_compat.c: Likewise.
6609 * math/w_jnf_compat.c: Likewise.
6610 * math/w_llogb_template.c: Likewise.
6611 * math/w_log10_compat.c: Likewise.
6612 * math/w_log10f_compat.c: Likewise.
6613 * math/w_log10l_compat.c: Likewise.
6614 * math/w_log2_compat.c: Likewise.
6615 * math/w_log2f_compat.c: Likewise.
6616 * math/w_log2l_compat.c: Likewise.
6617 * math/w_log_compat.c: Likewise.
6618 * math/w_logf_compat.c: Likewise.
6619 * math/w_logl_compat.c: Likewise.
6620 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6621 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6622 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6623 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6624 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6625 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6626 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6627 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6628 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6629 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6630 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6631 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6632 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
6633 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
6634 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6635 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6636 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6637 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6638 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6639 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6640 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6641 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6642 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6643 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6644 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6645 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6646 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6647 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
6648 * sysdeps/ieee754/float128/float128_private.h: Likewise.
6649 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6650 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6651 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6652 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
6653 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6654 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6655 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6656 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6657 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6658 * sysdeps/ieee754/k_standardl.c: Likewise.
6659 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6660 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6661 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6662 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6663 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6664 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6665 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6666 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6667 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6668 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6669 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6670 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6671 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6672 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6673 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6674 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6675 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6676 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
6677 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6678 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6679 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6680 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6681 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6682 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6683 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6684 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6685 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6686 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6687 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
6688 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6689 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6690 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6691 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6692 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6693 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6694 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6695 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6696 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6697 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6698 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6699 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6700 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6701 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6702 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6703 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6704 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6705 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6706 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6707 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6708 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6709 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6710 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6711 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6712 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6713 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6714 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6715 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6716 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6717 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6718 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6719 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6720 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6721 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6722 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6723 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6724 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6725 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6726 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6727 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6728 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6729 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6730
6731 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6732
6733 [BZ #20271]
6734 * include/stdio.h (__libc_fatal): Mention newline in comment.
6735 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
6736 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
6737 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6738 * nss/nsswitch.c (__nss_next2): Likewise.
6739 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
6740 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
6741 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
6742 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6743 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
6744 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
6745 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
6746 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
6747 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
6748 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
6749 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
6750 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6751 (__netlink_assert_response): Likewise.
6752
6753 2018-08-31 Joseph Myers <joseph@codesourcery.com>
6754
6755 * conform/glibcconform.py: New file.
6756 * conform/list-header-symbols.py: Likewise.
6757 * conform/list-header-symbols.pl: Remove.
6758 * conform/Makefile (tests-special): Only add linknamespace tests
6759 if [PYTHON].
6760 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
6761
6762 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
6763
6764 [BZ #23597]
6765 * support/Makefile (libsupport-routines): Add
6766 support_copy_file_range and xcopy_file_range.
6767 * support/support.h: Include <sys/types.h>.
6768 (support_copy_file_range): New prototype.
6769 * support/support_copy_file_range.c: New file. Copied and
6770 modified from io/copy_file_range-compat.c.
6771 * support/test-container.c (copy_one_file): Call xcopy_file_rang
6772 instead of copy_file_range.
6773 * support/xcopy_file_range.c: New file.
6774 * support/xunistd.h (xcopy_file_range): New prototype.
6775
6776 2018-08-30 Carlos O'Donell <carlos@redhat.com>
6777
6778 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
6779 xpthread_create and xpthread_join.
6780
6781 2018-08-30 Florian Weimer <fweimer@redhat.com>
6782
6783 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
6784
6785 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
6786
6787 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
6788 if malloc fails.
6789
6790 2018-08-29 Joseph Myers <joseph@codesourcery.com>
6791
6792 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
6793 and minus_oflow as non-finite.
6794
6795 2018-08-28 Joseph Myers <joseph@codesourcery.com>
6796
6797 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
6798 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
6799 moved to fenv_private.h except for ...
6800 (TOINT_INTRINSICS): Kept in math_private.h.
6801 (roundtoint): Likewise.
6802 (converttoint): Likewise.
6803 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
6804 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6805 * sysdeps/arm/math_private.h: Remove.
6806 * sysdeps/generic/fenv_private.h: New file. Contents moved from
6807 ....
6808 * sysdeps/generic/math_private.h: ... this file. Include
6809 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
6810 Include <fenv_private.h>. Remove functions and macros moved to
6811 fenv_private.h.
6812 * sysdeps/i386/fpu/math_private.h: Remove.
6813 * sysdeps/mips/math_private.h: Move to ....
6814 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
6815 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
6816 [__mips_hard_float] conditional. Include next <fenv_private.h>.
6817 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
6818 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6819 * sysdeps/powerpc/fpu/math_private.h: Do not include
6820 <fenv_private.h>.
6821 * sysdeps/riscv/rvf/math_private.h: Move to ....
6822 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
6823 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
6824 <fenv_private.h>.
6825 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
6826 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6827 * sysdeps/sparc/fpu/math_private.h: Remove.
6828 * sysdeps/i386/fpu/fenv_private.h: Move to ....
6829 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
6830 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
6831 <fenv_private.h>.
6832 * sysdeps/x86_64/fpu/math_private.h: Do not include
6833 <sysdeps/i386/fpu/fenv_private.h>.
6834
6835 2018-08-28 Florian Weimer <fweimer@redhat.com>
6836
6837 [BZ #23578]
6838 * posix/tst-regcomp-truncated.c: New file.
6839 * posix/Makefile (tests): Add it.
6840 (tst-regcomp-truncated.out): Depend on generated locales.
6841
6842 2018-08-28 Florian Weimer <fweimer@redhat.com>
6843
6844 * support/test-container.c (main): Treat unshare failure with
6845 EPERM as an unsupported test.
6846
6847 2018-08-28 Florian Weimer <fweimer@redhat.com>
6848
6849 [BZ #23520]
6850 nscd: Fix use-after-free in addgetnetgrentX and its callers.
6851 * nscd/netgroupcache.c
6852 (addgetnetgrentX): Add tofreep parameter. Do not free
6853 heap-allocated buffer.
6854 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
6855 (addgetnetgrentX_ignore): New function.
6856 (addgetnetgrent): Call it.
6857 (readdgetnetgrent): Likewise.
6858
6859 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6860
6861 * string/memmem.c: Use memcmp for first match.
6862
6863 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6864
6865 [BZ #17426]
6866 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
6867
6868 2018-08-27 DJ Delorie <dj@redhat.com>
6869
6870 * support/Makefile (others): Don't list programs explicitly as a
6871 dependency of "others".
6872
6873 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6874
6875 * sysdeps/generic/math-tests-trap-force.h: New file.
6876 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
6877 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
6878 * sysdeps/powerpc/math-tests.h: Remove file.
6879 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
6880
6881 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
6882 Torvald Riegel <triegel@redhat.com>
6883
6884 [BZ #23538]
6885 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
6886 Update r to include the set wake-request flag if waiters are
6887 remaining after spinning.
6888
6889 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6890
6891 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
6892
6893 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
6894
6895 [BZ #23578]
6896 regex: fix uninitialized memory access
6897 I introduced this bug into gnulib in commit
6898 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
6899 eventually it was merged into glibc. The bug was found by
6900 project-repo <bugs@feusi.co> and reported here:
6901 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
6902 Diagnosis and draft fix reported by Assaf Gordon here:
6903 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
6904 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
6905 * posix/regex_internal.c (build_wcs_upper_buffer):
6906 Fix bug when mbrtowc returns 0.
6907
6908 2018-08-24 Carlos O'Donell <carlos@redhat.com>
6909
6910 * po/be.po: Update translation.
6911
6912 2018-08-24 DJ Delorie <dj@delorie.com>
6913
6914 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
6915 $(libunwind).
6916
6917 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6918
6919 [BZ #23400]
6920 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
6921 create temporary files in source tree.
6922
6923 2018-08-24 Joseph Myers <joseph@codesourcery.com>
6924
6925 * sysdeps/generic/math-tests-trap.h: New file.
6926 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
6927 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
6928 * sysdeps/aarch64/math-tests.h: Remove file.
6929 * sysdeps/arm/math-tests.h: Likewise.
6930 * sysdeps/riscv/math-tests.h: Likewise.
6931 * sysdeps/aarch64/math-tests-trap.h: New file.
6932 * sysdeps/arm/math-tests-trap.h: Likewise.
6933 * sysdeps/riscv/math-tests-trap.h: Likewise.
6934
6935 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
6936
6937 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
6938 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
6939 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
6940 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
6941 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
6942 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
6943 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6944 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
6945 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
6946 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6947 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6948 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6949 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6950 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
6951 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
6952 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
6953 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6954 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6955
6956 2018-08-23 Joseph Myers <joseph@codesourcery.com>
6957
6958 * sysdeps/generic/math-tests-exceptions.h: New file.
6959 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
6960 (EXCEPTION_TESTS_float): Do not define here.
6961 (EXCEPTION_TESTS_double): Likewise.
6962 (EXCEPTION_TESTS_long_double): Likewise.
6963 (EXCEPTION_TESTS_float128): Likewise.
6964 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
6965 Likewise.
6966 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
6967 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
6968 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
6969 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
6970 * sysdeps/mips/math-tests.h: Likewise.
6971 * sysdeps/nios2/math-tests.h: Likewise.
6972 * sysdeps/riscv/math-tests.h [!__riscv_flen]
6973 (EXCEPTION_TESTS_float): Do not define here.
6974 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
6975 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
6976 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
6977
6978 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6979
6980 * NEWS: Move optimized sinf entry to 2.29.
6981
6982 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6983
6984 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
6985
6986 2018-08-22 DJ Delorie <dj@redhat.com>
6987
6988 * Makefile (testroot.pristine): New rules to initialize the
6989 test-in-container "testroot".
6990 * Makerules (all-testsuite): Add tests-container.
6991 * Rules (tests-expected): Add tests-container.
6992 (binaries-all-tests): Likewise.
6993 (tests-container): New, run these tests in the testroot container.
6994 * support/Makefile (others): Add *-container, support_paths.c,
6995 xmkdirp, and links-dso-program.
6996 * support/links-dso-program-c.c: New.
6997 * support/links-dso-program.cc: New.
6998 * support/test-container.c: New.
6999 * support/shell-container.c: New.
7000 * support/echo-container.c: New.
7001 * support/true-container.c: New.
7002 * support/xmkdirp.c: New.
7003 * support/xsymlink.c: New.
7004 * support/support_paths.c: New.
7005 * support/support.h: Add support paths prototypes.
7006 * support/xunistd.h: Add xmkdirp () and xsymlink ().
7007
7008 * nss/tst-nss-test3.c: Convert to test-in-container.
7009 * nss/tst-nss-test3.root/: New.
7010
7011 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
7012
7013 regex: port Gnulib code to z/OS POSIX environment
7014 Problem reported by Arnold Robbins in:
7015 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
7016 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
7017 Undef.
7018
7019 2018-08-22 Joseph Myers <joseph@codesourcery.com>
7020
7021 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
7022 (ROUNDING_TESTS_double): Remove.
7023 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
7024 (ROUNDING_TESTS_double): Remove.
7025 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
7026 (ROUNDING_TESTS_double): Remove.
7027 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
7028 (ROUNDING_TESTS_float): Remove.
7029 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
7030 (ROUNDING_TESTS_float): Remove.
7031 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
7032 (ROUNDING_TESTS_float): Remove.
7033 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
7034 !TEST_MATHVEC here.
7035 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7036 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7037
7038 * sysdeps/generic/math-tests-rounding.h: New file.
7039 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
7040 (ROUNDING_TESTS_float): Do not define here.
7041 (ROUNDING_TESTS_double): Likewise.
7042 (ROUNDING_TESTS_long_double): Likewise.
7043 (ROUNDING_TESTS_float128): Likewise.
7044 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
7045 (ROUNDING_TESTS_double): Undefine before defining.
7046 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
7047 (ROUNDING_TESTS_double): Undefine before defining.
7048 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
7049 (ROUNDING_TESTS_double): Undefine before defining.
7050 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
7051 (ROUNDING_TESTS_float): Undefine before defining.
7052 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
7053 (ROUNDING_TESTS_float): Undefine before defining.
7054 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
7055 (ROUNDING_TESTS_float): Undefine before defining.
7056 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
7057 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
7058 not define here.
7059 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
7060 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
7061 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
7062 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7063 (ROUNDING_TESTS_float): Do not define here.
7064 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
7065 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
7066 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
7067 (ROUNDING_TESTS_float): Likewise.
7068 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
7069 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
7070 * sysdeps/mips/math-tests.h [__mips_soft_float]
7071 (ROUNDING_TESTS_float): Likewise.
7072 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
7073 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
7074 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
7075 (ROUNDING_TESTS_double): Likewise.
7076 (ROUNDING_TESTS_long_double): Likewise.
7077
7078 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
7079
7080 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
7081 (PF_XDP): New macro.
7082 (AF_XDP): New macro.
7083 (SOL_XDP): New macro.
7084
7085 2018-08-21 Joseph Myers <joseph@codesourcery.com>
7086
7087 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
7088 (TCP_INQ): Likewise.
7089 (TCP_CM_INQ): Likewise.
7090 (TCP_REPAIR_ON): Likewise.
7091 (TCP_REPAIR_OFF): Likewise.
7092 (TCP_REPAIR_OFF_NO_WP): Likewise.
7093 (struct tcp_zerocopy_receive): New type.
7094
7095 2018-08-21 Florian Weimer <fweimer@redhat.com>
7096
7097 * support/support.h (support_descriptor_supports_holes): Declare.
7098 * support/Makefile (libsupport-routines): Add
7099 support_descriptor_supports_holes.
7100 * support/support_descriptor_supports_holes.c: New file.
7101 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
7102 and stop testing if holes are not supported.
7103 * io/test-lfs.c (do_prepare): Likewise.
7104 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
7105 Likewise.
7106 * timezone/tst-tzset.c (create_tz_file): Likewise.
7107 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
7108 variable.
7109 (do_prepare): Set it.
7110 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
7111
7112 2018-08-21 Florian Weimer <fweimer@redhat.com>
7113
7114 [BZ #17248]
7115 * Makeconfig (+cflags): Do not sort (and deduplicate).
7116
7117 2018-08-21 Florian Weimer <fweimer@redhat.com>
7118
7119 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
7120 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
7121
7122 2018-08-20 Florian Weimer <fweimer@redhat.com>
7123
7124 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
7125 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
7126
7127 2018-08-20 Joseph Myers <joseph@codesourcery.com>
7128
7129 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
7130 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
7131 and ssi_arch members.
7132
7133 * elf/elf.c (NT_VMCOREDD): New macro.
7134 (AT_MINSIGSTKSZ): Likewise.
7135
7136 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7137
7138 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7139 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
7140 s_cosf-ppc64 and s_cosf-power8.
7141 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
7142 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7143 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7144 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
7146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
7147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
7148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
7149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
7150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
7151 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
7152 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
7153
7154 2018-08-17 Florian Weimer <fweimer@redhat.com>
7155
7156 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7157
7158 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
7159
7160 * malloc/malloc.c (_int_malloc): Additional binning code checks.
7161
7162 2018-08-16 Florian Weimer <fweimer@redhat.com>
7163
7164 * configure.ac: Add --with-nonshared-cflags option.
7165 * config.make.in (extra-nonshared-cflags): Set variable.
7166 * Makeconfig (CFLAGS-.oS): Use it.
7167 * manual/install.texi (Configuring and compiling): Document
7168 --with-nonshared-cflags.
7169 * configure: Regenerate.
7170 * INSTALL: Likewise.
7171
7172 2018-08-16 Florian Weimer <fweimer@redhat.com>
7173
7174 * Makeconfig (ASFLAGS): Always append required assembler flags.
7175
7176 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
7177
7178 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
7179 (malloc_consolidate): Likewise.
7180
7181 2018-08-16 Pochang Chen <johnchen902@gmail.com>
7182
7183 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
7184
7185 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7186
7187 * benchtests/bench-strlen.c (do_test): Allocate buffers before
7188 every strlen call.
7189
7190 * benchtests/bench-strlen.c: Print performance numbers in json.
7191
7192 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7193
7194 * sysdeps/powerpc/powerpc64/multiarch/Makefile
7195 (sysdep_routines): Build strcmp-power9 and strncmp-power9
7196 only for little endian.
7197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7198 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
7199 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
7200 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
7201 Add check for little endian.
7202 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
7203 (__strcmp_power9): Add check for little endian.
7204 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
7205 Add check for little endian.
7206 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
7207 (__strncmp_power9): Add check for little endian.
7208 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
7209 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
7210 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
7211 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
7212 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
7213
7214 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
7215
7216 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
7217 [!STRLEN](STRLEN): Set to __strlen.
7218 * sysdeps/aarch64/multiarch/strlen.c: New file.
7219 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
7220 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
7221 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7222 (__libc_ifunc_impl_list): Add strlen.
7223 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
7224 strlen_generic and strlen_asimd.
7225
7226 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7227
7228 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
7229 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
7230 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7231
7232 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7233
7234 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
7235
7236 2018-08-14 Florian Weimer <fweimer@redhat.com>
7237
7238 [BZ #23519]
7239 * include/stdio.h (__vfxprintf): Declare.
7240 * stdio-common/fxprintf.c (__vfxprintf): New function.
7241 (__fxprintf): Call it.
7242 * misc/err.c (convert_and_print): Remove function.
7243 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
7244 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
7245 * misc/Makefile (tests): Add tst-warn-wide.
7246 * misc/tst-warn-wide.c: New file.
7247
7248 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
7249 Szabolcs Nagy <szabolcs.nagy@arm.com>
7250
7251 * NEWS: Mention sinf, cosf, sincosf.
7252 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
7253 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
7254 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
7255 constants rather than including generic sincosf.h.
7256 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
7257 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
7258 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
7259 (reduced_cos): Remove.
7260 (sinf_poly): New function.
7261 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
7262
7263 2018-08-14 Florian Weimer <fweimer@redhat.com>
7264
7265 [BZ #23521]
7266 [BZ #23522]
7267 * nss/nss_files/files-alias.c (get_next_alias): During :include:
7268 processing, bail out if no room, and close the stream before
7269 returning ERANGE.
7270 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
7271 (tst-nss-files-alias-leak): Link with libdl.
7272 (tst-nss-files-alias-leak.out): Depend on nss_files.
7273
7274 * nss/tst-nss-files-alias-leak.c: New file.
7275
7276 2018-08-14 Florian Weimer <fweimer@redhat.com>
7277
7278 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
7279 server_user, stat_user.
7280
7281 2018-08-13 Joseph Myers <joseph@codesourcery.com>
7282
7283 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7284 version to 4.18.
7285 (io_pgetevents): New syscall.
7286 (rseq): Likewise.
7287
7288 * manual/install.texi (Configuring and compiling): Do not list
7289 tools used for testing pretty printers here.
7290 (Tools for Compilation): List Python, PExpect and GDB here.
7291 Update descriptions of uses of Perl and Python.
7292 * INSTALL: Regenerate.
7293
7294 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7295 version to 4.18.
7296
7297 2018-08-13 Florian Weimer <fweimer@redhat.com>
7298
7299 * misc/error.c (error): Add missing va_end call.
7300 (error_at_line): Likewise.
7301
7302 2018-08-13 Florian Weimer <fweimer@redhat.com>
7303
7304 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
7305
7306 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
7307
7308 * benchtests/scripts/benchout.schema.json (properties): Add
7309 new properties.
7310
7311 * benchtests/bench-skeleton.c (main): Add duration and
7312 iterations attributes.
7313
7314 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
7315
7316 regex: Gnulib unibyte RRI uses bytes not chars
7317 Adjust the non-glibc code to agree with what Gawk needs for
7318 rational range interpretation (RRI) for regular expression ranges.
7319 In unibyte locales, Gawk wants ranges to use the underlying byte
7320 rather than the character code point. This change does not affect
7321 glibc proper.
7322 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
7323 In unibyte locales, use the byte value rather than
7324 running it through btowc.
7325
7326 2018-08-10 Joseph Myers <joseph@codesourcery.com>
7327
7328 * sysdeps/generic/math-tests-snan.h: New file.
7329 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
7330 (SNAN_TESTS_float): Do not define here.
7331 (SNAN_TESTS_double): Likewise.
7332 (SNAN_TESTS_long_double): Likewise.
7333 (SNAN_TESTS_float128): Likewise.
7334 * sysdeps/i386/fpu/math-tests-snan.h: New file.
7335 * sysdeps/i386/fpu/math-tests.h: Remove file.
7336 * sysdeps/ia64/math-tests-snan.h: New file.
7337 * sysdeps/ia64/math-tests.h: Remove file.
7338 * sysdeps/x86/math-tests.h: Likewise.
7339 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
7340
7341 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7342 Szabolcs Nagy <szabolcs.nagy@arm.com>
7343
7344 * math/Makefile: Add s_sincosf_data.c.
7345 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
7346 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
7347 (sincosf_poly): Likewise.
7348 (reduce_small): Likewise.
7349 (reduce_large): Likewise.
7350 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
7351 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
7352 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
7353 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
7354
7355 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7356 Szabolcs Nagy <szabolcs.nagy@arm.com>
7357
7358 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
7359 (converttoint): Use lround.
7360 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
7361 document the semantics when TOINT_INTRINSICS is set.
7362 (converttoint): Likewise.
7363 (TOINT_RINT): Remove.
7364 (TOINT_SHIFT): Remove.
7365 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
7366 path.
7367
7368 2018-08-10 Florian Weimer <fweimer@redhat.com>
7369
7370 [BZ #23497]
7371 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
7372 function.
7373 (__old_getdents64): Use getdents64. Convert entries without
7374 moving them.
7375 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
7376 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
7377 tst-readdir64-compat.
7378
7379 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7380
7381 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
7382 Fix unwind.
7383
7384 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7385
7386 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
7387 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
7388 code to s390x-mcount.h and #include it.
7389 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
7390 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7391 (__fentry__): Add.
7392
7393 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7394
7395 * stdlib/Versions: Remove __fentry__.
7396 * sysdeps/i386/Versions: Add __fentry__.
7397 * sysdeps/x86_64/Versions: Add __fentry__.
7398
7399 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7400
7401 * sysdeps/s390/Makefile: Register the new tests.
7402 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
7403 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
7404 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
7405 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
7406 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
7407 * sysdeps/s390/tst-dl-runtime.c: New file.
7408
7409 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7410
7411 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7412 Do not clobber R0.
7413
7414 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7415
7416 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7417 Do not clobber R0.
7418
7419 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7420
7421 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7422 Do not clobber R0.
7423
7424 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7425
7426 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7427 Do not clobber R0.
7428
7429 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7430
7431 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7432 Use symbolic offsets for stack variables.
7433
7434 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7435
7436 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7437 Use symbolic offsets for stack variables.
7438
7439 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7440
7441 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7442 Use symbolic offsets for stack variables.
7443
7444 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7445
7446 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7447 Use symbolic offsets for stack variables.
7448
7449 2018-08-09 Joseph Myers <joseph@codesourcery.com>
7450
7451 * math/gen-libm-test.py: New file.
7452 * math/gen-libm-test.pl: Remove.
7453 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
7454 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
7455 gen-libm-test.pl.
7456 ($(libm-test-c-noauto-obj)): Likewise.
7457 ($(libm-test-c-auto-obj)): Likewise.
7458 ($(libm-test-c-narrow-obj)): Likewise.
7459 (regen-ulps): Likewise.
7460 * math/README.libm-test: Update references to gen-libm-test.pl.
7461 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
7462 referencing gen-libm-test.pl.
7463 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
7464 * math/libm-test-support.c: Likewise.
7465 * math/libm-test-support.h: Likewise.
7466 * sysdeps/generic/libm-test-ulps: Likewise.
7467
7468 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
7469
7470 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
7471 Fix value.
7472
7473 2018-08-08 Joseph Myers <joseph@codesourcery.com>
7474
7475 * math/libm-test-nextdown.inc (do_test): Move comment to ....
7476 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
7477
7478 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7479
7480 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
7481 symbols.
7482 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
7483 __pthread_setspecific): Add hidden proto.
7484 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
7485 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
7486
7487 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7488
7489 * benchtests/bench-string.h (buf1_size, buf2_size): New
7490 variables.
7491 (init_sizes): New function.
7492 (test_init): Use it.
7493 (alloc_buf, exit_error): New functions.
7494 (alloc_bufs): Use ALLOC_BUF.
7495 (realloc_bufs): Remove.
7496 * benchtests/bench-memcmp.c (do_test): Adjust.
7497 * benchtests/bench-memset-large.c (do_test): Likewise.
7498 * benchtests/bench-memset-walk.c (do_test): Likewise.
7499 * benchtests/bench-memset.c (do_test): Likewise.
7500 * benchtests/bench-strncmp.c (do_test): Likewise.
7501
7502 2018-08-06 Andreas Schwab <schwab@suse.de>
7503
7504 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
7505 of CONST_THREAD_AREA.
7506
7507 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
7508
7509 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
7510 (STATE_SAVE_MASK): Likewise.
7511 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
7512 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
7513 (STATE_SAVE_MASK): Likewise.
7514 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
7515 instead of <cpu-features.h>.
7516
7517 2018-08-03 DJ Delorie <dj@redhat.com>
7518
7519 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
7520 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
7521
7522 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7523
7524 2018-08-03 Joseph Myers <joseph@codesourcery.com>
7525
7526 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
7527 after TEST_* calls.
7528 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
7529 * math/libm-test-logb.inc (logb_test_data): Likewise.
7530
7531 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
7532
7533 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
7534 * string/strstr.c (AVAILABLE): Likewise.
7535
7536 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7537
7538 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
7539 <init-arch.h>.
7540 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
7541 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
7542 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
7543
7544 2018-08-03 Carlos O'Donell <carlos@redhat.com>
7545
7546 * po/be.po: Update translation.
7547
7548 * po/be.po: Update translation.
7549
7550 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7551
7552 * sysdeps/x86/cpu-features-offsets.sym
7553 (rtld_global_ro_offsetof): Removed.
7554 (CPU_FEATURES_SIZE): Likewise.
7555 (CPUID_OFFSET): Likewise.
7556 (CPUID_SIZE): Likewise.
7557 (CPUID_EAX_OFFSET): Likewise.
7558 (CPUID_EBX_OFFSET): Likewise.
7559 (CPUID_ECX_OFFSET): Likewise.
7560 (CPUID_EDX_OFFSET): Likewise.
7561 (FAMILY_OFFSET): Likewise.
7562 (MODEL_OFFSET): Likewise.
7563 (FEATURE_OFFSET): Likewise.
7564 (FEATURE_SIZ): Likewise.
7565 (COMMON_CPUID_INDEX_1): Likewise.
7566 (COMMON_CPUID_INDEX_7): Likewise.
7567 (FEATURE_INDEX_1): Likewise.
7568 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
7569
7570 2018-08-02 Carlos O'Donell <carlos@redhat.com>
7571
7572 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
7573 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
7574 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
7575 (install-locales): Depend on install-locale-archive.
7576 (install-locale-archive): Define.
7577 (install-locale-files): Define.
7578 (build-one-locale): Define macro.
7579 * manual/install.texi (Running make install): Document.
7580 * manual/INSTALL: Regenerate.
7581
7582 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
7583
7584 * benchtests/scripts/compare_strings.py: Import traceback.
7585 (parse_file): Pretty-print error.
7586
7587 * NEWS: Mention the change.
7588 * elf/dl-tunables.list: Rename tune namespace to cpu.
7589 * sysdeps/powerpc/dl-tunables.list: Likewise.
7590 * sysdeps/x86/dl-tunables.list: Likewise.
7591 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
7592 cpu.name.
7593 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
7594 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
7595 * manual/README.tunables: Likewise.
7596 * manual/tunables.texi: Likewise.
7597 * sysdeps/powerpc/cpu-features.c: Likewise.
7598 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
7599 (init_cpu_features): Likewise.
7600 * sysdeps/x86/cpu-features.c: Likewise.
7601 * sysdeps/x86/cpu-features.h: Likewise.
7602 * sysdeps/x86/cpu-tunables.c: Likewise.
7603 * sysdeps/x86_64/Makefile: Likewise.
7604 * sysdeps/x86/dl-cet.c: Likewise.
7605
7606 2018-08-02 Joseph Myers <joseph@codesourcery.com>
7607
7608 [BZ #23479]
7609 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
7610 [__mips_hard_float].
7611 (FE_UNDERFLOW): Likewise.
7612 (FE_OVERFLOW): Likewise.
7613 (FE_DIVBYZERO): Likewise.
7614 (FE_INVALID): Likewise.
7615 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
7616 (FE_TOWARDZERO): Define only if [__mips_hard_float].
7617 (FE_UPWARD): Likewise.
7618 (FE_DOWNWARD): Likewise.
7619 (__FE_UNDEFINED): Define if [!__mips_hard_float]
7620 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
7621 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
7622 [__mips_hard_float].
7623 (FP_ROUNDMODE): Likewise.
7624 (FP_RND_NEAREST): Likewise.
7625 (FP_RND_ZERO): Likewise.
7626 (FP_RND_PINF): Likewise.
7627 (FP_RND_MINF): Likewise.
7628 (FP_EX_INVALID): Likewise.
7629 (FP_EX_OVERFLOW): Likewise.
7630 (FP_EX_UNDERFLOW): Likewise.
7631 (FP_EX_DIVZERO): Likewise.
7632 (FP_EX_INEXACT): Likewise.
7633 (FP_INIT_ROUNDMODE): Likewise.
7634 * sysdeps/mips/nofpu/fesetenv.c: New file.
7635 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
7636
7637 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7638
7639 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
7640 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
7641 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
7642 conditional on [FE_UPWARD].
7643
7644 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
7645
7646 regex: fix memory leak in Gnulib
7647 Problem and fix reported by Assaf Gordon in:
7648 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
7649 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
7650 range_ends members too, as they are defined in 'struct
7651 re_charset_t' even if not _LIBC. This affects only Gnulib.
7652
7653 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
7654
7655 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
7656 ...
7657 (get_common_indices): This.
7658 (init_cpu_features): Updated.
7659
7660 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7661
7662 * sysdeps/generic/math-tests-snan-payload.h: New file.
7663 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
7664 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
7665 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
7666 * sysdeps/generic/math-tests.h: Include
7667 <math-tests-snan-payload.h>.
7668 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7669 * sysdeps/hppa/math-tests.h: Remove file.
7670 * sysdeps/mips/math-tests.h [!__mips_nan2008]
7671 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7672 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
7673 Likewise.
7674
7675 * sysdeps/generic/math-tests-snan-cast.h: New file.
7676 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
7677 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
7678 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
7679 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
7680
7681 2018-08-01 Carlos O'Donel <carlos@redhat.com>
7682
7683 * version.h (RELEASE): Set to "development".
7684 (VERSION): Set to "2.28.9000".
7685 * NEWS (2.29): New section.
7686
7687 * version.h (RELEASE): Set to "stable".
7688 (VERSION): Set to "2.28".
7689 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
7690 * NEWS: Add the list of bugs fixed in 2.28.
7691
7692 * po/ca.po: Update to latest version.
7693 * po/cs.po: Likewise
7694 * po/da.po: Likewise
7695 * po/el.po: Likewise
7696 * po/eo.po: Likewise
7697 * po/es.po: Likewise
7698 * po/fi.po: Likewise
7699 * po/fr.po: Likewise
7700 * po/gl.po: Likewise
7701 * po/hu.po: Likewise
7702 * po/ia.po: Likewise
7703 * po/id.po: Likewise
7704 * po/it.po: Likewise
7705 * po/ja.po: Likewise
7706 * po/ko.po: Likewise
7707 * po/lt.po: Likewise
7708 * po/nb.po: Likewise
7709 * po/nl.po: Likewise
7710 * po/pt_BR.po: Likewise
7711 * po/ru.po: Likewise
7712 * po/rw.po: Likewise
7713 * po/sk.po: Likewise
7714 * po/sl.po: Likewise
7715 * po/tr.po: Likewise
7716 * po/zh_CN.po: Likewise
7717 * po/zh_TW.po: Likewise
7718
7719 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7720
7721 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
7722 initialization...
7723 (init): ... before initializing libpthread.
7724
7725 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
7726 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
7727 (__mach_setup_tls): ... new function.
7728 (mach_setup_tls): New alias.
7729 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
7730 __mach_setup_thread.
7731 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
7732 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
7733 * mach/Versions [libc] (mach_setup_tls): Add symbol.
7734 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
7735
7736 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7737
7738 * manual/install.texi: Update versions.
7739 * INSTALL: Regenerate.
7740
7741 * manual/contrib.texi (Contributors): Update contributions.
7742
7743 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7744
7745 * po/be.po: Update translations.
7746
7747 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7748
7749 * sysdeps/sh/libm-test-ulps: Update.
7750
7751 2018-07-30 Carlos O'Donell <carlos@redhat.com>
7752
7753 * po/bg.po: Update translations.
7754 * po/de.po: Likewise.
7755 * po/hr.po: Likewise.
7756 * po/pt_BR.po: Likewise.
7757 * po/sv.po: Likewise.
7758 * po/vi.po: Likewise.
7759
7760 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7761
7762 [BZ #23467]
7763 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7764 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
7765 (CFLAGS-tst-cet-property-1.o): New.
7766 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
7767 ($(objpfx)tst-cet-property-2): Likewise.
7768 ($(objpfx)tst-cet-property-2.out): Likewise.
7769 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
7770 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
7771 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
7772 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
7773 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
7774
7775 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7776
7777 [BZ #23458]
7778 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
7779
7780 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7781
7782 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
7783 __sbrk): Do not set attribute_hidden.
7784 * sysdeps/mach/hurd/not-errno.h: New file.
7785 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7786 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
7787
7788 2018-07-27 Carlos O'Donell <carlos@redhat.com>
7789
7790 * po/uk.po: Update translations.
7791 * po/cs.po: Likewise.
7792 * po/pl.po: Likewise.
7793
7794 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
7795
7796 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
7797 parse beyond the note end.
7798
7799 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7800
7801 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
7802 kernel does not support OFD locks.
7803 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
7804
7805 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7806
7807 * sysdeps/mach/hurd/Versions (libc): Make __access and
7808 __access_noerrno external so they can override the ld symbols.
7809 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
7810 __writev, __open64, __access_noerrno extern so they can be overrided.
7811 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
7812 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7813
7814 2018-07-26 Carlos O'Donell <carlos@redhat.com>
7815
7816 * po/libc.pot: Regenerate.
7817
7818 2018-07-26 Joseph Myers <joseph@codesourcery.com>
7819
7820 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7821
7822 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7823
7824 [BZ #23459]
7825 * sysdeps/x86/cpu-features.c (get_extended_indices): New
7826 function.
7827 (init_cpu_features): Call get_extended_indices for both Intel
7828 and AMD CPUs.
7829 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
7830 Remove "for AMD" comment.
7831
7832 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7833
7834 [BZ # 23456]
7835 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
7836 COMMON_CPUID_INDEX_80000001.
7837
7838 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
7839
7840 * string/tst-xbzero-opt.c (use_test_buffer): New function.
7841 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
7842
7843 2018-07-26 Florian Weimer <fweimer@redhat.com>
7844
7845 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
7846 aliases for symbols not in the implementation namespace.
7847
7848 2018-07-25 Carlos O'Donell <carlos@redhat.com>
7849
7850 [BZ #23393]
7851 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
7852 lowercase in LATIN script.
7853 * localedata/Makefile (test-input): Add en_US.UTF-8.
7854 * localedata/en_US.UTF-8.in: New file.
7855 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
7856 and restore old tests.
7857 * posix/tst-regexloc.c (do_test): Add back range expression test.
7858
7859 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7860
7861 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
7862
7863 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7864
7865 * nptl/threads.h: Move to ...
7866 * sysdeps/nptl/threads.h: ... here.
7867 * sysdeps/hurd/stdc-predef.h: New file.
7868
7869 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7870
7871 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7872 tst-cet-setcontext-1 if CET is enabled.
7873 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
7874 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
7875
7876 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7877
7878 * include/threads.h: Move to ...
7879 * sysdeps/nptl/threads.h: ... here.
7880 * sysdeps/htl/threads.h: New file.
7881 * conform/Makefile (linknamespace-libs-ISO11): Use
7882 static-thread-library instead of linking libpthread.
7883 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
7884
7885 2018-07-25 Florian Weimer <fweimer@redhat.com>
7886
7887 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
7888 nanoseconds into seconds.
7889 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
7890 (do_test): Likewise.
7891 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
7892 (do_test): Likewise. Avoid nanosecond overflow and spurious
7893 timeouts due to system load.
7894 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
7895 (child_wait): Increment it.
7896 (do_test): Wait as long as necessary until all expected threads
7897 have arrived.
7898
7899 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
7900 H.J. Lu <hongjiu.lu@intel.com>
7901
7902 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
7903 __ssp.
7904 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
7905 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
7906 (__push___start_context): New.
7907 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
7908 <asm/prctl.h>.
7909 (__getcontext): Record the current shadow stack base. Save the
7910 caller's shadow stack pointer and base.
7911 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
7912 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
7913 (__push___start_context): New prototype.
7914 (__makecontext): Call __push___start_context to allocate a new
7915 shadow stack, push __start_context onto the new stack as well
7916 as the new shadow stack.
7917 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
7918 <asm/prctl.h>.
7919 (__setcontext): Restore the target shadow stack.
7920 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
7921 <asm/prctl.h>.
7922 (__swapcontext): Record the current shadow stack base. Save
7923 the caller's shadow stack pointer and base. Restore the target
7924 shadow stack.
7925 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7926 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
7927 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
7928
7929 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7930
7931 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
7932 tst-setcontext8 and tst-setcontext9.
7933 * stdlib/tst-setcontext6.c: New file.
7934 * stdlib/tst-setcontext7.c: Likewise.
7935 * stdlib/tst-setcontext8.c: Likewise.
7936 * stdlib/tst-setcontext9.c: Likewise.
7937
7938 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7939
7940 * stdlib/Makefile ((tests): Add tst-setcontext5.
7941 * stdlib/tst-setcontext5.c: New file.
7942
7943 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7944
7945 * stdlib/Makefile (tests): Add tst-setcontext4.
7946 * stdlib/tst-setcontext4.c: New file.
7947
7948 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7949
7950 * stdlib/Makefile (tests): Add tst-swapcontext1.
7951 * stdlib/tst-swapcontext1.c: New test.
7952
7953 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7954
7955 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
7956 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
7957 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
7958 and tst-cet-legacy-4c.
7959 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
7960 and tst-cet-legacy-mod-4.
7961 (CFLAGS-tst-cet-legacy-2.c): New.
7962 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
7963 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
7964 (CFLAGS-tst-cet-legacy-3.c): Likewise.
7965 (CFLAGS-tst-cet-legacy-4.c): Likewise.
7966 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
7967 ($(objpfx)tst-cet-legacy-1): Likewise.
7968 ($(objpfx)tst-cet-legacy-2): Likewise.
7969 ($(objpfx)tst-cet-legacy-2.out): Likewise.
7970 ($(objpfx)tst-cet-legacy-2a): Likewise.
7971 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
7972 ($(objpfx)tst-cet-legacy-4): Likewise.
7973 ($(objpfx)tst-cet-legacy-4.out): Likewise.
7974 ($(objpfx)tst-cet-legacy-4a): Likewise.
7975 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
7976 (tst-cet-legacy-4a-ENV): Likewise.
7977 ($(objpfx)tst-cet-legacy-4b): Likewise.
7978 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
7979 (tst-cet-legacy-4b-ENV): Likewise.
7980 ($(objpfx)tst-cet-legacy-4c): Likewise.
7981 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
7982 (tst-cet-legacy-4c-ENV): Likewise.
7983 * sysdeps/x86/tst-cet-legacy-1.c: New file.
7984 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
7985 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
7986 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
7987 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
7988 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
7989 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
7990 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
7991 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
7992 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
7993 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
7994
7995 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7996
7997 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
7998 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
7999 with ssp_base.
8000 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8001 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8002 with ssp_base.
8003
8004 2018-07-25 Andreas Schwab <schwab@suse.de>
8005
8006 [BZ #23442]
8007 * locale/weightwc.h (findidx): Handle the case where usrc is a
8008 prefix of cp but one character too short.
8009
8010 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8011
8012 * NEWS: Add ISO C threads addition.
8013
8014 2018-07-24 Florian Weimer <fweimer@redhat.com>
8015
8016 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8017 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
8018 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
8019 4.13.
8020
8021 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8022
8023 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
8024 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
8025 <sys/prctl.h> and <asm/prctl.h>.
8026 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
8027 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
8028 and <asm/prctl.h>.
8029 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
8030 ARCH_CET_LEGACY_BITMAP.
8031 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
8032 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
8033 * sysdeps/x86/libc-start.c: Include <startup.h>.
8034
8035 2018-07-24 Florian Weimer <fweimer@redhat.com>
8036
8037 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
8038 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
8039
8040 2018-07-24 Rical Jasan <rj@2c3t.io>
8041 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8042 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8043
8044 [BZ #14092]
8045 * manual/debug.texi: Update adjacent chapter name.
8046 * manual/probes.texi: Likewise.
8047 * manual/threads.texi (ISO C Threads): New section.
8048 (POSIX Threads): Convert to a section.
8049
8050 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8051 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8052
8053 [BZ# 14092]
8054 * nptl/Makefile (tests): Add new test files.
8055 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
8056 * nptl/tst-cnd-basic.c: Likewise.
8057 * nptl/tst-cnd-broadcast.c: Likewise.
8058 * nptl/tst-cnd-timedwait.c: Likewise.
8059 * nptl/tst-mtx-basic.c: Likewise.
8060 * nptl/tst-mtx-recursive.c: Likewise.
8061 * nptl/tst-mtx-timedlock.c: Likewise.
8062 * nptl/tst-mtx-trylock.c: Likewise.
8063 * nptl/tst-thrd-basic.c: Likewise.
8064 * nptl/tst-thrd-detach.c: Likewise.
8065 * nptl/tst-thrd-sleep.c: Likewise.
8066 * nptl/tst-tss-basic.c: Likewise.
8067
8068 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8069
8070 [BZ #14092]
8071 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
8072 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
8073 symbols.
8074 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8075 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8076 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8077 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8078 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8079 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8080 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8081 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8082 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8083 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8084 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8085 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8087 Likewise.
8088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8089 Likewise.
8090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
8091 Likewise.
8092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8093 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8094 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8095 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8096 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8097 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8098 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8099 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8100 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8101 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
8102 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
8103 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
8104 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
8105 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
8106 Likewise.
8107 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
8108 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
8109 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
8110 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
8111 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
8112 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
8113 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
8114 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
8115 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
8116 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
8117 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
8118 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
8119 ikewise.
8120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
8121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8122 Likewise.
8123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8124 Likewise.
8125 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
8126 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
8127 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
8128 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
8129 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
8130 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
8131 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
8132 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
8133
8134 [BZ #14092]
8135 * conform/data/threads.h-data (thread_local): New macro.
8136 (TSS_DTOR_ITERATIONS): Likewise.
8137 (tss_t): New type.
8138 (tss_dtor_t): Likewise.
8139 (tss_create): New function.
8140 (tss_get): Likewise.
8141 (tss_set): Likewise.
8142 (tss_delete): Likewise.
8143 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
8144 tss_get, and tss_set objects.
8145 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8146 * nptl/tss_create.c: New file.
8147 * nptl/tss_delete.c: Likewise.
8148 * nptl/tss_get.c: Likewise.
8149 * nptl/tss_set.c: Likewise.
8150 * sysdeps/nptl/threads.h (thread_local): New define.
8151 (TSS_DTOR_ITERATIONS): Likewise.
8152 (tss_t): New typedef.
8153 (tss_dtor_t): Likewise.
8154 (tss_create): New prototype.
8155 (tss_get): Likewise.
8156 (tss_set): Likewise.
8157 (tss_delete): Likewise.
8158
8159 [BZ #14092]
8160 * conform/data/threads.h-data (cnd_t): New type.
8161 (cnd_init): New function.
8162 (cnd_signal): Likewise.
8163 (cnd_broadcast): Likewise.
8164 (cnd_wait): Likewise.
8165 (cnd_timedwait): Likewise.
8166 (cnd_destroy): Likewise.
8167 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
8168 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
8169 object.
8170 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8171 * nptl/cnd_broadcast.c: New file.
8172 * nptl/cnd_destroy.c: Likewise.
8173 * nptl/cnd_init.c: Likewise.
8174 * nptl/cnd_signal.c: Likewise.
8175 * nptl/cnd_timedwait.c: Likewise.
8176 * nptl/cnd_wait.c: Likewise.
8177 * sysdeps/nptl/threads.h (cnd_t): New type.
8178 (cnd_init): New prototype.
8179 (cnd_signa): Likewise.
8180 (cnd_broadcast): Likewise.
8181 (cnd_wait): Likewise.
8182 (cnd_timedwait): Likewise.
8183 (cnd_destroy): Likewise.
8184
8185 [BZ #14092]
8186 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
8187 (once_flag): New type.
8188 (call_once): New function.
8189 * nptl/Makefile (libpthread-routines): Add call_once object.
8190 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
8191 * nptl/call_once.c: New file.
8192 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
8193 (once_flag): New type.
8194 (call_once): New prototype.
8195
8196 [BZ #14092]
8197 * conform/data/threads.h-data (mtx_plain): New constant.
8198 (mtx_recursive): Likewise.
8199 (mtx_timed): Likewise.
8200 (mtx_t): New type.
8201 (mtx_init): New function.
8202 (mtx_lock): Likewise.
8203 (mtx_timedlock): Likewise.
8204 (mtx_trylock): Likewise.
8205 (mtx_unlock): Likewise.
8206 (mtx_destroy): Likewise.
8207 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
8208 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
8209 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
8210 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
8211 * nptl/mtx_destroy.c: New file.
8212 * nptl/mtx_init.c: Likewise.
8213 * nptl/mtx_lock.c: Likewise.
8214 * nptl/mtx_timedlock.c: Likewise.
8215 * nptl/mtx_trylock.c: Likewise.
8216 * nptl/mtx_unlock.c: Likewise.
8217 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
8218 (mtx_recursive): Likewise.
8219 (mtx_timed): Likewise.
8220 (mtx_t): New type.
8221 (mtx_init): New prototype.
8222 (mtx_lock): Likewise.
8223 (mtx_timedlock): Likewise.
8224 (mtx_trylock): Likewise.
8225 (mtx_unlock): Likewise.
8226 (mtx_destroy): Likewise.
8227
8228 [BZ #14092]
8229 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
8230 (linknamespace-libs-ISO11): Add libpthread.a.
8231 * conform/data/threads.h-data: New file: add C11 thrd_* types and
8232 functions.
8233 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
8234 * nptl/Makefile (headers): Add threads.h.
8235 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
8236 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
8237 thrd_yield.
8238 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
8239 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
8240 thrd_join, thrd_sleep, and thrd_yield symbols.
8241 * nptl/descr.h (struct pthread): Add c11 field.
8242 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
8243 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
8244 routine with expected function prototype.
8245 (__pthread_create_2_1): Add C11 threads check based on attribute
8246 value.
8247 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
8248 * nptl/thrd_create.c: New file.
8249 * nptl/thrd_current.c: Likewise.
8250 * nptl/thrd_detach.c: Likewise.
8251 * nptl/thrd_equal.c: Likewise.
8252 * nptl/thrd_exit.c: Likewise.
8253 * nptl/thrd_join.c: Likewise.
8254 * nptl/thrd_priv.h: Likewise.
8255 * nptl/thrd_sleep.c: Likewise.
8256 * nptl/thrd_yield.c: Likewise.
8257 * include/threads.h: Likewise.
8258
8259 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8260
8261 * bits/indirect-return.h: New file.
8262 * misc/sys/cdefs.h (__glibc_has_attribute): New.
8263 * sysdeps/x86/bits/indirect-return.h: Likewise.
8264 * stdlib/Makefile (headers): Add bits/indirect-return.h.
8265 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
8266 (swapcontext): Add __INDIRECT_RETURN.
8267 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
8268 (prepare_test_buffer): Use it.
8269
8270 2018-07-24 Andreas Schwab <schwab@suse.de>
8271
8272 [BZ #23448]
8273 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
8274 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
8275
8276 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8277
8278 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
8279 Redefine if shadow stack is enabled.
8280 (SYSCALL_ERROR_LABEL): Likewise.
8281 (__vfork): Pop shadow stack and jump back to to caller directly
8282 when shadow stack is in use.
8283 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
8284 Redefine if shadow stack is enabled.
8285 (SYSCALL_ERROR_LABEL): Likewise.
8286 (__vfork): Pop shadow stack and jump back to to caller directly
8287 when shadow stack is in use.
8288
8289 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8290
8291 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
8292 enabled.
8293 (foo): Likewise.
8294 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
8295 (foo): Likewise.
8296
8297 2018-07-20 Joseph Myers <joseph@codesourcery.com>
8298
8299 * scripts/build-many-glibcs.py (Context.checkout): Default
8300 binutils version to 2.31 branch.
8301
8302 2018-07-20 Zong Li <zong@andestech.com>
8303
8304 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
8305 URL of gcc's tarball.
8306
8307 2018-07-20 Florian Weimer <fweimer@redhat.com>
8308
8309 [BZ #23396]
8310 * posix/regcomp.c (build_equiv_class): When comparing weights, do
8311 not compare an extra byte after the end of the weights.
8312
8313 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
8314
8315 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
8316 to 1.
8317 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
8318 hidden prototypes.
8319 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
8320 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
8321 * scripts/check-execstack.awk: Consider `xfail' variable containing a
8322 list of libraries whose stack executability is expected.
8323 * elf/Makefile ($(objpfx)check-execstack.out): Pass
8324 $(check-execstack-xfail) to check-execstack.awk through `xfail'
8325 variable.
8326 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
8327 libc.so libpthread.so.
8328
8329 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
8330
8331 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
8332 SOCK_NONBLOCK.
8333 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
8334 and SOCK_NONBLOCK.
8335 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
8336 implement __pipe2.
8337 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
8338
8339 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8340
8341 * benchtests/scripts/compare_bench.py (__main__): use the argparse
8342 library to improve command line parsing.
8343 (__main__): make schema file as optional parameter (--schema),
8344 defaulting to benchtests/scripts/benchout.schema.json.
8345 (main): move out of the parsing stuff to __main_  and leave it
8346 only as caller of main comparison functions.
8347
8348 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
8349
8350 * NEWS: Add a note for Intel CET status.
8351 * manual/install.texi: Likewise.
8352 * INSTALL: Regenerated.
8353
8354 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
8355
8356 [BZ #23140]
8357 * localedata/locales/oc_FR (mon): Rename to...
8358 (alt_mon): This, then update October (typo fix).
8359 (mon): New content (genitive case, month names preceded by
8360 "de" or "d’").
8361
8362 [BZ #23422]
8363 * localedata/locales/oc_FR (abday): Update all items.
8364 (day): Update Wednesday and Saturday (typo fixes).
8365 (abmon): Update all items, except May.
8366 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
8367 (LC_IDENTIFICATION): Bump the revision number and date.
8368 Keep the "category" entries in alphabetic order.
8369 (LC_ADDRESS): Remove no longer needed comment.
8370 (LC_COLLATE): Use “copy "ca_ES"”.
8371 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
8372 "name_mrs".
8373
8374 2018-07-18 Joseph Myers <joseph@codesourcery.com>
8375
8376 * grp/tst_fgetgrent.c: Include <unistd.h>.
8377 (main): Use mkstemp instead of tmpnam.
8378 * io/test-utime.c (main): Likewise.
8379 * posix/annexc.c (macrofile): Change to modifiable array.
8380 (main): Remove macrofile here.
8381 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8382 macrofile here.
8383 (check_header): Do not remove macrofile here.
8384 * posix/bug-getopt1.c: Include <stdlib.h>.
8385 (do_test): Use mkstemp instead of tmpnam.
8386 * posix/bug-getopt2.c: Include <stdlib.h>.
8387 (do_test): Use mkstemp instead of tmpnam.
8388 * posix/bug-getopt3.c: Include <stdlib.h>.
8389 (do_test): Use mkstemp instead of tmpnam.
8390 * posix/bug-getopt4.c: Include <stdlib.h>.
8391 (do_test): Use mkstemp instead of tmpnam.
8392 * posix/bug-getopt5.c: Include <stdlib.h>.
8393 (do_test): Use mkstemp instead of tmpnam.
8394 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
8395 (main): Use mkstemp instead of tmpnam.
8396 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
8397 (main): Use mkstemp instead of tmpnam.
8398 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
8399 (main): use mkstemp instead of tmpnam.
8400 * stdlib/isomac.c (macrofile): Change to modifiable array.
8401 (main): Remove macrofile here.
8402 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8403 macrofile here.
8404 (check_header): Do not remove macrofile here.
8405
8406 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8407
8408 * manual/tunables.texi: Document glibc.tune.x86_ibt and
8409 glibc.tune.x86_shstk.
8410
8411 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8412
8413 * NEWS: Mention --enable-cet.
8414 * manual/install.texi: Document --enable-cet.
8415 * INSTALL: Regenerated.
8416
8417 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8418
8419 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
8420 Add _CET_NOTRACK before indirect jump to jump table.
8421
8422 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8423
8424 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
8425 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8426 to jump table.
8427
8428 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8429
8430 * sysdeps/i386/i686/multiarch/strcat-sse2.S
8431 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8432 to jump table.
8433
8434 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8435
8436 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
8437 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8438 to jump table.
8439
8440 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8441
8442 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
8443 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8444 to jump table.
8445
8446 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8447
8448 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
8449 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8450 to jump table.
8451 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
8452
8453 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8454
8455 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
8456 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8457 to jump table.
8458
8459 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8460
8461 * sysdeps/i386/i686/multiarch/memset-sse2.S
8462 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8463 to jump table.
8464
8465 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8466
8467 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
8468 indirect jump to jump table.
8469
8470 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8471
8472 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
8473 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8474 to jump table.
8475 (MEMCPY): Likewise.
8476
8477 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8478
8479 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
8480 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8481 to jump table.
8482 (MEMCPY): Likewise.
8483
8484 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8485
8486 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8487 _CET_NOTRACK before indirect jump to jump table.
8488
8489 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8490
8491 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
8492 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8493 to jump table.
8494
8495 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8496
8497 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
8498 indirect jump to jump table.
8499
8500 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
8501
8502 [BZ #22241]
8503 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
8504 (LOCALES): Likewise.
8505 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
8506 * localedata/locales/sah_RU: New file.
8507 * localedata/sah_RU.UTF-8.in: New file.
8508
8509 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8510
8511 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
8512 "sysdep.h".
8513 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8514 _CET_ENDBR to indirect jump targets and adjust jump destination
8515 for _CET_ENDBR.
8516 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
8517 "sysdep.h".
8518 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8519 _CET_ENDBR to indirect jump targets and adjust jump destination
8520 for _CET_ENDBR.
8521 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
8522 "sysdep.h".
8523 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
8524 _CET_ENDBR to indirect jump targets and adjust jump destination
8525 for _CET_ENDBR.
8526
8527 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8528
8529 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8530 _CET_ENDBR.
8531
8532 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8533
8534 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
8535 _CET_ENDBR.
8536 (_dl_tlsdesc_undefweak): Likewise.
8537 (_dl_tlsdesc_dynamic): Likewise.
8538 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
8539 (_dl_tlsdesc_resolve_rel): Likewise.
8540 (_dl_tlsdesc_resolve_rela): Likewise.
8541 (_dl_tlsdesc_resolve_hold): Likewise.
8542 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
8543 (_dl_tlsdesc_undefweak): Likewise.
8544 (_dl_tlsdesc_dynamic): Likewise.
8545 (_dl_tlsdesc_resolve_rela): Likewise.
8546 (_dl_tlsdesc_resolve_hold): Likewise.
8547
8548 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8549
8550 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
8551 (_fini): Likewise.
8552 * sysdeps/x86_64/crti.S (_init): Likewise.
8553 (_fini): Likewise.
8554
8555 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
8556
8557 [BZ #23140]
8558 * localedata/locales/os_RU (mon): Rename to...
8559 (alt_mon): This.
8560 (mon): Import from CLDR (genitive case).
8561
8562 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8563
8564 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
8565 cet-tunables.h> when CET is enabled.
8566
8567 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
8568
8569 [BZ #21598]
8570 * configure.ac: Add --enable-cet.
8571 * configure: Regenerated.
8572 * elf/Makefille (all-built-dso): Add a comment.
8573 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
8574 Include <dl-prop.h>.
8575 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
8576 segment.
8577 * elf/dl-open.c: Include <dl-prop.h>.
8578 (dl_open_worker): Call _dl_open_check.
8579 * elf/rtld.c: Include <dl-prop.h>.
8580 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
8581 _rtld_main_check.
8582 * sysdeps/generic/dl-prop.h: New file.
8583 * sysdeps/i386/dl-cet.c: Likewise.
8584 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
8585 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
8586 * sysdeps/x86/cet-tunables.h: Likewise.
8587 * sysdeps/x86/check-cet.awk: Likewise.
8588 * sysdeps/x86/configure: Likewise.
8589 * sysdeps/x86/configure.ac: Likewise.
8590 * sysdeps/x86/dl-cet.c: Likewise.
8591 * sysdeps/x86/dl-procruntime.c: Likewise.
8592 * sysdeps/x86/dl-prop.h: Likewise.
8593 * sysdeps/x86/libc-start.h: Likewise.
8594 * sysdeps/x86/link_map.h: Likewise.
8595 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
8596 _CET_ENDBR.
8597 (_dl_runtime_profile): Likewise.
8598 (_dl_runtime_resolve_shstk): New.
8599 (_dl_runtime_profile_shstk): Likewise.
8600 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
8601 if CET is enabled.
8602 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
8603 (CFLAGS-.os): Likewise.
8604 (CFLAGS-.op): Likewise.
8605 (CFLAGS-.oS): Likewise.
8606 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
8607 is enabled.
8608 (tests-special): Add $(objpfx)check-cet.out.
8609 (cet-built-dso): New.
8610 (+$(cet-built-dso:=.note)): Likewise.
8611 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
8612 ($(objpfx)check-cet.out): New.
8613 (generated): Add check-cet.out.
8614 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
8615 <cet-tunables.h>.
8616 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
8617 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8618 (init_cpu_features): Call get_cet_status to check CET status
8619 and update dl_x86_feature_1 with CET status. Call
8620 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
8621 (set_x86_shstk). Disable and lock CET in libc.a.
8622 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
8623 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
8624 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8625 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
8626 (_CET_ENDBR): Define if not defined.
8627 (ENTRY): Add _CET_ENDBR.
8628 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
8629 x86_shstk.
8630 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
8631 _CET_ENDBR.
8632 (_dl_runtime_profile): Likewise.
8633
8634 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
8635
8636 [BZ #21895]
8637 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
8638 restore r2 on longjmp.
8639 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
8640 test list.
8641 Added rules to build test tst-setjmp-bug21895-static.
8642 Added module setjmp-bug21895 and rules to build a shared object from it.
8643 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
8644 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
8645
8646 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
8647
8648 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
8649 * benchtests/bench-strstr.c: Likewise.
8650 * string/memmem.c (FASTSEARCH): Define.
8651 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
8652 Add support for FASTSEARCH.
8653 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
8654 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
8655 (FASTSEARCH): Define.
8656 * string/test-strcasestr.c: Rename __strnlen to strnlen.
8657 * string/test-strstr.c: Likewise.
8658
8659 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
8660
8661 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
8662 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
8663
8664 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
8665 H.J. Lu <hongjiu.lu@intel.com>
8666
8667 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
8668 (__longjmp): Restore shadow stack pointer if shadow stack is
8669 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8670 isn't defined for __longjmp_cancel.
8671 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
8672 (_setjmp): Save shadow stack pointer if shadow stack is enabled
8673 and SHADOW_STACK_POINTER_OFFSET is defined.
8674 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
8675 (setjmp): Save shadow stack pointer if shadow stack is enabled
8676 and SHADOW_STACK_POINTER_OFFSET is defined.
8677 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
8678 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8679 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8680 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
8681 <jmp_buf-ssp.h>.
8682 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8683 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8684 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
8685 Remove jmp_buf-ssp.sym.
8686 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8687 <jmp_buf-ssp.h>.
8688 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8689 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8690 * sysdeps/x86/Makefile (gen-as-const-headers): Add
8691 jmp_buf-ssp.sym.
8692 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
8693 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
8694 (__longjmp): Restore shadow stack pointer if shadow stack is
8695 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8696 isn't defined for __longjmp_cancel.
8697 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
8698 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8699 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8700
8701 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
8702
8703 [BZ #22563]
8704 * nptl/pthread_create.c: Include <tls-setup.h>.
8705 (__pthread_create_2_1): Call tls_setup_tcbhead.
8706 * sysdeps/generic/tls-setup.h: New file.
8707 * sysdeps/x86/nptl/tls-setup.h: Likewise.
8708 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
8709 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
8710 Likewise.
8711 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
8712 to feature_1.
8713 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
8714 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
8715 (X86_FEATURE_1_SHSTK): Likewise.
8716 (CET_ENABLED): Likewise.
8717 (IBT_ENABLED): Likewise.
8718 (SHSTK_ENABLED): Likewise.
8719
8720 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
8721
8722 [BZ #23208]
8723 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
8724 (LOCALES): Likewise.
8725 * localedata/dsb_DE.UTF-8.in: New file.
8726 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
8727
8728 2018-07-12 Florian Weimer <fweimer@redhat.com>
8729
8730 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
8731 __mprotect, not mprotect.
8732
8733 2018-07-11 Florian Weimer <fweimer@redhat.com>
8734
8735 * io/Makefile (headers): Add bits/statx.h.
8736
8737 2018-07-10 Mike FABIAN <mfabian@redhat.com>
8738
8739 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
8740 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
8741 and headers.
8742 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
8743 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
8744 for utf8_gen.py
8745
8746 2018-07-10 Florian Weimer <fweimer@redhat.com>
8747
8748 * io/Makefile (routines): Add statx.
8749 (tests-internal): Add tst-statx.
8750 * io/Versions (GLIBC_2.28): Export statx.
8751 * io/bits/statx.h: New file.
8752 * io/sys/stat.h [__USE_GNU]: Include it.
8753 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
8754 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
8755 Define.
8756 * io/statx.c: New file.
8757 * io/statx_generic.: Likewise.
8758 * io/tst-statx.: Likewise.
8759 * include/bits/statx.h: Likewise.
8760 * sysdeps/unix/sysv/linux/kernel-features.h
8761 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
8762 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8763 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
8764 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
8765 Undefine.
8766 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8767 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
8768 * sysdeps/unix/sysv/linux/statx.c: New file.
8769 * manual/filesys.texi: Note that statx is undocumented.
8770 * sysdeps/**/libc*.abilist: Update.
8771
8772 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8773
8774 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
8775 a kernel issue which lead to test failure in some cases.
8776
8777 2018-07-10 Florian Weimer <fweimer@redhat.com>
8778
8779 [BZ #23036]
8780 * posix/regexec.c (check_node_accept_bytes): When comparing
8781 weights, do not compare an extra byte after the end of the
8782 weights.
8783
8784 2018-07-10 Florian Weimer <fweimer@redhat.com>
8785
8786 * libio/readline.c: Fix copyright year.
8787 * libio/tst-readline.c Likewise.
8788 * nss/tst-nss-files-hosts-getent.c: Likewise.
8789
8790 2018-07-06 Florian Weimer <fweimer@redhat.com>
8791
8792 [BZ #18991]
8793 * nss/nss_files/files-XXX.c (internal_getent): Use
8794 __libc_readline_unlocked. Seek back to the start of the line if
8795 parsing failes with ERANGE.
8796 (get_contents_ret, get_contents): Remove.
8797 * nss/tst-nss-files-hosts-getent.c: New file.
8798 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
8799 (tst-nss-files-hosts-getent): Link with -ldl.
8800
8801 2018-07-06 Florian Weimer <fweimer@redhat.com>
8802
8803 * include/stdio.h (__libc_readline_unlocked): Declare.
8804 (__ftello64, __fseeko64): Declare aliases.
8805 * libio/readline.c: New file.
8806 * libio/tst-readline.c: Likewise.
8807 (routines): Add readline.
8808 (tests-internal): Add tst-readlime.
8809 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
8810 __libc_readline_unlocked.
8811 * libio/fseeko.c (__fseeko): Rename from fseeko.
8812 (fseeko): Add alias.
8813 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
8814 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
8815 (fseeko64): Add alias.
8816 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
8817 * libio/ftello64.c (__ftello64): Rename from ftello64.
8818 (ftello64): Add alias.
8819
8820 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8821
8822 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
8823 HWCAP_ATOMICS.
8824
8825 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8826
8827 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
8828 Use dl_hwcap without masking.
8829 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
8830 Remove HWCAP_CPUID.
8831
8832 2018-07-06 Florian Weimer <fweimer@redhat.com>
8833
8834 * conform/conformtest.pl (checknamespace): Escape literal braces
8835 in regular expressions.
8836
8837 2018-07-06 Amit Pawar <amit.pawar@amd.com>
8838
8839 * sysdeps/x86/cpu-features.c (get_common_indeces):
8840 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
8841 * sysdeps/x86/cpu-features.c (init_cpu_features):
8842 AVX_Fast_Unaligned_Load is disabled for Excavator core.
8843
8844 2018-07-05 Florian Weimer <fweimer@redhat.com>
8845
8846 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
8847 protector.
8848 (CFLAGS-elf-init.oS): Likewise.
8849
8850 2018-07-05 Florian Weimer <fweimer@redhat.com>
8851 Carlos O'Donell <carlos@redhat.com>
8852
8853 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
8854 $(no-stack-protector). stack_chk_fail_local.c can be compiled
8855 with stack protector enabled because there is no risk of infinite
8856 recursion.
8857
8858 2018-07-05 Maciej W. Rozycki <macro@mips.com>
8859
8860 [BZ #19818]
8861 [BZ #23307]
8862 * libc-abis (ABSOLUTE): New ABI.
8863 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
8864 * NEWS: Mention the new ABI.
8865
8866 2018-07-05 Florian Weimer <fweimer@redhat.com>
8867
8868 [BZ # 17662]
8869 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
8870 (RENAME_WHITEOUT): Define.
8871 [__USE_GNU] (renameat2): Declare.
8872 * stdio-common/Makefile (routines): Add renameat2.
8873 (tests): Add tst-renameat2.
8874 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
8875 * stdio-common/renameat2.c: New file.
8876 * stdio-common/tst-renameat2.c: Likewise.
8877 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
8878 * manual/filesys.texi (Temporary Files): Note that renameat2 is
8879 undocumented.
8880 * sysdeps/unix/sysv/linux/kernel-features.h
8881 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
8882 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8883 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8884 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8885 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8886 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8887 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
8888 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8889 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
8890 * include/stdio.h (__renameat): Add alias for renameat.
8891 * stdio-common/renameat.c (__renameat): Rename from renameat.
8892 Add hidden definition and alias.
8893 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
8894 * sysdeps/mach/hurd/renameat.c: Likewise.
8895 * sysdeps/**/libc*.abilist: Add renameat2.
8896
8897 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8898
8899 * posix/bug-regex33.c: Fix build after regex sync.
8900
8901 2018-07-04 Carlos O'Donell <carlos@redhat.com>
8902
8903 [BZ #23164]
8904 * localedata/tst-langinfo-setlocale.c: New file.
8905 * localedata/tst-langinfo-setlocale-static.c: New file.
8906 * localedata/tst-langinfo-newlocale.c: New file.
8907 * localedata/tst-langinfo-newlocale-static.c: New file.
8908 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
8909 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
8910 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
8911 (tests-static): Remove tst-langinfo-static. Add
8912 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
8913 (tests-special): Remove $(objpfx)tst-langinfo.out,
8914 $(objpfx)tst-langinfo-static.out. Add
8915 $(objpfx)tst-langinfo-setlocale.out,
8916 $(objpfx)tst-langinfo-newlocale.out,
8917 $(objpfx)tst-langinfo-setlocale-static.out,
8918 $(objpfx)tst-langinfo-newlocale-static.out.
8919 ($(objpfx)tst-langinfo.out): Remove.
8920 ($(objpfx)tst-langinfo-static.out): Remove.
8921 ($(objpfx)tst-langinfo-newlocale.out): New target.
8922 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
8923 (test-xfail-tst-langinfo-newlocale-static): Add.
8924 ($(objpfx)tst-langinfo-setlocale.out): New target.
8925 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
8926 * localedata/tst-langinfo.c: Call test_locale.
8927 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
8928 data.
8929
8930 2018-07-04 Florian Weimer <fweimer@redhat.com>
8931
8932 testrun.sh: Implement --tool=strace, --tool=valgrind
8933 * Makefile (testrun-script): Define variable.
8934 (testrun.sh): Use variable.
8935 * manual/install.texi (Tools for Compilation): make 4.0 or later
8936 is required.
8937 * configure.ac: Check for make 4.0 or later.
8938 * INSTALL: Regenerate.
8939 * configure: Likewise.
8940
8941 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8942
8943 [BZ #23233]
8944 [BZ #21163]
8945 [BZ #18986]
8946 [BZ #13762]
8947 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
8948 * posix/PCRE.tests: Remove invalid test.
8949 * posix/bug-regex28.c: Fix expected values for used syntax.
8950 * posix/bug-regex37.c: New file.
8951 * posix/bug-regex38.c: Likewise.
8952 * posix/regcomp.c: Sync with gnulib.
8953 * posix/regex.c: Likewise.
8954 * posix/regex.h: Likewise.
8955 * posix/regex_internal.c: Likewise.
8956 * posix/regex_internal.h: Likewise.
8957 * posix/regexec.c: Likewise.
8958
8959 2018-06-26 Mike FABIAN <mfabian@redhat.com>
8960
8961 [BZ #23308]
8962 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
8963 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
8964 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
8965 * localedata/unicode-gen/PropList.txt: likewise.
8966 * localedata/unicode-gen/UnicodeData.txt: likewise.
8967 * localedata/charmaps/UTF-8: Regenerate.
8968 * localedata/locales/i18n_ctype: likewise.
8969 * localedata/locales/tr_TR: likewise.
8970 * localedata/locales/translit_circle: likewise.
8971 * localedata/locales/translit_cjk_compat: likewise.
8972 * localedata/locales/translit_combining: likewise.
8973 * localedata/locales/translit_compat: likewise.
8974 * localedata/locales/translit_font: likewise.
8975 * localedata/locales/translit_fraction: likewise.
8976
8977 2018-07-03 Florian Weimer <fweimer@redhat.com>
8978
8979 [BZ #23363]
8980 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
8981 * stdio-common/tst-printf.sh: Adjust expected output.
8982 * LICENSES: Update.
8983
8984 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8985
8986 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
8987 symbol.
8988
8989 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8990
8991 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
8992 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
8993 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
8994 * stdio-common/tst-printfsz-islongdouble.c: New file.
8995 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
8996 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
8997 [subdir == stdio-common] (routines): Add ieee128-printf_size.
8998 [subdir == stdio-common] (tests-internal): Add
8999 test-printf-size-ieee128, and test-printf-size-ibm128.
9000 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
9001 (CFLAGS-test-printf-size-ibm128.c): New variables.
9002 [subdir == stdio-common] (tests-special): Add
9003 $(objpfx)test-printf-size-ieee128.out and
9004 $(objpfx)test-printf-size-ibm128.out.
9005 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
9006 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
9007 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
9008 __printf_sizeieee128.
9009 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
9010 New file.
9011 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
9012 Likewise.
9013 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
9014 Likewise.
9015
9016 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9017
9018 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
9019 (exp2f_inline): Likewise.
9020 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
9021 (__math_uflowf): Likewise.
9022 (__math_may_uflowf): Likewise.
9023 (__math_divzerof): Likewise.
9024 (__math_invalidf): Likewise.
9025 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
9026 (__math_oflowf): Likewise.
9027 (__math_uflowf): Likewise.
9028 (__math_may_uflowf): Likewise.
9029 (__math_divzerof): Likewise.
9030 (__math_invalidf): Likewise.
9031
9032 2018-06-29 DJ Delorie <dj@redhat.com>
9033 Carlos O'Donell <carlos@redhat.com>
9034
9035 [BZ #23329]
9036 * include/libc-symbols.h: Comment the freeres framework.
9037 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
9038 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
9039 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
9040 * dlfcn/dlerror.c: Include libc-symbols.h
9041 (__dlerror_main_freeres): New function.
9042 * dlfcn/dlfreeres.c: New file.
9043 * dlfcn/sdlfreeres.c: New file.
9044 * include/dlfcn.h: Declare __dlerror_main_freeres.
9045 * malloc/set-freeres.c: Declare __libdl_freeres, and
9046 __libpthread_freeres.
9047 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
9048 the releavant libraries are loaded.
9049 * malloc/thread-freeres.c: Add comments.
9050 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
9051 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
9052 * nptl/allocatestack.c (__nptl_free_stacks): New function.
9053 (__free_stacks): Rename to...
9054 (free_stacks): ...this. Mark static.
9055 (queue_stack): Call free_stacks.
9056 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
9057 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
9058 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
9059 ptr_freeres element from struct.
9060 (pthread_functions): Remove .ptr_freeres from struct initializer.
9061 [SHARED] (nptl_freeres): Remove.
9062 * nptl/nptlfreeres.c: New file.
9063 * nptl/pthreadP.h
9064 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
9065 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
9066 attribute_hidden.
9067 (__free_stacks): Rename to...
9068 (__nptl_stacks_freeres): ...this.
9069 (__shm_directory_freeres): Declare.
9070 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
9071 (__nptl_unwind_freeres): ...this.
9072 * resolv/res-close.c: Add comment.
9073 * resolv/resolv_conf.c: Include libc-symbols.h.
9074 * string/strerror_l.c: Include libc-symbols.h.
9075 * sunrpc/rpc_thread.c: Include libc-symbols.h.
9076 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
9077 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
9078 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
9079
9080 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9081
9082 * stdlib/tst-strfmon_l.c: Add tests for long double.
9083
9084 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
9085
9086 [BZ #23208]
9087 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
9088 * localedata/locales/dsb_DE: New file.
9089
9090 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9091
9092 [BZ #23140]
9093 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
9094 genitive case).
9095 (alt_mon): New entry, import from CLDR (nominative case).
9096
9097 2018-06-29 Sylvain Lesage <severo@rednegra.net>
9098
9099 [BZ #22996]
9100 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
9101
9102 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
9103
9104 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
9105 Use vector registers.
9106
9107 * sysdeps/aarch64/multiarch/memmove_falkor.S
9108 (__memcpy_falkor): Use vector registers.
9109
9110 2018-06-29 Martin Sebor <msebor@redhat.com>
9111
9112 * manual/stdio.texi (Customizing Printf): Mention interaction
9113 with GCC built-ins.
9114
9115 2018-06-29 Maciej W. Rozycki <macro@mips.com>
9116
9117 [BZ #23307]
9118 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
9119 `st_value' is 0 if `st_shndx' is SHN_ABS.
9120 * elf/tst-absolute-zero.c: New file.
9121 * elf/tst-absolute-zero-lib.c: New file.
9122 * elf/tst-absolute-zero-lib.lds: New file.
9123 * elf/Makefile (tests): Add `tst-absolute-zero'.
9124 (modules-names): Add `tst-absolute-zero-lib'.
9125 (LDLIBS-tst-absolute-zero-lib.so): New variable.
9126 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
9127 ($(objpfx)tst-absolute-zero: New dependency.
9128
9129 2018-06-29 Zack Weinberg <zackw@panix.com>
9130
9131 * configure.ac: New command-line option --disable-crypt.
9132 Force --disable-nss-crypt when --disable-crypt is given, with a
9133 warning if it was explicitly enabled.
9134 * configure: Regenerate.
9135 * config.make.in: New boolean substitution variable $(build-crypt).
9136 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
9137 when $(build-crypt).
9138 * manual/install.texi: Document --disable-crypt.
9139 * INSTALL: Regenerate.
9140
9141 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
9142 which is never set.
9143 * conform/Makefile: Only include libcrypt.a in
9144 linknamespace-libs-xsi and linknamespace-libs-XPG4
9145 when $(build-crypt).
9146 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
9147 USE_CRYPT to 1 when $(build-crypt).
9148 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
9149 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
9150 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
9151
9152 2018-06-29 Zack Weinberg <zackw@panix.com>
9153
9154 * crypt/crypt.h, posix/unistd.h: Update comments and
9155 prototypes for crypt and crypt_r.
9156
9157 * manual/crypt.texi (Cryptographic Functions): New initial
9158 exposition.
9159 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
9160 (Unpredictable Bytes): Improve initial exposition. Clarify error
9161 behavior of getentropy and getrandom.
9162 * manual/examples/genpass.c: Generate a salt using getentropy
9163 instead of the current time. Use hash $5$ (SHA-2-256).
9164 * manual/examples/testpass.c: Demonstrate validation against
9165 hashes generated with three different one-way functions.
9166
9167 * manual/intro.texi: crypt.texi does not need an overview
9168 anymore.
9169
9170 * manual/nss.texi, manual/memory.texi, manual/socket.texi
9171 * manual/terminal.texi: Consistently refer to "passphrases"
9172 * instead of "passwords", and to the "user database" instead
9173 * of the "password database".
9174 * manual/users.texi: Similarly. Add notes about how actual
9175 passphrase hashes are now stored in the shadow database.
9176 Remove 20-year-old junk todo note.
9177
9178 2018-06-29 Zack Weinberg <zackw@panix.com>
9179
9180 * manual/crypt.texi: Use a normal top-level @node declaration.
9181 Move most of the introductory text to the 'crypt' section.
9182 Move the example programs below the @deftypefun for 'crypt_r'.
9183 Move the 'getpass' section...
9184 * manual/terminal.texi: ...here.
9185
9186 2018-06-29 Zack Weinberg <zackw@panix.com>
9187 Florian Weimer <fweimer@redhat.com>
9188
9189 * posix/unistd.h: Do not declare encrypt.
9190 (_XOPEN_CRYPT): Remove macro definition.
9191 (crypt): Declare only for _USE_MISC.
9192 * stdlib/stdlib.h: Do not declare setkey.
9193 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
9194 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
9195
9196 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
9197 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
9198 into compat symbols. Don't define initial_perm if it's not
9199 going to be used.
9200 * crypt/cert.c: Link explicitly with the expected versions for
9201 setkey and encrypt. If they are not available at all, mark
9202 the test as unsupported.
9203
9204 * sunrpc/des_crypt.c: Unconditionally block linkage with
9205 cbc_crypt and ecb_crypt for new binaries.
9206 * sunrpc/des_soft.c: Unconditionally block linkage with
9207 des_setparity for new binaries.
9208
9209 * manual/crypt.texi: Remove the entire "DES Encryption"
9210 section. Also remove the paragraph talking about FIPS 140-2
9211 from the introduction.
9212 * manual/string.texi (strfry, memfrob): Revise. Recommend use
9213 of libgcrypt for "real" encryption, not DES.
9214 * manual/conf.texi (Constants for Sysconf): Mention that
9215 _XOPEN_CRYPT is no longer impelemented.
9216
9217 * conform/data/unistd.h-data: Remove crypt function declaration.
9218
9219 2018-06-29 Florian Weimer <fweimer@redhat.com>
9220
9221 [BZ #23351]
9222 * malloc/hooks.c: Update comments on restoring of dumped heaps.
9223 (disallow_malloc_check): Remove variable.
9224 (__malloc_check_init): Adjust.
9225 (malloc_set_state): Update comment.
9226 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
9227 declarations.
9228
9229 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9230
9231 [BZ #23140]
9232 * localedata/locales/ast_ES (mon): Rename to...
9233 (alt_mon): This.
9234 (mon): Import from CLDR (genitive case).
9235
9236 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
9237 Jakub Sitnicki <jkbs@redhat.com>
9238
9239 [BZ #21812]
9240 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
9241 on NLM_F_DUMP_INTR.
9242
9243 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
9244
9245 * manual/llio.texi: Remove spurious space.
9246
9247 2018-06-28 Florian Weimer <fweimer@redhat.com>
9248
9249 [BZ #23349]
9250 * time/bits/types/struct_timespec.h: Change header inclusion guard to
9251 _STRUCT_TIMESPEC.
9252
9253 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9254
9255 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
9256 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
9257 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
9258 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
9259 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
9260 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
9261 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
9262
9263 2018-06-27 Maciej W. Rozycki <macro@mips.com>
9264
9265 [BZ #23266]
9266 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
9267 Copy and null-terminate entries that are not terminated, in
9268 addition to empty ones.
9269
9270 2018-06-27 Florian Weimer <fweimer@redhat.com>
9271
9272 [BZ #18023]
9273 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
9274 (extend_alloca_account): Remove.
9275 * manual/stdio.texi (Variable Arguments Output): Update comment.
9276
9277 2018-06-27 Joseph Myers <joseph@codesourcery.com>
9278
9279 * nptl/sockperf.c: Remove file.
9280
9281 2018-06-27 Florian Weimer <fweimer@redhat.com>
9282
9283 [BZ #18023]
9284 * elf/dl-deps.c (_dl_map_object_deps): Use struct
9285 scratch_buffer instead of extend_alloca.
9286
9287 2018-06-27 Florian Weimer <fweimer@redhat.com>
9288
9289 [BZ #18023]
9290 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
9291 scratch_buffer instead of extend_alloca. Update comments.
9292
9293 2018-06-27 Florian Weimer <fweimer@redhat.com>
9294
9295 [BZ #18023]
9296 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
9297 instead of extend_alloca.
9298
9299 2018-06-26 Joseph Myers <joseph@codesourcery.com>
9300
9301 [BZ #13888]
9302 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
9303 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
9304 /tmp.
9305 * scripts/test-installation.pl: Put temporary files in build
9306 directory, not /tmp.
9307 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
9308 (CFLAGS-bug4.c): Likewise.
9309 (CFLAGS-bug5.c): Likewise.
9310 (CFLAGS-test-fseek.c): Likewise.
9311 (CFLAGS-test-popen.c): Likewise.
9312 (CFLAGS-test_rdwr.c): Likewise.
9313 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
9314 /tmp.
9315 * stdio-common/bug4.c (main): Likewise.
9316 * stdio-common/bug5.c (main): Likewise.
9317 * stdio-common/test-fseek.c (TESTFILE): Likewise.
9318 * stdio-common/test-popen.c (do_test): Likewise.
9319 * stdio-common/test_rdwr.c (main): Likewise.
9320
9321 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
9322
9323 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
9324 (sem_open): Set sem.newsem.pad to zero for valgrind.
9325
9326 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9327
9328 [BZ #20251]
9329 * NEWS: Mention fcntl64 addition.
9330 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
9331 * login/utmp_file.c: Likewise.
9332 * sysdeps/posix/fdopendir.c: Likewise.
9333 * sysdeps/posix/opendir.c: Likewise.
9334 * sysdeps/unix/pt-fcntl.c: Likewise.
9335 * include/fcntl.h (__libc_fcntl64, __fcntl64,
9336 __fcntl64_nocancel_adjusted): New prototype.
9337 (__fcntl_nocancel_adjusted): Remove prototype.
9338 * io/Makefile (routines): Add fcntl64.
9339 (CFLAGS-fcntl64.c): New rule.
9340 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
9341 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
9342 * io/fcntl.h (fcntl64): Add prototype and redirect if
9343 __USE_FILE_OFFSET64 is defined.
9344 * io/fcntl64.c: New file.
9345 * manual/llio.text: Add a note for which commands fcntl acts a
9346 cancellation point.
9347 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
9348 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
9349 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
9350 New symbols.
9351 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
9352 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
9353 non-LFS case.
9354 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
9355 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
9356 to __fcntl64_nocancel.
9357 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
9358 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
9359 to __fcntl64_nocancel.
9360 * sysdeps/generic/not-cancel.h: Likewise.
9361 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
9362 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
9363 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9364 (fcntl64): New symbol.
9365 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9366 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9367 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9370 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9371 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9372 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9373 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9374 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9375 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
9376 fcntl64): Likewise.
9377 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9378 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
9379 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9380 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9381 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9382 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9383 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9384 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9385 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9387 Likewise.
9388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9389 Likewise.
9390 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9391 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9392 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9393
9394 2018-06-26 Florian Weimer <fweimer@redhat.com>
9395
9396 Run thread shutdown functions in an explicit order.
9397 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
9398 definition.
9399 (__libc_thread_freeres): Call thread shutdown functions
9400 explicitly.
9401 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
9402 * include/string.h (__strerror_thread_freeres): Declare.
9403 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
9404 arena_thread_freeres. No longer static. Remove thread shutdown
9405 hook registration.
9406 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
9407 Declare.
9408 * resolv/res-close.c (__res_thread_freeres): Renamed from
9409 res_thread_freeres. No longer static. Remove thread shutdown
9410 hook registration.
9411 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
9412 * resolv/resolv_conf.c (freeres): Remove incorrect section
9413 attribute and use libc_freeres_fn.
9414 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
9415 strerror_thread_freeres. No longer static. Remove thread
9416 shutdown hook registration.
9417 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
9418 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
9419 shutdown hook registration.
9420 * Makerules (shlib.lds): Do not provide section boundary symbols
9421 for __libc_thread_subfreeres.
9422 * manual/memory.texi (Basic Allocation): Update comment.
9423
9424 2018-06-26 Florian Weimer <fweimer@redhat.com>
9425
9426 Remove always-defined _RPC_THREAD_SAFE_ macro.
9427 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
9428 Do not define _RPC_THREAD_SAFE_.
9429 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
9430 conditional.
9431 * sunrpc/clnt_perr.c: Likewise.
9432 * sunrpc/clnt_raw.c: Likewise.
9433 * sunrpc/clnt_simp.c: Likewise.
9434 * sunrpc/key_call.c: Likewise.
9435 * sunrpc/rpc_common.c: Likewise.
9436 * sunrpc/rpc_main.c: Likewise.
9437 * sunrpc/rpc_thread.c: Likewise.
9438 * sunrpc/svc.c: Likewise.
9439 * sunrpc/svc_raw.c: Likewise.
9440 * sunrpc/svc_simple.c: Likewise.
9441 * sumrpc/svcauth_des.c: Likewise.
9442
9443 2018-06-26 Florian Weimer <fweimer@redhat.com>
9444
9445 * libio/Makefile (tests-internal): Add tst-vtables,
9446 tst-vtables-interposed.
9447 * libio/tst-vtables.c: New file.
9448 * libio/tst-vtables-common.c: Likewise.
9449 * libio/tst-vtables-interposed.c: Likewise.
9450
9451 2018-06-26 Florian Weimer <fweimer@redhat.com>
9452
9453 * support/support_test_main.c (support_test_main): Only call
9454 setvbuf if not disables.
9455 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
9456 * support/test-driver.h (struct test_config): Add no_setvbuf member.
9457
9458 2018-06-26 Florian Weimer <fweimer@redhat.com>
9459
9460 [BZ #23313]
9461 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
9462
9463 2018-06-25 Florian Weimer <fweimer@redhat.com>
9464
9465 [BZ #18023]
9466 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9467 Use struct scratch_buffer instead of extend_alloca.
9468
9469 2018-06-25 Florian Weimer <fweimer@redhat.com>
9470
9471 [BZ #18023]
9472 * nss/getent.c (initgroups_keys): Use dynarray instead of
9473 extend_alloca.
9474
9475 2018-06-25 Florian Weimer <fweimer@redhat.com>
9476
9477 [BZ #18023]
9478 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
9479 Use struct scratch_buffer instead of extend_alloca.
9480
9481 2018-06-25 Florian Weimer <fweimer@redhat.com>
9482
9483 [BZ #18023]
9484 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
9485 back to malloc directly, without stack allocations.
9486
9487 2018-06-25 Florian Weimer <fweimer@redhat.com>
9488
9489 [BZ #18023]
9490 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
9491 of extend_alloca.
9492
9493 2018-06-25 Florian Weimer <fweimer@redhat.com>
9494
9495 [BZ #18023]
9496 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
9497 of extend_alloca.
9498 * nscd/hstcache.c (addhstbyX): Likewise.
9499 * nscd/pwdcache.c (addpwbyX): Likewise.
9500 * nscd/servicescache.c (addservbyX): Likewise.
9501
9502 2018-06-25 Florian Weimer <fweimer@redhat.com>
9503
9504 [BZ #18023]
9505 * nscd/connections.c (read_cmdline): New function.
9506 (restart): Use it. Update comment.
9507
9508 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9509
9510 [BZ #23140]
9511 * localedata/locales/csb_PL (mon): Rename to...
9512 (alt_mon): This.
9513 (abmon): Rename to...
9514 (ab_alt_mon): This.
9515 (mon): Add with proper genitive forms, copy from Wikipedia.
9516 (abmon): Likewise.
9517
9518 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9519
9520 [BZ #19485]
9521 * localedata/locales/csb_PL (mon): Fix typos:
9522 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
9523 (yesstr): Add, value is "jo".
9524 (nostr): Add, value is "nié".
9525
9526 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9527
9528 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
9529 all log1p and significand functions on m680x0.
9530 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
9531 of s_significand.c..
9532 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
9533 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
9534 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
9535 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
9536 s_log1p.c and include it..
9537
9538 2018-06-21 Vincent Chen <vincentc@andestech.com>
9539
9540 * elf/elf.h (R_NDS32_NONE): New define.
9541 (R_NDS32_32_RELA): Likewise.
9542 (R_NDS32_COPY): Likewise.
9543 (R_NDS32_GLOB_DAT): Likewise.
9544 (R_NDS32_JUMP_SLOT): Likewise.
9545 (R_NDS32_RELATIVE): Likewise.
9546 (R_NDS32_TLS_TPOFF): Likewise.
9547 (R_NDS32_TLS_DESC): Likewise.
9548
9549 2018-06-21 Mark Wielaard <mark@klomp.org>
9550
9551 * elf/elf.h (R_BPF_MAP_FD): Removed.
9552 (R_BPF_64_64, R_BPF_64_32): New.
9553
9554 2018-06-21 Florian Weimer <fweimer@redhat.com>
9555
9556 [BZ #23253]
9557 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
9558 Renamed from libc_feholdsetround_ctx.
9559 (default_libc_feresetround_ctx): Renamed from
9560 libc_feresetround_ctx.
9561 (default_libc_feholdsetround_noex_ctx): Renamed from
9562 libc_feholdsetround_noex_ctx.
9563 (default_libc_feresetround_noex_ctx): Renamed from
9564 libc_feresetround_noex_ctx.
9565 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
9566 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
9567 forwardning to the old implementations under the new names.
9568 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
9569 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
9570 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
9571 (libc_feresetround_ctx): Forward to default implements for i386
9572 and MATH_SET_BOTH_ROUNDING_MODES.
9573 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
9574 Add -DMATH_SET_BOTH_ROUNDING_MODES.
9575
9576 2018-06-20 Joseph Myers <joseph@codesourcery.com>
9577
9578 * string/tst-cmp.c: Include <libc-diag.h>.
9579 (strncmp_max): Disable -Wstringop-overflow= around call to
9580 strncmp.
9581 (strncasecmp_max): Disable -Wstringop-overflow= around call to
9582 strncasecmp.
9583
9584 * string/bug-strpbrk1.c: Include <libc-diag.h>.
9585 (main): Disable -Wunused-value around call to strpbrk.
9586 * string/bug-strspn1.c: Include <libc-diag.h>.
9587 (main): Disable -Wunused-value around call to strspn.
9588
9589 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9590 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9591
9592 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
9593 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
9594
9595 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9596
9597 * math/Makefile (libm-calls): Move s_significandF to...
9598 (gen-libm-calls): ... here.
9599 * math/s_significand_template.c: New file.
9600 * math/s_significand.c: Removed.
9601 * math/s_significandf.c: Removed.
9602 * math/s_significandl.c: Removed.
9603 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
9604 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
9605
9606 * math/e_exp2_template.c (declare_mgen_finite_alias,
9607 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
9608 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
9609 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
9610
9611 2018-06-20 Florian Weimer <fweimer@redhat.com>
9612
9613 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
9614
9615 2018-06-19 Joseph Myers <joseph@codesourcery.com>
9616
9617 [BZ #23280]
9618 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
9619 floating-point number to strtod functions rather than possibly
9620 negating result of those functions.
9621 * stdio-common/tst-scanf-round.c: New file.
9622 * stdio-common/Makefile (tests): Add tst-scanf-round.
9623 ($(objpfx)tst-scanf-round): Depend on $(libm).
9624
9625 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
9626
9627 * sysdeps/mach/hurd/localplt.data: Move to...
9628 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
9629 R_386_GLOB_DAT like on Linux i386.
9630
9631 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9632
9633 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
9634 (SHM_STAT_ANY): New macro.
9635 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
9636 (SHM_STAT_ANY): Likewise.
9637 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
9638 (SHM_STAT_ANY): Likewise.
9639 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
9640 (SHM_STAT_ANY): Likewise.
9641 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
9642 (SHM_STAT_ANY): Likewise.
9643 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
9644 (SHM_STAT_ANY): Likewise.
9645 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
9646 (SHM_STAT_ANY): Likewise.
9647 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
9648 (SHM_STAT_ANY): Likewise.
9649 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
9650 (SHM_STAT_ANY): Likewise.
9651 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
9652 (SHM_STAT_ANY): Likewise.
9653 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
9654 (SHM_STAT_ANY): Likewise.
9655 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
9656 (SHM_STAT_ANY): Likewise.
9657
9658 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
9659 (SEM_STAT_ANY): New macro.
9660 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
9661 (SEM_STAT_ANY): Likewise.
9662 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
9663 (SEM_STAT_ANY): Likewise.
9664 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
9665 (SEM_STAT_ANY): Likewise.
9666 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
9667 (SEM_STAT_ANY): Likewise.
9668 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
9669 (SEM_STAT_ANY): Likewise.
9670 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
9671 (SEM_STAT_ANY): Likewise.
9672 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
9673 (SEM_STAT_ANY): Likewise.
9674 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
9675 (SEM_STAT_ANY): Likewise.
9676 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
9677 (SEM_STAT_ANY): Likewise.
9678
9679 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
9680 (MSG_STAT_ANY): New macro.
9681 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
9682 (MSG_STAT_ANY): Likewise.
9683 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
9684 (MSG_STAT_ANY): Likewise.
9685 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
9686 (MSG_STAT_ANY): Likewise.
9687 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
9688 (MSG_STAT_ANY): Likewise.
9689 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
9690 (MSG_STAT_ANY): Likewise.
9691 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
9692 (MSG_STAT_ANY): Likewise.
9693 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
9694 (MSG_STAT_ANY): Likewise.
9695 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
9696 (MSG_STAT_ANY): Likewise.
9697 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
9698 (MSG_STAT_ANY): Likewise.
9699
9700 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9701 (MAP_TYPE): Change value to 0x2b.
9702
9703 2018-06-18 Florian Weimer <fweimer@redhat.com>
9704
9705 [BZ #15722]
9706 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
9707 socket with SOCK_CLOEXEC.
9708
9709 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9710
9711 [BZ #23303]
9712 * sysdeps/powerpc/powerpc64/le/Makefile
9713 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
9714 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
9715 (gnulib-tests): Also add $(f128-loader-link) for
9716 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
9717
9718 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
9719
9720 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
9721 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
9722 of sendfile.
9723 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
9724 (sendfile64): New strong alias.
9725 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
9726 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
9727 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
9728 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
9729 attribute.
9730 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
9731 ___pthread_get_cleanup_stack.
9732 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
9733 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
9734 * mach/shortcut.awk: Make syscall stubs include
9735 <mach-shortcuts-hidden.h> and add hidden definition.
9736 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
9737 (__mach_msg): Add hidden prototype.
9738 * mach/msg.c: Include <mach.h>.
9739 (__mach_msg): Add hidden definition.
9740 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
9741 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
9742 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
9743 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
9744 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
9745 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
9746 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
9747 prototype and definition.
9748 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
9749 hidden target for _hurd_self_sigstate.
9750
9751 2018-06-15 Joseph Myers <joseph@codesourcery.com>
9752
9753 [BZ #23007]
9754 * stdlib/tst-strtod-nan-sign-main.c: New file.
9755 * stdlib/tst-strtod-nan-sign.c: Likewise.
9756 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
9757 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
9758 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
9759 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
9760 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
9761
9762 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
9763
9764 [BZ #23007]
9765 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
9766 appropriate sign.
9767
9768 2018-06-14 Florian Weimer <fweimer@redhat.com>
9769
9770 [BZ #23290]
9771 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
9772 that the result stays within the ISO-8859-1 range.
9773 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
9774 characters are defined in IBM273.
9775
9776 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
9777
9778 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
9779 __mach_task_self): Remove attribute_hidden.
9780
9781 2018-06-14 Joseph Myers <joseph@codesourcery.com>
9782
9783 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
9784 ignore -Wrestrict for one test.
9785
9786 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
9787 Szabolcs Nagy <szabolcs.nagy@arm.com>
9788
9789 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
9790
9791 2018-06-14 Florian Weimer <fweimer@redhat.com>
9792
9793 * scripts/update-abilist.sh: Accept empty list of files to patch.
9794
9795 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
9796
9797 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
9798 test-xfail-check-abi-libmachuser): Add.
9799 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
9800 __libc_read and __libc_write to __read and __write.
9801 * sysdeps/hurd/include/hurd/port.h: New file.
9802 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
9803 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
9804 __thread_switch, __evc_wait): Move declarations to...
9805 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
9806 attribute_hidden.
9807 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
9808 use PLT to call _hurd_self_sigstate.
9809
9810 2018-06-13 Joseph Myers <joseph@codesourcery.com>
9811
9812 [BZ #23279]
9813 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
9814 MAX_EXP as overflowing.
9815 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
9816 overflow flag.
9817 (round_str): Output also whether result overflows in each rounding
9818 mode.
9819 * stdlib/tst-strtod-round-data: Add more tests.
9820 * stdlib/tst-strtod-round-data.h: Regenerated.
9821 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
9822 (TEST): Handle extra arguments for overflow flags.
9823 (struct test_overflow): New type.
9824 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
9825 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
9826 (test_in_one_mode): Take argument with overflow information.
9827 (do_test): Update calls to test_in_one_mode.
9828
9829 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9830
9831 * elf/dl-load (_dl_dst_substitute): Correct comment.
9832 (_dl_dst_count): Likewise.
9833
9834 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
9835 lll_futex_timed_wait.
9836
9837 2018-06-12 Joseph Myers <joseph@codesourcery.com>
9838
9839 [BZ #23277]
9840 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
9841 attribute.
9842 * math/test-nan-const.c: New file.
9843 * math/Makefile (tests): Add test-nan-const.
9844 (CFLAGS-test-nan-const.c): New variable.
9845
9846 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9847
9848 * benchtests/scripts/compare_strings.py (process_results): Add
9849 funcs argument. Compare only functions which are selected.
9850 (main): Check if base function is among selected functions.
9851 Pass selected functions to process_results.
9852 (__main__): Add -f/--functions argument.
9853
9854 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
9855 Hongbo Zhang <hongbo.zhang@linaro.org>
9856
9857 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
9858 __memcpy_falkor for phecda core.
9859 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
9860 __memmove_falkor for phecda core.
9861 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
9862 __memset_falkor for phecda core.
9863 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
9864 for phecda core.
9865 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
9866 macro to identify phecda core.
9867
9868 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9869 Andreas Schwab <schwab@suse.de>
9870 Dmitry V. Levin <ldv@altlinux.org>
9871 Florian Weimer <fweimer@redhat.com>
9872
9873 [BZ #23102]
9874 [BZ #21942]
9875 [BZ #18018]
9876 [BZ #23259]
9877 CVE-2011-0536
9878 * elf/dl-dst.h: Remove DL_DST_COUNT.
9879 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
9880 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
9881 (is_dst): Comment. Support ELF gABI.
9882 (_dl_dst_count): Comment. Simplify and count DSTs.
9883 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
9884 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
9885 locals.
9886
9887 2018-06-12 Zack Weinberg <zackw@panix.com>
9888
9889 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
9890 * sysdeps/unix/sysv/linux/dl-sysdep.c
9891 Include not-cancel.h. Use __close_nocancel instead of __close,
9892 __open64_nocancel instead of __open, __read_nocancel instead of
9893 __libc_read, and __write_nocancel instead of __libc_write.
9894
9895 * csu/check_fds.c (check_one_fd)
9896 * sysdeps/posix/fdopendir.c (__fdopendir)
9897 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
9898 instead of __fcntl and/or __libc_fcntl.
9899
9900 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
9901 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
9902 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
9903 Use __open64_nocancel instead of __open_nocancel.
9904
9905 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
9906 hidden_proto declarations to the end and issue them if either
9907 IS_IN(libc) or IS_IN(rtld).
9908 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
9909 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
9910 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
9911 read_nocancel, waitpid_nocancel, write_nocancel.
9912
9913 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
9914 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
9915 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
9916
9917 * nptl/pt-fcntl.c: New file.
9918 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
9919 (libpthread-routines): Add pt-fcntl.
9920 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
9921 (__libc_fcntl): Remove attribute_hidden.
9922 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
9923 __fcntl_nocancel_adjusted, not fcntl_common.
9924 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
9925 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
9926 to fcntl_nocancel.c.
9927 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
9928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
9929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9930 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
9931
9932 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
9933 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
9934 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
9935 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
9936 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
9937 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
9938 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
9939 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
9940 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
9941 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
9942 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
9943 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
9944 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
9945 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
9946 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
9947 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
9948 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
9949 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
9950 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
9951 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
9952
9953 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
9954 libpthread-routines.
9955 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
9956 defines nothing.
9957
9958 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
9959 __libc_read, and __write instead of __libc_write. Define
9960 __open64 in addition to __open.
9961
9962 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9963
9964 [BZ #23250]
9965 [BZ #10686]
9966 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
9967 to _private_tm[3] and add __glibc_reserved2.
9968 Add _Static_assert of offset of __private_ss == 0x30.
9969 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
9970 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
9971
9972 2018-06-12 Florian Weimer <fweimer@redhat.com>
9973
9974 x86: Make strncmp usable from rtld.
9975 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
9976 __strncmp_ia32 if in libc (and not in rtld).
9977 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
9978 strncmp if not in libc (and not to __strncmp_sse2).
9979
9980 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
9981
9982 [BZ #23140]
9983 * localedata/locales/gd_GB (mon): Rename to...
9984 (alt_mon): This.
9985 (mon): Import from CLDR (genitive case).
9986 * localedata/locales/hsb_DE (mon): Rename to...
9987 (alt_mon): This.
9988 (mon): Import from CLDR (genitive case).
9989 * localedata/locales/wa_BE (mon): Rename to...
9990 (alt_mon): This.
9991 (mon): Add, fill with the proper genitive forms, but CLDR data
9992 is incomplete; completed according to the comments in this file.
9993 (d_t_fmt): Do not use "di" before the month name, no longer needed.
9994
9995 * localedata/locales/wa_BE (country_name): Reword
9996 "Beljike" -> "Beldjike".
9997
9998 2018-06-11 Joseph Myers <joseph@codesourcery.com>
9999
10000 [BZ #23272]
10001 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
10002 cases of non-finite arguments.
10003 * math/libm-test-fma.inc (fma_test_data): Add more tests.
10004
10005 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
10006
10007 [BZ #23174]
10008 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
10009
10010 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10011
10012 [BZ #23264]
10013 * include/unistd.h (__execvpex): New prototype.
10014 * posix/Makefile (tests): Add tst-spawn4.
10015 (tests-internal): Add tst-spawn4-compat.
10016 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
10017 * posix/tst-spawn4-compat.c: New file.
10018 * posix/tst-spawn4.c: Likewise.
10019 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
10020 binaries as shell scripts.
10021 * sysdeps/posix/spawni.c (__spawni): Likewise.
10022
10023 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
10024
10025 [BZ #23145]
10026 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
10027 ($(all-built-dso:=.dynsym): New target.
10028 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
10029 ($(objpfx)check-initfini.out): New target.
10030 (generated): Add check-initfini.out.
10031 * scripts/check-initfini.awk: New file.
10032 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
10033 (_fini): Likewise.
10034 * sysdeps/alpha/crti.S (_init): Mark as hidden.
10035 (_fini): Likewise.
10036 * sysdeps/arm/crti.S (_init): Mark as hidden.
10037 (_fini): Likewise.
10038 * sysdeps/hppa/crti.S (_init): Mark as hidden.
10039 (_fini): Likewise.
10040 * sysdeps/i386/crti.S (_init): Mark as hidden.
10041 (_fini): Likewise.
10042 * sysdeps/ia64/crti.S (_init): Mark as hidden.
10043 (_fini): Likewise.
10044 * sysdeps/m68k/crti.S (_init): Mark as hidden.
10045 (_fini): Likewise.
10046 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
10047 (_fini): Likewise.
10048 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
10049 (_fini): Likewise.
10050 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
10051 (_fini): Likewise.
10052 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
10053 (_fini): Likewise.
10054 * sysdeps/nios2/crti.S (_init): Mark as hidden.
10055 (_fini): Likewise.
10056 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
10057 (_fini): Likewise.
10058 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
10059 (_fini): Likewise.
10060 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
10061 (_fini): Likewise.
10062 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
10063 (_fini): Likewise.
10064 * sysdeps/sh/crti.S (_init): Mark as hidden.
10065 (_fini): Likewise.
10066 * sysdeps/sparc/crti.S (_init): Mark as hidden.
10067 (_fini): Likewise.
10068 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
10069 (_fini): Likewise.
10070
10071 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10072
10073 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
10074 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
10075 and TF redirection to KFtype and KF only when the default
10076 long double type is not the IEEE 128-bit floating point type.
10077
10078 2018-06-05 Joseph Myers <joseph@codesourcery.com>
10079
10080 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
10081 macro.
10082 (HWCAP_USCAT): Likewise.
10083 (HWCAP_ILRCPC): Likewise.
10084 (HWCAP_FLAGM): Likewise.
10085 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
10086 Increase to 28.
10087 (_dl_aarch64_cap_flags): Add new flag names.
10088
10089 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
10090 (MAP_FIXED_NOREPLACE): New macro.
10091 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
10092 (MAP_FIXED_NOREPLACE): Likewise.
10093 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
10094 (MAP_FIXED_NOREPLACE): Likewise.
10095 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10096 (MAP_FIXED_NOREPLACE): Likewise.
10097 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
10098 (MAP_FIXED_NOREPLACE): Likewise.
10099 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
10100 (MAP_FIXED_NOREPLACE): Likewise.
10101 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
10102 (MAP_FIXED_NOREPLACE): Likewise.
10103 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
10104 (MAP_FIXED_NOREPLACE): Likewise.
10105 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
10106 (MAP_FIXED_NOREPLACE): Likewise.
10107 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
10108 (MAP_FIXED_NOREPLACE): Likewise.
10109 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
10110 (MAP_FIXED_NOREPLACE): Likewise.
10111 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
10112 (MAP_FIXED_NOREPLACE): Likewise.
10113 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
10114 (MAP_FIXED_NOREPLACE): Likewise.
10115 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
10116 (MAP_FIXED_NOREPLACE): Likewise.
10117 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
10118 (MAP_FIXED_NOREPLACE): Likewise.
10119
10120 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10121 version to 4.17.
10122
10123 2018-06-04 Joseph Myers <joseph@codesourcery.com>
10124
10125 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10126 version to 4.17
10127
10128 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10129
10130 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
10131 int.
10132 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
10133
10134 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10135
10136 * benchtests/scripts/compare_string.py: (process_results) Catch
10137 exception in non-existent base_func and catch exception in
10138 non-existent attribute.
10139 (parse_file) Catch exception if input file does not exist.
10140
10141 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10142
10143 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
10144 options to avoid diff calculation and omit header, respectively.
10145 (main): process --no-diff and --no-header
10146
10147 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10148 H.J. Lu <hongjiu.lu@intel.com>
10149
10150 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10151 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
10152 wcsncmp-sse2.
10153 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10154 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
10155 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
10156 and __wcsncmp_sse2.
10157 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
10158 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
10159 AVX unaligned load is fast and vzeroupper is preferred.
10160 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
10161 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
10162 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
10163 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
10164 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
10165 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
10166 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
10167 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
10168 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
10169 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
10170 is undefined.
10171
10172 2018-06-01 Florian Weimer <fweimer@redhat.com>
10173
10174 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
10175 configuring with --disable-multi-arch, building with
10176 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
10177 Haswell-era CPU.
10178
10179 2018-06-01 Florian Weimer <fweimer@redhat.com>
10180
10181 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
10182 results from building with “-march=x86-64 -mtune=generic
10183 -mfpmath=sse” and running on a Haswell-era CPU.
10184
10185 2018-06-01 Joseph Myers <joseph@codesourcery.com>
10186
10187 [BZ #18473]
10188 * soft-fp/sqrttf2.c: Remove file.
10189 * soft-fp/sqrtdf2.c: Move to ....
10190 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
10191 <shlib-compat.h>.
10192 (__sqrtdf2): Make conditional on
10193 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10194 symbol.
10195 * soft-fp/sqrtsf2.c: Move to ....
10196 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
10197 <shlib-compat.h>.
10198 (__sqrtsf2): Make conditional on
10199 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10200 symbol.
10201 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
10202 (gcc-double-routines): Remove sqrtdf2.
10203 (gcc-quad-routines): Remove sqrttf2.
10204 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10205 Do not filter out sqrtsf2 and sqrtdf2.
10206 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10207 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
10208
10209 2018-06-01 Florian Weimer <fweimer@redhat.com>
10210
10211 * sysdeps/generic/libcidn.abilist: Remove file.
10212
10213 2018-06-01 Florian Weimer <fweimer@redhat.com>
10214
10215 [BZ #23236]
10216 * libio/strfile.h (struct _IO_str_fields): Rename members to
10217 discourage their use and add comment.
10218 (_IO_STR_DYNAMIC): Remove unused macro.
10219 * libio/strops.c (_IO_str_init_static_internal): Do not use
10220 callback pointers. Call malloc and free.
10221 (_IO_str_overflow): Do not use callback pointers. Call malloc
10222 and free.
10223 (enlarge_userbuf): Likewise.
10224 (_IO_str_finish): Call free.
10225 * libio/wstrops.c (_IO_wstr_init_static): Initialize
10226 _allocate_buffer_unused.
10227 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
10228 and free.
10229 (enlarge_userbuf): Likewise.
10230 (_IO_wstr_finish): Call free.
10231 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
10232 _allocate_buffer_unused, _free_buffer_unused.
10233 * libio/memstream.c (__open_memstream): Likewise.
10234 * libio/vasprintf.c (_IO_vasprintf): Likewise.
10235 * libio/wmemstream.c (open_wmemstream): Likewise.
10236
10237 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10238
10239 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
10240 AMD Ryzen 7 1800X.
10241
10242 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10243
10244 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
10245 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
10246 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
10247 New file.
10248 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
10249 Likewise.
10250 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
10251
10252 2018-05-29 Florian Weimer <fweimer@redhat.com>
10253
10254 * support/Makefile (libsupport-routines): Add
10255 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
10256 xpthread_barrierattr_setpshared.
10257 * support/xpthread_barrierattr_destroy.c: New file.
10258 * support/xpthread_barrierattr_init.c: Likewise.
10259 * support/xpthread_barrierattr_setpshared.c: Likewise.
10260
10261 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
10262
10263 [BZ #23206]
10264 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
10265 _r_debug and update DT_DEBUG for debugger.
10266
10267 2018-05-29 Florian Weimer <fweimer@redhat.com>
10268
10269 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
10270 (tst-strtod5i.out): Likewise.
10271
10272 2018-05-25 Joseph Myers <joseph@codesourcery.com>
10273
10274 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
10275 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
10276 (sparc64-quad-routines): New variable. Moved from ....
10277 [$(subdir) = soft-fp] (sysdep_routines): Add
10278 $(sparc64-quad-routines). Moved from ....
10279 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
10280 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
10281 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
10282 moved from ....
10283 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
10284 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
10285 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
10286 * sysdeps/sparc/sparc64/qp_add.c: ... here.
10287 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
10288 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
10289 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
10290 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
10291 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
10292 * sysdeps/sparc/sparc64/qp_div.c: ... here.
10293 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
10294 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
10295 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
10296 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
10297 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
10298 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
10299 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
10300 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
10301 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
10302 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
10303 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
10304 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
10305 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
10306 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
10307 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
10308 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
10309 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
10310 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
10311 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
10312 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
10313 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
10314 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
10315 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
10316 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
10317 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
10318 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
10319 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
10320 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
10321 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
10322 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
10323 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
10324 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
10325 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
10326 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
10327 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
10328 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
10329 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
10330 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
10331 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
10332 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
10333 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
10334 * sysdeps/sparc/sparc64/qp_util.c: ... here.
10335 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
10336 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
10337 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
10338 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
10339 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
10340 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
10341
10342 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
10343 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
10344 (sparc32-quad-routines): New variable. Moved from ....
10345 [$(subdir) = soft-fp] (sysdep_routines): Add
10346 $(sparc32-quad-routines). Moved from ....
10347 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
10348 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
10349 moved from ....
10350 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
10351 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
10352 * sysdeps/sparc/sparc32/q_add.c: ... here.
10353 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
10354 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
10355 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
10356 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
10357 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
10358 * sysdeps/sparc/sparc32/q_div.c: ... here.
10359 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
10360 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
10361 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
10362 * sysdeps/sparc/sparc32/q_feq.c: ... here.
10363 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
10364 * sysdeps/sparc/sparc32/q_fge.c: ... here.
10365 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
10366 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
10367 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
10368 * sysdeps/sparc/sparc32/q_fle.c: ... here.
10369 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
10370 * sysdeps/sparc/sparc32/q_flt.c: ... here.
10371 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
10372 * sysdeps/sparc/sparc32/q_fne.c: ... here.
10373 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
10374 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
10375 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
10376 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
10377 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
10378 * sysdeps/sparc/sparc32/q_mul.c: ... here.
10379 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
10380 * sysdeps/sparc/sparc32/q_neg.c: ... here.
10381 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
10382 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
10383 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
10384 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
10385 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
10386 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
10387 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
10388 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
10389 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
10390 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
10391 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
10392 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
10393 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
10394 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
10395 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
10396 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
10397 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
10398 * sysdeps/sparc/sparc32/q_sub.c: ... here.
10399 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
10400 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
10401 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
10402 * sysdeps/sparc/sparc32/q_util.c: ... here.
10403 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
10404 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
10405 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
10406 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
10407
10408 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10409 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10410
10411 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
10412 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
10413 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
10414 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
10415
10416 2018-05-24 Joseph Myers <joseph@codesourcery.com>
10417
10418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
10419 powerpc/soft-fp.
10420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10421 Likewise.
10422 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
10423 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
10424
10425 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10426
10427 [BZ #23171]
10428 * math/math.h [C++] (iseqsig): Fix parameter type for the long
10429 double version.
10430
10431 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10432
10433 * sysdeps/sh/Implies: Remove sh/soft-fp.
10434 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
10435 * sysdeps/sh/sfp-machine.h: ... here.
10436
10437 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10438
10439 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10440 (__mempcpy_erms): Skip zero length.
10441 (__memmove_erms): Likewise.
10442 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10443 (__memset_erms): Likewise.
10444
10445 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10446
10447 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
10448 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10449 Add functions moved from ....
10450 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
10451 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
10452 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
10453 from ....
10454 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
10455 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
10456 * sysdeps/alpha/e_sqrtl.c: ... here.
10457 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
10458 * sysdeps/alpha/local-soft-fp.h: ... here.
10459 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
10460 * sysdeps/alpha/ots_add.c: ... here.
10461 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
10462 * sysdeps/alpha/ots_cmp.c: ... here.
10463 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
10464 * sysdeps/alpha/ots_cmpe.c: ... here.
10465 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
10466 * sysdeps/alpha/ots_cvtqux.c: ... here.
10467 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
10468 * sysdeps/alpha/ots_cvtqx.c: ... here.
10469 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
10470 * sysdeps/alpha/ots_cvttx.c: ... here.
10471 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
10472 * sysdeps/alpha/ots_cvtxq.c: ... here.
10473 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
10474 * sysdeps/alpha/ots_cvtxt.c: ... here.
10475 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
10476 * sysdeps/alpha/ots_div.c: ... here.
10477 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
10478 * sysdeps/alpha/ots_mul.c: ... here.
10479 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
10480 * sysdeps/alpha/ots_nintxq.c: ... here.
10481 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
10482 * sysdeps/alpha/ots_sub.c: ... here.
10483 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
10484 * sysdeps/alpha/sfp-machine.h: ... here.
10485
10486 2018-05-23 Florian Weimer <fweimer@redhat.com>
10487
10488 [BZ #19728]
10489 [BZ #19729]
10490 [BZ #22247]
10491 CVE-2016-6261
10492 CVE-2016-6263
10493 CVE-2017-14062
10494 Switch to extern IDNA implementation (libidn2).
10495 * libidn: Remove subdirectory.
10496 * LICENSES: Do not mention licensing conditions for the removed
10497 libidn code.
10498 * config.h.in (HAVE_LIBIDN): Remove.
10499 * include/dlfcn.h (__libc_dlopen): Update comment.
10500 * include/idna.h: Remove file.
10501 * inet/Makefile (routines): Add idna.
10502 (tests-static, tests-internal): Add tst-idna_name_classify.
10503 (LOCALES): Generate locales for tests.
10504 (tst-idna_name_classify.out): Depend on generated locales.
10505 * inet/idna_name_classify.c: New file.
10506 * inet/tst-idna_name_classify.c: Likewise.
10507 * inet/net-internal.h (__idna_to_dns_encoding)
10508 (__idna_from_dns_encoding): Declare.
10509 * inet/net-internal.h (enum idna_name_classification): Define.
10510 (__idna_name_classify): Declare.
10511 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
10512 __idna_from_dns_encoding.
10513 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
10514 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
10515 name as a fallback in case of encoding errors.
10516 (getnameinfo): Use DEPRECATED_NI_IDN.
10517 * inet/idna.c: New file.
10518 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
10519 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
10520 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
10521 (modules-names): Add tst-no-libidn2.
10522 (extra-test-objs): Add tst-no-libidn2.os.
10523 (LDFLAGS-tst-no-libidn2.so): Set soname.
10524 (LOCALES): Set, and generate locales.
10525 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
10526 (tst-resolv-ai_idn-latin1): Likewise.
10527 (tst-resolv-ai_idn-nolibidn2): Likewise.
10528 (tst-resolv-ai_idn.out): Depend on locales.
10529 (tst-resolv-ai_idn-latin1.out): Depend on locales.
10530 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
10531 tst-no-libidn2.so.
10532 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
10533 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
10534 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
10535 * resolv/tst-resolv-ai_idn.c: New file.
10536 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
10537 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
10538 * resolv/tst-no-libidn2.c: Likewise.
10539 * support/support_format_addrinfo.c (format_ai_flags): Do not
10540 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
10541 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
10542 (gaih_inet): Call __idna_to_dns_encoding and
10543 __idna_from_dns_encoding, and use the original (punycode) name if
10544 __idna_from_dns_encoding fails due to an encoding error.
10545 (getaddrinfo): Use DEPRECATED_AI_IDN.
10546 * sysdeps/unix/inet/Subdirs (libidn): Remove.
10547 * sysdeps/unix/inet/configure: Remove file.
10548 * sysdeps/unix/inet/configure.ac: Likewise.
10549
10550 2018-05-23 Florian Weimer <fweimer@redhat.com>
10551
10552 Implement allocate_once.
10553 * include/allocate_once.h: New file.
10554 * misc/allocate_once.c: Likewise.
10555 * misc/tst-allocate_once.c: Likewise.
10556 * misc/Makefile (routines): Add allocate_once.
10557 (tests-internal): Add tst-allocate_once.
10558 (generated): Add tst-allocate_once.mtrace,
10559 tst-allocate_once-mem.out.
10560 (tests-special): Add tst-allocate_once-mem.out.
10561 (tst-allocate_once-ENV): Set MALLOC_TRACE.
10562 (tst-allocate_once-mem.out): Call mtrace.
10563 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
10564
10565 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10566
10567 [BZ #23196]
10568 * string/test-memcpy.c (do_test1): New function.
10569 (test_main): Call it.
10570
10571 2018-05-23 Andreas Schwab <schwab@suse.de>
10572
10573 [BZ #23196]
10574 CVE-2018-11237
10575 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
10576 (L(preloop_large)): Save initial destination pointer in %r11 and
10577 use it instead of %rax after the loop.
10578 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
10579
10580 2018-05-22 Joseph Myers <joseph@codesourcery.com>
10581
10582 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
10583 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
10584 -I../soft-fp. Moved from ....
10585 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
10586 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
10587 * sysdeps/aarch64/e_sqrtl.c: ... here.
10588 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
10589 * sysdeps/aarch64/sfp-machine.h: ... here.
10590
10591 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
10592 -Wmaybe-uninitialized around access to fq[0].
10593 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10594 Likewise.
10595
10596 [BZ #18471]
10597 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
10598 aliases for non-libc case of versioned symbols.
10599 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
10600 (llseek): Define as compat symbol if
10601 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
10602 with link warning.
10603 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
10604 Make into a compat symbol, disabled for minimum symbol version
10605 GLIBC_2.28 and later.
10606 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
10607
10608 2018-05-22 Florian Weimer <fweimer@redhat.com>
10609
10610 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
10611 not add -mpreferred-stack-boundary=4.
10612 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
10613 (stack-align-test-flags): Likewise.
10614 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
10615 Likewise.
10616 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
10617 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
10618 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
10619 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
10620 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
10621 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
10622 (CFLAGS-tst-align2.c): Likewise.
10623
10624 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10625
10626 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
10627 (index_arch_Prefer_FSRM): Likewise.
10628 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
10629 Also check Prefer_FSRM.
10630 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
10631 Also return OPTIMIZE (erms) for Prefer_FSRM.
10632
10633 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10634
10635 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
10636 (index_cpu_FSRM): Likewise.
10637 (reg_FSRM): Likewise.
10638
10639 2018-05-18 Joseph Myers <joseph@codesourcery.com>
10640
10641 * math/gen-tgmath-tests.py: Import sys.
10642 (Tests.__init__): Initialize macros_seen.
10643 (Tests.add_tests): Add macro to macros_seen. Only generate tests
10644 if requested to do so for this macro.
10645 (Tests.add_all_tests): Take argument for macro for which to
10646 generate tests.
10647 (Tests.check_macro_list): New function.
10648 (main): Handle check-list argument and argument specifying macro
10649 for which to generate tests.
10650 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
10651 [PYTHON] (tgmath3-macro-tests): Likewise.
10652 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
10653 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
10654 not test-tgmath3.c.
10655 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
10656 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
10657 to CFLAGS.
10658 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
10659 [PYTHON] ($(foreach
10660 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
10661 rule.
10662 [PYTHON] (tests-special): Add
10663 $(objpfx)test-tgmath3-macro-list.out.
10664 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
10665
10666 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
10667 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
10668 later.
10669
10670 [BZ #22639]
10671 * time/tzset.c (SECSPERDAY): Cast to time_t.
10672 * time/tst-y2039.c: New file.
10673 * time/Makefile (tests): Add tst-y2039.
10674
10675 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10676
10677 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10678 (PREFETCH_ONE_SET): Remove duplicate line.
10679
10680 2018-05-17 Florian Weimer <fweimer@redhat.com>
10681
10682 * sysdeps/generic/math-type-macros-double.h: Include
10683 <math-nan-payload-double.h> after <libm-alias-double.h>.
10684 * sysdeps/generic/math-type-macros-float.h: Include
10685 <math-nan-payload-float.h> after <libm-alias-float.h>.
10686 * sysdeps/generic/math-type-macros-float128.h: Include
10687 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
10688 * sysdeps/generic/math-type-macros-ldouble.h: Include
10689 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
10690
10691 2018-05-17 Andreas Schwab <schwab@suse.de>
10692
10693 * resolv/res_send.c (__res_context_send): Don't set errno when
10694 returing error after malloc failure.
10695
10696 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
10697
10698 * nptl/allocatestack.c (allocate_stack): Remove the
10699 !__ASSUME_PRIVATE_FUTEX paths.
10700 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
10701 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10702 Likewise.
10703 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
10704 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10705 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10706 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10707 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
10708 !__ASSUME_PRIVATE_FUTEX path.
10709 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
10710 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
10711 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10712 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
10713 !__ASSUME_PRIVATE_FUTEX macros.
10714 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10715 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10716 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10717 * sysdeps/unix/sysv/linux/kernel-features.h
10718 (__ASSUME_PRIVATE_FUTEX): Removed.
10719
10720 2018-05-17 Joseph Myers <joseph@codesourcery.com>
10721
10722 * math/Makefile (libm-narrow-fns): Add div.
10723 (libm-test-funcs-narrow): Likewise.
10724 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
10725 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
10726 * math/gen-auto-libm-tests.c (test_functions): Add div.
10727 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
10728 (NARROW_DIV_ROUND_TO_ODD): Likewise.
10729 (NARROW_DIV_TRIVIAL): Likewise.
10730 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
10731 macro.
10732 (__ddivl): Likewise.
10733 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
10734 ddiv.
10735 (CFLAGS-nldbl-ddiv.c): New variable.
10736 (CFLAGS-nldbl-fdiv.c): Likewise.
10737 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10738 __nldbl_ddivl.
10739 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
10740 prototype.
10741 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
10742 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
10743 * math/auto-libm-test-in: Add tests of div.
10744 * math/auto-libm-test-out-narrow-div: New generated file.
10745 * math/libm-test-narrow-div.inc: New file.
10746 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
10747 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
10748 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
10749 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
10750 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
10751 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
10752 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
10753 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
10754 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
10755 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
10756 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
10757 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
10758 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
10759 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
10760 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
10761 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
10762 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
10763 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
10764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10765 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10766 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10767 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10768 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10769 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10770 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10771 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10772 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10773 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10774 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10775 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10776 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10777 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10782 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10783 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10784 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10785 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10786 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10787 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10788 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10789 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10790
10791 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10792
10793 [BZ #23178]
10794 * nscd/nscd-client.h (sendfileall): Remove prototype.
10795 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
10796 (handle_request): Use writeall instead of sendfileall.
10797 * nscd/aicache.c (addhstaiX): Likewise.
10798 * nscd/grpcache.c (cache_addgr): Likewise.
10799 * nscd/hstcache.c (cache_addhst): Likewise.
10800 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10801 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
10802 * nscd/pwdcache.c (cache_addpw): Likewise.
10803 * nscd/servicescache.c (cache_addserv): Likewise.
10804 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
10805 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
10806 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
10807 Remove define.
10808
10809 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
10810
10811 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
10812 Include <string/strncat.c>.
10813 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
10814 alias.
10815 (__GI___strncat): New hidden alias.
10816
10817 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10818
10819 * sysdeps/mips/mips32/libm-test-ulps: Update.
10820 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10821
10822 2018-05-16 Florian Weimer <fweimer@redhat.com>
10823
10824 * support/Makefile (libsupport-routines): Add support_quote_blob,
10825 support_test_compare_blob.
10826 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
10827 * support/check.h (TEST_COMPARE_BLOB): Define.
10828 (support_test_compare_blob): Declare.
10829 * support/support.h (support_quote_blob): Declare.
10830 * support/support_quote_blob.c: New file.
10831 * support/support_test_compare_blob.c: Likewise.
10832 * support/tst-support_quote_blob.c: Likewise.
10833 * support/tst-test_compare_blob.c: Likewise.
10834
10835 2018-05-16 Florian Weimer <fweimer@redhat.com>
10836
10837 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
10838 of <strtod_nan_double.h>.
10839 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
10840 instead of SET_MANTISSA.
10841 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
10842 of include <strtod_nan_float.h>.
10843 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
10844 instead of <strtod_nan_ldouble.h>.
10845 * stdlib/strtod_nan_double.h: Move to ...
10846 * sysdeps/generic/math-nan-payload-double.h: ... here.
10847 (FLOAT): Remove definition.
10848 (SET_MANTISSA): Rename to ...
10849 (SET_NAN_PAYLOAD): ... this.
10850 * stdlib/strtod_nan_float.h: Move to ...
10851 * sysdeps/generic/math-nan-payload-float.h: ... here.
10852 (FLOAT): Remove definition.
10853 (SET_MANTISSA): Rename to ...
10854 (SET_NAN_PAYLOAD): ... this.
10855 * sysdeps/generic/math-type-macros-double.h: Include
10856 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
10857 instead of <math-svid-compat.h>.
10858 * sysdeps/generic/math-type-macros-float.h: Include
10859 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
10860 instead of <math-svid-compat.h>.
10861 * sysdeps/generic/math-type-macros-float128.h: Include
10862 <math-nan-payload-float128.h>.
10863 * sysdeps/generic/math-type-macros-ldouble.h: Include
10864 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
10865 instead of <math-svid-compat.h>.
10866 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
10867 check for definition.
10868 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
10869 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
10870 Include <ieee754_float128.h>.
10871 (FLOAT): Remove definition.
10872 (SET_MANTISSA): Rename to ...
10873 (SET_NAN_PAYLOAD): ... this.
10874 * sysdeps/ieee754/float128/strtof128_nan.c: Include
10875 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
10876 Do not include <float128_private.h>.
10877 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
10878 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
10879 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
10880 (FLOAT): Remove definition.
10881 (SET_MANTISSA): Rename to ...
10882 (SET_NAN_PAYLOAD): ... this.
10883 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
10884 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
10885 (FLOAT): Remove definition.
10886 (SET_MANTISSA): Rename to ...
10887 (SET_NAN_PAYLOAD): ... this.
10888 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
10889 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
10890 (FLOAT): Remove definition.
10891 (SET_MANTISSA): Rename to ...
10892 (SET_NAN_PAYLOAD): ... this.
10893 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
10894 of "../stdlib/strtod_nan_double.h".
10895 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
10896 of "../stdlib/strtod_nan_float.h".
10897 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
10898 instead of "../stdlib/strtod_nan_ldouble.h".
10899 * manual/arith.texi (Parsing of Floats): Adjust comment.
10900
10901 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10902
10903 * math/Makefile (libm-narrow-fns): Add mul.
10904 (libm-test-funcs-narrow): Likewise.
10905 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
10906 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
10907 * math/gen-auto-libm-tests.c (test_functions): Add mul.
10908 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
10909 (NARROW_MUL_ROUND_TO_ODD): Likewise.
10910 (NARROW_MUL_TRIVIAL): Likewise.
10911 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
10912 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
10913 macro.
10914 (__dmull): Likewise.
10915 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
10916 dmul.
10917 (CFLAGS-nldbl-dmul.c): New variable.
10918 (CFLAGS-nldbl-fmul.c): Likewise.
10919 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10920 __nldbl_dmull.
10921 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
10922 prototype.
10923 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
10924 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
10925 * math/auto-libm-test-in: Add tests of mul.
10926 * math/auto-libm-test-out-narrow-mul: New generated file.
10927 * math/libm-test-narrow-mul.inc: New file.
10928 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
10929 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
10930 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
10931 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
10932 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
10933 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
10934 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
10935 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
10936 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
10937 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
10938 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
10939 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
10940 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
10941 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
10942 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
10943 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
10944 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
10945 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
10946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10947 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10948 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10949 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10950 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10951 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10952 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10953 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10954 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10955 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10956 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10957 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10958 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10959 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10964 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10965 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10966 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10967 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10968 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10969 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10970 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10971 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10972
10973 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10974
10975 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
10976 with *%eax in call.
10977
10978 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10979
10980 * sysdeps/i386/ldsodefs.h: Removed.
10981 * sysdeps/x86_64/ldsodefs.h: Moved to ...
10982 * sysdeps/x86/ldsodefs.h: This.
10983 (La_i86_regs): New.
10984 (La_i86_retval): Likewise.
10985 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
10986 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
10987
10988 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10989
10990 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
10991 unnecessary testl.
10992
10993 2018-05-13 Alan Modra <amodra@gmail.com>
10994
10995 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
10996 R_PARISC_TLS_DTPOFF32 reloc addend.
10997
10998 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10999
11000 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
11001 * math/math.h: Restrict the prototype definition for the functions
11002 issignaling(_Float128) and iszero(_Float128); and template
11003 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
11004 __HAVE_FLOAT128_UNLIKE_LDBL.
11005 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
11006 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
11007 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
11008 __f128() constants; define the type _Float128 as long double;
11009 and reuse long double in __CFLOAT128.
11010
11011 2018-05-11 Joseph Myers <joseph@codesourcery.com>
11012
11013 * sysdeps/generic/math_private.h: Do not include
11014 <math-barriers.h>.
11015 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
11016 <math_private.h>.
11017 * math/fromfp.h: Include <math-barriers.h>.
11018 * math/math-narrow.h: Likewise.
11019 * math/s_nextafter.c: Likewise.
11020 * math/s_nexttowardf.c: Likewise.
11021 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11022 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11023 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11024 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11025 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11026 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11027 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11028 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11029 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11030 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11031 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11032 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11033 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11034 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11035 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11036 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11037 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11038 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11039 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11040 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11041 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11042 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11043 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11044 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11045 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11046 * sysdeps/ieee754/k_standardl.c: Likewise.
11047 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11048 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11049 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11050 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11051 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11052 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11053 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11054 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11055 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11056 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11057 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11058 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11059 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11060 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11061 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11062 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11063 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11064 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11065 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11066 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11067 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
11068 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
11069
11070 2018-05-11 Florian Weimer <fweimer@redhat.com>
11071
11072 Use 64-bit epoch values in the time zone file parser.
11073 * include/time.h (internal_time_t): Define.
11074 (__tzfile_compute): Use it.
11075 * time/tzfile.c (struct leap): Use internal_time_t for epoch
11076 member.
11077 (transitions): Switch to internal_time_t.
11078 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
11079 types.
11080 (__tzfile_compute): Use internal_time_t for timer argument. Check
11081 for truncation before calling __offtime.
11082
11083 2018-05-11 Florian Weimer <fweimer@redhat.com>
11084
11085 [BZ #23166]
11086 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
11087 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
11088 Likewise.
11089 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
11090 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
11091 export without --enable-obsolete-rpc.
11092 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
11093 symbol. This should not have been exported, ever.
11094
11095 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
11096
11097 [BZ #23152]
11098 * localedata/locales/gd_GB (abmon): Fix typo in May:
11099 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
11100
11101 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11102
11103 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11104 Use multiple registers to copy data in loop tail.
11105
11106 * sysdeps/aarch64/multiarch/memmove_falkor.S
11107 (__memmove_falkor): Use multiple registers to move data in
11108 loop tail.
11109
11110 2018-05-10 Joseph Myers <joseph@codesourcery.com>
11111
11112 * math/math-underflow.h: New file.
11113 * sysdeps/generic/math_private.h: Do not include <float.h>.
11114 (fabs_tg): Remove macro. Moved to math-underflow.h.
11115 (min_of_type_f): Likewise.
11116 (min_of_type_): Likewise.
11117 (min_of_type_l): Likewise.
11118 (min_of_type_f128): Likewise.
11119 (min_of_type): Likewise.
11120 (math_check_force_underflow): Likewise.
11121 (math_check_force_underflow_nonneg): Likewise.
11122 (math_check_force_underflow_complex): Likewise.
11123 * math/e_exp2_template.c: Include <math-underflow.h>.
11124 * math/k_casinh_template.c: Likewise.
11125 * math/s_catan_template.c: Likewise.
11126 * math/s_catanh_template.c: Likewise.
11127 * math/s_ccosh_template.c: Likewise.
11128 * math/s_cexp_template.c: Likewise.
11129 * math/s_clog10_template.c: Likewise.
11130 * math/s_clog_template.c: Likewise.
11131 * math/s_csin_template.c: Likewise.
11132 * math/s_csinh_template.c: Likewise.
11133 * math/s_csqrt_template.c: Likewise.
11134 * math/s_ctan_template.c: Likewise.
11135 * math/s_ctanh_template.c: Likewise.
11136 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11137 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11138 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11139 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11140 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11141 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11142 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11143 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11144 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11145 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11146 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11147 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11148 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11149 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11150 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11151 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11152 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11153 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11154 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11155 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11156 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11157 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11158 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11159 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11160 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11161 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11162 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11163 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11164 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11165 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11166 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11167 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11168 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11169 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11170 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11171 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11172 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11173 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11174 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11175 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11176 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11177 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11178 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11179 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11180 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11181 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11182 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11183 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11184 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11185 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11186 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11187 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11188 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11189 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11190 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11191 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11192 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11193 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11194 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11195 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11196 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11197 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11198 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11199 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11200 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11201 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11202 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11203 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11204 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11205 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11206 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11207 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11208 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11209 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
11210 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11211 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11212 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11213 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11214 * sysdeps/x86/fpu/powl_helper.c: Likewise.
11215 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
11216 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
11217 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11218 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
11219 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
11220
11221 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11222
11223 * sysdeps/generic/math-barriers.h: New file.
11224 * sysdeps/generic/math_private.h [!math_opt_barrier]
11225 (math_opt_barrier): Move to math-barriers.h.
11226 [!math_opt_barrier] (math_force_eval): Likewise.
11227 * sysdeps/aarch64/fpu/math-barriers.h: New file.
11228 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
11229 math-barriers.h.
11230 (math_force_eval): Likewise.
11231 * sysdeps/alpha/fpu/math-barriers.h: New file.
11232 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
11233 math-barriers.h.
11234 (math_force_eval): Likewise.
11235 * sysdeps/x86/fpu/math-barriers.h: New file.
11236 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
11237 math-barriers.h.
11238 (math_force_eval): Likewise.
11239 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
11240 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
11241 multiple-include guard for rename.
11242 * sysdeps/powerpc/fpu/math-barriers.h: New file.
11243 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
11244 math-barriers.h.
11245 (math_force_eval): Likewise.
11246
11247 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
11248
11249 [BZ #22786]
11250 CVE-2018-11236
11251 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
11252 computation.
11253 * stdlib/Makefile (test-bz22786): New test.
11254 * stdlib/test-bz22786.c: New test.
11255
11256 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11257
11258 * include/math-narrow-eval.h: New file. Contents moved from ....
11259 * sysdeps/generic/math_private.h: ... here.
11260 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
11261 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11262 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
11263 * stdlib/strtod_l.c: Likewise.
11264 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11265 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11266 * sysdeps/i386/fpu/s_fdim.c: Likewise.
11267 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11268 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11269 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11270 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11271 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11272 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11273 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11274 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11275 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11276 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11277 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11278 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11279 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11280 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11281 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11282 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11283 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11284 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11285 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11286 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11287 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11288 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11289 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11290 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11291 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11292 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11293
11294 2018-05-08 Andreas Schwab <schwab@suse.de>
11295
11296 * sysdeps/nptl/internaltypes.h: Fix comment.
11297
11298 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
11299
11300 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11301 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
11302 hidden.
11303
11304 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11305
11306 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
11307 of I into loop header.
11308 * benchtests/bench-memmove-walk.c
11309 (test_main): Likewise.
11310
11311 2018-05-07 Alexandre Oliva <oliva@gnu.org>
11312
11313 Revert:
11314 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11315 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11316
11317 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11318
11319 [BZ #20419]
11320 * elf/dl-load.c (open_verify): Fix stack overflow.
11321 * elf/Makefile (tst-big-note): New test.
11322 * elf/tst-big-note-lib.S: New.
11323 * elf/tst-big-note.c: New.
11324
11325 2018-05-04 Joseph Myers <joseph@codesourcery.com>
11326
11327 * scripts/abilist.awk: Ignore absolute symbols.
11328 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
11329 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
11330 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
11331 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
11332 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
11333 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
11334 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11335 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
11336 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
11337 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
11338 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
11339 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
11340 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
11341 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
11342 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
11343 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11344 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
11345 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
11346 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11347 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
11348 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11349 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
11350 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
11351 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
11352 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
11353 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
11354 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
11355 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
11356 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11357 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
11358 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
11359 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11360 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
11361 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11362 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
11363 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
11364 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
11365 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
11366 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
11367 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
11368 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
11369 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11370 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
11371 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
11372 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11373 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
11374 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11375 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
11376 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
11377 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
11378 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
11379 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
11380 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
11381 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
11382 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11383 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
11384 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
11385 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11386 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
11387 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11388 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
11389 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
11390 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
11391 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
11392 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
11393 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
11394 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
11395 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11396 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
11397 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
11398 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11399 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
11400 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11401 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
11402 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
11403 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
11404 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
11405 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
11406 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
11407 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
11408 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11409 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
11410 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
11411 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11412 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
11413 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11414 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
11415 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
11416 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
11417 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
11418 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
11419 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11420 Likewise.
11421 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
11422 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11423 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
11424 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
11425 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11426 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
11427 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11428 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
11429 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
11430 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
11431 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
11432 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
11433 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11434 Likewise.
11435 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
11436 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11437 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
11438 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
11439 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11440 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
11441 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11442 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
11443 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
11444 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
11445 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
11446 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
11447 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
11448 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
11449 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11450 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
11451 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
11452 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11453 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
11454 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11455 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
11456 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
11457 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
11458 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
11459 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11460 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
11461 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
11462 Likewise.
11463 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
11464 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
11465 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
11466 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
11467 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11468 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
11469 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
11470 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
11471 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
11472 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
11473 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
11474 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
11475 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
11476 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11477 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
11478 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
11479 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
11480 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
11481 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11482 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
11483 Likewise.
11484 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
11485 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
11486 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
11487 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11488 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
11489 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11490 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
11491 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
11492 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
11493 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
11494 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11495 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
11496 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
11497 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11498 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
11499 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
11500 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
11501 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
11502 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11503 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
11504 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
11505 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11506 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
11507 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11508 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
11509 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
11510 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
11511 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
11512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
11513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
11515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11516 Likewise.
11517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
11518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
11519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
11520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
11521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11522 Likewise.
11523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
11524 Likewise.
11525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
11526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11527 Likewise.
11528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
11529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11530 Likewise.
11531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11532 Likewise.
11533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11536 Likewise.
11537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11538 Likewise.
11539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
11540 Likewise.
11541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
11542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11545 Likewise.
11546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
11547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
11548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
11549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
11552 Likewise.
11553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
11554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11555 Likewise.
11556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11557 Likewise.
11558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11559 Likewise.
11560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
11561 Likewise.
11562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
11563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
11564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11565 Likewise.
11566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11567 Likewise.
11568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11569 Likewise.
11570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
11571 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
11572 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
11573 Likewise.
11574 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
11575 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11576 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
11577 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
11578 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11579 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
11580 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11581 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
11582 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
11583 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
11584 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
11585 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
11586 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
11587 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
11588 Likewise.
11589 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11590 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
11591 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
11592 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11593 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
11594 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11595 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
11596 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
11597 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
11598 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
11599 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
11600 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
11601 Likewise.
11602 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11603 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
11604 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
11605 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11606 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
11607 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11608 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
11609 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
11610 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
11611 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
11612 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
11613 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
11614 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
11615 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11616 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
11617 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
11618 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11619 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
11620 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11621 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
11622 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
11623 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
11624 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
11625 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
11626 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
11627 Likewise.
11628 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
11629 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11630 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
11631 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
11632 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11633 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
11634 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11635 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
11636 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
11637 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
11638 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
11639 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
11640 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
11641 Likewise.
11642 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
11643 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11644 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
11645 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
11646 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11647 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
11648 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11649 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
11650 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
11651 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
11652 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
11653 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
11654 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
11655 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
11656 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11657 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
11658 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
11659 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11660 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
11661 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11662 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
11663 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
11664 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
11665 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
11666 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
11667 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
11668 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
11669 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
11670 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11671 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
11672 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
11673 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11674 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
11675 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11676 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
11677 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
11678 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
11679 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
11680
11681 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
11682
11683 [BZ #23137]
11684 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
11685 Use atomic_load_acquire to load __tid.
11686
11687 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11688
11689 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
11690 Restore the pointer into %rdx, after syscall and use %rdx,
11691 instead of %rsi, to restore context.
11692
11693 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11694
11695 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
11696 Pop the pointer into %rdx after syscall and use %rdx, instead
11697 of %rsi, to restore context.
11698
11699 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11700
11701 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
11702 handlers after setjmp.
11703 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
11704 defined.
11705 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
11706 <libc-pointer-arith.h>.
11707 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
11708 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
11709 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
11710 _JUMP_BUF_SIGSET_BITS_PER_WORD.
11711 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
11712 * sysdeps/x86/__longjmp_cancel.S: New file.
11713 * sysdeps/x86/longjmp.c: Likewise.
11714 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
11715
11716 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11717
11718 * NEWS: Add ustat.h deprecation entry.
11719 * bits/ustat.h: Remove file.
11720 * misc/sys/ustat.h: Likewise.
11721 * misc/ustat.h: Likewise.
11722 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
11723 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
11724 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
11725 compatibility mode.
11726 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
11727 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
11728 generic Linux implementation.
11729
11730 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11731
11732 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
11733 * math/w_expl_compat.c: Likewise.
11734 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
11735
11736 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11737
11738 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11739
11740 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11741
11742 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
11743 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
11744 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
11745 Remove.
11746 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
11747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11748 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11749 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
11750 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
11751 and SYSCALL_LL64.
11752
11753 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11754
11755 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
11756
11757 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
11758 * math/w_asin_template.c: Likewise.
11759 * math/w_atanh_template.c: Likewise.
11760
11761 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11762
11763 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
11764 to powerpc/powerpc64/be for big-endian.
11765 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
11766 little-endian.
11767
11768 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
11769 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
11770 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
11771 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
11772 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11773 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
11774 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
11775 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
11776 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
11777 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11778 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
11779 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
11780 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
11781 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
11782 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
11783 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
11784 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
11785 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
11786 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
11787 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
11788 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
11789 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11790 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
11791 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
11792 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
11793 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11794 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
11795 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
11796 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
11797 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
11798 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
11799 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
11800
11801 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
11802 adjusted to imply powerpc64 and older processors on powerpc64/be.
11803 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
11804 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
11805 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
11806 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
11807 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
11808 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
11809 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
11810 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
11811 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
11812 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
11813 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
11814 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
11815 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
11816 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
11817 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
11818 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
11819 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
11820 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
11821 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
11822 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
11823 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
11824 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
11825 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
11826 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
11827 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
11828 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
11829 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
11830 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
11831 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
11832 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
11833 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
11834
11835 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
11836 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
11837 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
11838 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
11839
11840 * sysdeps/powerpc/powerpc64/be/Implies: New file.
11841 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
11842 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
11843 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
11844
11845 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
11846 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
11847 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
11848 * sysdeps/powerpc/powerpc64le/configure: Likewise.
11849 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
11850 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
11851 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
11852 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
11853 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
11854 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
11855 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
11856
11857 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
11858 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
11859 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
11860 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
11861 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
11862 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
11863 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
11864 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
11865 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
11866 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
11867 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
11868
11869 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
11870 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
11871 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
11872 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
11873 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
11874 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
11875 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
11876 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
11877 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
11878 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
11879 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
11880 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
11881
11882 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
11883 and adjusted to imply olders processors.
11884 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
11885 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
11886 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
11887 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
11888 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
11889 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
11890 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
11891 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
11892 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
11893 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
11894 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
11895
11896 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
11897 powerpc64/le.
11898 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
11899 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
11900
11901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
11902 powerpc64le.
11903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
11904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
11905
11906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
11907 powerpc64/be.
11908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
11910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
11911
11912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
11913 powerpc64 and adjusted.
11914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
11915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
11916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
11917 Likewise.
11918
11919 2018-04-27 Joseph Myers <joseph@codesourcery.com>
11920
11921 * sysdeps/tile: Remove.
11922 * sysdeps/unix/sysv/linux/tile: Likewise.
11923 * README (tilegx-*-linux-gnu): Remove from list of supported
11924 configurations.
11925 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
11926 contribution of support for generic Linux kernel syscall
11927 interface.
11928 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
11929 tilegx configurations.
11930 (Config.install_linux_headers): Do not handle tile.
11931 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
11932 in comment.
11933 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
11934 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
11935 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11936 conditional undefine and redefine.
11937 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
11938 in comment.
11939 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11940 conditional undefine and redefine.
11941
11942 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
11943
11944 * signal/tst-sigaction.c: New file to test BZ #23069.
11945 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
11946
11947 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11948
11949 [BZ #22766]
11950 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
11951 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
11952 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
11953 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11954
11955 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11956
11957 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
11958 _DIRENT_MATCHES_DIRENT64 is not defined.
11959 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
11960 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
11961 is defined.
11962 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
11963 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
11964
11965 2018-04-25 Joseph Myers <joseph@codesourcery.com>
11966
11967 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
11968 version to GCC 8 branch.
11969
11970 2018-04-24 Joseph Myers <joseph@codesourcery.com>
11971
11972 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
11973 (check_no_hidden): Use type of original function when declaring
11974 alias.
11975
11976 * sysdeps/unix/sysv/linux/sys/ptrace.h
11977 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
11978 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
11979 (struct __ptrace_seccomp_metadata): New type.
11980 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11981 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11982 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
11983 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11984 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
11985 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11986 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11987 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11988 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
11989 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11990 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
11991 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11992 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
11993 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11994 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
11995 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11996
11997 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11998
11999 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
12000 defined.
12001 * dirent/versionsort.c (versionsort): Likewise.
12002 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
12003 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
12004 * dirent/versionsort64.c (versionsort64): Likewise.
12005 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
12006 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
12007 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
12008 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
12009 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
12010 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
12011 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
12012 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
12013 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
12014 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
12015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
12016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
12017 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
12018 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
12019
12020 2018-04-23 Joseph Myers <joseph@codesourcery.com>
12021
12022 * elf/elf.h (NT_PPC_PKEY): New macro.
12023
12024 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
12025
12026 [BZ #23094]
12027 * localedata/locales/hr_HR: fix thousands_sep and
12028 mon_thousands_sep
12029
12030 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12031
12032 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
12033 (XTABS): Define to TAB3.
12034
12035 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12036
12037 * sysdeps/hppa/fpu/libm-test-ulps: Update.
12038
12039 * dirent/scandir-tail-common.c: New file.
12040 * dirent/scandir-tail.c: Use scandir-tail-common.c.
12041 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
12042 * dirent/scandir.c: Use scandir-tail-common.c.
12043 * dirent/scandirat.c: Likewise.
12044 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
12045 * dirent/scandir64.c (scandir64): Always build and alias to scandir
12046 if _DIRENT_MATCHES_DIRENT64 is defined.
12047 * dirent/scandirat64.c (scandirat64): Likewise.
12048 * include/dirent.h (__scandir_tail): Only define iff
12049 _DIRENT_MATCHES_DIRENT64 is not defined.
12050 (__scandir64_tail): Define regardless.
12051 (__scandirat, scandirat64): Remove libc_hidden_proto.
12052 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
12053 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
12054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
12055 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
12056 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12057 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
12058 * sysdeps/unix/sysv/linux/scandir64.c: New file.
12059
12060 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12061
12062 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
12063 New macro.
12064 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12065 Increase to 24.
12066 (_dl_aarch64_cap_flags): Add asimdfhm.
12067
12068 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
12069
12070 * sysdeps/nios2/libm-test-ulps: Update.
12071
12072 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12073
12074 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
12075 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
12076
12077 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
12078 requirements.
12079 (_DIRENT_MATCHES_DIRENT64): Undef
12080 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
12081 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
12082 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
12083 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
12084 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
12085 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
12086 use getdents64 syscalls as base.
12087 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
12088 symbol if required.
12089 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
12090 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
12091 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
12092 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
12093 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
12094 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
12095 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
12096 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
12097 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12098 (__get_clockfreq_via_proc_openprom): Use __getdents64.
12099 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
12100
12101 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12102
12103 * scripts/test_printers_common.py (init_test): Disable lock elision.
12104
12105 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12106
12107 * math/test-tgmath.c (count_double, count_float,
12108 count_ldouble, count_cdouble, count_cfloat,
12109 count_cldouble): Use volatile int.
12110
12111 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
12112
12113 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
12114 (conformtest-xfail-conds): Add i386-gnu.
12115 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
12116 i386-gnu.
12117 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
12118 ipc_perm.cuid, ipc_perm.cgid): Likewise.
12119 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
12120 msqid_ds.msg_lrpid): Likewise.
12121 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
12122 Likewise.
12123 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
12124 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
12125 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
12126 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
12127 unsigned int.
12128 (struct statvfs64): Likewise.
12129 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
12130 Likewise.
12131 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
12132 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
12133 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
12134 instead of wait_queue.
12135 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
12136 instead of vm_area_struct.
12137 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
12138 struct sched_param definition to it.
12139 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12140 * bits/types/struct_sched_param.h: New file.
12141 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
12142 <bits/types/struct_sched_param.h> instead of <sched.h>.
12143 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
12144 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
12145 generic version but include <bits/pthreadtypes.h> to make struct
12146 sigevent's sigev_notify_attributes field a pthread_attr_t*.
12147 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
12148 non-compliant.
12149 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
12150 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
12151 [__USE_XOPEN] (OFDEL): New macro.
12152 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
12153 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
12154 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
12155 prototypes.
12156 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
12157 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
12158 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
12159 non-compliant.
12160 * sysdeps/i386/sys/ucontext.h: Likewise.
12161 * sysdeps/m68k/sys/ucontext.h: Likewise.
12162 * sysdeps/mips/sys/ucontext.h: Likewise.
12163 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
12164 * sysdeps/mach/hurd/i386/Makefile
12165 (test-xfail-POSIX/fcntl.h/conform): Add.
12166 (test-xfail-POSIX/signal.h/conform): Add.
12167 (test-xfail-POSIX/semaphore.h/conform): Add.
12168 (test-xfail-POSIX/regex.h/conform): Add.
12169 (test-xfail-POSIX/aio.h/conform): Add.
12170 (test-xfail-POSIX/mqueue.h/conform): Add.
12171 (test-xfail-POSIX/sys/types.h/conform): Add.
12172 (test-xfail-UNIX98/fcntl.h/conform): Add.
12173 (test-xfail-UNIX98/netdb.h/conform): Add.
12174 (test-xfail-UNIX98/signal.h/conform): Add.
12175 (test-xfail-UNIX98/semaphore.h/conform): Add.
12176 (test-xfail-UNIX98/regex.h/conform): Add.
12177 (test-xfail-UNIX98/aio.h/conform): Add.
12178 (test-xfail-UNIX98/ftw.h/conform): Add.
12179 (test-xfail-UNIX98/mqueue.h/conform): Add.
12180 (test-xfail-UNIX98/netinet/in.h/conform): Add.
12181 (test-xfail-UNIX98/sys/wait.h/conform): Add.
12182 (test-xfail-UNIX98/sys/sem.h/conform): Add.
12183 (test-xfail-UNIX98/sys/uio.h/conform): Add.
12184 (test-xfail-UNIX98/sys/socket.h/conform): Add.
12185 (test-xfail-UNIX98/sys/types.h/conform): Add.
12186 (test-xfail-UNIX98/stdlib.h/conform): Add.
12187 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
12188 (test-xfail-POSIX2008/fcntl.h/conform): Add.
12189 (test-xfail-POSIX2008/netdb.h/conform): Add.
12190 (test-xfail-POSIX2008/signal.h/conform): Add.
12191 (test-xfail-POSIX2008/semaphore.h/conform): Add.
12192 (test-xfail-POSIX2008/regex.h/conform): Add.
12193 (test-xfail-POSIX2008/aio.h/conform): Add.
12194 (test-xfail-POSIX2008/mqueue.h/conform): Add.
12195 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
12196 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
12197 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
12198 (test-xfail-POSIX2008/sys/types.h/conform): Add.
12199 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
12200 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
12201 (test-xfail-XOPEN2K/netdb.h/conform): Add.
12202 (test-xfail-XOPEN2K/signal.h/conform): Add.
12203 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
12204 (test-xfail-XOPEN2K/regex.h/conform): Add.
12205 (test-xfail-XOPEN2K/aio.h/conform): Add.
12206 (test-xfail-XOPEN2K/ftw.h/conform): Add.
12207 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
12208 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
12209 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
12210 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
12211 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
12212 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
12213 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
12214 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
12215 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
12216 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
12217 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
12218 (test-xfail-XOPEN2K8/signal.h/conform): Add.
12219 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
12220 (test-xfail-XOPEN2K8/regex.h/conform): Add.
12221 (test-xfail-XOPEN2K8/aio.h/conform): Add.
12222 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
12223 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
12224 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
12225 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
12226 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
12227 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
12228 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
12229 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
12230 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
12231 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
12232 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
12233 i386-gnu.
12234 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
12235 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
12236
12237 2018-04-18 Joseph Myers <joseph@codesourcery.com>
12238
12239 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
12240 --enable-obsolete for powerpc-linux-gnuspe.
12241
12242 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12243
12244 * conform/data/sys/un.h-data: Allow sun_ prefix.
12245 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
12246 prototypes.
12247 * sysdeps/mach/include/mach.h: Likewise.
12248 * sysdeps/mach/include/mach/mig_support.h: Likewise.
12249 * sysdeps/mach/include/mach_error.h: Likewise.
12250
12251 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12252
12253 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
12254 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
12255 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
12256 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
12257
12258 2018-04-16 Andreas Schwab <schwab@suse.de>
12259
12260 [BZ #19527]
12261 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
12262
12263 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
12264
12265 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
12266 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
12267
12268 2018-04-12 DJ Delorie <dj@redhat.com>
12269
12270 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12271 version to 4.16.
12272
12273 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12274
12275 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
12276 (struct kernel_sigaction): Use the same definition on 31bit as is used
12277 on 64bit.
12278
12279 2018-04-09 Florian Weimer <fweimer@redhat.com>
12280
12281 [BZ #23037]
12282 * resolv/res_send.c (send_dg): Use designated initializers instead
12283 of assignment to zero-initialize other fields of struct mmsghdr.
12284
12285 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12286
12287 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
12288 __READDIR_ALIAS): Undefine after usage.
12289 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
12290 __READDIR_R_ALIAS): Likewise.
12291 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
12292 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
12293 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
12294 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
12295 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
12296 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
12297 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12298 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12299 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
12300 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
12301 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
12302 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
12303 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12304 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
12305 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
12306 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
12307 * sysdeps/unix/sysv/linux/readdir.c: New file.
12308 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
12309 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
12310 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
12311
12312 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12313
12314 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
12315
12316 * manual/charset.texi (Converting a Character): Fix typo.
12317
12318 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12319
12320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12321
12322 * sysdeps/arm/libm-test-ulps: Update.
12323
12324 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
12325 as base implementation.
12326 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12327 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12328 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12329 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12330 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12331 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
12332 remove unrequired definitions and update comments.
12333 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
12334 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
12335 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
12336 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
12337 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
12338 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
12339 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
12340 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
12341 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
12342 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
12343 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
12344 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12345 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12346 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
12347 and RESET_SA_RESTORER hooks.
12348
12349 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
12350
12351 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12352
12353 2018-04-05 Florian Weimer <fweimer@redhat.com>
12354
12355 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
12356 integer overflow, memory leak on error, and indeterminate errno
12357 value. Add a null wide character to terminate the result string.
12358 * manual/charset.texi (Converting a Character): Mention embedded
12359 null bytes in the mbrtowc input string. Explain what happens in
12360 the -2 result case. Do not claim that mbrtowc is simple or
12361 obvious to use. Adjust the description of the code example. Use
12362 @code, not @var, for concrete variables.
12363
12364 2018-04-05 Florian Weimer <fweimer@redhat.com>
12365
12366 * manual/examples/mbstouwcs.c: New file.
12367 * manual/charset.texi (Converting a Character): Include it.
12368
12369 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
12370
12371 * include/dirent.h (dirfd): Add hidden proto.
12372 * dirent/dirfd.c (dirfd): Add hidden def.
12373 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
12374 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
12375
12376 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12377
12378 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
12379 sin, cos and sincos to 1 ULP.
12380
12381 2018-04-04 Maciej W. Rozycki <macro@mips.com>
12382
12383 [BZ #19818]
12384 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
12385 symbols.
12386 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
12387 * elf/tst-absolute-sym.c: New file.
12388 * elf/tst-absolute-sym-lib.c: New file.
12389 * elf/tst-absolute-sym-lib.lds: New file.
12390 * elf/Makefile (tests): Add `tst-absolute-sym'.
12391 (modules-names): Add `tst-absolute-sym-lib'.
12392 (LDLIBS-tst-absolute-sym-lib.so): New variable.
12393 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
12394 ($(objpfx)tst-absolute-sym): New dependency.
12395
12396 [BZ #19818]
12397 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
12398 parameter.
12399 (SYMBOL_ADDRESS): New macro.
12400 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
12401 SYMBOL_ADDRESS for symbol address calculation.
12402 * elf/dl-runtime.c (_dl_fixup): Likewise.
12403 (_dl_profile_fixup): Likewise.
12404 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
12405 * elf/rtld.c (dl_main): Likewise.
12406 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
12407 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
12408 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
12409 (elf_machine_rela): Likewise.
12410 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
12411 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
12412 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12413 (elf_machine_rela): Likewise.
12414 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12415 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
12416 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
12417 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
12418 Likewise.
12419 (elf_machine_reloc): Likewise.
12420 (elf_machine_got_rel): Likewise.
12421 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
12422 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
12423 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12424 Likewise.
12425 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12426 Likewise.
12427 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
12428 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12429 Likewise.
12430 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12431 Likewise.
12432 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12433 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12434 Likewise.
12435 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12436 Likewise.
12437 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
12438 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12439
12440 2018-04-04 Zack Weinberg <zackw@panix.com>
12441
12442 * sysdeps/generic/internal-signals.h: Include signal.h,
12443 sigsetops.h, and stdbool.h.
12444 (__libc_signal_block_all): Actually block all signals.
12445 (__libc_signal_block_app): Likewise.
12446 (__libc_signal_restore_set): Actually restore the signal mask.
12447
12448 2018-04-04 Florian Weimer <fweimer@redhat.com>
12449
12450 inet: Actually build and run tst-deadline.
12451 * inet/Makefile (tests-internal): Add tst-deadline and do not
12452 overwrite the variable.
12453 (tests-static-internal): Remove variable.
12454
12455 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
12456
12457 [BZ #22947]
12458 * bits/uio-ext.h (RWF_APPEND): New.
12459 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
12460 * manual/llio.texi: Document RWF_APPEND.
12461 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
12462 (RWF_SUPPORTED): Add RWF_APPEND.
12463
12464 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12465
12466 [BZ #22391]
12467 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
12468 check for internal nptl signals.
12469 * nptl/sigaction.c (__sigaction): Likewise.
12470 * signal/sigaddset.c (sigaddset): Likewise.
12471 * signal/sigdelset.c (sigdelset): Likewise.
12472 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12473 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
12474 value.
12475 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
12476 to filter out internal nptl signals.
12477 * signal/tst-sigset.c (do_test): Check ech signal indidually and
12478 also check realtime signals using standard macros.
12479 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
12480 __is_internal_signal, __libc_signal_block_all,
12481 __libc_signal_block_app, __libc_signal_restore_set): New functions.
12482 * sysdeps/nptl/sigfillset.c: Remove file.
12483 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
12484 Change return to bool.
12485 (__clear_internal_signals): Remove SIGTIMER clean since it is
12486 equal to SIGCANEL on Linux.
12487 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
12488 signal set was constructed using standard functions.
12489
12490 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
12491
12492 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
12493 ifname is too long.
12494 * hurd/hurdsig.c (interrupted_reply_port_location): Use
12495 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
12496 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
12497 hidden def.
12498 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
12499 * signal/sigaddset.c: Include <sigsetopts.h>.
12500 * signal/sigdelset.c: Likewise.
12501
12502 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12503
12504 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
12505 (__cos): Likewise.
12506 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
12507 logic as sin and cos.
12508
12509 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12510
12511 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
12512 inputs. Return correct sign.
12513 (do_sincos): Remove small input check before do_sin, let do_sin set
12514 the sign.
12515 (__sin): Likewise.
12516 (__cos): Likewise.
12517
12518 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12519
12520 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
12521 (do_cos_slow): Likewise.
12522 (do_sin_slow): Likewise.
12523 (reduce_and_compute): Likewise.
12524 (slow): Likewise.
12525 (slow1): Likewise.
12526 (slow2): Likewise.
12527 (sloww): Likewise.
12528 (sloww1): Likewise.
12529 (sloww2): Likewise.
12530 (bslow): Likewise.
12531 (bslow1): Likewise.
12532 (bslow2): Likewise.
12533 (cslow2): Likewise.
12534
12535 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12536
12537 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
12538 (do_cos): Remove corp parameter and calculations.
12539 (do_sin): Likewise.
12540 (do_sincos): Remove cor variable.
12541 (__sin): Use do_sincos for huge inputs.
12542 (__cos): Likewise.
12543 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12544 (reduce_and_compute_sincos): Remove unused function.
12545
12546 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12547
12548 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
12549 reduce_sincos, improve accuracy to 136 bits.
12550 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
12551 (__sin): Use improved reduction and simplified do_sincos calculation.
12552 (__cos): Likewise.
12553 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12554
12555 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12556
12557 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
12558 (do_sincos_2): Likewise.
12559 (__sin): Remove middle range reduction case.
12560 (__cos): Likewise.
12561 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
12562 reduction case.
12563
12564 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12565
12566 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
12567 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
12568 inputs.
12569 (__cos): Likewise.
12570 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
12571
12572 2018-04-03 Joseph Myers <joseph@codesourcery.com>
12573
12574 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12575 version to 4.16
12576
12577 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12578
12579 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
12580 Remove definitions.
12581 (opendir_oflags): Use O_DIRECTORY regardless.
12582 (__opendir, __opendirat): Remove need_isdir_precheck usage.
12583 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
12584
12585 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12586
12587 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
12588 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
12589 macros.
12590 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
12591 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
12592 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
12593 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
12594 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
12595 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
12596
12597 * htl/Makefile: Bump licence to LGPL 2.1+.
12598 * htl/alloca_cutoff.c: Likewise.
12599 * htl/cthreads-compat.c: Likewise.
12600 * htl/lockfile.c: Likewise.
12601 * htl/pt-alloc.c: Likewise.
12602 * htl/pt-cancel.c: Likewise.
12603 * htl/pt-cleanup.c: Likewise.
12604 * htl/pt-create.c: Likewise.
12605 * htl/pt-dealloc.c: Likewise.
12606 * htl/pt-detach.c: Likewise.
12607 * htl/pt-exit.c: Likewise.
12608 * htl/pt-getattr.c: Likewise.
12609 * htl/pt-initialize.c: Likewise.
12610 * htl/pt-internal.h: Likewise.
12611 * htl/pt-join.c: Likewise.
12612 * htl/pt-self.c: Likewise.
12613 * htl/pt-setcancelstate.c: Likewise.
12614 * htl/pt-setcanceltype.c: Likewise.
12615 * htl/pt-sigmask.c: Likewise.
12616 * htl/pt-spin-inlines.c: Likewise.
12617 * htl/pt-testcancel.c: Likewise.
12618 * htl/pt-yield.c: Likewise.
12619 * htl/tests/test-1.c: Likewise.
12620 * htl/tests/test-10.c: Likewise.
12621 * htl/tests/test-11.c: Likewise.
12622 * htl/tests/test-12.c: Likewise.
12623 * htl/tests/test-13.c: Likewise.
12624 * htl/tests/test-14.c: Likewise.
12625 * htl/tests/test-15.c: Likewise.
12626 * htl/tests/test-16.c: Likewise.
12627 * htl/tests/test-17.c: Likewise.
12628 * htl/tests/test-2.c: Likewise.
12629 * htl/tests/test-3.c: Likewise.
12630 * htl/tests/test-4.c: Likewise.
12631 * htl/tests/test-5.c: Likewise.
12632 * htl/tests/test-6.c: Likewise.
12633 * htl/tests/test-7.c: Likewise.
12634 * htl/tests/test-8.c: Likewise.
12635 * htl/tests/test-9.c: Likewise.
12636 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
12637 * sysdeps/htl/bits/cancelation.h: Likewise.
12638 * sysdeps/htl/bits/pthread-np.h: Likewise.
12639 * sysdeps/htl/bits/pthread.h: Likewise.
12640 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
12641 * sysdeps/htl/bits/semaphore.h: Likewise.
12642 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
12643 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
12644 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
12645 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
12646 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
12647 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
12648 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
12649 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
12650 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
12651 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
12652 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
12653 * sysdeps/htl/old_pt-atfork.c: Likewise.
12654 * sysdeps/htl/pt-atfork.c: Likewise.
12655 * sysdeps/htl/pt-attr-destroy.c: Likewise.
12656 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
12657 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
12658 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
12659 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
12660 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
12661 * sysdeps/htl/pt-attr-getscope.c: Likewise.
12662 * sysdeps/htl/pt-attr-getstack.c: Likewise.
12663 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
12664 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
12665 * sysdeps/htl/pt-attr-init.c: Likewise.
12666 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
12667 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
12668 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
12669 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
12670 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
12671 * sysdeps/htl/pt-attr-setscope.c: Likewise.
12672 * sysdeps/htl/pt-attr-setstack.c: Likewise.
12673 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
12674 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
12675 * sysdeps/htl/pt-attr.c: Likewise.
12676 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
12677 * sysdeps/htl/pt-barrier-init.c: Likewise.
12678 * sysdeps/htl/pt-barrier-wait.c: Likewise.
12679 * sysdeps/htl/pt-barrier.c: Likewise.
12680 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
12681 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
12682 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
12683 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
12684 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
12685 * sysdeps/htl/pt-cond-destroy.c: Likewise.
12686 * sysdeps/htl/pt-cond-init.c: Likewise.
12687 * sysdeps/htl/pt-cond-signal.c: Likewise.
12688 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
12689 * sysdeps/htl/pt-cond-wait.c: Likewise.
12690 * sysdeps/htl/pt-cond.c: Likewise.
12691 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
12692 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
12693 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
12694 * sysdeps/htl/pt-condattr-init.c: Likewise.
12695 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
12696 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
12697 * sysdeps/htl/pt-destroy-specific.c: Likewise.
12698 * sysdeps/htl/pt-equal.c: Likewise.
12699 * sysdeps/htl/pt-getconcurrency.c: Likewise.
12700 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
12701 * sysdeps/htl/pt-getschedparam.c: Likewise.
12702 * sysdeps/htl/pt-getspecific.c: Likewise.
12703 * sysdeps/htl/pt-init-specific.c: Likewise.
12704 * sysdeps/htl/pt-key-create.c: Likewise.
12705 * sysdeps/htl/pt-key-delete.c: Likewise.
12706 * sysdeps/htl/pt-key.h: Likewise.
12707 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
12708 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
12709 * sysdeps/htl/pt-mutex-init.c: Likewise.
12710 * sysdeps/htl/pt-mutex-lock.c: Likewise.
12711 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
12712 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
12713 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
12714 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
12715 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
12716 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
12717 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
12718 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
12719 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
12720 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
12721 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
12722 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
12723 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
12724 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
12725 * sysdeps/htl/pt-mutexattr.c: Likewise.
12726 * sysdeps/htl/pt-once.c: Likewise.
12727 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
12728 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
12729 * sysdeps/htl/pt-rwlock-init.c: Likewise.
12730 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
12731 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
12732 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
12733 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
12734 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
12735 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
12736 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
12737 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
12738 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
12739 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
12740 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
12741 * sysdeps/htl/pt-setconcurrency.c: Likewise.
12742 * sysdeps/htl/pt-setschedparam.c: Likewise.
12743 * sysdeps/htl/pt-setschedprio.c: Likewise.
12744 * sysdeps/htl/pt-setspecific.c: Likewise.
12745 * sysdeps/htl/pt-spin.c: Likewise.
12746 * sysdeps/htl/pt-startup.c: Likewise.
12747 * sysdeps/htl/pthread.h: Likewise.
12748 * sysdeps/htl/sem-close.c: Likewise.
12749 * sysdeps/htl/sem-destroy.c: Likewise.
12750 * sysdeps/htl/sem-getvalue.c: Likewise.
12751 * sysdeps/htl/sem-init.c: Likewise.
12752 * sysdeps/htl/sem-open.c: Likewise.
12753 * sysdeps/htl/sem-post.c: Likewise.
12754 * sysdeps/htl/sem-timedwait.c: Likewise.
12755 * sysdeps/htl/sem-trywait.c: Likewise.
12756 * sysdeps/htl/sem-unlink.c: Likewise.
12757 * sysdeps/htl/sem-wait.c: Likewise.
12758 * sysdeps/hurd/htl/pt-kill.c: Likewise.
12759 * sysdeps/i386/htl/pt-machdep.h: Likewise.
12760 * sysdeps/mach/htl/pt-block.c: Likewise.
12761 * sysdeps/mach/htl/pt-spin.c: Likewise.
12762 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
12763 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
12764 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
12765 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
12766 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
12767 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
12768 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
12769 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
12770 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
12771 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
12772 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
12773 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
12774 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
12775 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
12776 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
12777 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
12778 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
12779 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
12780 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
12781 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
12782 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
12783 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
12784 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
12785 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
12786 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
12787 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
12788 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
12789 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
12790 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
12791 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
12792 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
12793 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
12794 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
12795 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
12796 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
12797 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
12798 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
12799 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
12800 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
12801 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
12802 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
12803 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
12804 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
12805
12806 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
12807 * README: Remove the mention of out-of-tree patches needed for
12808 GNU/Hurd.
12809
12810 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
12811 (UTIME_NOW, UTIME_OMIT): Define macros.
12812
12813 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
12814 instead of pthread_detach.
12815 (__cthread_fork): Call __pthread_create instead of pthread_create.
12816 (__cthread_keycreate): Call __pthread_key_create instead of
12817 pthread_key_create.
12818 (__cthread_getspecific): Call __pthread_getspecific instead of
12819 pthread_getspecific.
12820 (__cthread_setspecific): Call __pthread_setspecific instead of
12821 pthread_setspecific.
12822 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
12823 __pthread_mutex_unlock instead of pthread_mutex_lock and
12824 pthread_mutex_unlock.
12825 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
12826 ___pthread_get_cleanup_stack.
12827 (__pthread_get_cleanup_stack): New strong alias.
12828 * htl/pt-create.c: Include <pthreadP.h>.
12829 (entry_point): Call __pthread_exit instead of pthread_exit.
12830 (pthread_create): Rename to __pthread_create.
12831 (pthread_create): New strong alias.
12832 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
12833 (pthread_detach): New strong alias.
12834 (__pthread_detach): Call __pthread_cond_broadcast instead of
12835 pthread_cond_broadcast.
12836 * htl/pt-exit.c: Include <pthreadP.h>.
12837 (__pthread_exit): Call __pthread_setcancelstate and
12838 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
12839 __pthread_get_cleanup_stack.
12840 * htl/pt-testcancel.c: Include <pthreadP.h>.
12841 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
12842 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
12843 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
12844 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
12845 pthread_attr_getstacksize.
12846 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
12847 Rename to __pthread_attr_getstackaddr.
12848 (pthread_attr_getstackaddr): New strong alias.
12849 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
12850 Rename to __pthread_attr_getstacksize.
12851 (pthread_attr_getstacksize): New strong alias.
12852 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
12853 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
12854 (pthread_attr_setstack): New strong alias.
12855 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
12856 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
12857 pthread_attr_getstacksize, pthread_attr_setstacksize and
12858 pthread_attr_setstackaddr.
12859 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
12860 Rename to __pthread_attr_setstackaddr.
12861 (pthread_attr_setstackaddr): New strong alias.
12862 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
12863 Rename to __pthread_attr_setstacksize.
12864 (pthread_attr_setstacksize): New strong alias.
12865 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
12866 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
12867 pthread_exit.
12868 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
12869 (__pthread_key_create): New hidden def.
12870 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
12871 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
12872 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
12873 __pthread_exit, __pthread_key_create, __pthread_getspecific,
12874 __pthread_setspecific, __pthread_setcancelstate,
12875 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
12876 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
12877 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
12878 declarations.
12879 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
12880 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
12881 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
12882 (pthread_attr_setstackaddr): New strong alias.
12883 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
12884 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
12885 (pthread_attr_setstacksize): New strong alias.
12886 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
12887 (call_exit): Call __pthread_exit instead of pthread_exit.
12888 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
12889 (_pthread_mutex_init): New hidden definition.
12890 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
12891 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
12892 instead of pthread_attr_init and pthread_attr_setstack.
12893
12894 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
12895 __vm_deallocate instead of vm_allocate and vm_deallocate.
12896 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
12897 setenv.
12898 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
12899 of geteuid.
12900 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
12901 strdup.
12902 * hurd/siginfo.c: Include <libioP.h>.
12903 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
12904 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
12905 munmap.
12906 * mach/devstream.c: Include <libioP.h>.
12907 (dealloc_ref): Call __mach_port_deallocate instead of
12908 mach_port_deallocate.
12909 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
12910 Call __mach_port_deallocate instead of mach_port_deallocate.
12911 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
12912 pathconf.
12913 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
12914 munmap.
12915 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
12916 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
12917 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
12918 of munmap.
12919 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
12920 of close.
12921 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
12922 instead of sysconf.
12923 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
12924 __clock_gettime instead of clock_gettime.
12925 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
12926 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12927 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
12928 * sysdeps/unix/bsd/stty.c (stty): Likewise.
12929 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
12930 tcgetattr.
12931 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
12932 __clock_gettime and __nanosleep instead of clock_gettime and
12933 nanosleep.
12934 * hurd/catch-signal.c (hurd_catch_signal): Rename to
12935 __hurd_catch_signal.
12936 (hurd_catch_signal): New strong alias.
12937 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
12938 __hurd_catch_signal instead of hurd_catch_signal.
12939 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
12940 * hurd/hurdexec.c (_hurd_init): Add hidden def.
12941 * hurd/hurdinit.c (_hurd_init): Add hidden def.
12942 * hurd/hurdsig.c: Include <mach/mig_support.h>.
12943 (_hurd_thread_sigstate): Add hidden def.
12944 (_hurd_internal_post_signal): Use __mutex_unlock instead of
12945 mutex_unlock.
12946 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
12947 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
12948 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
12949 __hurd_file_name_path_lookup.
12950 (hurd_file_name_path_lookup): New strong alias.
12951 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
12952 hurd_file_name_path_lookup.
12953 * mach/errstring.c (mach_error_type): Add hidden def.
12954 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
12955 * mach/mutex-init.c (__mutex_init): Add hidden def.
12956 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
12957 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
12958 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
12959 * sysdeps/mach/hurd/getcwd.c
12960 (_hurd_canonicalize_directory_name_internal): Rename to
12961 __hurd_canonicalize_directory_name_internal.
12962 (_hurd_canonicalize_directory_name_internal): New strong alias.
12963 (__canonicalize_directory_name_internal, __getcwd): Call
12964 __hurd_canonicalize_directory_name_internal instead of
12965 _hurd_canonicalize_directory_name_internal.
12966 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
12967 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
12968 hidden defs.
12969 * sysdeps/hurd/include/hurd.h: New file.
12970 * sysdeps/hurd/include/hurd/fd.h: New file.
12971 * sysdeps/hurd/include/hurd/signal.h: New file.
12972 * sysdeps/mach/include/lock-intern.h: New file.
12973 * sysdeps/mach/include/mach.h: New file.
12974 * sysdeps/mach/include/mach/mig_support.h: New file.
12975 * sysdeps/mach/include/mach_error.h: New file.
12976 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
12977 prototype.
12978 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
12979 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
12980 _HEADER_H_HIDDEN_DEF macro.
12981 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
12982 _hurd_fd_error_signal): Add hidden prototype.
12983 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
12984 hidden def.
12985 * libio/iolibio.h (_IO_puts): New hidden prototype.
12986 * libio/ioputs.c (_IO_puts): New hidden def.
12987 * sysdeps/mach/hurd/localplt.data: New file.
12988
12989 2018-04-02 Agustina Arzille <avarzille@riseup.net>
12990 Amos Jeffries <squid3@treenet.co.nz>
12991 David Michael <fedora.dm0@gmail.com>
12992 Marco Gerards <marco@gnu.org>
12993 Marcus Brinkmann <marcus@gnu.org>
12994 Neal H. Walfield <neal@gnu.org>
12995 Pino Toscano <toscano.pino@tiscali.it>
12996 Richard Braun <rbraun@sceen.net>
12997 Roland McGrath <roland@gnu.org>
12998 Samuel Thibault <samuel.thibault@ens-lyon.org>
12999 Thomas DiModica <ricinwich@yahoo.com>
13000 Thomas Schwinge <tschwinge@gnu.org>
13001
13002 * htl: New directory.
13003 * sysdeps/htl: New directory.
13004 * sysdeps/hurd/htl: New directory.
13005 * sysdeps/i386/htl: New directory.
13006 * sysdeps/mach/htl: New directory.
13007 * sysdeps/mach/hurd/htl: New directory.
13008 * sysdeps/mach/hurd/i386/htl: New directory.
13009 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
13010 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
13011 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
13012
13013 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13014
13015 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
13016 signals in thread created for runing timers.
13017
13018 2018-04-01 Florian Weimer <fweimer@redhat.com>
13019
13020 * support/support_format_addrinfo.c (support_format_addrinfo):
13021 Include unknown error number in formatted result.
13022
13023 2018-03-29 Florian Weimer <fweimer@redhat.com>
13024
13025 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
13026 capture SIGBUS.
13027
13028 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13029
13030 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
13031 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
13032 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13033 (__ASSUME_CLONE_BACKWARDS): Define.
13034
13035 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
13036
13037 [BZ #23024]
13038 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
13039 early when linux sentinel value is set.
13040
13041 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13042
13043 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
13044
13045 2018-03-27 Andreas Schwab <schwab@suse.de>
13046
13047 [BZ #23005]
13048 * resolv/res_send.c (__res_context_send): Return ENOMEM if
13049 allocation of private copy of nsaddr_list fails.
13050
13051 2018-03-26 Joseph Myers <joseph@codesourcery.com>
13052
13053 [BZ #16552]
13054 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
13055 * sysdeps/unix/sysv/linux/umount.c: ... here.
13056 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
13057 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
13058 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
13059 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
13060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
13061 * sysdeps/unix/sysv/linux/umount.S: Likewise.
13062 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
13063
13064 2018-03-26 Andreas Schwab <schwab@suse.de>
13065
13066 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
13067 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
13068 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
13069 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
13070 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
13071 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
13072 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
13073 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
13074 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
13075 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
13076 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
13077 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
13078 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
13079 (R_RISCV_NUM): Define.
13080
13081 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
13082
13083 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
13084 TLS declaration of errno.
13085 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
13086 __libc_setup_tls.
13087 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
13088 (ARCH_SETUP_TLS): Likewise.
13089 * sysdeps/mach/hurd/libc-start.h: New file copied from
13090 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
13091 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
13092 instead of __libc_setup_tls.
13093 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
13094 __libc_setup_tls before initializing libpthread and running _hurd_init
13095 which starts the signal thread.
13096 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
13097 Declare function.
13098 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13099
13100 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
13101
13102 [BZ #22998]
13103 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
13104 after it is defined.
13105
13106 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
13107 Max Horn <max@quendi.de>
13108
13109 [BZ #22644]
13110 CVE-2017-18269
13111 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
13112 branch conditions.
13113 * string/test-memmove.c (do_test2): New testcase.
13114
13115 2018-03-22 Joseph Myers <joseph@codesourcery.com>
13116
13117 * sysdeps/generic/frame.h: Remove file.
13118 * sysdeps/arm/frame.h: Likewise.
13119 * sysdeps/hppa/frame.h: Likewise.
13120 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
13121 macro.
13122 (GET_FRAME): Likewise.
13123 (GET_STACK): Likewise.
13124 (CALL_SIGHANDLER): Likewise.
13125 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
13126 Likewise.
13127 (GET_FRAME): Likewise.
13128 (GET_STACK): Likewise.
13129 (CALL_SIGHANDLER): Likewise.
13130 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
13131 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13132 (GET_FRAME): Likewise.
13133 (GET_STACK): Likewise.
13134 (CALL_SIGHANDLER): Likewise.
13135 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
13136 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13137 (GET_FRAME): Likewise.
13138 (GET_STACK): Likewise.
13139 (ADVANCE_STACK_FRAME): Likewise.
13140 (CALL_SIGHANDLER): Likewise.
13141 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
13142 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13143 (GET_FRAME): Likewise.
13144 (GET_STACK): Likewise.
13145 (CALL_SIGHANDLER): Likewise.
13146 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
13147 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13148 (GET_FRAME): Likewise.
13149 (GET_STACK): Likewise.
13150 (CALL_SIGHANDLER): Likewise.
13151 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
13152 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13153 (GET_FRAME): Likewise.
13154 (GET_STACK): Likewise.
13155 (CALL_SIGHANDLER): Likewise.
13156 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
13157 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13158 (GET_FRAME): Likewise.
13159 (GET_STACK): Likewise.
13160 (CALL_SIGHANDLER): Likewise.
13161 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
13162 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13163 (GET_FRAME): Likewise.
13164 (GET_STACK): Likewise.
13165 (CALL_SIGHANDLER): Likewise.
13166 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
13167 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13168 (GET_FRAME): Likewise.
13169 (GET_STACK): Likewise.
13170 (CALL_SIGHANDLER): Likewise.
13171 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
13172 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13173 (GET_FRAME): Likewise.
13174 (GET_STACK): Likewise.
13175 (CALL_SIGHANDLER): Likewise.
13176 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
13177 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13178 (GET_FRAME): Likewise.
13179 (GET_STACK): Likewise.
13180 (CALL_SIGHANDLER): Likewise.
13181 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
13182 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13183 (GET_FRAME): Likewise.
13184 (GET_STACK): Likewise.
13185 (CALL_SIGHANDLER): Likewise.
13186 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
13187 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13188 (FIRST_FRAME_POINTER): Likewise.
13189 (ADVANCE_STACK_FRAME): Likewise.
13190 (GET_STACK): Likewise.
13191 (GET_FRAME): Likewise.
13192 (CALL_SIGHANDLER): Likewise.
13193 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
13194 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13195 (ADVANCE_STACK_FRAME): Likewise.
13196 (GET_STACK): Likewise.
13197 (GET_FRAME): Likewise.
13198 (CALL_SIGHANDLER): Likewise.
13199 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
13200 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13201 (GET_FRAME): Likewise.
13202 (GET_STACK): Likewise.
13203 (CALL_SIGHANDLER): Likewise.
13204 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
13205 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13206 (GET_FRAME): Likewise.
13207 (GET_STACK): Likewise.
13208 (CALL_SIGHANDLER): Likewise.
13209
13210 2018-03-21 Joseph Myers <joseph@codesourcery.com>
13211
13212 * sysdeps/x86_64/backtrace.c: Move to ....
13213 * debug/backtrace.c: ... here.
13214 * sysdeps/aarch64/backtrace.c: Remove file.
13215 * sysdeps/alpha/backtrace.c: Likewise.
13216 * sysdeps/hppa/backtrace.c: Likewise.
13217 * sysdeps/ia64/backtrace.c: Likewise.
13218 * sysdeps/mips/backtrace.c: Likewise.
13219 * sysdeps/nios2/backtrace.c: Likewise.
13220 * sysdeps/riscv/backtrace.c: Likewise.
13221 * sysdeps/sh/backtrace.c: Likewise.
13222 * sysdeps/tile/backtrace.c: Likewise.
13223
13224 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13225
13226 [BZ #22987]
13227 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
13228 function.
13229 (fdimf): Likewise.
13230 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
13231
13232 [BZ #17343]
13233 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
13234 possibly overflowing computations.
13235
13236 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
13237
13238 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
13239 values from Linux-specific section now that it is in the GNU section.
13240 * sysdeps/gnu/errlist.c: Regenerate.
13241
13242 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13243
13244 * math/Makefile (libm-narrow-fns): Add sub.
13245 (libm-test-funcs-narrow): Likewise.
13246 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
13247 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
13248 * math/gen-auto-libm-tests.c (test_functions): Add sub.
13249 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
13250 (NARROW_SUB_ROUND_TO_ODD): Likewise.
13251 (NARROW_SUB_TRIVIAL): Likewise.
13252 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
13253 macro.
13254 (__dsubl): Likewise.
13255 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
13256 dsub.
13257 (CFLAGS-nldbl-dsub.c): New variable.
13258 (CFLAGS-nldbl-fsub.c): Likewise.
13259 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13260 __nldbl_dsubl.
13261 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
13262 prototype.
13263 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
13264 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
13265 * math/auto-libm-test-in: Add tests of sub.
13266 * math/auto-libm-test-out-narrow-sub: New generated file.
13267 * math/libm-test-narrow-sub.inc: New file.
13268 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13269 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
13270 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
13271 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
13272 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
13273 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
13274 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
13275 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
13276 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
13277 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
13278 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
13279 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
13280 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
13281 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
13282 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
13283 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
13284 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
13285 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
13286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13287 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13288 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13289 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13290 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13291 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13292 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13293 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13294 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13295 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13296 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13297 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13298 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13299 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13304 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13305 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13306 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13307 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13308 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13309 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13310 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
13311 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
13312 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13313 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13314
13315 2018-03-19 Joseph Myers <joseph@codesourcery.com>
13316
13317 [BZ #20079]
13318 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
13319
13320 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
13321
13322 * benchtests/bench-timing.h (attribute_hidden): Undefine.
13323
13324 2018-03-18 Richard Braun <rbraun@sceen.net>
13325
13326 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
13327 thread reference.
13328
13329 2018-03-18 Agustina Arzille <avarzille@riseup.net>
13330
13331 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
13332 (__libc_cleanup_fct): Define function.
13333 (__libc_cleanup_region_start, __libc_cleanup_region_end,
13334 __libc_cleanup_end): Rewrite implementation using
13335 __attribute__ ((__cleanup__)).
13336 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
13337 * hurd/Makefile (routines): Add hurdlock.
13338 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
13339 interface.
13340 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
13341 * hurd/hurdpid.c: Include <lowlevellock.h>
13342 (_S_msg_proc_newids): Use lll_wait to synchronize.
13343 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
13344 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
13345 * mach/Makefile (lock-headers): Remove machine-lock.h.
13346 * mach/lock-intern.h: Include <lowlevellock.h> instead of
13347 <machine-lock.h>.
13348 (__spin_lock_t): New type.
13349 (__SPIN_LOCK_INITIALIZER): New macro.
13350 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
13351 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
13352 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
13353 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
13354 (__mutex_init): Initialize with lll.
13355 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
13356 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
13357 needing lll.
13358 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13359 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
13360 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
13361 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
13362 (__setpgid): Use lll for synchronization.
13363 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
13364 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
13365 instead of <cthreads.h>.
13366 (_IO_lock_inexpensive): New macro
13367 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
13368 (__libc_lock_self0): New declaration.
13369 (__libc_lock_owner_self): New macro.
13370 (__libc_key_t): Remove type.
13371 (_LIBC_LOCK_INITIALIZER): New macro.
13372 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
13373 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
13374 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
13375 __libc_lock_define_initialized_recursive,
13376 __rtld_lock_define_initialized_recursive,
13377 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
13378 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
13379 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
13380 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
13381 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
13382 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
13383 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
13384 New macros.
13385 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
13386 * hurd/hurdlock.c: New file.
13387 * hurd/hurdlock.h: New file.
13388 * mach/lowlevellock.h: New file
13389
13390 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13391
13392 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
13393 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
13394 when opening a symlink with O_NOFOLLOW.
13395 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
13396 path when flags contains O_NOFOLLOW.
13397 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
13398 if flags contains O_DIRECTORY and the result is a directory.
13399 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
13400 oneself when the pointer given in D is nul (as set by ext2fs).
13401 * sysdeps/mach/hurd/mlockall.c: New file.
13402 * sysdeps/mach/hurd/munlockall.c: New file.
13403
13404 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
13405
13406 * hurd/hurdsig.c: Include <pthread.h>.
13407 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
13408 get the signal thread stack layout.
13409 * hurd/Makefile (headers): Remove threadvar.h.
13410 (inline-headers): Remove threadvar.h.
13411 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
13412 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
13413 __hurd_threadvar_max, __hurd_errno_location.
13414 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
13415 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
13416 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
13417 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
13418 unless TLS is not initialized yet, in which case we do not need a
13419 critical section yet anyway.
13420 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
13421 <machine-sp.h>.
13422 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
13423 declarations.
13424 (__hurd_threadvar_index): Remove enum.
13425 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
13426 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
13427 inlines.
13428 (__hurd_reply_port0): New variable declaration.
13429 (__hurd_local_reply_port): New macro.
13430 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
13431 (interrupted_reply_port_location): Add thread_t parameter. Use it
13432 with THREAD_TCB to access thread-local variables.
13433 (_hurdsig_abort_rpcs): Pass ss->thread to
13434 interrupted_reply_port_location.
13435 (_hurd_internal_post_signal): Likewise.
13436 (_hurdsig_init): Use presence of cthread_fork instead of
13437 __hurd_threadvar_stack_mask to start signal thread by hand.
13438 Remove signal thread threadvar initialization.
13439 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
13440 * hurd/sigunwind.c: Include <hurd/threadvar.h>
13441 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
13442 of threadvar.
13443 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
13444 __libc_lock_self0.
13445 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
13446 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
13447 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
13448 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
13449 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
13450 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
13451 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
13452 define variables.
13453 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
13454 <hurd/threadvar.h>.
13455 [IS_IN(rtld)] (rtld_errno): New variable.
13456 [IS_IN(rtld)] (__errno_location): New weak function.
13457 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
13458 * sysdeps/mach/hurd/errno.c: Remove file.
13459 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
13460 (__fork): Remove THREADVAR_SPACE macro and its use.
13461 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
13462 variable.
13463 (init): Do not initialize threadvar.
13464 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
13465 symbol.
13466 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
13467 __hurd_local_reply_port instead of threadvar.
13468 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
13469 _hurd_sigstate fields.
13470 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
13471 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
13472 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
13473 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
13474 instead of threadvar.
13475 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
13476 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
13477 (use_threadvar, global_reply_port): Remove variables.
13478 (__hurd_reply_port0): New variable.
13479 (__mig_get_reply_port): Use __hurd_local_reply_port and
13480 __hurd_reply_port0 instead of threadvar.
13481 (__mig_dealloc_reply_port): Likewise.
13482 (__mig_init): Do not initialize threadvar.
13483 * sysdeps/mach/hurd/profil.c: Fix comment.
13484 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
13485 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
13486 cthread_keycreate, cthread_getspecific, cthread_setspecific to
13487 __cthread_fork, __cthread_detach, __pthread_getattr_np,
13488 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
13489 __cthread_setspecific.
13490 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
13491 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
13492 __cthread_t instead of cthread_fork, cthread_detach,
13493 pthread_getattr_np, pthread_attr_getstack.
13494 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
13495 __cthread_keycreate.
13496 (cthread_getspecific): Rename to __cthread_getspecific.
13497 (cthread_setspecific): Rename to __cthread_setspecific.
13498 (__libc_getspecific): Use __cthread_getspecific instead of
13499 cthread_getspecific.
13500 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
13501 __cthread_keycreate instead of cthread_keycreate.
13502 (__libc_setspecific): Use __cthread_setspecific instead of
13503 cthread_setspecific.
13504 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
13505 Likewise.
13506 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
13507 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
13508 testing whether it is defined.
13509
13510 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13511
13512 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
13513 Define macro.
13514 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
13515 * sysdeps/mach/i386/thread_state.h
13516 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
13517 i386_THREAD_STATE.
13518 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
13519 i386_THREAD_STATE.
13520 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
13521
13522 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
13523 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
13524
13525 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
13526 macros.
13527 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
13528 descriptor instead of creating a new one.
13529 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
13530
13531 * mach/setup-thread.c: Include <ldsodefs.h>.
13532 (__mach_setup_thread): Call _dl_allocate_tls, pass
13533 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
13534 MACHINE_THREAD_STATE_FLAVOR, before getting
13535 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
13536 MACHINE_THREAD_STATE_FLAVOR with the result.
13537 * hurd/hurdfault.c (_hurdsig_fault_init): Call
13538 MACHINE_THREAD_STATE_FIX_NEW.
13539 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
13540 too. Add original thread parameter.
13541
13542 2018-03-16 Joseph Myers <joseph@codesourcery.com>
13543
13544 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
13545 Remove inline function.
13546
13547 * sysdeps/i386/fpu/libm-test-ulps: Update.
13548 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
13549
13550 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
13551
13552 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
13553 commit.
13554
13555 2018-03-15 Joseph Myers <joseph@codesourcery.com>
13556
13557 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
13558 (__sincos_code): Remove define and undefine.
13559 [__FAST_MATH__] (__sincos): Remove inline function.
13560 [__FAST_MATH__] (__sincosf): Remove inline function.
13561 [__FAST_MATH__] (__sincosl): Remove inline function.
13562 (__atan2l): Remove inline functions.
13563 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
13564 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
13565 function.
13566 (floor): Remove inline function.
13567 (ceil): Likewise.
13568 [__FAST_MATH__] (__ldexp_code): Remove macro.
13569 [__FAST_MATH__] (ldexp): Remove inline function.
13570 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
13571 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
13572 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
13573 [__USE_ISOC99] (__lrint_code): Remove macro.
13574 [__USE_ISOC99] (__llrint_code): Likewise.
13575 [__USE_ISOC99] (lrintf): Remove inline function.
13576 [__USE_ISOC99] (lrint): Likewise.
13577 [__USE_ISOC99] (lrintl): Likewise.
13578 [__USE_ISOC99] (llrint): Likewise.
13579 [__USE_ISOC99] (llrintf): Likewise.
13580 [__USE_ISOC99] (llrintl): Likewise.
13581
13582 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13583
13584 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
13585 (__ieee754_sqrtf): Remove.
13586 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
13587 (__ieee754_sqrtf): Remove.
13588 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
13589 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13590 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
13591 (__ieee754_sqrtf): Remove.
13592 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
13593 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
13594 (sqrtf): Remove.
13595 (sqrtl): Remove.
13596 (__ieee754_sqrt): Remove.
13597 (__ieee754_sqrtf): Remove.
13598 (__ieee754_sqrtl): Remove.
13599 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13600 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
13601 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
13602 (__ieee754_sqrtf): Remove.
13603 (__ieee754_sqrtl): Remove.
13604
13605 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13606
13607 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
13608 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13609 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13610 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
13611 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
13612 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13613 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13614 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13615 Likewise.
13616 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
13617 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
13618 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
13619 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13620 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13621 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
13622 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
13623 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
13624 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13625 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13626 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
13627 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13628 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
13629 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
13630 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
13631 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13632 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13633 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13634 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
13635 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
13636 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13637 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13638 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
13639 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
13640 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
13641 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
13642 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13643 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13644 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
13645 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13646 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13647 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
13648 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13649 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
13650 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13651 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13652 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
13653 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
13654 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13655 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
13656
13657 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13658
13659 * include/math.h (sqrt): Declare with asm redirect.
13660 (sqrtf): Likewise.
13661 (sqrtl): Likewise.
13662 (sqrtf128): Likewise.
13663 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
13664 nonlib and libnldbl with -fmath-errno.
13665 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
13666 * math/w_sqrt_template.c: Likewise.
13667 * math/w_sqrtf_compat.c: Likewise.
13668 * math/w_sqrtl_compat.c: Likewise.
13669 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
13670 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
13671 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
13672 complex.h.
13673
13674 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13675
13676 * benchtests/Makefile: Define _ISOMAC.
13677 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
13678 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
13679 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
13680 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
13681 * benchtests/bench-timing.h: Define attribute_hidden.
13682
13683 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13684
13685 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
13686 mov + lsr.
13687
13688 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13689
13690 [BZ #22963]
13691 * localedata/locales/cs_CZ (mon): Rename to...
13692 (alt_mon): This.
13693 (mon): Import from CLDR (genitive case).
13694
13695 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13696
13697 [BZ #22937]
13698 * localedata/locales/el_CY (abmon): Rename to...
13699 (ab_alt_mon): This.
13700 (abmon): Import from CLDR (abbreviated genitive case).
13701 * localedata/locales/el_GR (abmon): Rename to...
13702 (ab_alt_mon): This.
13703 (abmon): Import from CLDR (abbreviated genitive case).
13704
13705 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13706
13707 [BZ #22932]
13708 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
13709
13710 2018-03-15 Robert Buj <robert.buj@gmail.com>
13711
13712 [BZ #22848]
13713 * localedata/locales/ca_ES (abmon): Rename to...
13714 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
13715 (mon): Rename to...
13716 (alt_mon): This.
13717 (abmon): Import from CLDR (genitive case, month names preceded by
13718 "de" or "d’").
13719 (mon): Likewise.
13720 (abday): Synchronize with CLDR.
13721 (d_t_fmt): Likewise.
13722 (d_fmt): Likewise.
13723 (am_pm): Likewise.
13724
13725 (LC_TIME): Improve indentation.
13726 (LC_TELEPHONE): Likewise.
13727 (LC_NAME): Likewise.
13728 (LC_ADDRESS): Likewise.
13729
13730 2018-03-14 Joseph Myers <joseph@codesourcery.com>
13731
13732 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
13733 (lrintf): Remove definitions used only with old GCC.
13734 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
13735 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
13736 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
13737 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
13738 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
13739 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
13740 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
13741 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
13742 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
13743 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
13744 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
13745 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
13746 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
13747 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
13748 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
13749 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
13750 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
13751 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
13752 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
13753 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
13754 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
13755 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
13756 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
13757 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
13758 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
13759 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
13760 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
13761 [__FAST_MATH__] (__M_SQRT2): Remove macro.
13762
13763 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
13764
13765 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
13766 instruction to unbreak builds with binutils 2.26 and older.
13767
13768 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
13769
13770 * sysdeps/aarch64/strncmp.S (count): New macro.
13771 (strncmp): Store misaligned length in SRC1 in COUNT.
13772 (mutual_align): Adjust.
13773 (misaligned8): Load dword at a time when it is safe.
13774
13775 2018-03-12 Zack Weinberg <zackw@panix.com>
13776
13777 [BZ #1190]
13778 [BZ #19476]
13779 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
13780 if the _IO_EOF_SEEN bit is already set; update commentary.
13781 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
13782 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
13783
13784 * support/support_openpty.c, support/tty.h: New files.
13785 * support/Makefile (libsupport-routines): Add support_openpty.
13786
13787 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
13788 New test cases.
13789 * libio/Makefile (tests): Add tst-fgetc-after-eof.
13790 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
13791
13792 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
13793
13794 * po/pt_BR.po: Update translations.
13795
13796 2018-03-12 David Michael <fedora.dm0@gmail.com>
13797
13798 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
13799 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
13800 get a port to the startup server.
13801
13802 2018-03-11 Zack Weinberg <zackw@panix.com>
13803
13804 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
13805 before nldbl-compat.h.
13806
13807 2018-03-10 Zack Weinberg <zackw@panix.com>
13808
13809 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
13810 math.h or math_private.h.
13811
13812 * sysdeps/alpha/fpu/s_isnan.c
13813 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
13814 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
13815 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
13816 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
13817 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
13818 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
13819 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
13820 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
13821 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
13822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
13823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
13824 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
13825 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
13826 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
13827 Include math_private.h.
13828
13829 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
13830 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
13831 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
13832 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
13833 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
13834 * sysdeps/powerpc/power7/fpu/s_logb.c:
13835 Include math.h and math_private.h.
13836
13837 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
13838 uses of $at in .set noat / .set at.
13839
13840 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
13841
13842 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
13843 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
13844 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
13845 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
13846 Likewise.
13847
13848 2018-03-09 Florian Weimer <fweimer@redhat.com>
13849
13850 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
13851 in comment.
13852
13853 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
13854
13855 [BZ #22919]
13856 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
13857 Add nop before __startcontext, add explaining comments.
13858
13859 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13860
13861 [BZ #22926]
13862 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
13863 empty for __SPE__.
13864 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
13865 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
13866 Do not build hardware transactional code for __SPE__.
13867 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13868 (__lll_trylock_elision): Likewise.
13869 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13870 (__lll_unlock_elision): Likewise.
13871
13872 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
13873 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
13874 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
13875 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
13876 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
13877 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
13878 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
13879 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
13880 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
13881 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
13882 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
13883 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
13884 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
13885 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
13886 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
13887 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
13888 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
13889 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
13890 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
13891 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
13892 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
13893 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13894 (__ASSUME_CLONE_BACKWARDS): Define.
13895 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
13896 __clone2 if __NR_clone2 is defined.
13897 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13898 (__ASSUME_CLONE_BACKWARDS): Likewise.
13899 * sysdeps/unix/sysv/linux/i386/kernel-features.h
13900 (__ASSUME_CLONE_BACKWARDS): Likewise.
13901 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13902 (__ASSUME_CLONE2): Likewise.
13903 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13904 (__ASSUME_CLONE_BACKWARDS3): Likewise.
13905 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
13906 variants and the define architecture can use.
13907 (__ASSUME_CLONE_DEFAULT): Define as default.
13908 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13909 (__ASSUME_CLONE_BACKWARDS): Likewise.
13910 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13911 (__ASSUME_CLONE_BACKWARDS): Likewise.
13912 * sysdeps/unix/sysv/linux/s390/kernel-features.h
13913 (__ASSUME_CLONE_BACKWARDS2): Likewise.
13914
13915 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
13916
13917 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
13918
13919 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
13920 time.
13921
13922 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
13923 (do_test_limit): Likewise.
13924
13925 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
13926 for every implementation.
13927 (do_test): Likewise.
13928
13929 * benchtests/bench-strncmp.c: Convert output to json.
13930
13931 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13932
13933 * io/futimens.c: Add missing start-of-file descriptive comment.
13934 * io/utime.c: Likewise.
13935 * misc/futimesat.c: Likewise.
13936 * misc/utimes.c: Likewise.
13937 * sysdeps/mach/hurd/futimesat.c: Likewise.
13938 * sysdeps/mach/hurd/utimes.c: Likewise.
13939 * sysdeps/posix/utime.c: Likewise.
13940 * sysdeps/posix/utimes.c: Likewise.
13941 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
13942 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13943 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
13944 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
13945
13946 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13947
13948 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
13949 hurd_futimes.
13950 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
13951 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
13952 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
13953 (__futimens): Move implementation to...
13954 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
13955 utime_tvalue_from_tspec): ... new helper functions.
13956 (hurd_futimens): New function.
13957 * sysdeps/mach/hurd/futimesat.c: New file.
13958 * sysdeps/mach/hurd/utimensat.c: New file.
13959
13960 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
13961
13962 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
13963 UTIME_OMIT): New macros.
13964 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
13965 before reverting to converting time spec to time value and calling
13966 __file_utimes.
13967 * sysdeps/mach/hurd/utime-helper.c: New file.
13968 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
13969 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
13970 reverting to utime_tvalue_from_tval and __file_utimes.
13971 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
13972 (__lutimes): Just call hurd_futimens after lookup.
13973 * sysdeps/mach/hurd/utimes.c: Likewise.
13974
13975 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13976
13977 * bits/sigaction.h: Add include guard.
13978 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
13979 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
13980 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
13981 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
13982 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
13983 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
13984 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
13985 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
13986 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
13987
13988 2018-03-05 Joseph Myers <joseph@codesourcery.com>
13989
13990 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
13991 -Wmaybe-uninitialized for -Os.
13992 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
13993 this disabling.
13994
13995 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13996
13997 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
13998 __INO_T_MATCHES_INO64_T is defined.
13999 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
14000 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
14001 of definition.
14002 * dirent/alphasort64.c: Likewise.
14003 * dirent/scandir.c: Likewise.
14004 * dirent/scandir64-tail.c: Likewise.
14005 * dirent/scandir64.c: Likewise.
14006 * dirent/scandirat.c: Likewise.
14007 * dirent/scandirat64.c: Likewise.
14008 * dirent/versionsort.c: Likewise.
14009 * dirent/versionsort64.c: Likewise.
14010 * include/dirent.h: Likewise.
14011
14012 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
14013 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
14014 for socketpair endpoint.
14015 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
14016 WRITE_BUFFER_SIZE as buffer size for sending socket.
14017 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
14018 issue on system where send is implemented with sendto syscall.
14019 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
14020 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
14021 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
14022 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
14023
14024 [BZ #21269]
14025 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
14026 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
14027 sa_restorer for vDSO case.
14028 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
14029
14030 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14031
14032 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
14033 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
14034 * hurd/hurd/ioctl.h: Include <mach/port.h>
14035 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
14036 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
14037 <mach/mach_types.h> and <mach/message.h>.
14038 (headers): Move mach/param.h to bits/mach/param.h.
14039 * sysdeps/mach/i386/mach/param.h: Move file to ...
14040 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
14041 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
14042 of <mach/param.h>.
14043 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
14044 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
14045 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
14046 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
14047 trivial, for C++ conformity.
14048 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
14049 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
14050 Process mig output through $(migheadersed).
14051 * hurd/Makefile (migheadersed): Define variable.
14052 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
14053 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
14054 headers.
14055 * hurd/hurd.h: Include <bits/types/sigset_t.h>
14056 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
14057 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
14058 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
14059 <bits/types/sigset_t.h>.
14060 [!defined __USE_GNU]: Do not #error out.
14061 (struct hurd_sigstate): Use _NSIG instead of NSIG.
14062 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
14063 Include <stddef.h> and <bits/types/sigset_t.h>
14064 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
14065 instead of sighandler_t.
14066 * stdlib/errno.h (error_t): Move definition to...
14067 * bits/types/error_t.h: ... new header.
14068 * stdlib/Makefile (headers): Add bits/types/error_t.h.
14069 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
14070 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
14071 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
14072 * hurd/hurd.h: Include <bits/types/error_t.h>
14073 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
14074 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
14075 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
14076 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
14077 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
14078 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
14079 * sysdeps/mach/hurd/futimens.c: New file.
14080
14081 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
14082
14083 [BZ #22918]
14084 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
14085 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
14086 * nscd/gai.c (__nss_hosts_database): Readd definition.
14087 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
14088 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
14089 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
14090
14091 2018-03-02 Joseph Myers <joseph@codesourcery.com>
14092
14093 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
14094 (ifunc_one): Likewise.
14095
14096 2018-03-01 DJ Delorie <dj@delorie.com>
14097
14098 [BZ #22342]
14099 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
14100 key value.
14101
14102 2018-03-01 Maciej W. Rozycki <macro@mips.com>
14103
14104 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
14105 `match_pid' parameter.
14106 (td_ta_thr_iter): Update accordingly.
14107
14108 2018-03-01 Florian Weimer <fweimer@redhat.com>
14109
14110 * nptl/Makefile (install-lib-ldscripts): Remove.
14111 (install): Remove rule.
14112 ($(inst_libdir)/libpthread.so): Likewise.
14113
14114 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14115
14116 [BZ #22896]
14117 * localedata/locales/an_ES: update month and day names,
14118 improve d_fmt, improve postal_fmt, add country_post,
14119 add country_isbn
14120
14121 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14122
14123 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
14124 Ukrainian instead of Bulgarian.
14125
14126 2018-03-01 Florian Weimer <fweimer@redhat.com>
14127
14128 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
14129 reference.
14130
14131 2018-03-01 Florian Weimer <fweimer@redhat.com>
14132
14133 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
14134 * nptl/Makefile (routines): Add pthread_atfork.
14135 (static-only-routines): Set to pthread_atfork.
14136 (libpthread-routines): Remove pthread_atfork.
14137 (libpthread-static-only-routines): Remove.
14138 (install): Update comment.
14139 (libpthread.so): Do not install libpthread_nonshared.a.
14140 (tests): Do not link with libpthread_nonshared.a.
14141 (generated): Remove libpthread_nonshared.a.
14142 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
14143 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
14144 with libpthread_nonshared.a.
14145
14146 2018-02-28 Joseph Myers <joseph@codesourcery.com>
14147
14148 [BZ #22902]
14149 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
14150 (libc_feholdexcept_setroundf128): New macro.
14151 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
14152
14153 [BZ #15105]
14154 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
14155 libc_hidden_def.
14156 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
14157 * include/inttypes.h: New file.
14158
14159 2018-02-27 Joseph Myers <joseph@codesourcery.com>
14160
14161 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
14162 -Os in two more places.
14163
14164 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14165
14166 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
14167 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
14168 be sorted correctly at the moment because of a bug.
14169
14170 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14171
14172 [BZ #22550] - es_ES locale (and other es_* locales): collation should
14173 treat ñ as a primary different character, sync the collation
14174 for Spanish with CLDR.
14175 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
14176 * localedata/Makefile: Add new test files.
14177 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
14178 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
14179 collation order.
14180 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
14181 * localedata/am_ET.UTF-8.in: New test file.
14182 * localedata/az_AZ.UTF-8.in: Likewise.
14183 * localedata/be_BY.UTF-8.in: Likewise.
14184 * localedata/ber_DZ.UTF-8.in: Likewise.
14185 * localedata/ber_MA.UTF-8.in: Likewise.
14186 * localedata/bg_BG.UTF-8.in: Likewise.
14187 * localedata/br_FR.UTF-8.in: Likewise.
14188 * localedata/cmn_TW.UTF-8.in: Likewise.
14189 * localedata/crh_UA.UTF-8.in: Likewise.
14190 * localedata/csb_PL.UTF-8.in: Likewise.
14191 * localedata/cv_RU.UTF-8.in: Likewise.
14192 * localedata/cy_GB.UTF-8.in: Likewise.
14193 * localedata/dz_BT.UTF-8.in: Likewise.
14194 * localedata/eo.UTF-8.in: Likewise.
14195 * localedata/es_ES.UTF-8.in: Likewise.
14196 * localedata/fa_IR.UTF-8.in: Likewise.
14197 * localedata/fi_FI.UTF-8.in: Likewise.
14198 * localedata/fil_PH.UTF-8.in: Likewise.
14199 * localedata/fur_IT.UTF-8.in: Likewise.
14200 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
14201 * localedata/ha_NG.UTF-8.in: Likewise.
14202 * localedata/ig_NG.UTF-8.in: Likewise.
14203 * localedata/ik_CA.UTF-8.in: Likewise.
14204 * localedata/kk_KZ.UTF-8.in: Likewise.
14205 * localedata/ku_TR.UTF-8.in: Likewise.
14206 * localedata/ky_KG.UTF-8.in: Likewise.
14207 * localedata/ln_CD.UTF-8.in: Likewise.
14208 * localedata/mi_NZ.UTF-8.in: Likewise.
14209 * localedata/ml_IN.UTF-8.in: Likewise.
14210 * localedata/mn_MN.UTF-8.in: Likewise.
14211 * localedata/mr_IN.UTF-8.in: Likewise.
14212 * localedata/mt_MT.UTF-8.in: Likewise.
14213 * localedata/nb_NO.UTF-8.in: Likewise.
14214 * localedata/om_KE.UTF-8.in: Likewise.
14215 * localedata/os_RU.UTF-8.in: Likewise.
14216 * localedata/ps_AF.UTF-8.in: Likewise.
14217 * localedata/ro_RO.UTF-8.in: Likewise.
14218 * localedata/ru_RU.UTF-8.in: Likewise.
14219 * localedata/sc_IT.UTF-8.in: Likewise.
14220 * localedata/se_NO.UTF-8.in: Likewise.
14221 * localedata/sq_AL.UTF-8.in: Likewise.
14222 * localedata/sv_SE.UTF-8.in: Likewise.
14223 * localedata/szl_PL.UTF-8.in: Likewise.
14224 * localedata/tg_TJ.UTF-8.in: Likewise.
14225 * localedata/tk_TM.UTF-8.in: Likewise.
14226 * localedata/tt_RU.UTF-8.in: Likewise.
14227 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
14228 * localedata/ug_CN.UTF-8.in: Likewise.
14229 * localedata/uz_UZ.UTF-8.in: Likewise.
14230 * localedata/vi_VN.UTF-8.in: Likewise.
14231 * localedata/yi_US.UTF-8.in: Likewise.
14232 * localedata/yo_NG.UTF-8.in: Likewise.
14233 * localedata/zh_CN.UTF-8.in: Likewise.
14234 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
14235 file and fix bugs in the collation.
14236 * localedata/locales/az_AZ: Likewise.
14237 * localedata/locales/be_BY: Likewise.
14238 * localedata/locales/ber_DZ: Likewise.
14239 * localedata/locales/ber_MA: Likewise.
14240 * localedata/locales/bg_BG: Likewise.
14241 * localedata/locales/br_FR: Likewise.
14242 * localedata/locales/br_FR@euro: Likewise.
14243 * localedata/locales/ca_ES: Likewise.
14244 * localedata/locales/cns11643_stroke: Likewise.
14245 * localedata/locales/crh_UA: Likewise.
14246 * localedata/locales/cs_CZ: Likewise.
14247 * localedata/locales/csb_PL: Likewise.
14248 * localedata/locales/cv_RU: Likewise.
14249 * localedata/locales/cy_GB: Likewise.
14250 * localedata/locales/da_DK: Likewise.
14251 * localedata/locales/dz_BT: Likewise.
14252 * localedata/locales/en_CA: Likewise.
14253 * localedata/locales/eo: Likewise.
14254 * localedata/locales/es_CU: Likewise.
14255 * localedata/locales/es_EC: Likewise.
14256 * localedata/locales/es_ES: Likewise.
14257 * localedata/locales/es_US: Likewise.
14258 * localedata/locales/et_EE: Likewise.
14259 * localedata/locales/fa_IR: Likewise.
14260 * localedata/locales/fi_FI: Likewise.
14261 * localedata/locales/fil_PH: Likewise.
14262 * localedata/locales/fur_IT: Likewise.
14263 * localedata/locales/gez_ER@abegede: Likewise.
14264 * localedata/locales/ha_NG: Likewise.
14265 * localedata/locales/hr_HR: Likewise.
14266 * localedata/locales/hsb_DE: Likewise.
14267 * localedata/locales/hu_HU: Likewise.
14268 * localedata/locales/ig_NG: Likewise.
14269 * localedata/locales/ik_CA: Likewise.
14270 * localedata/locales/is_IS: Likewise.
14271 * localedata/locales/iso14651_t1_pinyin: Likewise.
14272 * localedata/locales/kk_KZ: Likewise.
14273 * localedata/locales/ku_TR: Likewise.
14274 * localedata/locales/ky_KG: Likewise.
14275 * localedata/locales/ln_CD: Likewise.
14276 * localedata/locales/lt_LT: Likewise.
14277 * localedata/locales/lv_LV: Likewise.
14278 * localedata/locales/mi_NZ: Likewise.
14279 * localedata/locales/ml_IN: Likewise.
14280 * localedata/locales/mn_MN: Likewise.
14281 * localedata/locales/mr_IN: Likewise.
14282 * localedata/locales/mt_MT: Likewise.
14283 * localedata/locales/nb_NO: Likewise.
14284 * localedata/locales/om_KE: Likewise.
14285 * localedata/locales/os_RU: Likewise.
14286 * localedata/locales/pl_PL: Likewise.
14287 * localedata/locales/ps_AF: Likewise.
14288 * localedata/locales/ro_RO: Likewise.
14289 * localedata/locales/ru_RU: Likewise.
14290 * localedata/locales/ru_UA: Likewise.
14291 * localedata/locales/sc_IT: Likewise.
14292 * localedata/locales/se_NO: Likewise.
14293 * localedata/locales/si_LK: Likewise.
14294 * localedata/locales/sq_AL: Likewise.
14295 * localedata/locales/sv_FI: Likewise.
14296 * localedata/locales/sv_FI@euro: Likewise.
14297 * localedata/locales/sv_SE: Likewise.
14298 * localedata/locales/szl_PL: Likewise.
14299 * localedata/locales/tg_TJ: Likewise.
14300 * localedata/locales/ti_ER: Likewise.
14301 * localedata/locales/tk_TM: Likewise.
14302 * localedata/locales/tl_PH: Likewise.
14303 * localedata/locales/tr_TR: Likewise.
14304 * localedata/locales/tt_RU: Likewise.
14305 * localedata/locales/tt_RU@iqtelif: Likewise.
14306 * localedata/locales/ug_CN: Likewise.
14307 * localedata/locales/uk_UA: Likewise.
14308 * localedata/locales/uz_UZ: Likewise.
14309 * localedata/locales/uz_UZ@cyrillic: Likewise.
14310 * localedata/locales/vi_VN: Likewise.
14311 * localedata/locales/yi_US: Likewise.
14312 * localedata/locales/yo_NG: Likewise.
14313
14314 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14315
14316 * gen-locales.mk: Make test files which contain @ modifiers in their
14317 name work.
14318 * localedata/gen-locale.sh: Likewise.
14319
14320 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14321
14322 * posix/tst-fnmatch.input: Fix results for range expressions
14323 for non C locales.
14324 * posix/tst-regexloc.c: Do not use a range expression for
14325 de_DE.ISO-8859-1 locale.
14326
14327 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14328
14329 * posix/bug-regex5.c: Fix test case because with the new
14330 iso14651_t1_common file, the da_DK locale now has 6 collating elements
14331 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
14332 file.
14333
14334 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14335
14336 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
14337 downloaded from ISO, the collation order of @-. and space has changed.
14338 Therefore, this test file needed to be adapted.
14339 * localedata/fr_CA.UTF-8.in: Likewise.
14340 * localedata/fr_FR.UTF-8.in: Likewise.
14341 * localedata/uk_UA.UTF-8.in: Likewise.
14342
14343 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14344
14345 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
14346 order of ȥ in the new iso14651_t1_common file.
14347 * localedata/pl_PL.UTF-8.in: Likewise.
14348
14349 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14350
14351 * localedata/locales/iso14651_t1_common: Add sections for various
14352 scripts to the iso14651_t1_common file.
14353
14354 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14355
14356 * localedata/locales/iso14651_t1_common: Use the code point of a
14357 character in the fourth collation level instead of IGNORE for all
14358 entries which have IGNORE on all 4 levels.
14359
14360 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14361
14362 * localedata/locales/iso14651_t1_common: Add some convenient collation
14363 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
14364 rules similar to those in CLDR.
14365
14366 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14367
14368 * localedata/locales/iso14651_t1_common: The new version of this
14369 file downloaded from ISO contained several syntax errors which
14370 are fixed by this patch.
14371
14372 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14373
14374 * localedata/locales/iso14651_t1_common: replace all <U.....>
14375 with <U000.....> because glibc understands only 4 digit or 8 digit
14376
14377 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14378
14379 * localedata/locales/iso14651_t1_common: Necessary changes
14380 to make the file downloaded from ISO usable by glibc.
14381
14382 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14383
14384 [BZ #14095]
14385 * localedata/locales/iso14651_t1_common: Update file to
14386 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
14387
14388 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14389
14390 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
14391 of <nptl/pthreadP.h>
14392 (thread_attr_compare): Move function to...
14393 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
14394 * sysdeps/nptl/timer_routines.h: ... new header.
14395 * sysdeps/mach/hurd/gai_misc.h: New file.
14396
14397 2018-02-26 Joseph Myers <joseph@codesourcery.com>
14398
14399 * string/strcoll_l.c: Include <libc-diag.h>.
14400 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
14401 declarations of seq1 and seq2.
14402
14403 [BZ #15105]
14404 * stdlib/atoi.c (atoi): Use libc_hidden_def.
14405 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
14406
14407 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
14408
14409 [BZ #22433]
14410 [BZ #22807]
14411 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
14412 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
14413 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
14414 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
14415 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
14416 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
14417
14418 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14419
14420 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
14421 macros used in __ptrace_request.
14422
14423 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
14424
14425 [BZ #22792]
14426 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
14427 to $(CC).
14428 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
14429 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
14430 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
14431 <tcb-offsets.h>.
14432
14433 2018-02-23 Joseph Myers <joseph@codesourcery.com>
14434
14435 [BZ #15105]
14436 * ctype/ctype.c (tolower): Use libc_hidden_def.
14437 (toupper): Likewise.
14438 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
14439 [!_ISOMAC] (toupper): Likewise.
14440
14441 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14442
14443 * localedata/Makefile: Remove --quiet argument when
14444 installing locales
14445
14446 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14447
14448 [BZ #17438]
14449 * localedata/locales/pt_BR (LC_TIME): use / instead of -
14450 in d_fmt.
14451 * localedata/locales/pt_PT (LC_TIME): likewise
14452
14453 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14454
14455 [BZ #22646]
14456 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
14457 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
14458 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
14459
14460 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14461
14462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14463
14464 * nptl/Makefile (routines): Remove unregister-atfork.
14465 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
14466 (fork_handler_alloc): Remove function.
14467 (fork_handlers, fork_handler_init): New variables.
14468 (__fork_lock): Rename to atfork_lock.
14469 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
14470 to use a dynamic array to add/remove atfork handlers.
14471 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14472 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
14473 Remove declaration.
14474 (fork_handler): Remove next, refcntr, and need_signal member.
14475 (__run_fork_handler_type): New enum.
14476 (__run_fork_handlers): New prototype.
14477 * nptl/register-atfork.c: Remove file.
14478 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
14479
14480 * sysdeps/nptl/nptl-signals.h: Move to ...
14481 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
14482 comments.
14483 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
14484 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
14485 unnecessary check for SIGTIMER.
14486 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
14487 remove unnecessary removal of SIGTIMER.
14488 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
14489 include-signals.h rename.
14490 * nptl/pthreadP.h: Likewise.
14491 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
14492 __is_internal_signal instead of __nptl_is_internal_signal.
14493
14494 2018-02-22 Andrew Waterman <andrew@sifive.com>
14495
14496 [BZ # 22884]
14497 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
14498 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
14499 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
14500 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
14501
14502 2018-02-22 DJ Delorie <dj@delorie.com>
14503
14504 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
14505
14506 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
14507
14508 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
14509 do_misaligned, not misaligned8.
14510
14511 2018-02-22 Steve Ellcey <sellcey@cavium.com>
14512
14513 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
14514 Add memcpy_thunderx2.
14515 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
14516 Increment to 4.
14517 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
14518 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
14519 and IS_THUNDERX2PA checks.
14520 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
14521 Use macro to set name appropriately.
14522 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
14523 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
14524 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
14525 New macro.
14526 (IS_THUNDERX2): New macro.
14527
14528 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
14529
14530 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14531
14532 2018-02-21 Zack Weinberg <zackw@panix.com>
14533
14534 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
14535 Define here, unconditionally.
14536 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
14537 * libio/libioP.h: Remove #if 0 blocks.
14538 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
14539 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
14540 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
14541
14542 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
14543 Assume weak_alias is always defined.
14544
14545 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
14546 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
14547 Remove #if 0 and #ifdef TODO blocks.
14548 Assume text_set_element is always defined.
14549
14550 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
14551 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
14552 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
14553
14554 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
14555 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
14556 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
14557 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
14558 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
14559 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
14560 Reformat bit flags for _flags field to make occupancy clearer.
14561 Update commentary.
14562 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
14563 Keep definitions consistent with those in libio/libio.h.
14564
14565 * libio/libio.h (_IO_file_flags): Remove macro.
14566 All uses changed to _flags.
14567
14568 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
14569 (__HAVE_COLUMN, _IO_BE): Don't define.
14570 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
14571 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
14572 * libio/libioP.h (EOF): Don't define.
14573 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
14574 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
14575 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
14576 testing _IO_UNIFIED_JUMPTABLES.
14577
14578 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
14579 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
14580 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
14581 (_IO_size_t): Delete; all uses changed to size_t.
14582 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
14583 (_IO_off_t): Delete; all uses changed to off_t.
14584 (_IO_off64_t): Delete; all uses changed to off64_t.
14585 (_IO_pid_t): Delete; all uses changed to pid_t.
14586 (_IO_uid_t): Delete; all uses changed to uid_t.
14587 (_IO_wint_t): Delete; all uses changed to wint_t.
14588 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
14589 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
14590 (_IO_cookie_io_functions_t): Delete; all uses changed to
14591 cookie_io_functions_t.
14592 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
14593 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
14594 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
14595 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
14596
14597 * libio/iofopncook.c: Remove unnecessary forward declarations.
14598 * libio/iolibio.h: Correct outdated commentary.
14599 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
14600 * stdio-common/fxprintf.c (__fxprintf_nocancel):
14601 Remove unnecessary casts.
14602 * stdio-common/getline.c: Use _IO_getdelim directly.
14603 Don't redefine ssize_t.
14604 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
14605 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
14606 Remove outdated comments.
14607 * stdio-common/vfscanf.c: Don't redefine va_list.
14608
14609 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
14610 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
14611 Remove preprocessor conditionals on _LIBC and __USE_GNU,
14612 which are always true, and __cplusplus, which is always false.
14613
14614 2018-02-21 Joseph Myers <joseph@codesourcery.com>
14615
14616 [BZ #15105]
14617 [BZ #19463]
14618 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
14619 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
14620 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
14621 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
14622 libc_hidden_proto.
14623 [!_ISOMAC] (putc_unlocked): Likewise.
14624 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
14625 define inline if [__USE_EXTERN_INLINES].
14626 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
14627 putc_unlocked.
14628
14629 [BZ #15105]
14630 [BZ #19463]
14631 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
14632 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
14633 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
14634 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
14635 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
14636 getc_unlocked.
14637 * time/tzfile.c (__tzfile_read): Likewise.
14638
14639 2018-02-21 Mike FABIAN <mfabian@redhat.com>
14640
14641 [BZ #22517]
14642 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
14643
14644 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14645
14646 * io/fcntl.h: Fix a typo in a comment.
14647
14648 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14649
14650 [BZ #22862]
14651 * include/features.h: Add _ISOC11_SOURCE to test for whether to
14652 define _DEFAULT_SOURCE.
14653 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
14654
14655 2018-02-21 Florian Weimer <fweimer@redhat.com>
14656
14657 [BZ #20890]
14658 * elf/cache.c (save_cache): Call fsync on temporary file before
14659 renaming it.
14660 (save_aux_cache): Call fdatasync on temporary file before renaming
14661 it.
14662
14663 2018-02-21 Florian Weimer <fweimer@redhat.com>
14664
14665 [BZ #22787]
14666 * include/caller.h: Remove file.
14667 * elf/dl-caller.c: Likewise.
14668 * elf/Makefile (dl-routines): Remove dl-caller.
14669 (shared-only-routines): Do not add dl-caller.
14670 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
14671 __check_caller.
14672 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
14673 member.
14674 (dl_open_worker): Do not call __check_caller.
14675 (_dl_open): Do not set caller_dl_open member.
14676 * elf/rtld.c (_rtld_global_ro): Do not initialize
14677 _dl_check_caller member.
14678 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
14679 _dl_check_caller member.
14680 (_dl_check_caller): Remove declaration.
14681 * sysdeps/unix/sysv/linux/dl-execstack.c
14682 (_dl_make_stack_executable): Do not call __check_caller.
14683
14684 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
14685
14686 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
14687 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
14688
14689 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14690
14691 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
14692 description.
14693
14694 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14695
14696 [BZ #16335]
14697 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
14698 of 199606L, 200112L, and 200809L.
14699 (_XOPEN_SOURCE): Document special values of 600 and 700.
14700 (_ISOC11_SOURCE): Document macro.
14701 (_ATFILE_SOURCE): Likewise.
14702 (_FORTIFY_SOURCE): Likewise.
14703
14704 2018-02-19 Joseph Myers <joseph@codesourcery.com>
14705
14706 [BZ #15105]
14707 [BZ #19463]
14708 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
14709 and define as weak alias of __ferror_unlocked. Use
14710 libc_hidden_weak.
14711 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
14712 libc_hidden_proto.
14713 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
14714 function if [__USE_EXTERN_INLINES].
14715 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
14716 ferror_unlocked.
14717
14718 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
14719
14720 [BZ #6889]
14721 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
14722
14723 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14724
14725 [BZ #22818]
14726 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
14727 the GLIBC_2.1 version.
14728
14729 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14730
14731 [BZ #21508]
14732 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
14733 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
14734 intl/tst-gettext-de.po from po/de.po by removing the
14735 POT-Creation-Date line.
14736 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
14737 ../po/de.po.
14738 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
14739 ../po/de.po.
14740
14741 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14742
14743 * mach/Makefile (headers): Add mach/param.h.
14744 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
14745 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
14746 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
14747 (__ptsname_r): Move implementation to...
14748 (__ptsname_internal): ... new function. Add filling the STP
14749 structure.
14750
14751 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
14752
14753 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
14754 idouble to 1 ULP.
14755
14756 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
14757
14758 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
14759 syntax.
14760
14761 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14762
14763 * nptl/Makefile (tst-mutex8-ENV): Delete.
14764 * nptl/tst-mutex8.c (check_type):
14765 Add runtime check if mutex will be elided.
14766
14767 2018-02-15 Joseph Myers <joseph@codesourcery.com>
14768
14769 [BZ #20980]
14770 [BZ #21234]
14771 * manual/install.texi (Configuring and compiling): Describe
14772 passing CC and CFLAGS on configure command line, not as
14773 environment variables. Use @code markup on those variables.
14774 Specify what options go in CC and what go in CFLAGS. Note the
14775 requirement to compile with optimization.
14776 * INSTALL: Regenerated.
14777
14778 [BZ #18124]
14779 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
14780 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
14781 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
14782 __sigprocmask instead of sigprocmask.
14783 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
14784 Likewise.
14785 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
14786 __sigsetjmp and sigprocmask.
14787
14788 [BZ #15105]
14789 * include/argz.h (argz_next): Use libc_hidden_proto.
14790 (__argz_next): Likewise.
14791 * string-argz-next.c (__argz_next): Use libc_hidden_def.
14792 (argz_next): Use libc_hidden_weak.
14793
14794 [BZ #15105]
14795 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
14796 libc_hidden_proto.
14797 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
14798 libc_hidden_def.
14799
14800 [BZ #15105]
14801 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
14802 libc_hidden_proto.
14803 * libio/iofputs.c (fputs): Use libc_hidden_weak.
14804
14805 [BZ #15105]
14806 [BZ #19463]
14807 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
14808 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
14809 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
14810 (__feof_unlocked): New declaration, and inline function if
14811 [__USE_EXTERN_INLINES].
14812 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
14813 instead of feof_unlocked.
14814 * intl/localealias.c [_LIBC] (FEOF): Likewise.
14815 * nss/nsswitch.c (nss_parse_file): Likewise.
14816 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
14817 Likewise.
14818 * time/getdate.c (__getdate_r): Likewise.
14819 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
14820 Define as macro to call __feof_unlocked.
14821
14822 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14823
14824 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
14825
14826 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14827
14828 * math/Makefile: Remove mpexp.c and mplog.c
14829 * sysdeps/i386/fpu/mpexp.c: Delete file.
14830 * sysdeps/i386/fpu/mplog.c: Likewise.
14831 * sysdeps/ia64/fpu/mpexp.c: Likewise.
14832 * sysdeps/ia64/fpu/mplog.c: Likewise.
14833 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
14834 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
14835 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
14836 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14837 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
14838 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
14839 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
14840 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
14841 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
14842 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14843 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
14844 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
14845 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14846 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
14847 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
14848 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14849
14850 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14851
14852 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14853
14854 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14855
14856 * sysdeps/sh/libm-test-ulps: Update.
14857
14858 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14859
14860 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
14861 idouble to 1 ULP.
14862
14863 2018-02-12 Zack Weinberg <zackw@panix.com>
14864
14865 [BZ #19239]
14866 * posix/sys/types.h: Don't include sys/sysmacros.h.
14867 * misc/sys/sysmacros.h: Remove the conditional deprecation
14868 warnings for the macros defined by this header.
14869
14870 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
14871
14872 * manual/probes.texi: Remove slowexp probes.
14873 * math/Makefile: Remove slowexp.
14874 * sysdeps/generic/math_private.h (__slowexp): Remove.
14875 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
14876 document error bounds.
14877 * sysdeps/i386/fpu/slowexp.c: Remove.
14878 * sysdeps/ia64/fpu/slowexp.c: Remove.
14879 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
14880 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
14881 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
14882 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
14883 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
14884 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
14885 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
14886 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
14887 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
14888 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
14889 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
14890
14891 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
14892
14893 [BZ #13932]
14894 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
14895 * benchtests/pow-inputs: Update comment for slow path cases.
14896 * manual/probes.texi (slowpow_p10): Delete removed probe.
14897 (slowpow_p10): Likewise.
14898 * math/Makefile: Remove halfulp.c and slowpow.c.
14899 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
14900 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
14901 (__halfulp): Remove.
14902 (__slowpow): Remove.
14903 * sysdeps/i386/fpu/halfulp.c: Delete file.
14904 * sysdeps/i386/fpu/slowpow.c: Likewise.
14905 * sysdeps/ia64/fpu/halfulp.c: Likewise.
14906 * sysdeps/ia64/fpu/slowpow.c: Likewise.
14907 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
14908 improve comments and add error analysis.
14909 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
14910 (power1): Remove function:
14911 (log1): Remove error argument, add error analysis.
14912 (my_log2): Remove function.
14913 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
14914 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14915 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
14916 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
14917 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
14918 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
14919 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
14920 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
14921 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
14922 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
14923 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
14924 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14925 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
14926 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14927
14928 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
14929
14930 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
14931 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
14932
14933 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
14934
14935 [BZ #22433]
14936 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
14937 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
14938 and PTRACE_SETHBPREGS.
14939
14940 2018-02-10 Zack Weinberg <zackw@panix.com>
14941
14942 [BZ #22830]
14943 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
14944 correctly.
14945 * malloc/tst-malloc-stats-cancellation.c: New test case.
14946 * malloc/Makefile: Add new test case.
14947
14948 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
14949
14950 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
14951
14952 2018-02-10 Joseph Myers <joseph@codesourcery.com>
14953
14954 * math/Makefile (libm-narrow-fns): Add add.
14955 (libm-test-funcs-narrow): Likewise.
14956 * math/Versions (GLIBC_2.28): Add narrowing add functions.
14957 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
14958 * math/gen-auto-libm-tests.c (test_functions): Add add.
14959 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
14960 (NARROW_ADD_ROUND_TO_ODD): Likewise.
14961 (NARROW_ADD_TRIVIAL): Likewise.
14962 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
14963 macro.
14964 (__daddl): Likewise.
14965 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
14966 dadd.
14967 (CFLAGS-nldbl-dadd.c): New variable.
14968 (CFLAGS-nldbl-fadd.c): Likewise.
14969 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14970 __nldbl_daddl.
14971 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
14972 prototype.
14973 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
14974 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
14975 * math/auto-libm-test-in: Add tests of add.
14976 * math/auto-libm-test-out-narrow-add: New generated file.
14977 * math/libm-test-narrow-add.inc: New file.
14978 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14979 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
14980 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
14981 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
14982 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
14983 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
14984 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
14985 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
14986 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
14987 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
14988 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
14989 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
14990 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
14991 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
14992 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
14993 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
14994 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
14995 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
14996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14997 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14998 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14999 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15000 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15001 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15002 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15003 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15004 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15005 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15006 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15007 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15008 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15009 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15014 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15015 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15016 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15017 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15018 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15019 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15020 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15021 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15022 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15023 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15024
15025 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
15026 (f128-pairs): New variable.
15027 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
15028 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
15029 to CFLAGS.
15030 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
15031 Also make tests add $(f128-loader-link) to gnulib-tests.
15032
15033 2018-02-09 DJ Delorie <dj@redhat.com>
15034
15035 [BZ #22827]
15036 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
15037 64-bit ELF type for 64-bit ELF objects.
15038
15039 2018-02-09 Joseph Myers <joseph@codesourcery.com>
15040
15041 * math/libm-test-driver.c (snan_tests_arg): New variable.
15042 * math/libm-test-support.h (snan_tests_arg): New declaration.
15043 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
15044
15045 * math/Makefile (test-type-pairs): New variable.
15046 (test-type-pairs-f64xf128-yes): Likewise.
15047 (tests): Add test-narrow-macros.
15048 (libm-test-funcs-narrow): New variable.
15049 (libm-test-c-narrow): Likewise.
15050 (generated): Add $(libm-test-c-narrow).
15051 (libm-tests-base-narrow): New variable.
15052 (libm-tests-narrow): Likewise.
15053 (libm-tests): Add $(libm-tests-narrow).
15054 (libm-tests-for-type): Handle $(libm-tests-narrow).
15055 (libm-test-c-narrow-obj): New variable.
15056 ($(libm-test-c-narrow-obj)): New rule.
15057 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
15058 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
15059 $(o-iterator) to set dependencies and CFLAGS.
15060 * math/gen-auto-libm-tests.c: Document use for narrowing
15061 functions.
15062 (output_for_one_input_case): Take argument NARROW.
15063 (generate_output): Likewise. Update call to
15064 output_for_one_input_case.
15065 (main): Take --narrow option. Update call to generate_output.
15066 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
15067 (apply_lit): Update call to _apply_lit.
15068 (apply_arglit): New function.
15069 (parse_args): Handle "a" arguments.
15070 (parse_auto_input): Handle format names using ":".
15071 * math/README.libm-test: Document "a" parameter type.
15072 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
15073 (ARG_TYPE_TRUE_MIN): Likewise.
15074 (ARG_TYPE_MAX): Likwise.
15075 (ARG_MIN_EXP): Likewise.
15076 (ARG_MAX_EXP): Likewise.
15077 (ARG_MANT_DIG): Likewise.
15078 (TEST_COND_arg_ibm128): Likewise.
15079 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
15080 (TEST_COND_arg_fmt): New macro.
15081 (init_max_error): Update prototype.
15082 * math/libm-test-support.c (test_ibm128): New variable.
15083 (init_max_error): Take argument testing_ibm128 and set test_ibm128
15084 instead of using [TEST_COND_ibm128] conditional.
15085 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
15086 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
15087 [TEST_NARROW] (TEST_MSG): New definition.
15088 (arg_plus_zero): New macro.
15089 (arg_minus_zero): Likewise.
15090 (arg_plus_infty): Likewise.
15091 (arg_minus_infty): Likewise.
15092 (arg_qnan_value_pl): Likewise.
15093 (arg_qnan_value): Likewise.
15094 (arg_snan_value_pl): Likewise.
15095 (arg_snan_value): Likewise.
15096 (arg_max_value): Likewise.
15097 (arg_min_value): Likewise.
15098 (arg_min_subnorm_value): Likewise.
15099 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
15100 (RUN_TEST_LOOP_aa_f): New macro.
15101 (TEST_SUFF): New macro.
15102 (TEST_SUFF_STR): Likewise.
15103 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
15104 (TEST_COND_any_ibm128): New macro.
15105 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
15106 this_func. Update call to init_max_error.
15107 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
15108 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
15109 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
15110 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
15111 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
15112 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
15113 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
15114 * math/test-math-scalar.h (TEST_NARROW): Likewise.
15115 * math/test-math-vector.h (TEST_NARROW): Likewise.
15116 * math/test-arg-double.h: New file.
15117 * math/test-arg-float128.h: Likewise.
15118 * math/test-arg-float32x.h: Likewise.
15119 * math/test-arg-float64.h: Likewise.
15120 * math/test-arg-float64x.h: Likewise.
15121 * math/test-arg-ldouble.h: Likewise.
15122 * math/test-math-narrow.h: Likewise.
15123 * math/test-narrow-macros.c: Likewise.
15124 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
15125 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
15126 test-narrow-macros-ldbl-64.
15127 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
15128
15129 * math/bits/mathcalls-narrow.h: New file.
15130 * include/bits/mathcalls-narrow.h: Likewise.
15131 * math/math-narrow.h: Likewise.
15132 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
15133 (__MATHCALL_NARROW_ARGS_2): Likewise.
15134 (__MATHCALL_NARROW_ARGS_3): Likewise.
15135 (__MATHCALL_NARROW_NORMAL): Likewise.
15136 (__MATHCALL_NARROW_REDIR): Likewise.
15137 (__MATHCALL_NARROW): Likewise.
15138 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
15139 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
15140 defined.
15141 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
15142 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
15143 (libm-narrow-fns): New variable.
15144 (libm-narrow-types-basic): Likewise.
15145 (libm-narrow-types-ldouble-yes): Likewise.
15146 (libm-narrow-types-float128-yes): Likewise.
15147 (libm-narrow-types-float128-alias-yes): Likewise.
15148 (libm-narrow-types): Likewise.
15149 (libm-routines): Add narrowing functions.
15150 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
15151 (libc_feholdexcept_setroundf128): New macro.
15152 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
15153 * sysdeps/ieee754/float128/float128_private.h: Include
15154 <math/math-narrow.h>.
15155 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
15156 Undefine and redefine.
15157 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
15158 (libm_alias_float_ldouble): Undefine and redefine.
15159 (libm_alias_double_ldouble): Likewise.
15160
15161 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
15162
15163 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
15164
15165 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
15166 FPCR/FPSR.
15167
15168 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
15169
15170 * manual/creature.texi: Convert references to gcc.info to gcc.
15171 * manual/stdio.texi: Likewise.
15172 * manual/string.texi: Likewise.
15173
15174 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15175
15176 [BZ #17979]
15177 * posix/bits/types.h (__int_least8_t): New typedef.
15178 (__uint_least8_t): Likewise.
15179 (__int_least16_t): Likewise.
15180 (__uint_least16_t): Likewise.
15181 (__int_least32_t): Likewise.
15182 (__uint_least32_t): Likewise.
15183 (__int_least64_t): Likewise.
15184 (__uint_least64_t): Likewise.
15185 * sysdeps/generic/stdint.h (int_least8_t): Define using
15186 __int_least8_t.
15187 (int_least16_t): Define using __int_least16_t.
15188 (int_least32_t): Define using __int_least32_t.
15189 (int_least64_t): Define using __int_least64_t.
15190 (uint_least8_t): Define using __uint_least8_t.
15191 (uint_least16_t): Define using __uint_least16_t.
15192 (uint_least32_t): Define using __uint_least32_t.
15193 (uint_least64_t): Define using __uint_least64_t.
15194 * wcsmbs/uchar.h: Include <bits/types.h>.
15195 (char16_t): Define using __uint_least16_t conditional only on
15196 [!__USE_ISOCXX11].
15197 (char32_t): Define using __uint_least32_t conditional only on
15198 [!__USE_ISOCXX11].
15199 * wcsmbs/test-char-types.c: New file.
15200 * wcsmbs/Makefile (tests): Add test-char-types.
15201
15202 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
15203 version to 4.0.1.
15204
15205 2018-02-07 Zack Weinberg <zackw@panix.com>
15206
15207 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
15208 Delete all contents except for definitions of _G_HAVE_MMAP and
15209 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
15210 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
15211 sysdeps/unix/sysv/linux/_G_config.h. Make same content
15212 change as above.
15213
15214 * libio/libio.h: Don't include bits/_G_config.h here.
15215 Include stddef.h with __need_wchar_t defined. Include
15216 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
15217 Define _IO_iconv_t here, directly.
15218 Don't define _IO_HAVE_ST_BLKSIZE.
15219 * libio/libioP.h: Include _G_config.h here. Move include of
15220 shlib-compat.h up with rest of includes. Simplify conditionals
15221 controlling definition of _IO_JUMPS_OFFSET.
15222
15223 * csu/init.c: Remove always-true #if around entire file.
15224 Don't include stdio.h. Set _IO_stdin_used to hardwired
15225 constant 0x20001, and update commentary.
15226 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
15227 Replace all uses of _G_va_list with __gnuc_va_list.
15228 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
15229 instead of #if _IO_HAVE_ST_BLKSIZE.
15230 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
15231 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
15232 not #ifdef.
15233
15234 * libio/bits/libio.h: Move back to libio/libio.h and adjust
15235 multiple-include guard to match.
15236 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
15237 into this file.
15238 Remove preprocessor conditionals that are always true and/or
15239 redundant to other preprocessor conditionals in the same nest.
15240 Include shlib-compat.h unconditionally.
15241 Error out if _LIBC is not defined, or if _ISOMAC is defined,
15242 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
15243 defined after including stdio.h.
15244 Use __BEGIN_DECLS/__END_DECLS.
15245
15246 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
15247 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
15248 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
15249
15250 2018-02-07 Zack Weinberg <zackw@panix.com>
15251
15252 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
15253 New single-type headers split from _G_config.h.
15254 * libio/bits/types/cookie_io_functions_t.h
15255 * libio/bits/types/struct_FILE.h
15256 New single-type headers split from libio.h.
15257
15258 * libio/Makefile: Install the above new headers. Don't install
15259 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
15260 bits/libio-ldbl.h.
15261 * libio/_G_config.h, libio/libio.h: Delete file.
15262
15263 * libio/bits/libio.h: Remove improper-inclusion guard.
15264 Include stdio.h and don't repeat anything that it does.
15265 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
15266 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
15267 __io_read_fn as cookie_read_function_t,
15268 __io_write_fn as cookie_write_function_t,
15269 __io_seek_fn as cookie_seek_function_t,
15270 __io_close_fn as cookie_close_function_t,
15271 and _IO_cookie_io_functions_t as cookie_io_functions_t.
15272 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
15273 here, in the "compatibility defines" section. Remove an #if 0
15274 block. Use the "body" macros from bits/types/struct_FILE.h to
15275 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
15276 and _IO_ferror_unlocked.
15277 Move prototypes of __uflow and __overflow...
15278
15279 * libio/stdio.h: ...here. Don't include bits/libio.h.
15280 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
15281 directly from stdarg.h. Include bits/types/__fpos_t.h,
15282 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
15283 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
15284 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
15285 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
15286 cookie_io_functions_t, not _IO_cookie_io_functions_t;
15287 __ssize_t, not _IO_ssize_t. Unconditionally define
15288 BUFSIZ as 8192 and EOF as (-1).
15289
15290 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
15291 macros from bits/types/struct_FILE.h instead of _IO_* macros
15292 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
15293 instead of _IO_ssize_t.
15294 * libio/bits/stdio2.h: Similarly.
15295
15296 * libio/iolibio.h: Add multiple-include guard.
15297 Include bits/libio.h after stdio.h.
15298 * libio/libioP.h: Add multiple-include guard.
15299 Include stdio.h and bits/libio.h before iolibio.h.
15300
15301 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
15302 * include/bits/types/cookie_io_functions_t.h
15303 * include/bits/types/struct_FILE.h: New wrappers.
15304
15305 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
15306 Get definitions of _G_fpos_t and _G_fpos64_t from
15307 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
15308 respectively. Remove improper-inclusion guards.
15309
15310 * conform/data/stdio.h-data: Update expectations of va_list.
15311 * scripts/check-installed-headers.sh: Remove special case for
15312 libio.h and _G_config.h.
15313
15314 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15315
15316 [BZ #15105]
15317 [BZ #19463]
15318 * include/sys/sysmacros.h [!_ISOMAC]
15319 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
15320 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
15321 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
15322 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
15323 libc_hidden_proto.
15324 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
15325 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
15326 Likewise.
15327 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
15328 Undefine and redefine to add use __gnu_dev_ prefix.
15329 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
15330 Likewise.
15331 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
15332 and define as hidden inline function.
15333 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
15334 Likewise.
15335 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
15336 Likewise.
15337 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
15338 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
15339 (gnu_dev_minor): Likewise.
15340 (gnu_dev_makedev): Likewise.
15341 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
15342 makedev.
15343 * posix/wordexp.c (exec_comm_child): Likewise.
15344 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
15345 instead of minor and __gnu_dev_major instead of major.
15346 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
15347 __gnu_dev_major instead of major.
15348 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
15349 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
15350 instead of gnu_dev_minor.
15351 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
15352 (SLAVE_P): Likewise.
15353 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
15354 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
15355 instead of major.
15356
15357 [BZ #21313]
15358 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
15359 in another place.
15360 * locale/weightwc.h (findidx): Likewise.
15361
15362 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
15363
15364 * manual/probes.texi (slowlog): Delete documentation of removed probe.
15365 (slowlog_inexact): Likewise
15366 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
15367 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
15368
15369 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
15370
15371 [BZ #22797]
15372 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
15373 missing second underscore to parameter name.
15374
15375 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15376
15377 [BZ #14508]
15378 [BZ #15512]
15379 [BZ #17082]
15380 [BZ #20530]
15381 * bits/byteswap.h: Update file comment. Do not include
15382 <bits/byteswap-16.h>.
15383 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
15384 constant.
15385 (__bswap_16): Define as inline function.
15386 (__bswap_constant_32): Reformat definition.
15387 (__bswap_32): Always define as inline function, not macro, using
15388 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
15389 otherwise __bswap_constant_32.
15390 (__bswap_constant_64): Reformat definition. Do not use
15391 __extension__ here.
15392 (__bswap_64): Always define as inline function, not macro. Use
15393 __extension__ on function definition. Use __builtin_bswap64 if
15394 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
15395 * string/test-endian-file-scope.c: New file.
15396 * string/test-endian-sign-conversion.c: Likewise.
15397 * string/Makefile (headers): Remove bits/byteswap-16.h.
15398 (tests): Add test-endian-file-scope and
15399 test-endian-sign-conversion.
15400 (CFLAGS-test-endian-sign-conversion.c): New variable.
15401 * bits/byteswap-16.h: Remove file.
15402 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
15403 * sysdeps/ia64/bits/byteswap.h: Likewise.
15404 * sysdeps/m68k/bits/byteswap.h: Likewise.
15405 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15406 * sysdeps/s390/bits/byteswap.h: Likewise.
15407 * sysdeps/tile/bits/byteswap.h: Likewise.
15408 * sysdeps/x86/bits/byteswap-16.h: Likewise.
15409 * sysdeps/x86/bits/byteswap.h: Likewise.
15410
15411 [BZ #17721]
15412 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
15413 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
15414 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
15415 199901L] (__restrict): Define to restrict.
15416
15417 [BZ #19667]
15418 * string/testcopy.c: Include <support/support.h>. Do not include
15419 <malloc.h>. Use <support/test-driver.c>.
15420 (main): Rename to do_test. Make static. Use xmalloc instead of
15421 malloc.
15422
15423 [BZ #13575]
15424 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
15425 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
15426 (SSIZE_MAX): Define to INT_MAX.
15427 * posix/test-ssize-max.c: New file.
15428 * posix/Makefile (tests): Add test-ssize-max.
15429
15430 [BZ #19668]
15431 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
15432 <support/support.h>. Do not include <malloc.h>.
15433 (query_auxv): Use xmalloc instead of malloc.
15434
15435 [BZ #14553]
15436 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
15437 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
15438 instead of loff_t.
15439
15440 2018-02-06 Florian Weimer <fweimer@redhat.com>
15441
15442 [BZ #18023]
15443 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15444 Use scratch_buffer instead of extend_alloca.
15445
15446 2018-02-06 Zack Weinberg <zackw@panix.com>
15447
15448 * libio/stdio.h: Don't define getc or putc as macros.
15449 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
15450 not _IO_getc and _IO_putc.
15451
15452 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
15453 * stdio-common/tstgetln.c: Don't redefine ssize_t.
15454
15455 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15456
15457 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
15458 (TCP_FASTOPEN_NO_COOKIE): Likewise.
15459
15460 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
15461
15462 [BZ #14890]
15463 * elf/elf.h (NT_PRFPREG): New macro.
15464 (NT_S390_VXRS_LOW): Likewise.
15465 (NT_S390_VXRS_HIGH): Likewise.
15466 (NT_S390_GS_CB): Likewise.
15467 (NT_S390_GS_BC): Likewise.
15468 (NT_S390_RI_CB): Likewise.
15469
15470 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
15471 (MAP_SYNC): New macro.
15472 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
15473 Likewise.
15474 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
15475 (MAP_SYNC): Likewise.
15476 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
15477 (MAP_SYNC): Likewise.
15478 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
15479 (MAP_SYNC): Likewise.
15480 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
15481 (MAP_SYNC): Likewise.
15482 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
15483 (MAP_SYNC): Likewise.
15484 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
15485 (MAP_SYNC): Likewise.
15486 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
15487 Likewise.
15488 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
15489 Likewise.
15490
15491 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
15492 (MAP_SHARED_VALIDATE): New macro.
15493 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15494 (MAP_SHARED_VALIDATE): Likewise.
15495
15496 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15497
15498 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
15499 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
15500 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
15501
15502 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15503
15504 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
15505 (DT_NUM): Updated to 35.
15506
15507 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15508
15509 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
15510 __builtin_expect with __glibc_likely and __glibc_unlikely.
15511 (elf_machine_rela): Likewise.
15512 (elf_machine_lazy_rel): Likewise.
15513
15514 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15515
15516 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
15517 __builtin_expect with __glibc_likely and __glibc_unlikely.
15518 (elf_machine_lazy_rel): Likewise.
15519
15520 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15521
15522 [BZ #22638]
15523 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
15524 SHARED.
15525 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
15526
15527 2018-02-05 Andreas Schwab <schwab@suse.de>
15528
15529 [BZ #22761]
15530 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
15531 string.
15532
15533 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15534
15535 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
15536 not check against PTHREAD_STACK_MIN.
15537
15538 2018-02-02 Sean McKean <smckean83@gmail.com>
15539
15540 [BZ #22735]
15541 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
15542
15543 2018-02-02 Florian Weimer <fweimer@redhat.com>
15544
15545 [BZ #22753]
15546 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
15547 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
15548 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
15549 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
15550 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
15551 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
15552 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
15553 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
15554 * manual/llio.texi (Scatter-Gather): Mention offset -1.
15555 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
15556 * misc/tst-preadvwritev2.c (do_test): Call it.
15557 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
15558
15559 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
15560
15561 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
15562
15563 * benchtests/bench-memcmp.c: Print json instead of plain text.
15564
15565 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
15566 every test run.
15567
15568 2018-02-01 Joseph Myers <joseph@codesourcery.com>
15569
15570 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15571 version to 4.15.
15572 (s390_sthyi): New syscall.
15573
15574 * sysdeps/generic/ldbl-classify-compat.h: New file.
15575 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
15576 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
15577 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
15578 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
15579 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
15580 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
15581 * sysdeps/ieee754/dbl-64/s_finite.c: Include
15582 <ldbl-classify-compat.h>.
15583 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15584 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
15585 <ldbl-classify-compat.h>.
15586 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15587 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
15588 <ldbl-classify-compat.h>.
15589 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15590 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
15591 <ldbl-classify-compat.h>.
15592 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15593 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
15594 <ldbl-classify-compat.h>.
15595 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15596 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
15597 <ldbl-classify-compat.h>.
15598 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15599 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
15600 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15601 * sysdeps/m68k/coldfire/math_private.h: Remove file.
15602 * sysdeps/microblaze/math_private.h: Likewise.
15603 * sysdeps/nios2/math_private.h: Likewise.
15604 * sysdeps/sh/math_private.h: Likewise.
15605
15606 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
15607 * sysdeps/m68k/coldfire/math_private.h: ... here.
15608 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
15609 * sysdeps/tile/math_private.h: Likewise.
15610 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
15611 Remove macro.
15612 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
15613 Likewise.
15614
15615 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
15616 Remove macro.
15617 (libc_fetestexcept): Likewise.
15618 (libc_feupdateenv_test): Likewise.
15619 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
15620 (libc_fetestexcept): Likewise.
15621 (libc_feupdateenv_test): Likewise.
15622 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
15623 (libc_fetestexcept): Likewise.
15624 (libc_feupdateenv_test): Likewise.
15625 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
15626 (libc_fetestexcept): Likewise.
15627 (libc_feupdateenv_test): Likewise.
15628
15629 * sysdeps/generic/math_private.h
15630 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
15631 New inline function.
15632 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
15633 Likewise.
15634
15635 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
15636 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
15637 * sysdeps/generic/math_private.h
15638 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
15639 inline function.
15640 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
15641 Likewise.
15642 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
15643 Likewise.
15644 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
15645 Likewise.
15646 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
15647 Likewise.
15648 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
15649 Likewise.
15650 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
15651 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
15652 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
15653 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
15654 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
15655 (__fegetenv): Likewise.
15656 (fesetenv): Likewise.
15657 (__fesetenv): Likewise.
15658 (feupdateenv): Likewise.
15659 (__feupdateenv): Likewise.
15660 (fegetround): Likewise.
15661 (__fegetround): Likewise.
15662 (fesetround): Likewise.
15663 (__fesetround): Likewise.
15664
15665 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
15666 (feraiseexcept): New macro.
15667 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
15668 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
15669 Remove macro.
15670 (__feraiseexcept): Likewise.
15671 (feclearexcept): Likewise.
15672 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
15673 (__feraiseexcept): Likewise.
15674 (feclearexcept): Likewise.
15675 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
15676 (__feraiseexcept): Likewise.
15677 (feclearexcept): Likewise.
15678 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
15679 (__feraiseexcept): Likewise.
15680 (feclearexcept): Likewise.
15681 (fetestexcept): Likewise.
15682
15683 * sysdeps/m68k/coldfire/math-tests.h: New file.
15684
15685 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
15686 * sysdeps/m68k/bits/fenv.h: ... here.
15687 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
15688 not define.
15689 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
15690 Likewise.
15691 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
15692 Likewise.
15693 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
15694 Likewise.
15695 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
15696 Likewise.
15697 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
15698 Define to 0.
15699 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
15700 (__FE_UNDEFINED): New enum constant.
15701 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
15702 Do not define.
15703 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
15704 Likewise.
15705 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
15706 Likewise.
15707 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
15708 to match generic bits/fenv.h.
15709 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
15710 Do not define.
15711
15712 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
15713 packed on bits.
15714 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
15715 * soft-fp/half.h (union _FP_UNION_H): Likewise.
15716 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
15717 * soft-fp/single.h (union _FP_UNION_S): Likewise.
15718
15719 2018-02-01 Carlos O'Donell <carlos@redhat.com>
15720 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
15721 Joseph Myers <joseph@codesourcery.com>
15722
15723 [BZ #21314]
15724 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
15725 (__log1p): Disable -Wmaybe-uninitialized for -Os around
15726 computation using c.
15727 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
15728 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
15729 computation using c.
15730
15731 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15732
15733 * version.h (RELEASE): Set to "development".
15734 (VERSION): Set to "2.27.9000".
15735 * NEWS (2.28): New section.
15736
15737 * version.h (RELEASE): Set to "stable".
15738 (VERSION): Set to "2.27".
15739 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
15740
15741 * NEWS: Add the list of bugs fixed in 2.27.
15742
15743 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15744
15745 * stdlib/test-atexit-race-common.c (do_test): Check stack size
15746 against PTHREAD_STACK_MIN.
15747
15748 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15749
15750 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
15751 New entries.
15752 (Rafal Luzynski, Andreas Schwab): Update.
15753
15754 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
15755
15756 [BZ #10871]
15757 * NEWS: List the languages which actually use the alternative
15758 months feature in this release. Also explain that "alt_mon" and
15759 "ab_alt_mon" are optional.
15760
15761 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
15762
15763 [BZ #22765]
15764 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
15765
15766 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
15767
15768 * manual/install.texi (Tools for Compilation): Update the newest
15769 versions of gcc, binutils, texinfo, gawk, bison, and sed.
15770 * INSTALL: Regenerated.
15771
15772 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15773
15774 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
15775 instead of __builtin_expect.
15776
15777 2018-01-30 Florian Weimer <fweimer@redhat.com>
15778
15779 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
15780 data.
15781 * nss/tst-nss-getpwent.c (do_test): Likewise.
15782
15783 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
15784
15785 [BZ #10871]
15786 * localedata/locales/hr_HR (mon): Rename to...
15787 (alt_mon): This.
15788 (mon): Import from CLDR (genitive case).
15789 (d_t_fmt): Update the comment.
15790
15791 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
15792
15793 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
15794 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
15795 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
15796
15797 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15798
15799 * mach/Versions: Fix version when __mach_host_self_ was added.
15800 * hurd/Versions: Fix version when _hurd_exec_paths was added.
15801 * sysdeps/mach/hurd/i386/ld.abilist: New file.
15802 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
15803 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
15804 * sysdeps/mach/hurd/i386/libc.abilist: New file.
15805 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
15806 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
15807 * sysdeps/mach/hurd/i386/libm.abilist: New file.
15808 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
15809 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
15810 * sysdeps/mach/hurd/i386/librt.abilist: New file.
15811 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
15812 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
15813 || to respect codestyle.
15814 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
15815 (do_test_bz20181): Rename accordingly.
15816 * malloc/malloc.c: Include <assert.h>.
15817 (assert): Do not define.
15818 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
15819 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
15820 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
15821 * sysdeps/mach/hurd/hp-timing.h: New file.
15822 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
15823
15824 2018-01-29 Darius Rad <darius@bluespec.com>
15825
15826 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
15827
15828 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
15829
15830 * sysdeps/init_array/crti.S (.section .init_array): Add
15831 PREINIT_FUNCTION when defined.
15832 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
15833 * config.h.in: Regenerate.
15834 * manual/platform.texi: Add RISC-V documenation for
15835 __riscv_flush_icache.
15836 * sysdeps/riscv/__longjmp.S: New file.
15837 * sysdeps/riscv/backtrace.c: Likewise.
15838 * sysdeps/riscv/bits/endian.h: Likewise.
15839 * sysdeps/riscv/bits/setjmp.h: Likewise.
15840 * sysdeps/riscv/bits/wordsize.h: Likewise.
15841 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
15842 * sysdeps/riscv/bsd-setjmp.c: Likewise.
15843 * sysdeps/riscv/dl-trampoline.S: Likewise.
15844 * sysdeps/riscv/gccframe.h: Likewise.
15845 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
15846 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
15847 * sysdeps/riscv/machine-gmon.h: Likewise.
15848 * sysdeps/riscv/memusage.h: Likewise.
15849 * sysdeps/riscv/setjmp.S: Likewise.
15850 * sysdeps/riscv/sys/asm.h: Likewise.
15851 * sysdeps/riscv/tls-macros.h: Likewise.
15852 * sysdeps/riscv/dl-tls.h: New file.
15853 * sysdeps/riscv/libc-tls.c: Likewise.
15854 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
15855 * sysdeps/riscv/nptl/tls.h: Likewise.
15856 * sysdeps/riscv/stackinfo.h: Likewise.
15857 * sysdeps/riscv/bits/fenv.h: New file.
15858 * sysdeps/riscv/e_sqrtl.c: Likewise.
15859 * sysdeps/riscv/fpu_control.h: Likewise.
15860 * sysdeps/riscv/math-tests.h: Likewise.
15861 * sysdeps/riscv/nofpu/Implies: Likewise.
15862 * sysdeps/riscv/sfp-machine.h: Likewise.
15863 * sysdeps/riscv/tininess.h: Likewise.
15864 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
15865 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
15866 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
15867 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
15868 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
15869 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
15870 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
15871 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
15872 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
15873 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
15874 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
15875 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
15876 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
15877 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
15878 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
15879 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
15880 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
15881 * sysdeps/riscv/rvd/s_finite.c: Likewise.
15882 * sysdeps/riscv/rvd/s_fma.c: Likewise.
15883 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
15884 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
15885 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
15886 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
15887 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
15888 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
15889 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
15890 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
15891 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
15892 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
15893 * sysdeps/riscv/rvf/fegetround.c: Likewise.
15894 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
15895 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
15896 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
15897 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
15898 * sysdeps/riscv/rvf/fesetround.c: Likewise.
15899 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
15900 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
15901 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
15902 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
15903 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
15904 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
15905 * sysdeps/riscv/rvf/math_private.h: Likewise.
15906 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
15907 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
15908 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
15909 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
15910 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
15911 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
15912 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
15913 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
15914 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
15915 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
15916 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
15917 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
15918 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
15919 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
15920 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
15921 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
15922 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
15923 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
15924 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
15925 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
15926 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
15927 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15928 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
15929 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
15930 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
15931 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
15932 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
15933 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
15934 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
15935 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
15936 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
15937 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
15938 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
15939 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
15940 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
15941 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
15942 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
15943 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
15944 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
15945 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
15946 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
15947 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
15948 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
15949 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
15950 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
15951 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
15952 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
15953 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
15954 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
15955 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
15956 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
15957 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
15958 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
15959 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
15960 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
15961 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
15962 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
15963 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
15964 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
15965 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
15966 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15967 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15968 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15969 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
15970 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15971 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
15972 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
15973 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
15974 * sysdeps/riscv/Implies: New file.
15975 * sysdeps/riscv/Makefile: Likewise.
15976 * sysdeps/riscv/configure: Likewise.
15977 * sysdeps/riscv/configure.ac: Likewise.
15978 * sysdeps/riscv/nptl/Makefile: Likewise.
15979 * sysdeps/riscv/preconfigure: Likewise.
15980 * sysdeps/riscv/rv64/Implies-after: Likewise.
15981 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
15982 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
15983 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
15984 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
15985 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
15986 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
15987 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
15988 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
15989 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
15990 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
15991 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
15992 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
15993 (Config): Likewise.
15994
15995 2018-01-29 Florian Weimer <fweimer@redhat.com>
15996
15997 [BZ #22701]
15998 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
15999 libnsl_hidden_proto.
16000 * include/rpcsvc/yp.h (yp_xdrall): Declare with
16001 libnsl_hidden_proto.
16002 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
16003 * nis/Makefile (libnsl-routines): Add nss-default only for
16004 build-obsolete-nsl.
16005 * nis/nis_defaults.c (__nis_default_ttl): Add
16006 libnsl_hidden_nolink_def.
16007 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
16008 declaration.
16009 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
16010 * nis/ypclnt.c (yp_maplist): Likewise.
16011
16012 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
16013
16014 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16015 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
16016
16017 2018-01-29 Joseph Myers <joseph@codesourcery.com>
16018
16019 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
16020 clean -dxfq for git updates when replacing sources.
16021
16022 * scripts/build-many-glibcs.py (Config.build_gcc): Use
16023 --disable-libcilkrts unconditionally, not just for the final GCC
16024 build for Hurd.
16025
16026 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16027 version to 4.15.
16028
16029 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16030
16031 [BZ #10871]
16032 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
16033 case).
16034
16035 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16036
16037 [BZ #10871]
16038 * localedata/locales/be_BY (mon): Rename to...
16039 (alt_mon): This, then synchronize with CLDR (nominative case).
16040 (abmon): Rename to...
16041 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16042 (mon): Import from CLDR (genitive case).
16043 (abmon): Likewise.
16044 * localedata/locales/be_BY@latin (mon): Rename to...
16045 (alt_mon): This.
16046 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
16047
16048 * localedata/locales/be_BY@latin (lang_name): Reworded to
16049 "biełaruskaja mova".
16050
16051 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16052
16053 [BZ #10871]
16054 * localedata/locales/el_CY (mon): Renamed to...
16055 (alt_mon): This.
16056 (mon): Import from CLDR (genitive case).
16057 * localedata/locales/el_GR: Likewise.
16058
16059 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16060
16061 [BZ #10871]
16062 * localedata/locales/ru_RU (mon): Rename to...
16063 (alt_mon): This.
16064 (abmon): Rename to...
16065 (ab_alt_mon): This.
16066 (mon): Import from CLDR (genitive case).
16067 (abmon): Copy from the old content except the 5th month which is
16068 now in the genitive case, even when abbreviated.
16069 * localedata/locales/ru_UA: Likewise.
16070 * time/tst-strptime.c (day_tests): Add an actual example of
16071 a difference between %b and %Ob in Russian.
16072
16073 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16074
16075 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
16076 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
16077 a `c' variable.
16078 * resolv/res-close.c: Include <stdlib.h>.
16079 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
16080 <sys/wait.h>, <time.h>, <sys/uio.h>.
16081 (NOT_CANCEL_H): Add inclusion guard.
16082 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
16083 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
16084 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
16085 return 0.
16086 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
16087 vm_address_t * to ElfW(Addr) * for dl_main parameter.
16088 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
16089 instead of void *.
16090 * sysdeps/pthread/timer_create.c (timer_create): Do not use
16091 timer_ptr2id to cast struct timer_node * to void *.
16092 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
16093 --disable-libcilkrts to gcc configure.
16094 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
16095 and make them the default for now.
16096 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
16097 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
16098 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
16099 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
16100 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
16101 MACH_IPC_COMPAT.
16102 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
16103 __task_terminate would ever return successfully.
16104 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
16105 to global scope.
16106 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
16107 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
16108 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
16109 critical section to make code simpler and avoid warning.
16110 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
16111 critical section to make code simpler and avoid warning.
16112 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
16113 const char * instead of char *.
16114 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
16115 __hurd_file_name_split, hurd_file_name_split,
16116 __hurd_directory_name_split, hurd_directory_name_split,
16117 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
16118 hurd_file_name_path_lookup): Make lookup function parameter take a
16119 const char *name instead of char *name.
16120 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
16121 __hurd_directory_name_split): Likewise.
16122 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
16123 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
16124 * sysdeps/mach/hurd/check_native.c: New file.
16125 * sysdeps/mach/hurd/check_pf.c: New file.
16126 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
16127 (__freeifaddrs): Define macro to freeifaddrs.
16128 * sysdeps/mach/hurd/libhurduser.abilist: New file.
16129 * sysdeps/mach/libmachuser.abilist: New file.
16130 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
16131 (do_test_bz20181): Rename accordingly.
16132 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
16133 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
16134 <sys/mount.h>.
16135 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
16136 version only if __USE_EXTERN_INLINES is defined.
16137 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
16138 __hurd_sockfail): Likewise.
16139 (_hurd_fd_get): Always declare functions, and provide inline versions
16140 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
16141 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
16142 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
16143 _hurd_port_set): Always declare functions, and provide inline versions
16144 only if __USE_EXTERN_INLINES and _LIBC are defined and
16145 IS_IN(libc).
16146 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
16147 _hurd_critical_section_unlock): Likewise.
16148 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
16149 * __hurd_threadvar_location): Likewise.
16150 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
16151 _hurd_userlink_clear): Likewise.
16152 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
16153 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
16154 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
16155 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
16156 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
16157 __spin_lock_locked): Likewise.
16158 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
16159 __spin_lock_locked): Likewise.
16160 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
16161 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
16162 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
16163 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
16164 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
16165 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
16166 _POSIX_NO_TRUNC): Define to 0.
16167 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
16168 check size against PTHREAD_STACK_MIN.
16169 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
16170 IS_IN(libpthread)]: Include <sigsetops.h>.
16171 * mach/Makefile (user-interfaces): Add mach/gnumach.
16172 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
16173 * sysdeps/mach/configure (mach_interface_list): Regenerate.
16174 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
16175 instead of invalid -1.
16176 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
16177 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
16178 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
16179 <net/ppp_defs.h>.
16180
16181 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
16182
16183 * hurd/fcntl-internal.h: New file.
16184
16185 2018-01-27 James Clarke <jrtc27@jrtc27.com>
16186
16187 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16188
16189 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16190
16191 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
16192
16193 [BZ #22701]
16194 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
16195 Build only shared objects.
16196
16197 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16198
16199 * README: Update for hppa.
16200
16201 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16202
16203 * sysdeps/sparc/fpu/libm-test-ulps: Update
16204 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
16205
16206 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16207
16208 Revert:
16209
16210 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16211
16212 [BZ #22563]
16213 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16214 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
16215 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16216 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
16217 to feature_1.
16218
16219 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16220
16221 [BZ #22563]
16222 * bits/types/__cancel_jmp_buf_tag.h: New file.
16223 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
16224 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
16225 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
16226 * nptl/Makefile (headers): Add
16227 bits/types/__cancel_jmp_buf_tag.h.
16228 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
16229 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
16230 * sysdeps/nptl/pthread.h: Include
16231 <bits/types/__cancel_jmp_buf_tag.h>.
16232 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
16233 __cancel_jmp_buf.
16234 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
16235
16236 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
16237
16238 [BZ #10871]
16239 * localedata/locales/uk_UA (mon): Renamed to...
16240 (alt_mon): This.
16241 (alt_digits): "0" removed and then renamed to...
16242 (mon): This.
16243 (date_fmt): Definition changed not to use the alternative
16244 digits hack.
16245
16246 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
16247
16248 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
16249 FLAG_RISCV_FLOAT_ABI_DOUBLE.
16250 * elf/elf.h (EF_RISCV_RVC): New define.
16251 (EF_RISCV_FLOAT_ABI): Likewise.
16252 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
16253 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
16254 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16255 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
16256 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
16257 define.
16258 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16259
16260 2018-01-25 Andreas Schwab <schwab@suse.de>
16261
16262 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
16263 single quotes.
16264 * sysdeps/gnu/configure: Regenerate.
16265 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
16266 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16268 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
16269 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
16270 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
16271 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
16272 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
16273
16274 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16275
16276 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
16277 URL, and run autoconf, make it the default for now.
16278
16279 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16280
16281 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16282 soft-float ColdFire configuration.
16283
16284 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
16285 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
16286 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
16287
16288 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
16289 MicroBlaze file.
16290
16291 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
16292 ....
16293 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
16294 ... here.
16295 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
16296 New file.
16297
16298 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
16299 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
16300 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
16301 file.
16302
16303 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
16304
16305 [BZ #22742]
16306 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
16307 Rename to __reserved and add comment.
16308 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
16309 Rename to __reserved.
16310
16311 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16312
16313 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16314 i686-gnu configurations.
16315 (Context.run_builds): Include mig, gnumach and hurd in components
16316 considered.
16317 (Context.checkout): Add mig, gnumach and hurd to components.
16318 (Context.checkout_tar): Add URL mappings for mig, gnumach and
16319 hurd.
16320 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
16321 (Config.build): Install gnumach headers, build mig and install
16322 hurd headers for 'gnu' OS.
16323 (Config.install_gnumach_headers): New function.
16324 (Config.install_hurd_headers): Likewise.
16325 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
16326 when building for 'gnu' OS.
16327
16328 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
16329
16330 * manual/tunables.texi (Hardware Capability Tunables): Fix
16331 spelling.
16332
16333 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
16334
16335 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
16336 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
16337 (ALTMON_11, ALTMON_12): Improve documentation.
16338 * manual/time.texi (strftime): Likewise.
16339
16340 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16341
16342 [BZ #10871]
16343 * localedata/locales/pl_PL: Alternative month names added,
16344 primary month names are genitive now.
16345 * time/tst-strptime.c (day_tests): Actually use a genitive case
16346 of a month name in Polish language.
16347
16348 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16349
16350 [BZ #10871]
16351 * manual/locale.texi: Document ALTMON_1..12 constants for
16352 nl_langinfo. Specify when to use ALTMON instead of MON.
16353 * manual/time.texi (strftime, strptime): Document GNU extension
16354 permitting O modifier with %B and %b. Specify when to use
16355 %OB instead of %B.
16356
16357 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16358
16359 [BZ #10871]
16360 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
16361 names, define them as the same as abbreviated month names explicitly.
16362 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
16363 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
16364 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
16365 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
16366 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
16367 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
16368 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
16369 _NL_WABALTMON_12): New enum constants.
16370 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
16371 wab_alt_mon, and ab_alt_mon_defined members.
16372 (time_output): Output ab_alt_mon and wab_alt_mon members.
16373 (time_read): Read them, initialize them as copies of abmon and wabmon
16374 respectively if they are missing, initialize ab_alt_mon_defined.
16375 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
16376 * locale/programs/locfile-kw.h: Regenerate.
16377 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
16378 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
16379 and ru_RU.UTF-8.
16380 * time/strftime_l.c (a_altmonth, aam_len): New macros.
16381 [!COMPILE_WIDE] (ABALTMON_1): New macro.
16382 (__strftime_internal): Handle %Ob and %Oh formats.
16383 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
16384 (__strptime_internal): Handle %Ob and %Oh formats.
16385 * time/tst-strptime.c (day_tests): Add more tests to parse different
16386 forms of month names including the new %Ob format specifier.
16387
16388 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16389
16390 [BZ #10871]
16391 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
16392 define them as the same as primary full month names explicitly.
16393 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
16394 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
16395 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
16396 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
16397 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
16398 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
16399 _NL_WALTMON_12): New enum constants.
16400 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
16401 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
16402 macros.
16403 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
16404 walt_mon, and alt_mon_defined members.
16405 (time_output): Output alt_mon and walt_mon members.
16406 (time_read): Read them, initialize them as copies of mon and wmon
16407 respectively if they are missing, initialize alt_mon_defined.
16408 * locale/programs/locfile-kw.gperf (alt_mon): Define.
16409 * locale/programs/locfile-kw.h: Regenerate.
16410 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
16411 * localedata/tst-langinfo.c (map): Add tests for the new constants
16412 ALTMON_1 .. ALTMON_12.
16413 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
16414 and pl_PL.UTF-8.
16415 * time/strftime_l.c (f_altmonth): New macro.
16416 (__strftime_internal): Handle %OB format.
16417 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
16418 (__strptime_internal): Handle %OB format.
16419 * time/tst-strptime.c (day_tests): Add tests to parse different forms
16420 of month names including the new %OB format specifier.
16421
16422 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16423
16424 [BZ #22685]
16425 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
16426 from ABORT_TRANSACTION.
16427 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
16428 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
16429 ABORT_TRANSACTION_IMPL): Likewise.
16430 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
16431 Linux code, but remove the code that aborts transactions.
16432
16433 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16434
16435 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
16436
16437 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
16438
16439 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
16440 in date: "2004-14-09" should be "2004-09-14".
16441 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
16442 "2003-15-09" should be "2003-09-15".
16443
16444 2018-01-18 Arjun Shankar <arjun@redhat.com>
16445
16446 [BZ #22343]
16447 [BZ #22774]
16448 CVE-2018-6485
16449 CVE-2018-6551
16450 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
16451 after padding.
16452 (_int_memalign): check for integer overflow before calling
16453 _int_malloc.
16454 * malloc/tst-malloc-too-large.c: New test.
16455 * malloc/Makefile: Add tst-malloc-too-large.
16456
16457 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
16458
16459 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
16460 in date: "2017-24-07" should be "2017-07-24".
16461 * localedata/locales/mai_IN: Likewise.
16462 * localedata/locales/mai_NP: Likewise.
16463
16464 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
16465
16466 * po/ru.po: Update translations.
16467
16468 2018-01-17 Joseph Myers <joseph@codesourcery.com>
16469
16470 [BZ #22719]
16471 * sysdeps/hppa/backtrace.c: New file.
16472
16473 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
16474
16475 [BZ #22715]
16476 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
16477 align La_x86_64_retval to VEC_SIZE.
16478
16479 2018-01-16 Joseph Myers <joseph@codesourcery.com>
16480
16481 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
16482 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
16483
16484 2018-01-16 Florian Weimer <fweimer@redhat.com>
16485
16486 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
16487 Move tst-thread-exit-clobber ...
16488 [$(CXX)] (tests-unsupported): ... to here.
16489
16490 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16491
16492 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
16493 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
16494 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16495 (_dl_aarch64_cap_flags): Update.
16496 (_DL_HWCAP_COUNT): Update.
16497
16498 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16499
16500 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
16501 (_DL_HWCAP_LAST): Remove.
16502 (_DL_HWCAP_COUNT): Move to ...
16503 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16504 (_DL_HWCAP_COUNT): ... here.
16505
16506 2018-01-16 Florian Weimer <fweimer@redhat.com>
16507
16508 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
16509 mode with GNU extensions.
16510
16511 2018-01-15 Alan Hayward <alan.hayward@arm.com>
16512
16513 * elf/elf.h (NT_ARM_SVE): Define.
16514
16515 2018-01-15 Florian Weimer <fweimer@redhat.com>
16516
16517 [BZ #22636]
16518 * nptl/tst-minstack-throw.cc: New file.
16519 * nptl/Makefile (tests): Add tst-minstack-throw.
16520 (LDLIBS-tst-minstack-throw): Link with libstdc++.
16521 [!CXX] (tests-unsupported): Add tst-minstack-throw.
16522
16523 2018-01-15 Joseph Myers <joseph@codesourcery.com>
16524
16525 * scripts/build-many-glibcs.py (Context.checkout): Default
16526 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
16527 version to 1.1.0.
16528
16529 2018-01-13 Carlos O'Donell <carlos@redhat.com>
16530
16531 [BZ #22707]
16532 * elf/elf.h (DF_1_STUB): Define.
16533 (DF_1_PIE): Define.
16534
16535 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16536
16537 [BZ #22697]
16538 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
16539 Do not add 0.5 to integer or out-of-range arguments.
16540
16541 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16542
16543 * po/bg.po: Update translations.
16544 * po/cs.po: Likewise.
16545 * po/de.po: Likewise.
16546 * po/ko.po: Likewise.
16547 * po/pl.po: Likewise.
16548 * po/sv.po: Likewise.
16549 * po/uk.po: Likewise.
16550 * po/vi.po: Likewise.
16551
16552 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16553
16554 * aarch64/start.S (_start): Use __wrap_main.
16555 (__wrap_main): New local symbol.
16556
16557 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16558
16559 [BZ #22679]
16560 CVE-2018-1000001
16561 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
16562 generic_getcwd if the path returned by getcwd syscall is not absolute.
16563 * io/tst-getcwd-abspath.c: New test.
16564 * io/Makefile (tests): Add tst-getcwd-abspath.
16565
16566 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
16567
16568 * malloc/malloc.c (malloc_consolidate): Add size check.
16569
16570 2018-01-12 Florian Weimer <fweimer@redhat.com>
16571
16572 * support/write_message.c (write_message): Preserve errno.
16573 * support/check.c (print_failure): Likewise.
16574 * support/support_test_verify_impl.c (support_test_verify_impl):
16575 Likewise.
16576 * support/support_test_compare_failure.c
16577 (support_test_compare_failure): Likewise.
16578
16579 2018-01-12 Florian Weimer <fweimer@redhat.com>
16580
16581 [BZ #22701]
16582 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
16583 Prevent installation of libnsl.so.
16584 (libnsl-inhibit-o): Do not build (or install) static libraries.
16585
16586 2018-01-12 Egmont Koblinger <egmont@gmail.com>
16587
16588 [BZ #22657]
16589 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
16590 before the day number which may produce a double space.
16591 (date_fmt): Likewise.
16592
16593 2018-01-12 Joseph Myers <joseph@codesourcery.com>
16594
16595 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
16596 instead of fegetenv.
16597
16598 2018-01-11 Joseph Myers <joseph@codesourcery.com>
16599
16600 [BZ #22702]
16601 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
16602 comment to say exceptions are discarded.
16603 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
16604 __fegetenv.
16605 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
16606 be enabled.
16607
16608 2018-01-11 Florian Weimer <fweimer@redhat.com>
16609
16610 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
16611 and error message.
16612
16613 2018-01-11 Florian Weimer <fweimer@redhat.com>
16614
16615 [BZ #22636]
16616 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
16617 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
16618
16619 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16620
16621 [BZ #22693]
16622 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
16623 negative arguments in test for NaN or infinity argument.
16624
16625 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
16626
16627 * po/libc.pot: Regenerate.
16628
16629 2018-01-10 Florian Weimer <fweimer@redhat.com>
16630
16631 [BZ #22636]
16632 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
16633 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
16634
16635 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16636
16637 * hurd/hurd/fd.h: Include <fcntl.h>
16638 (__hurd_at_flags): New function.
16639 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
16640 with call to __hurd_at_flags.
16641 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
16642 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
16643 __faccessat
16644 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
16645 (__access_noerrno): Use __faccessat_common instead of access_common.
16646 (__access): Likewise.
16647 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
16648 with a call to __faccessat.
16649 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
16650 (__faccessat_common): ... this. Move implementation of __access into it when
16651 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
16652 reauthenticate_cwdir_at helper to implement AT mechanism.
16653 (__faccessat_noerrno): New function, just calls __faccessat_common.
16654 (__faccessat): New function, just calls __faccessat_common.
16655 (faccessat): Define weak alias.
16656
16657 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16658
16659 [BZ #22691]
16660 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16661 (CFLAGS-s_fmaxmagl.c): New variable.
16662 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
16663
16664 [BZ #22690]
16665 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
16666 long int for arguments of possibly overflowing addition or
16667 subtraction.
16668 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16669
16670 2018-01-09 Joseph Myers <joseph@codesourcery.com>
16671
16672 [BZ #22688]
16673 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16674 (CFLAGS-e_remainderl.c): New variable.
16675
16676 [BZ #22687]
16677 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
16678 variable.
16679 (CFLAGS-s_cacoshl.c): Likewise.
16680 (CFLAGS-s_casinhl.c): Likewise.
16681 (CFLAGS-s_catanl.c): Likewise.
16682 (CFLAGS-s_catanhl.c): Likewise.
16683 (CFLAGS-s_cexpl.c): Likewise.
16684 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
16685 (CFLAGS-s_csinhl.c): Likewise.
16686 (CFLAGS-s_clogl.c): Likewise.
16687 (CFLAGS-s_clog10l.c): Likewise.
16688 (CFLAGS-s_csinl.c): Likewise.
16689 (CFLAGS-s_csqrtl.c): Likewise.
16690
16691 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
16692 2017-01-09 Svante Signell <svante.signell@gmail.com>
16693
16694 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
16695 (_hurd_exec_paths): New function.
16696 * hurd/hurd.h (_hurd_exec): Deprecate function.
16697 (_hurd_exec_paths): Declare function.
16698 * hurd/Versions: Export _hurd_exec_paths.
16699 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
16700 (__execve): Use __getcwd to build absolute path, and use
16701 _hurd_exec_paths instead of _hurd_exec.
16702 * sysdeps/mach/hurd/spawni.c: Likewise.
16703 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
16704 _hurd_exec.
16705
16706 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
16707
16708 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
16709 test instead of failing in case of ENOENT returned by posix_openpt.
16710
16711 2018-01-08 Florian Weimer <fweimer@redhat.com>
16712
16713 resolv: Support binary labels in test framework.
16714 * support/resolv_test.c (struct to_be_freed): Remove.
16715 (struct compressed_name): New.
16716 (allocate_compressed_name, ascii_tolower)
16717 (compare_compressed_name): New functions.
16718 (struct resolv_response_builder): Update type of
16719 compression_offsets for use with tsearch. Rempve to_be_freed.
16720 (response_push_pointer_to_free): Remove function.
16721 (resolv_response_add_name): Rewrite using struct compressed_name
16722 and tsearch instead of hsearch_r.
16723 (response_builder_allocate): Remove initialization of
16724 compression_offsets.
16725 (response_builder_free): Update for removal of to_be_freed. Use
16726 tdestroy instead of hdestroy_r.
16727 * resolv/Makefile (tests): Add tst-resolv-binary.
16728 (tst-resolv-binary): Link with -lresolv -lpthread.
16729
16730 2018-01-08 Florian Weimer <fweimer@redhat.com>
16731
16732 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
16733 time. Pass positive flag instead of negative flag to
16734 support_test_compare_failure.
16735 (support_test_compare_failure): Change negative parameter to
16736 positive.
16737 * support/support_test_compare_failure.c (report)
16738 (support_test_compare_failure): Likewise.
16739 * support/tst-test_compare.c (return_ssize_t, return_int): New.
16740 (do_test): Check int/size_t, ssize_t/size_t comparisons.
16741
16742 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
16743
16744 [BZ #22637]
16745 * nptl/descr.h (stackblock, stackblock_size): Update comments.
16746 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
16747 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
16748 stacksize.
16749 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16750
16751 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
16752
16753 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16754 Add s_sincosf-sse2 and s_sincosf-fma.
16755 (CFLAGS-s_sincosf-fma.c): New.
16756 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
16757 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
16758 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
16759 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
16760 __sincosf is defined.
16761
16762 2018-01-08 Florian Weimer <fweimer@redhat.com>
16763
16764 * nptl/tst-thread-exit-clobber.cc: New file.
16765 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
16766 C++11 mode.
16767 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
16768 (tests): Add tst-thread-exit-clobber.
16769 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
16770
16771 2018-01-08 Florian Weimer <fweimer@redhat.com>
16772
16773 * support/check.h (support_static_assert): Define.
16774 (TEST_COMPARE): Use it.
16775
16776 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
16777
16778 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
16779 [!__RLIM_T_MATCHES_RLIM64_T]
16780 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
16781 __getrlimit64. Add libc_hidden_weak.
16782
16783 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
16784
16785 * elf/elf.h (R_RISCV_NONE): New define.
16786 (R_RISCV_32): Likewise.
16787 (R_RISCV_64): Likewise.
16788 (R_RISCV_RELATIVE): Likewise.
16789 (R_RISCV_COPY): Likewise.
16790 (R_RISCV_JUMP_SLOT): Likewise.
16791 (R_RISCV_TLS_DTPMOD32): Likewise.
16792 (R_RISCV_TLS_DTPMOD64): Likewise.
16793 (R_RISCV_TLS_DTPREL32): Likewise.
16794 (R_RISCV_TLS_DTPREL64): Likewise.
16795 (R_RISCV_TLS_TPREL32): Likewise.
16796 (R_RISCV_TLS_TPREL64): Likewise.
16797 * Makerules (make-link-multidir): Make directories before linking into
16798 them.
16799 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
16800 define.
16801 (VDSO_HASH_LINUX_4_15): Likewise.
16802 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
16803 in subdirectories of lib.
16804 * nptl/Makefile (/librt.so): Always depend on
16805 "$(shared-thread-library)".
16806
16807 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16808
16809 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
16810 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
16811 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
16812 (___tls_get_addr).
16813 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
16814 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
16815 "-O2 -march=i686".
16816 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
16817 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
16818 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
16819 * sysdeps/gnu/glob-lstat-compat.c: New file.
16820 * sysdeps/gnu/glob64-lstat-compat.c: New file.
16821 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
16822
16823 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16824
16825 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
16826 Reserve 16 chars to reloc_addr before calling _itoa_word.
16827
16828 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16829
16830 [BZ #22678]
16831 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
16832 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
16833
16834 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
16835 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
16836
16837 * resource/tst-getrlimit.c: Add copyright header.
16838
16839 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16840 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16841
16842 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16843 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
16844 Define __GI_getrlimit64 as weak alias of __getrlimit64.
16845 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
16846 instead.
16847 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16848 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
16849 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
16850 RLIM64_INFINITY): Fix values to match the kernel ones.
16851 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
16852 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
16853 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
16854 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
16855 getrlimit64@@GLIBC_2_27.
16856 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
16857 and setrlimit64.
16858 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
16859 getrlimit, setrlimit, getrlimit64 and setrlimit64.
16860 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
16861 setrlimit, getrlimit64 and setrlimit64.
16862
16863 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16864
16865 [BZ #22648]
16866 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
16867 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
16868
16869 2018-01-04 Joseph Myers <joseph@codesourcery.com>
16870
16871 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
16872 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
16873 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
16874
16875 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16876
16877 [BZ #15479]
16878 [BZ #22666]
16879 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
16880 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
16881
16882 [BZ #15479]
16883 [BZ #22665]
16884 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
16885 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
16886 * sysdeps/alpha/fpu/s_floor.c: Likewise.
16887 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
16888
16889 2018-01-04 Florian Weimer <fweimer@redhat.com>
16890
16891 [BZ #22667]
16892 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16893 Align the stack before calling exit.
16894 * stdlib/tst-makecontext-align.c: New file.
16895 * stdlib/Makefile (tests): Add tst-makecontext-align.
16896
16897 2018-01-04 Florian Weimer <fweimer@redhat.com>
16898
16899 Add support for calling dlvsym from libc.so.
16900 * include/dlfcn.h (__libc_dlvsym): Declare.
16901 * elf/Makefile (tests-static-internal): Add
16902 tst-libc_dlvsym-static.
16903 (tests-internal): Add tst-libc_dlvsym.
16904 (modules-names): Add tst-libc_dlvsym-dso.
16905 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
16906 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
16907 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
16908 object tst-libc_dlvsym-dso.so needs to be built before running
16909 these tests.
16910 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
16911 * elf/Versions: Export __libc_dlvsym.
16912 * elf/dl-libc.c (struct do_dlvsym_args): New.
16913 (do_dlvsym, __libc_dlvsym): New functions.
16914 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
16915 (_dl_open_hook2): New variable.
16916 (__libc_register_dl_open_hook): Set it.
16917 * elf/tst-libc_dlvsym-dso.c: New file.
16918 * elf/tst-libc_dlvsym-static.c: Likewise.
16919 * elf/tst-libc_dlvsym.c: Likewise.
16920 * elf/tst-libc_dlvsym.h: Likewise.
16921
16922 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16923
16924 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
16925 include <sys/mount.h>.
16926
16927 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
16928
16929 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
16930 Add __NO_MATH_ERRNO__ check.
16931
16932 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16933
16934 * sysdeps/mips/mips32/libm-test-ulps: Update.
16935 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16936
16937 2018-01-02 Florian Weimer <fweimer@redhat.com>
16938
16939 * misc/tst-pselect.c: Add copyright header.
16940
16941 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16942
16943 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
16944 comment.
16945 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
16946 comment.
16947 (settrlimit): Rename into setrlimit.
16948 (__sttrlimit): Rename into __setrlimit.
16949
16950 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
16951 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
16952 never defined in that case.
16953
16954 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16955
16956 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
16957
16958 * sysdeps/arm/libm-test-ulps: Update.
16959
16960 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
16961 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
16962
16963 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16964
16965 * NEWS: Add cosf and sincosf to list of optimized functions.
16966
16967 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16968
16969 [BZ #22660]
16970 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
16971 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
16972 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
16973 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
16974
16975 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
16976
16977 [BZ #22433]
16978 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
16979
16980 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
16981 making a copy of it.
16982
16983 2018-01-01 Joseph Myers <joseph@codesourcery.com>
16984
16985 * manual/texinfo.tex: Update to version 2017-12-26.21 with
16986 trailing whitespace removed.
16987 * scripts/config.guess: Update to version 2018-01-01.
16988 * scripts/config.sub: Update to version 2018-01-01.
16989 * scripts/move-if-change: Update from gnulib.
16990
16991 * NEWS: Update copyright dates.
16992 * catgets/gencat.c (print_version): Likewise.
16993 * csu/version.c (banner): Likewise.
16994 * debug/catchsegv.sh: Likewise.
16995 * debug/pcprofiledump.c (print_version): Likewise.
16996 * debug/xtrace.sh (do_version): Likewise.
16997 * elf/ldconfig.c (print_version): Likewise.
16998 * elf/ldd.bash.in: Likewise.
16999 * elf/pldd.c (print_version): Likewise.
17000 * elf/sotruss.sh: Likewise.
17001 * elf/sprof.c (print_version): Likewise.
17002 * iconv/iconv_prog.c (print_version): Likewise.
17003 * iconv/iconvconfig.c (print_version): Likewise.
17004 * locale/programs/locale.c (print_version): Likewise.
17005 * locale/programs/localedef.c (print_version): Likewise.
17006 * login/programs/pt_chown.c (print_version): Likewise.
17007 * malloc/memusage.sh (do_version): Likewise.
17008 * malloc/memusagestat.c (print_version): Likewise.
17009 * malloc/mtrace.pl: Likewise.
17010 * manual/libc.texinfo: Likewise.
17011 * nptl/version.c (banner): Likewise.
17012 * nscd/nscd.c (print_version): Likewise.
17013 * nss/getent.c (print_version): Likewise.
17014 * nss/makedb.c (print_version): Likewise.
17015 * posix/getconf.c (main): Likewise.
17016 * scripts/test-installation.pl: Likewise.
17017 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17018
17019 * All files with FSF copyright notices: Update copyright dates
17020 using scripts/update-copyrights.
17021 * locale/programs/charmap-kw.h: Regenerated.
17022 * locale/programs/locfile-kw.h: Likewise.
17023
17024 2017-12-31 Zack Weinberg <zackw@panix.com>
17025
17026 * libio/bits/libio-ldbl.h: Correct check for improper
17027 inclusion. Add own multiple include guard.
17028
17029 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
17030 Dmitry V. Levin <ldv@altlinux.org>
17031
17032 [BZ #22625]
17033 CVE-2017-16997
17034 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
17035 string token expansion. Check for NULL pointer or empty string possibly
17036 returned by expand_dynamic_string_token.
17037 (decompose_rpath): Check for empty path after dynamic string
17038 token expansion.
17039
17040 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
17041
17042 [BZ #22433]
17043 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
17044
17045 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
17046 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
17047 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
17048 and PTRACE_SYSCALL.
17049 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
17050 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17051 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17052 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17053 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17054 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17055
17056 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
17057 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17058 __ptrace_peeksiginfo_flags, ptrace): Move to ...
17059 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
17060 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17061 bits/ptrace-shared.h.
17062 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
17063 <bits/ptrace-shared.h>.
17064 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17065 __ptrace_peeksiginfo_flags, ptrace): Remove.
17066 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17067 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17068 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17069 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17070 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17071
17072 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17073
17074 [BZ #17804]
17075 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
17076 end of the loop. Improve comments.
17077
17078 2017-12-29 Zack Weinberg <zackw@panix.com>
17079
17080 [BZ #22615]
17081 * manual/errno.texi (Checking for Errors): Explicitly say that errno
17082 might be set on success.
17083
17084 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17085
17086 [BZ #22611]
17087 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
17088 is unchanged on success.
17089
17090 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
17091
17092 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
17093 updated.
17094 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
17095 expand_dynamic_string_token): Likewise.
17096 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
17097 is_path argument.
17098
17099 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
17100 contains ':'.
17101
17102 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
17103 is set and name contains ':', and all code depending on these checks.
17104
17105 2017-12-24 Zack Weinberg <zackw@panix.com>
17106
17107 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
17108 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
17109 respectively.
17110 * libio/libio.h: Rename the original version of this file to
17111 libio/bits/libio.h. Error out if not included by stdio.h or the
17112 stub libio.h.
17113 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
17114 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
17115 if not included by bits/libio.h or the stub _G_config.h.
17116 * sysdeps/unix/sysv/linux/_G_config.h: Move to
17117 sysdeps/unix/sysv/linux/bits. Error out if not included by
17118 bits/libio.h or the stub _G_config.h.
17119 * libio/stdio.h: Include bits/libio.h, not libio.h.
17120 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
17121 well as libio.h and _G_config.h.
17122
17123 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
17124 * libio/strfile.h, stdio-common/vfscanf.c
17125 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
17126 Include stdio.h, not _G_config.h nor libio.h.
17127 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
17128 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
17129
17130 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
17131
17132 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
17133
17134 [BZ #22347]
17135 * stdlib/getrandom.c (getrandom): Fix comment.
17136 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
17137
17138 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
17139
17140 [BZ #21161]
17141 * manual/arith.texi (strtoul): Fix a typo.
17142
17143 [BZ #22596]
17144 * manual/arith.texi (finite): Fix the description of the return
17145 value.
17146
17147 2017-12-22 Eric Blake <ebb9@byu.net>
17148
17149 Avoid gcc warnings on cygwin
17150 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
17151 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
17152 Avoid unused variable.
17153
17154 2017-12-22 Florian Weimer <fweimer@redhat.com>
17155
17156 * io/Makefile (routines): Add copy_file_range.
17157 (tests): Add tst-copy_file_range.
17158 (tests-static, tests-internal): Add tst-copy_file_range-compat.
17159 * io/Versions (GLIBC_2.27): Export copy_file_range.
17160 * io/copy_file_range-compat.c: New file.
17161 * io/copy_file_range.c: Likewise.
17162 * io/tst-copy_file_range-compat.c: Likewise.
17163 * io/tst-copy_file_range.c: Likewise.
17164 * manual/llio.texi (Copying File Data): New section.
17165 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
17166 * support/Makefile (libsupport-routines): Add support-xfstat,
17167 xftruncate, xlseek.
17168 * support/support-xfstat.c: New file.
17169 * support/xftruncate.c: Likewise.
17170 * support/xlseek.c: Likewise.
17171 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
17172 * sysdeps/unix/sysv/linux/**.abilist: Update.
17173 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
17174
17175 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
17176
17177 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17178 disable-multi-arch variant to aarch64-linux-gnu.
17179
17180 2017-12-20 Joseph Myers <joseph@codesourcery.com>
17181
17182 * manual/texinfo.tex: Update to version 2017-12-18.20 with
17183 trailing whitespace removed.
17184 * scripts/config.guess: Update to version 2017-12-17.
17185 * scripts/config.sub: Update to version 2017-11-23.
17186 * scripts/install-sh: Update to version 2017-09-23.17.
17187 * scripts/move-if-change: Update to version 2017-09-13 06:45.
17188
17189 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17190
17191 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
17192 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17193 * sysdeps/tile/_mcount.S (__mcount): Likewise.
17194 * sysdeps/tile/crti.S (_init, _fini): Likewise.
17195 * sysdeps/tile/crtn.S: Likewise.
17196 * sysdeps/tile/dl-start.S (_start): Likewise.
17197 * sysdeps/tile/dl-trampoline.S: Likewise.
17198 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
17199 * sysdeps/tile/start.S (_start): Likewise.
17200 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
17201 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
17202 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
17203 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
17204 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
17205 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
17206 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
17207
17208 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
17209 comment.
17210 * sysdeps/tile/preconfigure: Remove tilegx folder.
17211 * sysdeps/tile/tilegx/Implies: Move definitions to ...
17212 * sysdeps/tile/Implies: ... here.
17213 * sysdeps/tile/tilegx/Makefile: Move rules to ...
17214 * sysdeps/tile/Makefile: ... here.
17215 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
17216 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
17217 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
17218 * sysdeps/tile/bits/wordsize.h: ... here.
17219 * sysdeps/tile/tilegx/*: Move to ...
17220 * sysdeps/tile/*: ... here.
17221 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
17222 * sysdeps/tile/tilegx32/Implies: ... here.
17223 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
17224 * sysdeps/tile/tilegx64/Implies: ... here.
17225 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
17226 to ...
17227 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17228 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
17229 * sysdeps/unix/sysv/linux/tile/*: ... here.
17230 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
17231 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
17232 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
17233 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
17234
17235 * README: Remove tilepro-*-linux-gnu from supported architecture.
17236 * scripts/build-many-glibcs.py: Likewise.
17237 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17238 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
17239 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
17240 elf_machine_matches_host, elf_machine_dynamic,
17241 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
17242 howto, elf_machine_rela): Likewise.
17243 * sysdeps/tile/dl-start.S (_start): Likewise.
17244 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
17245 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
17246 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
17247 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
17248 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
17249 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
17250 Likewise.
17251 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
17252 * sysdeps/tile/preconfigure: Likewise.
17253 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
17254 POINTER_CHK_GUARD): Likewise.
17255 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
17256 * sysdeps/tile/start.S (_start): Likewise.
17257 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
17258 Likewise.
17259 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
17260 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
17261 CMOVNEZ): Remove.
17262 * sysdeps/unix/sysv/linux/tile/bits/environments.h
17263 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
17264 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
17265 Likewise.
17266 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
17267 * sysdeps/tile/tilepro/Implies: Remove file.
17268 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
17269 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
17270 * sysdeps/tile/tilepro/memchr.c: Likewise.
17271 * sysdeps/tile/tilepro/memcpy.S: Likewise.
17272 * sysdeps/tile/tilepro/memset.c: Likewise.
17273 * sysdeps/tile/tilepro/memusage.h: Likewise.
17274 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
17275 * sysdeps/tile/tilepro/strchr.c: Likewise.
17276 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
17277 * sysdeps/tile/tilepro/strlen.c: Likewise.
17278 * sysdeps/tile/tilepro/strrchr.c: Likewise.
17279 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
17280 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
17281 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
17282 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
17283 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
17284 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17285 Likewise.
17286 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
17287 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17288 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
17289 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
17290 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17291 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
17292 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
17293 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
17294 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
17295 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
17296 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
17297 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
17298 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
17299 tilepro mention in comment.
17300
17301 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
17302 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
17303 * nptl/pthread_join_common.c: New file: common function used on
17304 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
17305 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
17306 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
17307 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
17308 (cleanup): Move definition to pthread_join_common.c.
17309 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
17310 Remove superflous checks.
17311 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
17312 Likewise.
17313
17314 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
17315
17316 * sysdeps/aarch64/libm-test-ulps: Update.
17317
17318 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17319
17320 * sysdeps/aarch64/memset.S (MEMSET): Define.
17321
17322 2017-12-20 Florian Weimer <fweimer@redhat.com>
17323
17324 [BZ #22635]
17325 nptl: Provide full implementation of pthread_self in libc.so.
17326 * nptl/Makefile (routines): Add pthread_self.
17327 (libpthread-routines): Replace pthread_self with
17328 compat-pthread_self.
17329 * nptl/forward.c (pthread_self): Remove.
17330 * nptl/nptl-init.c (pthread_functions): Do not initialize
17331 ptr_pthread_self.
17332 * nptl/pthread_self.c (pthread_self): Remove weak alias.
17333 * nptl/compat-pthread_self.c: New file.
17334 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
17335 Remove ptr_pthread_self.
17336
17337 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
17338
17339 * posix/regcomp.c: Fix spelling in comments.
17340 * posix/regex.h: Likewise.
17341 * posix/regex_internal.c: Likewise.
17342 * posix/regexec.c: Likewise.
17343
17344 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17345
17346 [BZ #22377]
17347 * math/Makefile [C++] (tests): Add test for iseqsig.
17348 * math/math.h [C++] (iseqsig): New implementation, which does
17349 not rely on __MATH_TG/__builtin_types_compatible_p.
17350 * math/test-math-iseqsig.cc: New file.
17351 * sysdeps/powerpc/powerpc64le/Makefile
17352 (CFLAGS-test-math-iseqsig.cc): New variable.
17353
17354 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
17355
17356 * elf/dl-load.c (is_trusted_path): Remove.
17357 (fillin_rpath): Remove check_trusted argument and its use,
17358 all callers changed.
17359
17360 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17361
17362 [BZ #22630]
17363 * Makeconfig (link-pie-before-libc): Replace -pie with
17364 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
17365 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
17366 (tst-dlopen-aout-no-pie): New.
17367 (LDFLAGS-tst-prelink): Removed.
17368 (tst-prelink-no-pie): New.
17369 (LDFLAGS-tst-main1): Removed.
17370 (tst-main1-no-pie): New.
17371 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
17372 (tst-gmon-no-pie): New.
17373
17374 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17375
17376 * manual/install.texi: Document that --enable-static-pie
17377 implies PIE.
17378 * INSTALL: Regenerated.
17379
17380 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
17381
17382 [BZ #21309]
17383 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
17384 unsigned.
17385
17386 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17387
17388 Revert:
17389
17390 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17391
17392 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17393
17394 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17395
17396 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17397 <errno.h>. Include "eexp.tbl".
17398 (half): New constant.
17399 (one): Likewise.
17400 (__ieee754_exp): Rewrite.
17401 (__slowexp): Remove prototype.
17402 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17403 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17404 * sysdeps/i386/fpu/slowexp.c: Likewise.
17405 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17406 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17407 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17408 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17409 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17410 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17411 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17412 comment.
17413 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17414 (CPPFLAGS-slowexp.c): Remove variable.
17415 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17416 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17417 (CFLAGS-slowexp-fma.c): Remove variable.
17418 (CFLAGS-slowexp-fma4.c): Likewise.
17419 (CFLAGS-slowexp-avx.c): Likewise.
17420 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17421 define as macro.
17422 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17423 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17424 * math/Makefile (type-double-routines): Remove slowexp.
17425 * manual/probes.texi (slowexp_p6): Remove.
17426 (slowexp_p32): Likewise.
17427
17428 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17429
17430 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
17431 arithmetic.
17432
17433 * lib/glob.c (glob): Do not pass NULL to mempcpy.
17434
17435 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17436
17437 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17438
17439 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17440
17441 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17442 <errno.h>. Include "eexp.tbl".
17443 (half): New constant.
17444 (one): Likewise.
17445 (__ieee754_exp): Rewrite.
17446 (__slowexp): Remove prototype.
17447 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17448 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17449 * sysdeps/i386/fpu/slowexp.c: Likewise.
17450 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17451 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17452 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17453 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17454 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17455 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17456 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17457 comment.
17458 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17459 (CPPFLAGS-slowexp.c): Remove variable.
17460 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17461 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17462 (CFLAGS-slowexp-fma.c): Remove variable.
17463 (CFLAGS-slowexp-fma4.c): Likewise.
17464 (CFLAGS-slowexp-avx.c): Likewise.
17465 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17466 define as macro.
17467 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17468 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17469 * math/Makefile (type-double-routines): Remove slowexp.
17470 * manual/probes.texi (slowexp_p6): Remove.
17471 (slowexp_p32): Likewise.
17472
17473 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17474 James Clarke <jrtc27@jrtc27.com>
17475
17476 [BZ #22603]
17477 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
17478 addition.
17479
17480 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17481
17482 [BZ #22605]
17483 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
17484 code.
17485
17486 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17487
17488 [BZ #22563]
17489 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17490 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17491 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17492 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17493 to feature_1.
17494
17495 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17496
17497 [BZ #22563]
17498 * bits/types/__cancel_jmp_buf_tag.h: New file.
17499 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17500 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17501 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17502 * nptl/Makefile (headers): Add
17503 bits/types/__cancel_jmp_buf_tag.h.
17504 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17505 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17506 * sysdeps/nptl/pthread.h: Include
17507 <bits/types/__cancel_jmp_buf_tag.h>.
17508 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17509 __cancel_jmp_buf.
17510 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17511
17512 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17513
17514 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17515 --enable-static-pie variants to x86_64, x32 and i686.
17516
17517 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17518
17519 [BZ #22631]
17520 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
17521 argument for attrubutes. All callers changed.
17522 (__inline_mathop1): Likewise. All callers changed.
17523 (__inline_mathop): Likewise. All callers changed.
17524 [__USE_MISC] (scalbn): Use __inline_forward instead of
17525 __inline_forward_c.
17526 [__USE_ISOC99] (scalbln): Likewise.
17527 [__USE_ISOC99] (nearbyint): Likewise.
17528 [__USE_ISOC99] (lrint): Likewise.
17529 [__USE_MISC] (scalbnf): Likewise.
17530 [__USE_ISOC99] (scalblnf): Likewise.
17531 [__USE_ISOC99] (nearbyintf): Likewise.
17532 [__USE_ISOC99] (lrintf): Likewise.
17533 [__USE_MISC] (scalbnl): Likewise.
17534 [__USE_ISOC99] (scalblnl): Likewise.
17535 [__USE_ISOC99] (nearbyintl): Likewise.
17536 [__USE_ISOC99] (lrintl): Likewise.
17537 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
17538 __inline_mathop and __m81_defun changed.
17539
17540 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
17541 CPU or FPU for ARM hard-float configurations.
17542
17543 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17544
17545 * nptl/tst-attr3.c: Include <libc-diag.h>.
17546 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
17547
17548 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
17549
17550 * string/tester.c (test_strncat): Also disable -Warray-bounds
17551 warnings for two tests.
17552
17553 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17554
17555 [BZ #22614]
17556 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
17557 $(cc-pie-default) == yes.
17558 * config.make.in (cc-pie-default): New.
17559 * configure.ac (libc_cv_pie_default): Renamed to ...
17560 (libc_cv_cc_pie_default): This.
17561 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
17562 * configure: Regenerated.
17563
17564 2017-12-18 Florian Weimer <fweimer@redhat.com>
17565
17566 [BZ #20204]
17567 ld.so: Harden dl-libc/libdl hooks.
17568 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
17569 (rtld_active): New function.
17570 * dlfcn/dladdr.c (__dladdr): Call it.
17571 * dlfcn/dladdr1.c (__dladdr1): Likewise.
17572 * dlfcn/dlclose.c (__dlcose): Likewise.
17573 * dlfcn/dlerror.c (__dlerror): Likewise.
17574 * dlfcn/dlinfo.c (__dlinfo): Likewise.
17575 * dlfcn/dlmopen.c (__dlmopen): Likewise.
17576 * dlfcn/dlopen.c (__dlopen): Likewise.
17577 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17578 * dlfcn/dlsym.c (__dlsym): Likewise.
17579 * dlfcn/dlvsym.c (__dlvsym): Likewise.
17580 * libio/vtables.c (_IO_vtable_check): Likewise.
17581 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
17582 (__libc_dlclose): Likewise.
17583 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
17584 assignment.
17585
17586 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17587
17588 [BZ #22446]
17589 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
17590 buffers for readlink input and output.
17591
17592 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
17593
17594 [BZ #22624]
17595 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
17596 inhibit_stack_protector.
17597
17598 [BZ #22624]
17599 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
17600 inhibit_stack_protector.
17601
17602 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
17603
17604 [BZ #22627]
17605 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
17606 code and invocation.
17607
17608 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
17609
17610 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
17611
17612 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
17613
17614 [BZ #22505]
17615 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
17616
17617 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17618
17619 * sysdeps/s390/fpu/libm-test-ulps: Update.
17620
17621 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17622
17623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17624
17625 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17626
17627 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
17628 constants to s_sincosf.h file.
17629 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17630 * sysdeps/ieee754/flt-32/s_sincosf.c: New
17631 implementation.
17632 * sysdeps/ieee754/flt-32/s_sincosf.h:
17633 New file.
17634
17635 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17636
17637 [BZ #14681]
17638 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
17639 before mtrace.
17640
17641 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
17642
17643 [BZ #19574]
17644 * INSTALL: Regenerated.
17645 * Makeconfig (real-static-start-installed-name): New.
17646 (pic-default): Updated for --enable-static-pie.
17647 (pie-default): New for --enable-static-pie.
17648 (default-pie-ldflag): Likewise.
17649 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
17650 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
17651 Replace $(static-start-installed-name) with
17652 $(real-static-start-installed-name).
17653 (+prectorT): Updated for --enable-static-pie.
17654 (+postctorT): Likewise.
17655 (CFLAGS-.o): Add $(pie-default).
17656 (CFLAGS-.op): Likewise.
17657 * NEWS: Mention --enable-static-pie.
17658 * config.h.in (ENABLE_STATIC_PIE): New.
17659 * configure.ac (--enable-static-pie): New configure option.
17660 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
17661 (have-static-pie): Likewise.
17662 Enable static PIE if linker supports --no-dynamic-linker.
17663 (ENABLE_STATIC_PIE): New AC_DEFINE.
17664 (enable-static-pie): New LIBC_CONFIG_VAR.
17665 * configure: Regenerated.
17666 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
17667 gr$(start-installed-name) for --enable-static-pie.
17668 (extra-objs): Likewise.
17669 (install-lib): Likewise.
17670 (extra-objs): Add static-reloc.o and static-reloc.os
17671 ($(objpfx)$(start-installed-name)): Also depend on
17672 $(objpfx)static-reloc.o.
17673 ($(objpfx)r$(start-installed-name)): New.
17674 ($(objpfx)g$(start-installed-name)): Also depend on
17675 $(objpfx)static-reloc.os.
17676 ($(objpfx)gr$(start-installed-name)): New.
17677 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
17678 in libc.a.
17679 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
17680 initimage.
17681 * csu/static-reloc.c: New file.
17682 * elf/Makefile (routines): Add dl-reloc-static-pie.
17683 (elide-routines.os): Likewise.
17684 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
17685 (tst-tls1-static-non-pie-no-pie): New.
17686 * elf/dl-reloc-static-pie.c: New file.
17687 * elf/dl-support.c (_dl_get_dl_main_map): New function.
17688 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
17689 STATIC_PIE_BOOTSTRAP.
17690 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17691 * gmon/Makefile (tests): Add tst-gmon-static-pie.
17692 (tests-static): Likewise.
17693 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
17694 (tst-gmon-static-no-pie): New.
17695 (CFLAGS-tst-gmon-static-pie.c): Likewise.
17696 (CRT-tst-gmon-static-pie): Likewise.
17697 (tst-gmon-static-pie-ENV): Likewise.
17698 (tests-special): Likewise.
17699 ($(objpfx)tst-gmon-static-pie.out): Likewise.
17700 (clean-tst-gmon-static-pie-data): Likewise.
17701 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
17702 * gmon/tst-gmon-static-pie.c: New file.
17703 * manual/install.texi: Document --enable-static-pie.
17704 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
17705 (_dl_get_dl_main_map): Likewise.
17706 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
17707 * sysdeps/x86_64/configure.ac: Likewise.
17708 * sysdeps/i386/configure: Regenerated.
17709 * sysdeps/x86_64/configure: Likewise.
17710 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
17711 (ASFLAGS-.op): Likewise.
17712
17713 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17714
17715 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
17716 * posix/tst-mmap-offset.c (fname): Use /tmp.
17717 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
17718
17719 2017-12-15 Steve Ellcey <sellcey@cavium.com>
17720
17721 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
17722
17723 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
17724
17725 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
17726 errno.
17727
17728 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17729
17730 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
17731 --with-float=hard for arm-linux-gnueabihf configurations.
17732
17733 [BZ #14121]
17734 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
17735 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
17736 ($(mo-installed)): Use $(objpfx)%.mo.
17737 (realclean): Remove rule.
17738
17739 * po/Makefile (linguas): Remove rule and dependencies.
17740 (linguas.mo): Likewise.
17741 (.PHONY): Do not depend on linguas and linguas.mo.
17742 (podir): Remove variable.
17743 (pofiles): Likewise.
17744 [$(pofiles)] (%.po): Remove rule.
17745
17746 * sysdeps/sparc/sparc32/Makefile
17747 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
17748 start-of-line whitespace in argument of echo.
17749 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
17750 with whitespace. Generate __wrap_.udiv alias.
17751 * sysdeps/sparc/sparc32/rem.S: Regenerated.
17752 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17753 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17754 * sysdeps/sparc/sparc32/urem.S: Likewise.
17755
17756 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17757
17758 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
17759 for aligned inputs.
17760
17761 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17762
17763 * benchtests/bench-strcmp.c: Print output in JSON format.
17764
17765 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
17766
17767 2017-12-14 Florian Weimer <fweimer@redhat.com>
17768
17769 [BZ #22607]
17770 CVE-2017-1000409
17771 * elf/dl-load.c (_dl_init_paths): Compute number of components in
17772 the expanded path string.
17773
17774 2017-12-14 Florian Weimer <fweimer@redhat.com>
17775
17776 [BZ #22606]
17777 CVE-2017-1000408
17778 * elf/dl-load.c (system_dirs): Update comment.
17779 (nsystem_dirs_len): Use array_length.
17780 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
17781
17782 2017-12-14 Florian Weimer <fweimer@redhat.com>
17783
17784 Simplify compiling most of support/ outside of glibc.
17785 * support/check_addrinfo.c: Include <string.h>.
17786 * support/check_dns_packet.c: Likewise.
17787 * support/check_hostent.c: Likewise.
17788 * support/support_can_chroot.c: Include <support/xunistd.h>.
17789 * support/support_format_addrinfo.c: Include <stdlib.h>
17790 * support/support_format_dns_packet.c: Include <stdbool.h>.
17791 * support/support_format_hostent.c: Include <stdlib.h>.
17792 * support/support_format_netent.c: Likewise.
17793 * support/support_write_string.c: Include <support/xunistd.h>.
17794 * support/xdlfcn.c: Include <stddef.h>.
17795
17796 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
17797
17798 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
17799
17800 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17801 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17802
17803 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17804 (sysdeps_routines): Add memset-niagara7.
17805 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
17806 Likewise.
17807 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
17808 file.
17809 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
17810 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17811 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
17812 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
17813 Add niagara7 option.
17814 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
17815 memset.
17816
17817 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17818 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
17819 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
17820 Likewise.
17821 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
17822 New file.
17823 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
17824 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
17825 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17826 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
17827 and __memmove_niagara7.
17828 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
17829 Add niagara7 option.
17830 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
17831 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
17832 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
17833 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
17834 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
17835
17836 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
17837
17838 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
17839 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
17840 * sysdeps/sparc/sparc64/memmove.S: Likewise.
17841 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
17842
17843 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
17844 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
17845 _dl_sparc_cap_flags array.
17846 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
17847
17848 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17849
17850 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
17851 time whenever possible.
17852
17853 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17854
17855 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
17856 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
17857
17858 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17859
17860 * soft-fp/fmadf4.c: Move to ....
17861 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
17862 * soft-fp/fmasf4.c: Move to ....
17863 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
17864 * soft-fp/fmatf4.c: Move to ....
17865 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
17866 * sysdeps/ieee754/soft-fp/Makefile: New file.
17867 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
17868 * sysdeps/arm/preconfigure: Regenerated.
17869 * sysdeps/arm/nofpu/Implies: New file.
17870 * sysdeps/arm/s_fma.c: Remove file.
17871 * sysdeps/arm/s_fmaf.c: Likewise.
17872 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
17873 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
17874 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17875 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
17876 * sysdeps/microblaze/s_fma.c: Remove file.
17877 * sysdeps/microblaze/s_fmaf.c: Likewise.
17878 * sysdeps/mips/mips32/nofpu/Implies: New file.
17879 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
17880 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
17881 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
17882 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
17883 * sysdeps/mips/ieee754/s_fma.c: Remove file.
17884 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
17885 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
17886 implementation.
17887 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
17888 * sysdeps/nios2/s_fma.c: Remove file.
17889 * sysdeps/nios2/s_fmaf.c: Likewise.
17890 * sysdeps/sh/nofpu/Implies: New file.
17891 * sysdeps/sh/s_fma.c: Remove file.
17892 * sysdeps/sh/s_fmaf.c: Likewise.
17893 * sysdeps/tile/Implies: Add ieee754/soft-fp.
17894 * sysdeps/tile/s_fma.c: Remove file.
17895 * sysdeps/tile/s_fmaf.c: Likewise.
17896
17897 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
17898
17899 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17900 Add s_cosf-sse2 and s_cosf-fma.
17901 (CFLAGS-s_cosf-fma.c): New.
17902 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
17903 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
17904 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
17905
17906 2017-12-12 Steve Ellcey <sellcey@cavium.com>
17907
17908 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
17909
17910 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17911
17912 * libio/Makefile (tests): Add tst-bz22415.
17913 (tst-bz22415-ENV): New rule.
17914 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
17915 (tests-special): Add tst-bz22415-mem.out.
17916 ($(objpfx)tst-bz22415-mem.out): New rule.
17917 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
17918 in case of a successful seek operation.
17919 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17920 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
17921 buffer is required.
17922 * libio/tst-bz22415.c: New test.
17923
17924 * sysdeps/ia64/fpu/libm-test-ulps: Update.
17925
17926 2017-12-12 James Clarke <jrtc27@jrtc27.com>
17927
17928 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
17929 __IPC_64 to 0 to avoid IPC_64 being set.
17930
17931 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17932
17933 [BZ #22593]
17934 * math/bits/mathcalls.h (nextafter): Remove const.
17935 (nexttoward): Likewise.
17936
17937 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17938
17939 * configure.ac (--with-fp): Remove configure option.
17940 (with_fp_cond): New variable.
17941 (libc_cv_with_fp): New configure test. Use this variable instead
17942 of with_fp.
17943 * configure: Regenerated.
17944 * config.make.in (with-fp): Use @libc_cv_with_fp@.
17945 * manual/install.texi (Configuring and compiling): Remove
17946 --without-fp.
17947 * INSTALL: Regenerated.
17948 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
17949 * sysdeps/mips/preconfigure (with_fp_cond): Define.
17950 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
17951 * sysdeps/sh/preconfigure (with_fp_cond): Define.
17952 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
17953 use --without-fp to configure glibc.
17954
17955 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
17956
17957 * manual/locale.texi (nl_langinfo): Fix a typo.
17958
17959 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
17960
17961 [BZ #22588]
17962 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
17963
17964 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
17965
17966 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
17967 (CFLAGS-argp-parse.c): Likewise.
17968 (CFLAGS-argp-fmtstream.c): Likewise.
17969 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
17970 (CPPFLAGS-sha512-crypt.c): Likewise.
17971 (CPPFLAGS-md5-crypt.c): Likewise.
17972 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
17973 (CFLAGS-stack_chk_fail_local.c): Likewise.
17974 (CFLAGS-backtrace.c): Likewise.
17975 (CFLAGS-sprintf_chk.c): Likewise.
17976 (CFLAGS-snprintf_chk.c): Likewise.
17977 (CFLAGS-vsprintf_chk.c): Likewise.
17978 (CFLAGS-vsnprintf_chk.c): Likewise.
17979 (CFLAGS-asprintf_chk.c): Likewise.
17980 (CFLAGS-vasprintf_chk.c): Likewise.
17981 (CFLAGS-obprintf_chk.c): Likewise.
17982 (CFLAGS-dprintf_chk.c): Likewise.
17983 (CFLAGS-vdprintf_chk.c): Likewise.
17984 (CFLAGS-printf_chk.c): Likewise.
17985 (CFLAGS-fprintf_chk.c): Likewise.
17986 (CFLAGS-vprintf_chk.c): Likewise.
17987 (CFLAGS-vfprintf_chk.c): Likewise.
17988 (CFLAGS-gets_chk.c): Likewise.
17989 (CFLAGS-fgets_chk.c): Likewise.
17990 (CFLAGS-fgets_u_chk.c): Likewise.
17991 (CFLAGS-fread_chk.c): Likewise.
17992 (CFLAGS-fread_u_chk.c): Likewise.
17993 (CFLAGS-swprintf_chk.c): Likewise.
17994 (CFLAGS-vswprintf_chk.c): Likewise.
17995 (CFLAGS-wprintf_chk.c): Likewise.
17996 (CFLAGS-fwprintf_chk.c): Likewise.
17997 (CFLAGS-vwprintf_chk.c): Likewise.
17998 (CFLAGS-vfwprintf_chk.c): Likewise.
17999 (CFLAGS-fgetws_chk.c): Likewise.
18000 (CFLAGS-fgetws_u_chk.c): Likewise.
18001 (CFLAGS-read_chk.c): Likewise.
18002 (CFLAGS-pread_chk.c): Likewise.
18003 (CFLAGS-pread64_chk.c): Likewise.
18004 (CFLAGS-recv_chk.c): Likewise.
18005 (CFLAGS-recvfrom_chk.c): Likewise.
18006 (CFLAGS-tst-longjmp_chk.c): Likewise.
18007 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
18008 (CFLAGS-tst-longjmp_chk2.c): Likewise.
18009 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
18010 (CFLAGS-tst-longjmp_chk3.c): Likewise.
18011 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18012 (CFLAGS-tst-chk1.c): Likewise.
18013 (CFLAGS-tst-chk2.c): Likewise.
18014 (CFLAGS-tst-chk3.c): Likewise.
18015 (CFLAGS-tst-chk4.cc): Likewise.
18016 (CFLAGS-tst-chk5.cc): Likewise.
18017 (CFLAGS-tst-chk6.cc): Likewise.
18018 (CFLAGS-tst-lfschk1.c): Likewise.
18019 (CFLAGS-tst-lfschk2.c): Likewise.
18020 (CFLAGS-tst-lfschk3.c): Likewise.
18021 (CFLAGS-tst-lfschk4.cc): Likewise.
18022 (CFLAGS-tst-lfschk5.cc): Likewise.
18023 (CFLAGS-tst-lfschk6.cc): Likewise.
18024 (CFLAGS-tst-ssp-1.c): Likewise.
18025 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
18026 (CFLAGS-scandir64.c): Likewise.
18027 (CFLAGS-scandir-tail.c): Likewise.
18028 (CFLAGS-scandir64-tail.c): Likewise.
18029 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
18030 (CFLAGS-dl-tunables.c): Likewise.
18031 (CFLAGS-dl-runtime.c): Likewise.
18032 (CFLAGS-dl-lookup.c): Likewise.
18033 (CFLAGS-dl-iterate-phdr.c): Likewise.
18034 (CFLAGS-vismain.c): Likewise.
18035 (CFLAGS-tst-linkall-static.c): Likewise.
18036 (CFLAGS-tst-linkall-static.c): Likewise.
18037 (CPPFLAGS-dl-load.c): Likewise.
18038 (CFLAGS-ldconfig.c): Likewise.
18039 (CFLAGS-dl-cache.c): Likewise.
18040 (CFLAGS-cache.c): Likewise.
18041 (CFLAGS-rtld.c): Likewise.
18042 (CFLAGS-multiload.c): Likewise.
18043 (CFLAGS-filtmod1.c): Likewise.
18044 (CFLAGS-tst-align.c): Likewise.
18045 (CFLAGS-tst-align2.c): Likewise.
18046 (CFLAGS-tst-alignmod.c): Likewise.
18047 (CFLAGS-tst-alignmod2.c): Likewise.
18048 (CPPFLAGS-tst-execstack.c): Likewise.
18049 (CFLAGS-tst-ptrguard1-static.c): Likewise.
18050 (CFLAGS-tst-latepthreadmod.c): Likewise.
18051 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
18052 (CFLAGS-getgrnam_r.c): Likewise.
18053 (CFLAGS-getgrent_r.c): Likewise.
18054 (CFLAGS-getgrent.c): Likewise.
18055 (CFLAGS-fgetgrent.c): Likewise.
18056 (CFLAGS-fgetgrent_r.c): Likewise.
18057 (CFLAGS-putgrent.c): Likewise.
18058 (CFLAGS-initgroups.c): Likewise.
18059 (CFLAGS-getgrgid.c): Likewise.
18060 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
18061 (CFLAGS-getsgent.c): Likewise.
18062 (CFLAGS-fgetsgent.c): Likewise.
18063 (CFLAGS-fgetsgent_r.c): Likewise.
18064 (CFLAGS-putsgent.c): Likewise.
18065 (CFLAGS-getsgnam.c): Likewise.
18066 (CFLAGS-getsgnam_r.c): Likewise.
18067 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
18068 (CFLAGS-iconv_charmap.c): Likewise.
18069 (CFLAGS-dummy-repertoire.c): Likewise.
18070 (CFLAGS-charmap.c): Likewise.
18071 (CFLAGS-linereader.c): Likewise.
18072 (CFLAGS-simple-hash.c): Likewise.
18073 (CFLAGS-gconv_conf.c): Likewise.
18074 (CFLAGS-iconvconfig.c): Likewise.
18075 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18076 (CFLAGS-gethstbyad.c): Likewise.
18077 (CFLAGS-gethstbynm_r.c): Likewise.
18078 (CFLAGS-gethstbynm.c): Likewise.
18079 (CFLAGS-gethstbynm2_r.c): Likewise.
18080 (CFLAGS-gethstbynm2.c): Likewise.
18081 (CFLAGS-gethstent_r.c): Likewise.
18082 (CFLAGS-gethstent.c): Likewise.
18083 (CFLAGS-rcmd.c): Likewise.
18084 (CFLAGS-getnetbynm_r.c): Likewise.
18085 (CFLAGS-getnetbynm.c): Likewise.
18086 (CFLAGS-getnetbyad_r.c): Likewise.
18087 (CFLAGS-getnetbyad.c): Likewise.
18088 (CFLAGS-getnetent_r.c): Likewise.
18089 (CFLAGS-getnetent.c): Likewise.
18090 (CFLAGS-getaliasent_r.c): Likewise.
18091 (CFLAGS-getaliasent.c): Likewise.
18092 (CFLAGS-getrpcent_r.c): Likewise.
18093 (CFLAGS-getrpcent.c): Likewise.
18094 (CFLAGS-getservent_r.c): Likewise.
18095 (CFLAGS-getservent.c): Likewise.
18096 (CFLAGS-getprtent_r.c): Likewise.
18097 (CFLAGS-getprtent.c): Likewise.
18098 (CFLAGS-either_ntoh.c): Likewise.
18099 (CFLAGS-either_hton.c): Likewise.
18100 (CFLAGS-getnetgrent.c): Likewise.
18101 (CFLAGS-getnetgrent_r.c): Likewise.
18102 (CFLAGS-tst-checks-posix.c): Likewise.
18103 (CFLAGS-tst-sockaddr.c): Likewise.
18104 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
18105 (CFLAGS-tst-translit.c): Likewise.
18106 (CFLAGS-tst-gettext2.c): Likewise.
18107 (CFLAGS-tst-codeset.c): Likewise.
18108 (CFLAGS-tst-gettext3.c): Likewise.
18109 (CFLAGS-tst-gettext4.c): Likewise.
18110 (CFLAGS-tst-gettext5.c): Likewise.
18111 (CFLAGS-tst-gettext6.c): Likewise.
18112 * io/Makefile (CFLAGS-open.c): Likewise.
18113 (CFLAGS-open64.c): Likewise.
18114 (CFLAGS-creat.c): Likewise.
18115 (CFLAGS-creat64.c): Likewise.
18116 (CFLAGS-fcntl.c): Likewise.
18117 (CFLAGS-poll.c): Likewise.
18118 (CFLAGS-ppoll.c): Likewise.
18119 (CFLAGS-lockf.c): Likewise.
18120 (CFLAGS-statfs.c): Likewise.
18121 (CFLAGS-fstatfs.c): Likewise.
18122 (CFLAGS-statvfs.c): Likewise.
18123 (CFLAGS-fstatvfs.c): Likewise.
18124 (CFLAGS-fts.c): Likewise.
18125 (CFLAGS-fts64.c): Likewise.
18126 (CFLAGS-ftw.c): Likewise.
18127 (CFLAGS-ftw64.c): Likewise.
18128 (CFLAGS-lockf.c): Likewise.
18129 (CFLAGS-posix_fallocate.c): Likewise.
18130 (CFLAGS-posix_fallocate64.c): Likewise.
18131 (CFLAGS-fallocate.c): Likewise.
18132 (CFLAGS-fallocate64.c): Likewise.
18133 (CFLAGS-read.c): Likewise.
18134 (CFLAGS-write.c): Likewise.
18135 (CFLAGS-test-stat.c): Likewise.
18136 (CFLAGS-test-lfs.c): Likewise.
18137 * libio/Makefile (CFLAGS-fileops.c): Likewise.
18138 (CFLAGS-fputc.c): Likewise.
18139 (CFLAGS-fputwc.c): Likewise.
18140 (CFLAGS-freopen64.c): Likewise.
18141 (CFLAGS-freopen.c): Likewise.
18142 (CFLAGS-fseek.c): Likewise.
18143 (CFLAGS-fseeko64.c): Likewise.
18144 (CFLAGS-fseeko.c): Likewise.
18145 (CFLAGS-ftello64.c): Likewise.
18146 (CFLAGS-ftello.c): Likewise.
18147 (CFLAGS-fwide.c): Likewise.
18148 (CFLAGS-genops.c): Likewise.
18149 (CFLAGS-getc.c): Likewise.
18150 (CFLAGS-getchar.c): Likewise.
18151 (CFLAGS-getwc.c): Likewise.
18152 (CFLAGS-getwchar.c): Likewise.
18153 (CFLAGS-iofclose.c): Likewise.
18154 (CFLAGS-iofflush.c): Likewise.
18155 (CFLAGS-iofgetpos64.c): Likewise.
18156 (CFLAGS-iofgetpos.c): Likewise.
18157 (CFLAGS-iofgets.c): Likewise.
18158 (CFLAGS-iofgetws.c): Likewise.
18159 (CFLAGS-iofputs.c): Likewise.
18160 (CFLAGS-iofputws.c): Likewise.
18161 (CFLAGS-iofread.c): Likewise.
18162 (CFLAGS-iofsetpos64.c): Likewise.
18163 (CFLAGS-iofsetpos.c): Likewise.
18164 (CFLAGS-ioftell.c): Likewise.
18165 (CFLAGS-iofwrite.c): Likewise.
18166 (CFLAGS-iogetdelim.c): Likewise.
18167 (CFLAGS-iogetline.c): Likewise.
18168 (CFLAGS-iogets.c): Likewise.
18169 (CFLAGS-iogetwline.c): Likewise.
18170 (CFLAGS-ioputs.c): Likewise.
18171 (CFLAGS-ioseekoff.c): Likewise.
18172 (CFLAGS-ioseekpos.c): Likewise.
18173 (CFLAGS-iosetbuffer.c): Likewise.
18174 (CFLAGS-iosetvbuf.c): Likewise.
18175 (CFLAGS-ioungetc.c): Likewise.
18176 (CFLAGS-ioungetwc.c): Likewise.
18177 (CFLAGS-oldfileops.c): Likewise.
18178 (CFLAGS-oldiofclose.c): Likewise.
18179 (CFLAGS-oldiofgetpos64.c): Likewise.
18180 (CFLAGS-oldiofgetpos.c): Likewise.
18181 (CFLAGS-oldiofsetpos64.c): Likewise.
18182 (CFLAGS-oldiofsetpos.c): Likewise.
18183 (CFLAGS-peekc.c): Likewise.
18184 (CFLAGS-putc.c): Likewise.
18185 (CFLAGS-putchar.c): Likewise.
18186 (CFLAGS-putwc.c): Likewise.
18187 (CFLAGS-putwchar.c): Likewise.
18188 (CFLAGS-rewind.c): Likewise.
18189 (CFLAGS-wfileops.c): Likewise.
18190 (CFLAGS-wgenops.c): Likewise.
18191 (CFLAGS-oldiofopen.c): Likewise.
18192 (CFLAGS-iofopen.c): Likewise.
18193 (CFLAGS-iofopen64.c): Likewise.
18194 (CFLAGS-oldtmpfile.c): Likewise.
18195 (CFLAGS-tst_putwc.c): Likewise.
18196 * locale/Makefile (CFLAGS-md5.c): Likewise.
18197 (CFLAGS-charmap.c): Likewise.
18198 (CFLAGS-locfile.c): Likewise.
18199 (CFLAGS-charmap-dir.c): Likewise.
18200 * login/Makefile (CFLAGS-grantpt.c): Likewise.
18201 (CFLAGS-getpt.c): Likewise.
18202 (CFLAGS-pt_chown.c): Likewise.
18203 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
18204 (CFLAGS-obstack.c): Likewise.
18205 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
18206 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
18207 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
18208 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
18209 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
18210 (CFLAGS-test-tgmath.c): Likewise.
18211 (CFLAGS-test-tgmath2.c): Likewise.
18212 (CFLAGS-test-tgmath-ret.c): Likewise.
18213 (CFLAGS-test-powl.c): Likewise.
18214 (CFLAGS-test-snan.c): Likewise.
18215 (CFLAGS-test-signgam-finite.c): Likewise.
18216 (CFLAGS-test-signgam-finite-c99.c): Likewise.
18217 (CFLAGS-test-signgam-finite-c11.c): Likewise.
18218 (CFLAGS-test-signgam-uchar.c): Likewise.
18219 (CFLAGS-test-signgam-uchar-init.c): Likewise.
18220 (CFLAGS-test-signgam-uchar-static.c): Likewise.
18221 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
18222 (CFLAGS-test-signgam-uint.c): Likewise.
18223 (CFLAGS-test-signgam-uint-init.c): Likewise.
18224 (CFLAGS-test-signgam-uint-static.c): Likewise.
18225 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
18226 (CFLAGS-test-signgam-ullong.c): Likewise.
18227 (CFLAGS-test-signgam-ullong-init.c): Likewise.
18228 (CFLAGS-test-signgam-ullong-static.c): Likewise.
18229 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
18230 (CFLAGS-test-math-cxx11.cc): Likewise.
18231 (CFLAGS-test-math-isinff.cc): Likewise.
18232 (CFLAGS-test-math-iszero.cc): Likewise.
18233 (CFLAGS-test-math-issignaling.cc): Likewise.
18234 (CFLAGS-test-math-iscanonical.cc): Likewise.
18235 (CFLAGS-test-iszero-excess-precision.c): Likewise.
18236 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
18237 (CFLAGS-test-flt-eval-method.c): Likewise.
18238 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
18239 (CFLAGS-test-finite-macros.c): Likewise.
18240 * misc/Makefile (CFLAGS-select.c): Likewise.
18241 (CFLAGS-tsearch.c): Likewise.
18242 (CFLAGS-lsearch.c): Likewise.
18243 (CFLAGS-pselect.c): Likewise.
18244 (CFLAGS-readv.c): Likewise.
18245 (CFLAGS-writev.c): Likewise.
18246 (CFLAGS-preadv.c): Likewise.
18247 (CFLAGS-preadv64.c): Likewise.
18248 (CFLAGS-pwritev.c): Likewise.
18249 (CFLAGS-pwritev64.c): Likewise.
18250 (CFLAGS-preadv2.c): Likewise.
18251 (CFLAGS-preadv64v2.c): Likewise.
18252 (CFLAGS-pwritev2.c): Likewise.
18253 (CFLAGS-pwritev64v2.c): Likewise.
18254 (CFLAGS-usleep.c): Likewise.
18255 (CFLAGS-syslog.c): Likewise.
18256 (CFLAGS-error.c): Likewise.
18257 (CFLAGS-getpass.c): Likewise.
18258 (CFLAGS-mkstemp.c): Likewise.
18259 (CFLAGS-mkstemp64.c): Likewise.
18260 (CFLAGS-getsysstats.c): Likewise.
18261 (CFLAGS-getusershell.c): Likewise.
18262 (CFLAGS-err.c): Likewise.
18263 (CFLAGS-tst-tsearch.c): Likewise.
18264 (CFLAGS-msync.c): Likewise.
18265 (CFLAGS-fdatasync.c): Likewise.
18266 (CFLAGS-fsync.c): Likewise.
18267 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
18268 (CFLAGS-unwind.c): Likewise.
18269 (CFLAGS-unwind-forcedunwind.c): Likewise.
18270 (CFLAGS-pthread_cancel.c): Likewise.
18271 (CFLAGS-pthread_setcancelstate.c): Likewise.
18272 (CFLAGS-pthread_setcanceltype.c): Likewise.
18273 (CFLAGS-cancellation.c): Likewise.
18274 (CFLAGS-libc-cancellation.c): Likewise.
18275 (CFLAGS-pthread_exit.c): Likewise.
18276 (CFLAGS-forward.c): Likewise.
18277 (CFLAGS-pthread_testcancel.c): Likewise.
18278 (CFLAGS-pthread_join.c): Likewise.
18279 (CFLAGS-pthread_timedjoin.c): Likewise.
18280 (CFLAGS-pthread_once.c): Likewise.
18281 (CFLAGS-pthread_cond_wait.c): Likewise.
18282 (CFLAGS-sem_wait.c): Likewise.
18283 (CFLAGS-sem_timedwait.c): Likewise.
18284 (CFLAGS-fcntl.c): Likewise.
18285 (CFLAGS-lockf.c): Likewise.
18286 (CFLAGS-pread.c): Likewise.
18287 (CFLAGS-pread64.c): Likewise.
18288 (CFLAGS-pwrite.c): Likewise.
18289 (CFLAGS-pwrite64.c): Likewise.
18290 (CFLAGS-wait.c): Likewise.
18291 (CFLAGS-waitpid.c): Likewise.
18292 (CFLAGS-sigwait.c): Likewise.
18293 (CFLAGS-msgrcv.c): Likewise.
18294 (CFLAGS-msgsnd.c): Likewise.
18295 (CFLAGS-tcdrain.c): Likewise.
18296 (CFLAGS-open.c): Likewise.
18297 (CFLAGS-open64.c): Likewise.
18298 (CFLAGS-pause.c): Likewise.
18299 (CFLAGS-recv.c): Likewise.
18300 (CFLAGS-send.c): Likewise.
18301 (CFLAGS-accept.c): Likewise.
18302 (CFLAGS-sendto.c): Likewise.
18303 (CFLAGS-connect.c): Likewise.
18304 (CFLAGS-recvfrom.c): Likewise.
18305 (CFLAGS-recvmsg.c): Likewise.
18306 (CFLAGS-sendmsg.c): Likewise.
18307 (CFLAGS-close.c): Likewise.
18308 (CFLAGS-read.c): Likewise.
18309 (CFLAGS-write.c): Likewise.
18310 (CFLAGS-nanosleep.c): Likewise.
18311 (CFLAGS-sigsuspend.c): Likewise.
18312 (CFLAGS-msync.c): Likewise.
18313 (CFLAGS-fdatasync.c): Likewise.
18314 (CFLAGS-fsync.c): Likewise.
18315 (CFLAGS-pt-system.c): Likewise.
18316 (CFLAGS-tst-cleanup2.c): Likewise.
18317 (CFLAGS-tst-cleanupx2.c): Likewise.
18318 (CFLAGS-flockfile.c): Likewise.
18319 (CFLAGS-ftrylockfile.c): Likewise.
18320 (CFLAGS-funlockfile.c): Likewise.
18321 (CFLAGS-tst-initializers1.c): Likewise.
18322 (CFLAGS-tst-initializers1-c89.c): Likewise.
18323 (CFLAGS-tst-initializers1-c99.c): Likewise.
18324 (CFLAGS-tst-initializers1-c11.c): Likewise.
18325 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
18326 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
18327 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
18328 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
18329 (CFLAGS-nscd_getgr_r.c): Likewise.
18330 (CFLAGS-nscd_gethst_r.c): Likewise.
18331 (CFLAGS-nscd_getai.c): Likewise.
18332 (CFLAGS-nscd_initgroups.c): Likewise.
18333 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
18334 (CFLAGS-pause.c): Likewise.
18335 (CFLAGS-pread.c): Likewise.
18336 (CFLAGS-pread64.c): Likewise.
18337 (CFLAGS-pwrite.c): Likewise.
18338 (CFLAGS-pwrite64.c): Likewise.
18339 (CFLAGS-sleep.c): Likewise.
18340 (CFLAGS-wait.c): Likewise.
18341 (CFLAGS-waitid.c): Likewise.
18342 (CFLAGS-waitpid.c): Likewise.
18343 (CFLAGS-getopt.c): Likewise.
18344 (CFLAGS-wordexp.c): Likewise.
18345 (CFLAGS-sysconf.c): Likewise.
18346 (CFLAGS-pathconf.c): Likewise.
18347 (CFLAGS-fpathconf.c): Likewise.
18348 (CFLAGS-spawn.c): Likewise.
18349 (CFLAGS-spawnp.c): Likewise.
18350 (CFLAGS-spawni.c): Likewise.
18351 (CFLAGS-glob.c): Likewise.
18352 (CFLAGS-glob64.c): Likewise.
18353 (CFLAGS-getconf.c): Likewise.
18354 (CFLAGS-nanosleep.c): Likewise.
18355 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
18356 (CFLAGS-getpwent.c): Likewise.
18357 (CFLAGS-getpw.c): Likewise.
18358 (CFLAGS-fgetpwent_r.c): Likewise.
18359 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
18360 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
18361 (CFLAGS-mq_timedreceive.c): Likewise.
18362 (CFLAGS-mq_timedsend.c): Likewise.
18363 (CFLAGS-clock_nanosleep.c): Likewise.
18364 (CFLAGS-librt-cancellation.c): Likewise.
18365 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
18366 (CFLAGS-getspent.c): Likewise.
18367 (CFLAGS-fgetspent.c): Likewise.
18368 (CFLAGS-fgetspent_r.c): Likewise.
18369 (CFLAGS-putspent.c): Likewise.
18370 (CFLAGS-getspnam.c): Likewise.
18371 (CFLAGS-getspnam_r.c): Likewise.
18372 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
18373 (CFLAGS-sigsuspend.c): Likewise.
18374 (CFLAGS-sigtimedwait.c): Likewise.
18375 (CFLAGS-sigwait.c): Likewise.
18376 (CFLAGS-sigwaitinfo.c): Likewise.
18377 (CFLAGS-sigreturn.c): Likewise.
18378 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18379 (CFLAGS-vfwprintf.c): Likewise.
18380 (CFLAGS-tmpfile.c): Likewise.
18381 (CFLAGS-tmpfile64.c): Likewise.
18382 (CFLAGS-tempname.c): Likewise.
18383 (CFLAGS-psignal.c): Likewise.
18384 (CFLAGS-vprintf.c): Likewise.
18385 (CFLAGS-cuserid.c): Likewise.
18386 (CFLAGS-errlist.c): Likewise.
18387 (CFLAGS-siglist.c): Likewise.
18388 (CFLAGS-scanf15.c): Likewise.
18389 (CFLAGS-scanf17.c): Likewise.
18390 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
18391 (CFLAGS-msort.c): Likewise.
18392 (CFLAGS-qsort.c): Likewise.
18393 (CFLAGS-system.c): Likewise.
18394 (CFLAGS-fmtmsg.c): Likewise.
18395 (CFLAGS-strfmon.c): Likewise.
18396 (CFLAGS-strfmon_l.c): Likewise.
18397 (CFLAGS-strfromd.c): Likewise.
18398 (CFLAGS-strfromf.c): Likewise.
18399 (CFLAGS-strfroml.c): Likewise.
18400 (CFLAGS-tst-bsearch.c): Likewise.
18401 (CFLAGS-tst-qsort.c): Likewise.
18402 (CFLAGS-tst-makecontext2.c): Likewise.
18403 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
18404 (CFLAGS-xnlm_prot.c): Likewise.
18405 (CFLAGS-xrstat.c): Likewise.
18406 (CFLAGS-xyppasswd.c): Likewise.
18407 (CFLAGS-xklm_prot.c): Likewise.
18408 (CFLAGS-xrex.c): Likewise.
18409 (CFLAGS-xsm_inter.c): Likewise.
18410 (CFLAGS-xmount.c): Likewise.
18411 (CFLAGS-xrusers.c): Likewise.
18412 (CFLAGS-xspray.c): Likewise.
18413 (CFLAGS-xnfs_prot.c): Likewise.
18414 (CFLAGS-xrquota.c): Likewise.
18415 (CFLAGS-xkey_prot.c): Likewise.
18416 (CFLAGS-auth_unix.c): Likewise.
18417 (CFLAGS-key_call.c): Likewise.
18418 (CFLAGS-pmap_rmt.c): Likewise.
18419 (CFLAGS-clnt_perr.c): Likewise.
18420 (CFLAGS-openchild.c): Likewise.
18421 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
18422 (CFLAGS-msgsnd.c): Likewise.
18423 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
18424 * time/Makefile (CFLAGS-tzfile.c): Likewise.
18425 (CFLAGS-tzset.c): Likewise.
18426 (CFLAGS-getdate.c): Likewise.
18427 (CFLAGS-test_time.c): Likewise.
18428 (CPPFLAGS-tst-tzname.c): Likewise.
18429 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
18430 (CFLAGS-zic.c): Likewise.
18431 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
18432 (CFLAGS-wcswidth.c): Likewise.
18433 (CFLAGS-wcstol.c): Likewise.
18434 (CFLAGS-wcstoul.c): Likewise.
18435 (CFLAGS-wcstoll.c): Likewise.
18436 (CFLAGS-wcstoull.c): Likewise.
18437 (CFLAGS-wcstod.c): Likewise.
18438 (CFLAGS-wcstold.c): Likewise.
18439 (CFLAGS-wcstof128.c): Likewise.
18440 (CFLAGS-wcstof.c): Likewise.
18441 (CFLAGS-wcstol_l.c): Likewise.
18442 (CFLAGS-wcstoul_l.c): Likewise.
18443 (CFLAGS-wcstoll_l.c): Likewise.
18444 (CFLAGS-wcstoull_l.c): Likewise.
18445 (CFLAGS-wcstod_l.c): Likewise.
18446 (CFLAGS-wcstold_l.c): Likewise.
18447 (CFLAGS-wcstof128_l.c): Likewise.
18448 (CFLAGS-wcstof_l.c): Likewise.
18449 (CPPFLAGS-tst-wchar-h.c): Likewise.
18450 (CPPFLAGS-wcstold_l.c): Likewise.
18451 ---
18452 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
18453
18454 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
18455
18456 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18457 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18458
18459 * manual/tunables.texi (Hardware Capability Tunables): Document
18460 glibc.tune.cached_memopt.
18461 * sysdeps/powerpc/cpu-features.c: New file.
18462 * sysdeps/powerpc/cpu-features.h: New file.
18463 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
18464 _dl_powerpc_cpu_features.
18465 * sysdeps/powerpc/dl-tunables.list: New file.
18466 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
18467 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18468 (INIT_ARCH): Initialize use_aligned_memopt.
18469 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
18470 IS_IN(rtld))]: Restrict dl_platform_init availability and
18471 initialize CPU features used by tunables.
18472 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
18473 Add memcpy-power8-cached.
18474 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
18475 __memcpy_power8_cached.
18476 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
18477 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
18478 New file.
18479
18480 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18481
18482 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
18483 (CFLAGS-noinl-tester.c): Likewise.
18484 (CFLAGS-tst-strlen.c): Likewise.
18485 (CFLAGS-stratcliff.c): Likewise.
18486 (CFLAGS-test-ffs.c): Likewise.
18487 (CFLAGS-tst-inlcall.c): Likewise.
18488 (CFLAGS-tst-xbzero-opt.c): Likewise.
18489 (CFLAGS-memcpy.c): Likewise.
18490 (CFLAGS-wordcopy.c): Likewise.
18491
18492 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18493
18494 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
18495 Store r15 on stack and add cfi rule.
18496 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
18497 Likewise.
18498
18499 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
18500
18501 [BZ #22577]
18502 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
18503 call.
18504
18505 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18506
18507 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18508 Add s_sinf-sse2 and s_sinf-fma.
18509 (CFLAGS-s_sinf-fma.c): New.
18510 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
18511 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
18512 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
18513
18514 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18515
18516 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
18517
18518 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18519
18520 [BZ #22568]
18521 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
18522 part of result to imaginary part of argument if it is zero and the
18523 real part of the argument is not finite.
18524 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
18525 of result to real part of argument if it is zero and the imaginary
18526 part of the argument is not finite.
18527
18528 2017-12-07 Mike FABIAN <mfabian@redhat.com>
18529
18530 [BZ #22524]
18531 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
18532 and to the list of locales to be built for testing.
18533 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
18534 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
18535 and build the collation rules upon that.
18536
18537 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18538
18539 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
18540 * manual/math.texi (Mathematics): Document support for _Float32.
18541 * math/Makefile (test-types): Add float32.
18542 * math/Versions (GLIBC_2.27): Add _Float32 functions.
18543 * stdlib/Versions (GLIBC_2.27): Likewise.
18544 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18545 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18546 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18547 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18548 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18549 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18550 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18551 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18552 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18553 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18554 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18555 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18556 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18557 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18558 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18559 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18560 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18561 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18562 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18563 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18564 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18565 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18566 Likewise.
18567 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18568 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18569 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18570 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18571 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18573 Likewise.
18574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18575 Likewise.
18576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18577 Likewise.
18578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18579 Likewise.
18580
18581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18582 Likewise.
18583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18584 Likewise.
18585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18586 Likewise.
18587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18588 Likewise.
18589 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18590 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18591 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18592 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18593 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18594 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18595 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18596 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18597 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18598 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18600 Likewise.
18601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18602 Likewise.
18603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18604 Likewise.
18605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18606 Likewise.
18607 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18608 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18609 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18610 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18611 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18612 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18613 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18614 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18615
18616 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18617
18618 * stdlib/strtof.c: Include <bits/floatn.h>
18619 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
18620 and later undefine as macro. Define as weak alias if
18621 [!USE_WIDE_CHAR].
18622 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
18623 and later undefine as macro. Define as weak alias if
18624 [USE_WIDE_CHAR].
18625 * stdlib/strtof_l.c: Include <bits/floatn.h>
18626 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
18627 and later undefine as macro. Define as weak alias if
18628 [!USE_WIDE_CHAR].
18629 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
18630 and later undefine as macro. Define as weak alias if
18631 [USE_WIDE_CHAR].
18632
18633 * stdlib/strfromf.c: Include <bits/floatn.h>.
18634 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
18635 and later undefine as macro and define as weak alias.
18636
18637 * math/test-float32.h: New file.
18638
18639 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
18640 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
18641 (libm_alias_float_other_r): Create f32 alias.
18642 (libm_alias_float_r): Use semicolon before call to
18643 libm_alias_float_other_r.
18644
18645 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
18646 second argument to libm_alias_float_other.
18647 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
18648 second argument to libm_alias_float_other.
18649 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
18650 argument to libm_alias_float_other.
18651
18652 [BZ #22561]
18653 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
18654 real part of result for argument 0 + i * NaN.
18655 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
18656 results for tests of 0 + i * NaN.
18657
18658 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18659
18660 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18661
18662 2017-12-06 David S. Miller <davem@davemloft.net>
18663
18664 * sysdeps/sparc/fpu/libm-test-ulps: Update
18665 exp_{downward,towardzero,upward} ulps.
18666
18667 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18668
18669 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
18670 variables static.
18671
18672 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
18673 (Y0_2D): Likewise.
18674 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
18675 (Y0_2D): Likewise.
18676 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
18677 (Y0_2D): Likewise.
18678 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
18679 (Y0_2D): Likewise.
18680
18681 2017-12-06 Mike FABIAN <mfabian@redhat.com>
18682
18683 [BZ #22515]
18684 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
18685 and to the list of locales to be built for testing.
18686 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
18687 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
18688 and build the collation rules upon that.
18689
18690 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18691
18692 * NEWS: Add sinf to list of optimized functions.
18693
18694 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18695
18696 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
18697 (__HAVE_FLOAT32X): Likewise.
18698 * manual/math.texi (Mathematics): Document support for _Float64
18699 and _Float32x.
18700 * math/Makefile (test-types): Add float64 and float32x.
18701 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
18702 functions.
18703 * stdlib/Versions (GLIBC_2.27): Likewise.
18704 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18705 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18706 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18707 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18708 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18709 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18710 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18711 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18712 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18713 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18714 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18715 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18716 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18717 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18718 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18719 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18720 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18721 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18722 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18723 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18724 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18725 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18726 Likewise.
18727 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18728 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18729 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18730 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18731 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18733 Likewise.
18734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18735 Likewise.
18736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18737 Likewise.
18738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18739 Likewise.
18740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18741 Likewise.
18742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18743 Likewise.
18744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18745 Likewise.
18746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18747 Likewise.
18748 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18749 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18750 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18751 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18752 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18753 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18754 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18755 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18756 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18757 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18758 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18759 Likewise.
18760 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18761 Likewise.
18762 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18763 Likewise.
18764 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18765 Likewise.
18766 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18767 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18768 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18769 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18770 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18771 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18772 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18773 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18774
18775 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18776
18777 * bits/floatn-common.h: Include <bits/long-double.h>.
18778 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18779 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
18780 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18781 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
18782 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18783 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
18784 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18785 (__builtin_huge_valf64): Use __builtin_huge_vall.
18786 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18787 (__builtin_inff64): Use __builtin_infl.
18788 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18789 (__builtin_nanf64): Use __builtin_nanl.
18790 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18791 (__builtin_nansf64): Use __builtin_nansl.
18792
18793 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
18794 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18795 Carlos O'Donnell <carlos@redhat.com>
18796
18797 * elf/dl-tunables.list: Add elision parameters.
18798 * manual/tunables.texi: Add entries about elision tunable.
18799 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
18800 Add callback functions to dynamically enable/disable elision.
18801 Add multiple callbacks functions to set elision parameters.
18802 Deleted __libc_enable_secure check.
18803 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
18804 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
18805 * configure: Regenerated.
18806 * configure.ac: Option enable_lock_elision was deleted.
18807 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
18808 * config.make.in: Remove references to enable_lock_elision.
18809 * manual/install.texi: Elision configure option was removed.
18810 * INSTALL: Regenerated to remove enable_lock_elision.
18811 * nptl/Makefile:
18812 Disable elision so it can verify error case for destroying a mutex.
18813 * sysdeps/powerpc/nptl/elide.h:
18814 Cleanup ENABLE_LOCK_ELISION check.
18815 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
18816 * sysdeps/s390/configure: Regenerated.
18817 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
18818 * nptl/tst-mutex8.c:
18819 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
18820 * sysdeps/powerpc/powerpc32/sysdep.h:
18821 Deleted all ENABLE_LOCK_ELISION checks.
18822 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18823 * sysdeps/powerpc/sysdep.h: Likewise.
18824 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
18825 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
18826 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18827 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18828 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18829 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
18830 enable-lock-elision.
18831
18832 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18833
18834 * stdlib/strtod.c: Include <bits/floatn.h>.
18835 (BUILD_DOUBLE): New macro.
18836 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18837 (strtof64): Define and later undefine as macro. Define as weak
18838 alias if [!USE_WIDE_CHAR].
18839 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18840 (wcstof64): Define and later undefine as macro. Define as weak
18841 alias if [USE_WIDE_CHAR].
18842 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18843 (strtof32x): Define and later undefine as macro. Define as weak
18844 alias if [!USE_WIDE_CHAR].
18845 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18846 (wcstof32x): Define and later undefine as macro. Define as weak
18847 alias if [USE_WIDE_CHAR].
18848 * stdlib/strtod_l.c: Include <bits/floatn.h>.
18849 (BUILD_DOUBLE): New macro.
18850 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18851 (strtof64_l): Define and later undefine as macro. Define as weak
18852 alias if [!USE_WIDE_CHAR].
18853 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18854 (wcstof64_l): Define and later undefine as macro. Define as weak
18855 alias if [USE_WIDE_CHAR].
18856 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18857 (strtof32x_l): Define and later undefine as macro. Define as weak
18858 alias if [!USE_WIDE_CHAR].
18859 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18860 (wcstof32x_l): Define and later undefine as macro. Define as weak
18861 alias if [USE_WIDE_CHAR].
18862
18863 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18864
18865 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
18866 (reduced): Use ones as double instead of integer.
18867
18868 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
18869
18870 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
18871
18872 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18873
18874 * stdlib/strfromd.c: Include <bits/floatn.h>.
18875 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
18876 and later undefine as macro and define as weak alias.
18877 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
18878 Likewise.
18879
18880 * math/test-float32x.h: New file.
18881 * math/test-float64.h: Likewise.
18882
18883 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
18884 (libm_alias_double_other_r_f64): New macro.
18885 (libm_alias_double_other_r_f32x): Likewise.
18886 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18887 libm_alias_double_other_r_f32x.
18888 (libm_alias_double_r): Use semicolon before call to
18889 libm_alias_double_other_r.
18890 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
18891 <bits/floatn.h>.
18892 (libm_alias_double_other_r_f64): New macro.
18893 (libm_alias_double_other_r_f32x): Likewise.
18894 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18895 libm_alias_double_other_r_f32x.
18896
18897 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
18898
18899 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
18900 int.
18901 (SINF_FUNC): Likewise. Replace floor with simple casts.
18902
18903 2017-12-05 Mike FABIAN <mfabian@redhat.com>
18904
18905 [BZ #22517]
18906 * localedata/Makefile: Add et_EE.UTF-8 to test-input
18907 and to the list of locales to be built for testing.
18908 * localedata/et_EE.UTF-8.in: New file for testing the collation.
18909 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
18910 and build the collation rules upon that.
18911
18912 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
18913
18914 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
18915 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
18916 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
18917 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
18918 instead of __insn__xxx.
18919 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
18920 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
18921 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
18922 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
18923 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
18924 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
18925
18926 2017-12-05 Florian Weimer <fweimer@redhat.com>
18927
18928 Linux: Implement interfaces for memory protection keys
18929 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
18930 xsignal, xsysconf.
18931 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
18932 * support/xunistd.h (xsysconf): Declare.
18933 * support/xraise.c: New file.
18934 * support/xsigaction.c: Likewise.
18935 * support/xsignal.c: Likewise.
18936 * support/xsysconf.c: Likewise.
18937 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
18938 pkey_set, pkey_get, pkey_mprotect.
18939 [misc] (tests): Add tst-pkey.
18940 (tst-pkey): Link with -lpthread.
18941 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
18942 pkey_free, pkey_set, pkey_get, pkey_mprotect.
18943 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
18944 (PKEY_DISABLE_WRITE): Define.
18945 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
18946 Declare.
18947 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
18948 (SEGV_PKUERR): Add.
18949 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
18950 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
18951 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
18952 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
18953 Add.
18954 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
18955 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
18956 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
18957 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
18958 * sysdeps/unix/sysv/linux/**.abilist: Update.
18959
18960 2017-12-05 Florian Weimer <fweimer@redhat.com>
18961
18962 * support/tst-test_compare.c (subprocess): Use long long instead
18963 of long argument for consistent type width across 32-bit and
18964 64-bit architectures.
18965 (do_test): Adjust expected output.
18966
18967 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18968
18969 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
18970 (cosf): Define using libm_alias_float.
18971 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
18972 (fabsf): Define using libm_alias_float.
18973 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
18974 (fmaf): Define using libm_alias_float.
18975 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
18976 (rintf): Define using libm_alias_float.
18977 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
18978 (sinf): Define using libm_alias_float.
18979 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
18980 <libm-alias-float.h>.
18981 (modff): Define using libm_alias_float.
18982 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
18983 <libm-alias-float.h>.
18984 (logbf): Define using libm_alias_float.
18985 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
18986 <libm-alias-float.h>.
18987 (ceilf): Define using libm_alias_float.
18988 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
18989 <libm-alias-float.h>.
18990 (copysignf): Define using libm_alias_float.
18991 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
18992 <libm-alias-float.h>.
18993 (floorf): Define using libm_alias_float.
18994 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18995 <libm-alias-float.h>.
18996 (llrintf): Define using libm_alias_float.
18997 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
18998 <libm-alias-float.h>.
18999 (llroundf): Define using libm_alias_float.
19000 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19001 <libm-alias-float.h>.
19002 (lrintf): Define using libm_alias_float.
19003 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19004 <libm-alias-float.h>.
19005 (lroundf): Define using libm_alias_float.
19006 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
19007 <libm-alias-float.h>.
19008 (nearbyintf): Define using libm_alias_float.
19009 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
19010 <libm-alias-float.h>.
19011 (rintf): Define using libm_alias_float.
19012 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
19013 <libm-alias-float.h>.
19014 (roundf): Define using libm_alias_float.
19015 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
19016 <libm-alias-float.h>.
19017 (truncf): Define using libm_alias_float.
19018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
19019 Include <libm-alias-float.h>.
19020 (ceilf): Define using libm_alias_float.
19021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
19022 Include <libm-alias-float.h>.
19023 (copysignf): Define using libm_alias_float.
19024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
19025 Include <libm-alias-float.h>.
19026 (floorf): Define using libm_alias_float.
19027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
19028 Include <libm-alias-float.h>.
19029 (llrintf): Define using libm_alias_float.
19030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
19031 Include <libm-alias-float.h>.
19032 (llroundf): Define using libm_alias_float.
19033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
19034 Include <libm-alias-float.h>.
19035 (logbf): Define using libm_alias_float.
19036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
19037 Include <libm-alias-float.h>.
19038 (lrintf): Define using libm_alias_float.
19039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
19040 Include <libm-alias-float.h>.
19041 (lroundf): Define using libm_alias_float.
19042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
19043 Include <libm-alias-float.h>.
19044 (modff): Define using libm_alias_float.
19045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
19046 Include <libm-alias-float.h>.
19047 (roundf): Define using libm_alias_float.
19048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
19049 Include <libm-alias-float.h>.
19050 (truncf): Define using libm_alias_float.
19051 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
19052 <libm-alias-float.h>.
19053 (llrintf): Define using libm_alias_float.
19054 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19055 <libm-alias-float.h>.
19056 (llroundf): Define using libm_alias_float.
19057 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
19058 <libm-alias-float.h>.
19059 (ceilf): Define using libm_alias_float.
19060 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
19061 <libm-alias-float.h>.
19062 (floorf): Define using libm_alias_float.
19063 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19064 <libm-alias-float.h>.
19065 (llroundf): Define using libm_alias_float.
19066 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19067 <libm-alias-float.h>.
19068 (lroundf): Define using libm_alias_float.
19069 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
19070 <libm-alias-float.h>.
19071 (roundf): Define using libm_alias_float.
19072 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
19073 <libm-alias-float.h>.
19074 (truncf): Define using libm_alias_float.
19075 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19076 <libm-alias-float.h>.
19077 (copysignf): Define using libm_alias_float.
19078 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
19079 <libm-alias-float.h>.
19080 (llrintf): Define using libm_alias_float.
19081 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19082 <libm-alias-float.h>.
19083 (llroundf): Define using libm_alias_float.
19084 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19085 <libm-alias-float.h>.
19086 (lrintf): Define using libm_alias_float.
19087 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19088 <libm-alias-float.h>.
19089 (lroundf): Define using libm_alias_float.
19090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
19091 <libm-alias-float.h>.
19092 (ceilf): Define using libm_alias_float.
19093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
19094 <libm-alias-float.h>.
19095 (copysignf): Define using libm_alias_float.
19096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
19097 <libm-alias-float.h>.
19098 (cosf): Define using libm_alias_float.
19099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
19100 <libm-alias-float.h>.
19101 (floorf): Define using libm_alias_float.
19102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
19103 <libm-alias-float.h>.
19104 (llrintf): Define using libm_alias_float.
19105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
19106 <libm-alias-float.h>.
19107 (llroundf): Define using libm_alias_float.
19108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
19109 <libm-alias-float.h>.
19110 (logbf): Define using libm_alias_float.
19111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
19112 <libm-alias-float.h>.
19113 (modff): Define using libm_alias_float.
19114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
19115 <libm-alias-float.h>.
19116 (roundf): Define using libm_alias_float.
19117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
19118 <libm-alias-float.h>.
19119 (sinf): Define using libm_alias_float.
19120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
19121 <libm-alias-float.h>.
19122 (truncf): Define using libm_alias_float.
19123 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
19124 <libm-alias-float.h>.
19125 (ceilf): Define using libm_alias_float.
19126 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19127 <libm-alias-float.h>.
19128 (copysignf): Define using libm_alias_float.
19129 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
19130 <libm-alias-float.h>.
19131 (floorf): Define using libm_alias_float.
19132 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19133 <libm-alias-float.h>.
19134 (llrintf): Define using libm_alias_float.
19135 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
19136 <libm-alias-float.h>.
19137 (llroundf): Define using libm_alias_float.
19138 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
19139 <libm-alias-float.h>.
19140 (nearbyintf): Define using libm_alias_float.
19141 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
19142 <libm-alias-float.h>.
19143 (rintf): Define using libm_alias_float.
19144 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
19145 <libm-alias-float.h>.
19146 (roundf): Define using libm_alias_float.
19147 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
19148 <libm-alias-float.h>.
19149 (truncf): Define using libm_alias_float.
19150 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
19151 <libm-alias-float.h>.
19152 (ceilf): Define using libm_alias_float.
19153 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
19154 <libm-alias-float.h>.
19155 (floorf): Define using libm_alias_float.
19156 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19157 <libm-alias-float.h>.
19158 (llroundf): Define using libm_alias_float.
19159 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
19160 <libm-alias-float.h>.
19161 (roundf): Define using libm_alias_float.
19162 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
19163 <libm-alias-float.h>.
19164 (truncf): Define using libm_alias_float.
19165 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19166 <libm-alias-float.h>.
19167 (copysignf): Define using libm_alias_float.
19168 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19169 <libm-alias-float.h>.
19170 (llrintf): Define using libm_alias_float.
19171 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19172 <libm-alias-float.h>.
19173 (llroundf): Define using libm_alias_float.
19174 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
19175 <libm-alias-float.h>.
19176 (cosf): Define using libm_alias_float.
19177 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19178 <libm-alias-float.h>.
19179 (llrintf): Define using libm_alias_float.
19180 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19181 <libm-alias-float.h>.
19182 (llroundf): Define using libm_alias_float.
19183 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
19184 <libm-alias-float.h>.
19185 (sinf): Define using libm_alias_float.
19186
19187 2017-12-04 Florian Weimer <fweimer@redhat.com>
19188
19189 * support/check.h (TEST_COMPARE): Define.
19190 (support_test_compare_failure): Declare.
19191 * support/Makefile (libsupport-routines): Add
19192 support_test_compare_failure.
19193 (tests): Add tst-test_compare.
19194 * support /support_test_compare_failure.c: New file.
19195 * support/tst-test_compare.c: Likewise.
19196
19197 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19198
19199 [BZ #22527]
19200 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
19201 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
19202 available, this rewrite of the collation rules does reproduce
19203 the test file in the same order.
19204
19205 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19206
19207 [BZ #10580]
19208 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
19209 digraphs in the month and day names. Using single code points for
19210 digraphs is deprecated. While there are dedicated Unicode
19211 codepoints, for the digraphs, these are included for backwards
19212 compatibility and modern texts use a sequence of Basic Latin
19213 characters. See: https://www.unicode.org/faq/ligature_digraph.html
19214 This makes the month and day names agree exactly with CLDR now,
19215 CLDR does not use the single code points for the digraphs either.
19216
19217 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
19218
19219 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
19220
19221 2017-12-04 Joseph Myers <joseph@codesourcery.com>
19222
19223 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
19224 of floor.
19225
19226 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
19227
19228 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
19229 Define only for libc.so.
19230
19231 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
19232
19233 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19234 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
19235 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
19236 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
19237 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19238
19239 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19240
19241 [BZ #5997]
19242 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
19243
19244 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
19245
19246 [BZ libc/19170]
19247 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
19248 PREINIT_FUNCTION_WEAK is nonzero.
19249 (gmon_initializer): New function. Put procedure label for it in
19250 .init_array section.
19251 (_init): Don't call PREINIT_FUNCTION.
19252 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
19253 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
19254 value when map argument is null.
19255
19256 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
19257 depi instruction from PIC pc-relative sequence.
19258 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
19259 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
19260 (elf_machine_load_address): Likewise.
19261 (elf_machine_runtime_setup): Likewise.
19262
19263 2017-12-02 Joseph Myers <joseph@codesourcery.com>
19264
19265 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
19266 <libm-alias-double.h>.
19267 (logb): Define using libm_alias_double.
19268 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19269 <libm-alias-double.h>.
19270 (copysign): Define using libm_alias_double.
19271 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
19272 <libm-alias-double.h>.
19273 (llrint): Define using libm_alias_double.
19274 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
19275 <libm-alias-double.h>.
19276 (llround): Define using libm_alias_double.
19277 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19278 <libm-alias-double.h>.
19279 (lrint): Define using libm_alias_double.
19280 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19281 <libm-alias-double.h>.
19282 (lround): Define using libm_alias_double.
19283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19284 Include <libm-alias-double.h>.
19285 (copysign): Define using libm_alias_double.
19286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
19287 Include <libm-alias-double.h>.
19288 (llrint): Define using libm_alias_double.
19289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
19290 Include <libm-alias-double.h>.
19291 (llround): Define using libm_alias_double.
19292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
19293 <libm-alias-double.h>.
19294 (logb): Define using libm_alias_double.
19295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
19296 Include <libm-alias-double.h>.
19297 (lrint): Define using libm_alias_double.
19298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
19299 Include <libm-alias-double.h>.
19300 (lround): Define using libm_alias_double.
19301 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
19302 <libm-alias-double.h>.
19303 (llrint): Define using libm_alias_double.
19304 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19305 <libm-alias-double.h>.
19306 (llround): Define using libm_alias_double.
19307 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19308 <libm-alias-double.h>.
19309 (llround): Define using libm_alias_double.
19310 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19311 <libm-alias-double.h>.
19312 (lround): Define using libm_alias_double.
19313 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19314 <libm-alias-double.h>.
19315 (copysign): Define using libm_alias_double.
19316 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
19317 <libm-alias-double.h>.
19318 (llrint): Define using libm_alias_double.
19319 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19320 <libm-alias-double.h>.
19321 (llround): Define using libm_alias_double.
19322 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19323 <libm-alias-double.h>.
19324 (lrint): Define using libm_alias_double.
19325 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19326 <libm-alias-double.h>.
19327 (lround): Define using libm_alias_double.
19328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
19329 <libm-alias-double.h>.
19330 (copysign): Define using libm_alias_double.
19331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
19332 <libm-alias-double.h>.
19333 (llrint): Define using libm_alias_double.
19334 (lrint): Likewise.
19335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
19336 <libm-alias-double.h>.
19337 (llround): Define using libm_alias_double.
19338 (lround): Likewise.
19339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
19340 <libm-alias-double.h>.
19341 (logb): Define using libm_alias_double.
19342 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19343 <libm-alias-double.h>.
19344 (copysign): Define using libm_alias_double.
19345 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19346 <libm-alias-double.h>.
19347 (llrint): Define using libm_alias_double.
19348 (lrint): Likewise.
19349 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
19350 <libm-alias-double.h>.
19351 (llround): Define using libm_alias_double.
19352 (lround): Likewise.
19353 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19354 <libm-alias-double.h>.
19355 (llround): Define using libm_alias_double.
19356 (lround): Likewise.
19357 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19358 <libm-alias-double.h>.
19359 (copysign): Define using libm_alias_double.
19360 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19361 <libm-alias-double.h>.
19362 (llrint): Define using libm_alias_double.
19363 (lrint): Likewise.
19364 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19365 <libm-alias-double.h>.
19366 (llround): Define using libm_alias_double.
19367 (lround): Likewise.
19368 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19369 <libm-alias-double.h>.
19370 (llrint): Define using libm_alias_double.
19371 (lrint): Likewise.
19372 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19373 <libm-alias-double.h>.
19374 (llround): Define using libm_alias_double.
19375 (lround): Likewise.
19376
19377 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19378
19379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19380 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
19381 compat symbol based on llround.
19382
19383 * sysdeps/powerpc/power7/fpu/s_logb.c
19384 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
19385 symbol based on __logb, not on logb.
19386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
19387 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
19389 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19390
19391 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
19392 (rint): Define using libm_alias_double.
19393 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
19394 <libm-alias-double.h>.
19395 (modf): Define using libm_alias_double.
19396 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
19397 <libm-alias-double.h>.
19398 (ceil): Define using libm_alias_double.
19399 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
19400 <libm-alias-double.h>.
19401 (floor): Define using libm_alias_double.
19402 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
19403 <libm-alias-double.h>.
19404 (nearbyint): Define using libm_alias_double.
19405 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
19406 <libm-alias-double.h>.
19407 (rint): Define using libm_alias_double.
19408 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
19409 <libm-alias-double.h>.
19410 (round): Define using libm_alias_double.
19411 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
19412 <libm-alias-double.h>.
19413 (trunc): Define using libm_alias_double.
19414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
19415 <libm-alias-double.h>.
19416 (ceil): Define using libm_alias_double.
19417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
19418 Include <libm-alias-double.h>.
19419 (floor): Define using libm_alias_double.
19420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
19421 <libm-alias-double.h>.
19422 (modf): Define using libm_alias_double.
19423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
19424 Include <libm-alias-double.h>.
19425 (round): Define using libm_alias_double.
19426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
19427 Include <libm-alias-double.h>.
19428 (trunc): Define using libm_alias_double.
19429 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
19430 <libm-alias-double.h>.
19431 (ceil): Define using libm_alias_double.
19432 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
19433 <libm-alias-double.h>.
19434 (floor): Define using libm_alias_double.
19435 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
19436 <libm-alias-double.h>.
19437 (round): Define using libm_alias_double.
19438 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
19439 <libm-alias-double.h>.
19440 (trunc): Define using libm_alias_double.
19441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
19442 <libm-alias-double.h>.
19443 (ceil): Define using libm_alias_double.
19444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
19445 <libm-alias-double.h>.
19446 (floor): Define using libm_alias_double.
19447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
19448 <libm-alias-double.h>.
19449 (modf): Define using libm_alias_double.
19450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
19451 <libm-alias-double.h>.
19452 (round): Define using libm_alias_double.
19453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
19454 <libm-alias-double.h>.
19455 (trunc): Define using libm_alias_double.
19456 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
19457 <libm-alias-double.h>.
19458 (ceil): Define using libm_alias_double.
19459 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
19460 <libm-alias-double.h>.
19461 (floor): Define using libm_alias_double.
19462 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
19463 <libm-alias-double.h>.
19464 (nearbyint): Define using libm_alias_double.
19465 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
19466 <libm-alias-double.h>.
19467 (rint): Define using libm_alias_double.
19468 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
19469 <libm-alias-double.h>.
19470 (round): Define using libm_alias_double.
19471 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
19472 <libm-alias-double.h>.
19473 (trunc): Define using libm_alias_double.
19474 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
19475 <libm-alias-double.h>.
19476 (ceil): Define using libm_alias_double.
19477 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
19478 <libm-alias-double.h>.
19479 (floor): Define using libm_alias_double.
19480 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
19481 <libm-alias-double.h>.
19482 (round): Define using libm_alias_double.
19483 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
19484 <libm-alias-double.h>.
19485 (trunc): Define using libm_alias_double.
19486
19487 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
19488 (fabs): Define using libm_alias_double.
19489 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
19490 (fma): Define using libm_alias_double.
19491 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
19492 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
19493 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
19494 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
19495
19496 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19497
19498 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
19499
19500 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
19501 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
19502 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
19503
19504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
19505 due redirect macro.
19506
19507 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
19508
19509 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
19510
19511 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19512
19513 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
19514 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
19515 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
19516 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
19517
19518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19519 (libm-sysdep_routines): Add s_nearbyintf-generic and
19520 s_nearbyint-generic.
19521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
19522 New file.
19523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
19524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
19525 Likewise.
19526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
19527 Likewise.
19528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
19529 file.
19530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19531 Likewise.
19532
19533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19534 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
19535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
19536 file.
19537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
19538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
19539 Likewise.
19540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
19541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
19542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19543
19544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19545 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
19546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
19547 file.
19548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
19549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
19550 Likewise.
19551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
19552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
19553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
19554
19555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19556 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
19557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
19558 file.
19559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
19560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
19561 Likewise.
19562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
19563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
19564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19565
19566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19567 (sysdep_calls): New rule.
19568 (sysdep_routines): Use sysdep_calls as base.
19569 (libm-sysdep_routines): Add generic rule for symbols shared with
19570 libc. Add s_copysign-generic and s_copysign-generic objects.
19571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
19572 New file.
19573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
19574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
19575 Likewise.
19576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
19577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
19578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
19579
19580 2017-12-01 Mike FABIAN <mfabian@redhat.com>
19581
19582 [BZ #22519]
19583 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
19584 the list of locales to be built for testing.
19585 * localedata/is_IS.UTF-8.in: New file.
19586 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
19587 on iso14651_t1.
19588
19589 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19590
19591 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
19592 <libm-alias-float.h>.
19593 (fabsf): Define using libm_alias_float.
19594
19595 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19596
19597 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
19598
19599 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19600
19601 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
19602 <libm-alias-float.h>.
19603 (fabsf): Define using libm_alias_float.
19604 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
19605 <libm-alias-float.h>.
19606 (lrintf): Define using libm_alias_float.
19607 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
19608 <libm-alias-float.h>.
19609 (rintf): Define using libm_alias_float.
19610
19611 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
19612 <libm-alias-double.h>.
19613 (fabs): Define using libm_alias_double.
19614 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
19615 <libm-alias-double.h>.
19616 (lrint): Define using libm_alias_double.
19617 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
19618 <libm-alias-double.h>.
19619 (rint): Define using libm_alias_double.
19620
19621 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
19622 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
19623 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
19624 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
19625 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
19626 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
19627 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
19628 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
19629 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
19630 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
19631 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
19632 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
19633 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
19634 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
19635 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
19636 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
19637 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
19638 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
19639 s_atan_template.c.
19640 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
19641 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
19642 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
19643 s_ceil_template.c.
19644 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
19645 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
19646 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
19647 s_cos_template.c.
19648 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
19649 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
19650 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
19651 s_expm1_template.c.
19652 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
19653 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
19654 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
19655 s_fabs_template.c.
19656 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
19657 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
19658 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
19659 s_floor_template.c.
19660 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
19661 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
19662 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
19663 s_frexp_template.c.
19664 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
19665 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
19666 s_lrint_template.c.
19667 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
19668 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
19669 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
19670 s_modf_template.c.
19671 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
19672 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
19673 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
19674 s_nearbyint_template.c.
19675 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
19676 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
19677 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
19678 s_remquo_template.c.
19679 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
19680 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
19681 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
19682 s_rint_template.c.
19683 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
19684 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
19685 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
19686 s_sin_template.c.
19687 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
19688 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
19689 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
19690 s_sincos_template.c.
19691 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
19692 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
19693 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
19694 s_tan_template.c.
19695 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
19696 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
19697 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
19698 s_tanh_template.c.
19699 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
19700 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
19701 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
19702 s_trunc_template.c.
19703 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
19704 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
19705 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
19706 s_atan.c instead of including s_atan.c.
19707 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
19708 s_atanf.c instead of including s_atanf.c.
19709 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
19710 s_atanl.c instead of including s_atanl.c.
19711 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
19712 instead of s_atan.c.
19713 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
19714 instead of s_atanf.c.
19715 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
19716 instead of s_atanl.c.
19717
19718 * scripts/update-copyrights: Do not handle intl/plural.c
19719 specially.
19720
19721 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
19722
19723 [BZ #22432]
19724 * configure.ac (BISON): Require to be present.
19725 * configure: Regenerated.
19726 * intl/Makefile (generated): Add plural.c.
19727 [$(BISON) != no]: Make code unconditional.
19728 (plural.c): Change rule to $(objpfx)plural.c.
19729 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
19730 * intl/plural.c: Remove.
19731 * manual/install.texi (Tools for Compilation): Document bison as
19732 required.
19733 * INSTALL: Regenerated.
19734
19735 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19736
19737 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
19738 <libm-alias-double.h>.
19739 (llrint): Define using libm_alias_double.
19740 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
19741 <libm-alias-float.h>.
19742 (llrintf): Define using libm_alias_float.
19743 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
19744 <libm-alias-ldouble.h>.
19745 (llrintl): Define using libm_alias_ldouble.
19746
19747 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
19748 declare_mgen_alias instead of weak_alias.
19749 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
19750 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
19751 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
19752
19753 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19754
19755 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19756 Add add_n-generic.
19757 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
19758 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
19759 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
19760
19761 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19762 Add submul_1-generic.
19763 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
19764 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
19765 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
19766
19767 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19768 Add addmul_1-generic.
19769 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
19770 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
19771 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
19772
19773 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19774 Add sub_n-generic.
19775 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
19776 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
19777 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
19778
19779 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19780 Add mul_1-generic.
19781 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
19782 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
19783 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
19784
19785 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19786
19787 According to CLDR, collation rules for Serbian and Bosnian
19788 should be the same as for Croatian.
19789
19790 [BZ #22534]
19791 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
19792 and to the list of locales to be built for testing.
19793 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19794 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19795 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
19796 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
19797
19798 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19799
19800 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
19801 to make test case pass.
19802 * localedata/hr_HR.UTF-8.in: Add more test strings.
19803
19804 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19805
19806 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
19807
19808 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19809
19810 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
19811 the list of locales to built for testing.
19812 * localedata/hr_HR.UTF-8.in: New file.
19813
19814 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19815
19816 [BZ #10580]
19817 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
19818 iso14651_t1.
19819 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
19820 CLDR (except use ligatures for the digraphs, CLDR does not use
19821 the ligatures), add first_workday, some fixes in the date and time
19822 formats.
19823 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
19824 for Đ and đ.
19825 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
19826 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
19827 Add int_p_cs_precedes and int_n_cs_precedes.
19828 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
19829 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
19830 LC_MONETARY now).
19831 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
19832 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
19833 name_miss.
19834 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
19835 and lang_lib. Change postal_fmt.
19836
19837 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19838
19839 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
19840 <setjmp.h>.
19841 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19842 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
19843 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19844 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
19845 * sysdeps/generic/setjmpP.h: New file.
19846 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
19847 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
19848 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
19849 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
19850 Add jmp_buf-ssp.sym.
19851 (tests): Add tst-saved_mask-1.
19852
19853 2017-11-30 Arjun Shankar <arjun@redhat.com>
19854
19855 [BZ #22375]
19856 CVE-2017-17426
19857 * malloc/malloc.c (__libc_malloc): Use checked_request2size
19858 instead of request2size.
19859
19860 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19861
19862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
19863 (__lllrint): Remove alias.
19864 (lllrint): Likewise.
19865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
19866 (__lllrintf): Likewise.
19867 (lllrintf): Likewise.
19868
19869 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
19870 <libm-alias-float.h>.
19871 (copysignf): Define using libm_alias_float.
19872 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
19873 <libm-alias-float.h>.
19874 (fabsf): Define using libm_alias_float.
19875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19876 Include <libm-alias-float.h>.
19877 (copysignf): Define using libm_alias_float.
19878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
19879 <libm-alias-float.h>.
19880 (fabsf): Define using libm_alias_float.
19881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
19882 <libm-alias-float.h>.
19883 (fdimf): Define using libm_alias_float.
19884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
19885 <libm-alias-float.h>.
19886 (fmaf): Define using libm_alias_float.
19887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
19888 <libm-alias-float.h>.
19889 (llrintf): Define using libm_alias_float.
19890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19891 Include <libm-alias-float.h>.
19892 (nearbyintf): Define using libm_alias_float.
19893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
19894 <libm-alias-float.h>.
19895 (rintf): Define using libm_alias_float.
19896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
19897 <libm-alias-float.h>.
19898 (llrintf): Define using libm_alias_float.
19899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
19900 <libm-alias-float.h>.
19901 (lrintf): Define using libm_alias_float.
19902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
19903 <libm-alias-float.h>.
19904 (nearbyintf): Define using libm_alias_float.
19905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
19906 <libm-alias-float.h>.
19907 (rintf): Define using libm_alias_float.
19908 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
19909 <libm-alias-float.h>.
19910 (ceilf): Define using libm_alias_float.
19911 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
19912 <libm-alias-float.h>.
19913 (floorf): Define using libm_alias_float.
19914 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
19915 <libm-alias-float.h>.
19916 (fmaf): Define using libm_alias_float.
19917 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
19918 <libm-alias-float.h>.
19919 (lrintf): Define using libm_alias_float.
19920 (llrintf): Likewise.
19921 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
19922 <libm-alias-float.h>.
19923 (nearbyintf): Define using libm_alias_float.
19924 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
19925 <libm-alias-float.h>.
19926 (rintf): Define using libm_alias_float.
19927 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
19928 <libm-alias-float.h>.
19929 (truncf): Define using libm_alias_float.
19930 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
19931 <libm-alias-float.h>.
19932 (copysignf): Define using libm_alias_float.
19933 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
19934 <libm-alias-float.h>.
19935 (fabsf): Define using libm_alias_float.
19936 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
19937 <libm-alias-float.h>.
19938 (lrintf): Define using libm_alias_float.
19939 (llrintf): Likewise.
19940 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
19941 <libm-alias-float.h>.
19942 (nearbyintf): Define using libm_alias_float.
19943 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
19944 <libm-alias-float.h>.
19945 (rintf): Define using libm_alias_float.
19946
19947 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19948
19949 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
19950 <libm-alias-double.h>.
19951 (copysign): Define using libm_alias_double.
19952 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
19953 <libm-alias-double.h>.
19954 (fabs): Define using libm_alias_double.
19955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19956 Include <libm-alias-double.h>.
19957 (copysign): Define using libm_alias_double.
19958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
19959 <libm-alias-double.h>.
19960 (fabs): Define using libm_alias_double.
19961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
19962 <libm-alias-double.h>.
19963 (fdim): Define using libm_alias_double.
19964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
19965 <libm-alias-double.h>.
19966 (fma): Define using libm_alias_double.
19967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
19968 <libm-alias-double.h>.
19969 (llrint): Define using libm_alias_double.
19970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
19971 Include <libm-alias-double.h>.
19972 (nearbyint): Define using libm_alias_double.
19973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
19974 <libm-alias-double.h>.
19975 (rint): Define using libm_alias_double.
19976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19977 <libm-alias-double.h>.
19978 (fabs): Define using libm_alias_double.
19979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
19980 <libm-alias-double.h>.
19981 (llrint): Define using libm_alias_double.
19982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
19983 <libm-alias-double.h>.
19984 (nearbyint): Define using libm_alias_double.
19985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
19986 <libm-alias-double.h>.
19987 (rint): Define using libm_alias_double.
19988 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
19989 <libm-alias-double.h>.
19990 (ceil): Define using libm_alias_double.
19991 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
19992 <libm-alias-double.h>.
19993 (floor): Define using libm_alias_double.
19994 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
19995 <libm-alias-double.h>.
19996 (fma): Define using libm_alias_double.
19997 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
19998 <libm-alias-double.h>.
19999 (lrint): Define using libm_alias_double.
20000 (llrint): Likewise.
20001 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
20002 <libm-alias-double.h>.
20003 (nearbyint): Define using libm_alias_double.
20004 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
20005 <libm-alias-double.h>.
20006 (rint): Define using libm_alias_double.
20007 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
20008 <libm-alias-double.h>.
20009 (trunc): Define using libm_alias_double.
20010 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
20011 <libm-alias-double.h>.
20012 (copysign): Define using libm_alias_double.
20013 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
20014 <libm-alias-double.h>.
20015 (fabs): Define using libm_alias_double.
20016 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
20017 <libm-alias-double.h>.
20018 (lrint): Define using libm_alias_double.
20019 (llrint): Likewise.
20020 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
20021 <libm-alias-double.h>.
20022 (nearbyint): Define using libm_alias_double.
20023 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
20024 <libm-alias-double.h>.
20025 (rint): Define using libm_alias_double.
20026
20027 [BZ #22229]
20028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20029 <math_ldbl_opt.h>.
20030 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
20031
20032 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20033 SPARC --disable-multi-arch glibc variants.
20034
20035 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
20036 <libm-alias-float.h>.
20037 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20038 if [SHARED].
20039 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
20040 <libm-alias-float.h>.
20041 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20042 if [SHARED].
20043 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
20044 <libm-alias-float.h>.
20045 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20046 if [SHARED].
20047 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
20048 <libm-alias-float.h>.
20049 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20050 if [SHARED].
20051 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
20052 <libm-alias-float.h>.
20053 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20054 if [SHARED].
20055 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
20056 <libm-alias-float.h>.
20057 (ceilf): Define using libm_alias_float.
20058 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
20059 <libm-alias-float.h>.
20060 (floorf): Define using libm_alias_float.
20061 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
20062 <libm-alias-float.h>.
20063 (fmaf): Define using libm_alias_float.
20064 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
20065 <libm-alias-float.h>.
20066 (nearbyintf): Define using libm_alias_float.
20067 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
20068 <libm-alias-float.h>.
20069 (rintf): Define using libm_alias_float.
20070 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
20071 <libm-alias-float.h>.
20072 (truncf): Define using libm_alias_float.
20073 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20074 (copysignf): Define using libm_alias_float.
20075 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
20076 (cosf): Define using libm_alias_float.
20077 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20078 (fabsf): Define using libm_alias_float.
20079 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20080 (fmaxf): Define using libm_alias_float.
20081 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
20082 (fminf): Define using libm_alias_float.
20083 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20084 (llrintf): Define using libm_alias_float.
20085 [!__ILP32__] (lrintf): Likewise.
20086 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
20087 (sincosf): Define using libm_alias_float.
20088 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
20089 (sinf): Define using libm_alias_float.
20090 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20091 (lrintf): Define using libm_alias_float.
20092
20093 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
20094 <libm-alias-double.h>.
20095 (atan): Define using libm_alias_double.
20096 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
20097 <libm-alias-double.h>.
20098 (ceil): Define using libm_alias_double.
20099 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
20100 <libm-alias-double.h>.
20101 (floor): Define using libm_alias_double.
20102 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
20103 <libm-alias-double.h>.
20104 (fma): Define using libm_alias_double.
20105 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
20106 <libm-alias-double.h>.
20107 (nearbyint): Define using libm_alias_double.
20108 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
20109 <libm-alias-double.h>.
20110 (rint): Define using libm_alias_double.
20111 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
20112 <libm-alias-double.h>.
20113 (sin): Define using libm_alias_double.
20114 (cos): Likewise.
20115 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
20116 <libm-alias-double.h>.
20117 (tan): Define using libm_alias_double.
20118 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
20119 <libm-alias-double.h>.
20120 (trunc): Define using libm_alias_double.
20121 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
20122 (copysign): Define using libm_alias_double.
20123 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
20124 (fabs): Define using libm_alias_double.
20125 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
20126 (fmax): Define using libm_alias_double.
20127 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
20128 (fmin): Define using libm_alias_double.
20129 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
20130 (llrint): Define using libm_alias_double.
20131 [!__ILP32__] (lrint): Likewise.
20132 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
20133 (lrint): Define using libm_alias_double.
20134
20135 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20136
20137 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20138 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
20139 objects.
20140 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
20141 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
20142 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
20143 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
20144 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
20145 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20146
20147 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20148 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
20149 objects.
20150 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
20151 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
20152 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
20153 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
20154 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
20155 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20156
20157 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20158 (libm-sysdep_routines): Add s_nearbyint-generic and
20159 s_nearbyintf-generic objects.
20160 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
20161 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
20162 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
20163 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
20164 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
20165 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
20166
20167 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20168 Add s_finitef-generic and s_finite-generic objects.
20169 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
20170 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
20171 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
20172 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
20173 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
20174 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
20175
20176 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20177 Add s_isinff-generic and s_isinf-generic objects.
20178 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
20179 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
20180 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
20181 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
20182 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
20183 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20184
20185 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20186 Add s_isnanf-generic and s_isnan-generic objects.
20187 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
20188 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
20189 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
20190 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
20191 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
20192 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20193
20194 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
20195 macro.
20196 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
20197 rule.
20198 (sysdep_routines): Use sysdep_calls as base.
20199 (libm-sysdep_routines): Add generic rule for symbols shared with
20200 libc. Add s_signbit-generic and s_signbitf-generic objects.
20201 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
20202 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
20203 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
20204 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
20205 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
20206 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20207
20208 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20209
20210 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
20211 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
20212 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
20213 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
20214 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
20215 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
20216 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
20217 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
20218 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
20219 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
20220 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
20221 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
20222 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
20223 libm_alias_float_r.
20224 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
20225 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
20226 (logf): Likewise.
20227 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
20228 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
20229 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
20230 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
20231 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
20232 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
20233 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
20234 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
20235 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
20236 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
20237 libm_alias_float.
20238 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
20239 (cosf): Likewise.
20240 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
20241 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
20242 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
20243 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
20244 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
20245 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
20246 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
20247 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
20248 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
20249 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
20250 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
20251 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
20252 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
20253 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
20254 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
20255 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
20256 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
20257 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
20258 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
20259 libm_alias_float.
20260 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
20261 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
20262 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
20263 * sysdeps/ia64/fpu/w_lgammaf_main.c
20264 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
20265 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
20266
20267 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20268 Alexandre Oliva <aoliva@redhat.com>
20269
20270 [BZ #17750]
20271 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
20272 * localedata/fr_CA.UTF-8.in: New file with test data for backward
20273 accents sorting.
20274 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
20275 sorting.
20276 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
20277 * localedata/locales/de_DE (LC_COLLATE): Likewise.
20278 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
20279 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
20280 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
20281 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
20282 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
20283 instead of “ifdef DIACRIT_BACKWARD”.
20284
20285 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20286
20287 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
20288 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
20289 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
20290 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
20291 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
20292 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
20293 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
20294 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
20295 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
20296 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
20297 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
20298 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
20299 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
20300 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
20301 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
20302 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20303 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
20304 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
20305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20306 ($(have-as-vis3) == yes): Remove conditional.
20307 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
20308 Likewise.
20309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
20310 file.
20311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
20312 file.
20313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
20314 file.
20315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
20316 file.
20317 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
20318 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
20319 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
20320 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
20321 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
20322 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
20323 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
20324 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
20325
20326 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20327
20328 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
20329 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
20330 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
20331 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
20332 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
20333 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
20334 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
20335 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
20336 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
20337 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
20338 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
20339 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
20340 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
20341 libm_alias_double_r.
20342 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
20343 (log): Likewise.
20344 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
20345 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
20346 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
20347 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
20348 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
20349 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
20350 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
20351 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
20352 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
20353 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
20354 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
20355 libm_alias_double.
20356 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
20357 (cos): Likewise.
20358 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
20359 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
20360 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
20361 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
20362 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
20363 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
20364 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
20365 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
20366 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
20367 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
20368 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
20369 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
20370 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
20371 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
20372 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
20373 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
20374 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
20375 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
20376 libm_alias_double.
20377 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
20378 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
20379 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
20380 * sysdeps/ia64/fpu/w_lgamma_main.c
20381 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
20382 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
20383
20384 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
20385
20386 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
20387 address of $global$ into %dp register earlier. Use pc-relative
20388 instruction sequence for PIC case.
20389
20390 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20391
20392 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
20393 (asinhf): Define using libm_alias_float.
20394 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
20395 (atanf): Define using libm_alias_float.
20396 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
20397 (cbrtf): Define using libm_alias_float.
20398 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
20399 (ceilf): Define using libm_alias_float.
20400 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20401 (copysignf): Define using libm_alias_float.
20402 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
20403 (expm1f): Define using libm_alias_float.
20404 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
20405 (fabsf): Define using libm_alias_float.
20406 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
20407 (floorf): Define using libm_alias_float.
20408 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20409 (fmaxf): Define using libm_alias_float.
20410 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
20411 (fminf): Define using libm_alias_float.
20412 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
20413 (frexpf): Define using libm_alias_float.
20414 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20415 (llrintf): Define using libm_alias_float.
20416 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
20417 (logbf): Define using libm_alias_float.
20418 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20419 (lrintf): Define using libm_alias_float.
20420 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
20421 (nearbyintf): Define using libm_alias_float.
20422 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
20423 (remquof): Define using libm_alias_float.
20424 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
20425 (rintf): Define using libm_alias_float.
20426 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
20427 (truncf): Define using libm_alias_float.
20428 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
20429 <libm-alias-float.h>.
20430 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20431 if [SHARED].
20432 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
20433 <libm-alias-float.h>.
20434 (expf): Define using libm_alias_float, or libm_alias_float_other
20435 if [SHARED].
20436 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
20437 <libm-alias-float.h>.
20438 (log2f): Define using libm_alias_float, or libm_alias_float_other
20439 if [SHARED].
20440 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
20441 <libm-alias-float.h>.
20442 (logf): Define using libm_alias_float, or libm_alias_float_other
20443 if [SHARED].
20444 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
20445 <libm-alias-float.h>.
20446 (powf): Define using libm_alias_float, or libm_alias_float_other
20447 if [SHARED].
20448 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
20449 <libm-alias-float.h>.
20450 (cosf): Define using libm_alias_float.
20451 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
20452 <libm-alias-float.h>.
20453 (sincosf): Define using libm_alias_float.
20454 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
20455 <libm-alias-float.h>.
20456 (sinf): Define using libm_alias_float.
20457 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20458 (fmaxf): Define using libm_alias_float.
20459 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
20460 (fminf): Define using libm_alias_float.
20461 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20462 <libm-alias-float.h>.
20463 (fmaf): Define using libm_alias_float.
20464
20465 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
20466 (asinh): Define using libm_alias_double.
20467 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
20468 (atan): Define using libm_alias_double.
20469 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
20470 (cbrt): Define using libm_alias_double.
20471 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
20472 (ceil): Define using libm_alias_double.
20473 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
20474 (copysign): Define using libm_alias_double.
20475 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
20476 (expm1): Define using libm_alias_double.
20477 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
20478 (fabs): Define using libm_alias_double.
20479 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
20480 (fdim): Define using libm_alias_double.
20481 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
20482 (floor): Define using libm_alias_double.
20483 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
20484 (fmax): Define using libm_alias_double.
20485 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
20486 (fmin): Define using libm_alias_double.
20487 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
20488 (frexp): Define using libm_alias_double.
20489 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
20490 (llrint): Define using libm_alias_double.
20491 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
20492 (logb): Define using libm_alias_double.
20493 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
20494 (lrint): Define using libm_alias_double.
20495 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
20496 (nearbyint): Define using libm_alias_double.
20497 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
20498 (remquo): Define using libm_alias_double.
20499 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
20500 (rint): Define using libm_alias_double.
20501 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
20502 (trunc): Define using libm_alias_double.
20503 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
20504 (fmax): Define using libm_alias_double.
20505 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
20506 (fmin): Define using libm_alias_double.
20507 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
20508 (fma): Define using libm_alias_double.
20509
20510 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
20511
20512 [BZ #22370]
20513 * elf/dl-hwcaps.c (ROUND): Removed.
20514 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
20515 and ELF_NOTE_NEXT_OFFSET.
20516 * elf/dl-load.c (ROUND): Removed.
20517 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20518 * elf/readelflib.c (ROUND): Removed.
20519 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20520 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
20521 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
20522 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
20523
20524 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20525
20526 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20527 [!__fmaf] (fmaf): Define using libm_alias_float.
20528
20529 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
20530 [!__fma] (fma): Define using libm_alias_double.
20531 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
20532
20533 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20534
20535 [BZ #22336]
20536 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
20537 and implement the collation rules for cs from CLDR on top of that.
20538 * Makefile: Add cs_CZ.UTF-8 to test-input.
20539 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
20540
20541 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
20542
20543 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
20544
20545 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20546 Icarus Sparry <icarus.w.sparry@intel.com>
20547
20548 * benchtests/Makefile:Add BENCHSET to allow subsets of
20549 benchmarks to be run.
20550 * benchtests/README: Add documentation for: Running subsets of
20551 benchmarks.
20552
20553 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20554
20555 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
20556 range of tests names.
20557
20558 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
20559 result from property and remove "max", min" and "mean" from
20560 required properties based on benchtests/bench-skeleton.c.
20561
20562 2017-11-28 Florian Weimer <fweimer@redhat.com>
20563
20564 [BZ #20826]
20565 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
20566 due to Internet requirement.
20567 * posix/Makefile (tests): Remove tst-getaddrinfo4,
20568 tst-getaddrinfo5.
20569 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
20570
20571 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20572
20573 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20574 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
20575 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20576 (sysdep_routines): Add memset-ultra1.
20577 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
20578 file.
20579 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
20580 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
20581 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
20582 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
20583 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
20584 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
20585 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
20586 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20587
20588 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
20589 file.
20590 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
20591 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
20592 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
20593 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
20594 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
20595 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
20596 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
20597 macro.
20598 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20599 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
20600 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20601 (sysdep_routines): Add memcpy-ultra1.
20602 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
20603 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
20604
20605 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20606
20607 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
20608 (cfloat_versions): Take function argument without trailing 'f'.
20609 Call libm_alias_float_other.
20610 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
20611 * sysdeps/alpha/fpu/cargf.c: Likewise.
20612 * sysdeps/alpha/fpu/cimagf.c: Likewise.
20613 * sysdeps/alpha/fpu/conjf.c: Likewise.
20614 * sysdeps/alpha/fpu/crealf.c: Likewise.
20615 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
20616 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
20617 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
20618 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
20619 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
20620 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
20621 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
20622 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
20623 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
20624 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
20625 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
20626 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
20627 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
20628 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
20629 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
20630 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
20631 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
20632 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
20633 (clog10f): Use libm_alias_float_other.
20634 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20635 (ceilf): Define using libm_alias_float.
20636 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
20637 (copysignf): Define using libm_alias_float.
20638 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20639 (fabsf): Define using libm_alias_float.
20640 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
20641 (floorf): Define using libm_alias_float.
20642 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
20643 (fmaxf): Define using libm_alias_float.
20644 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
20645 (fminf): Define using libm_alias_float.
20646 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20647 (lrintf): Define using libm_alias_float.
20648 (llrintf): Likewise.
20649 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20650 (lroundf): Define using libm_alias_float.
20651 (llroundf): Likewise.
20652 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
20653 (rintf): Define using libm_alias_float.
20654 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
20655 (truncf): Define using libm_alias_float.
20656
20657 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20658 (ceilf): Define using libm_alias_float.
20659 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
20660 (floorf): Define using libm_alias_float.
20661 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20662 (fmaf): Define using libm_alias_float.
20663 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
20664 (fmaxf): Define using libm_alias_float.
20665 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
20666 (fminf): Define using libm_alias_float.
20667 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
20668 (llrintf): Define using libm_alias_float.
20669 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
20670 (llroundf): Define using libm_alias_float.
20671 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20672 (lrintf): Define using libm_alias_float.
20673 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20674 (lroundf): Define using libm_alias_float.
20675 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
20676 <libm-alias-float.h>.
20677 (nearbyintf): Define using libm_alias_float.
20678 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
20679 (rintf): Define using libm_alias_float.
20680 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
20681 (roundf): Define using libm_alias_float.
20682 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
20683 (truncf): Define using libm_alias_float.
20684
20685 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
20686 (ceil): Define using libm_alias_double.
20687 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
20688 (copysign): Define using libm_alias_double.
20689 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
20690 (fabs): Define using libm_alias_double.
20691 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
20692 (floor): Define using libm_alias_double.
20693 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
20694 (fmax): Define using libm_alias_double.
20695 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
20696 (fmin): Define using libm_alias_double.
20697 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
20698 (lrint): Define using libm_alias_double.
20699 (llrint): Likewise.
20700 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
20701 (lround): Define using libm_alias_double.
20702 (llround): Likewise.
20703 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
20704 (rint): Define using libm_alias_double.
20705 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
20706 (trunc): Define using libm_alias_double.
20707
20708 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
20709 (libm_alias_double_r): Add semicolon after weak_alias call.
20710
20711 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20712
20713 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
20714 (ceil): Define using libm_alias_double.
20715 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
20716 (floor): Define using libm_alias_double.
20717 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
20718 (fma): Define using libm_alias_double.
20719 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
20720 (fmax): Define using libm_alias_double.
20721 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
20722 (fmin): Define using libm_alias_double.
20723 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
20724 (llrint): Define using libm_alias_double.
20725 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
20726 (llround): Define using libm_alias_double.
20727 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
20728 (lrint): Define using libm_alias_double.
20729 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
20730 (lround): Define using libm_alias_double.
20731 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
20732 (nearbyint): Define using libm_alias_double.
20733 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
20734 (rint): Define using libm_alias_double.
20735 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
20736 (round): Define using libm_alias_double.
20737 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
20738 (trunc): Define using libm_alias_double.
20739
20740 2017-11-27 Florian Weimer <fweimer@redhat.com>
20741
20742 * sysdeps/unix/sysv/linux/mlock2.c: New file.
20743 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
20744 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
20745 (tests): Add tst-mlock2.
20746 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
20747 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
20748 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
20749 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
20750 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
20751 for mlock. Document mlock2.
20752
20753 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20754
20755 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
20756 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
20757 Likewise.
20758 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
20759 Likewise.
20760 * sysdeps/x86/Makeconfig: New file.
20761 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
20762 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20763 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
20764 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20765 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20766 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20767 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
20768 Likewise.
20769 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20770 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20771 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20772 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20773 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20774 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20775 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20776 * manual/math.texi (Mathematics): Document support for _Float64x.
20777 * math/Versions (GLIBC_2.27): Add _Float64x functions.
20778 * stdlib/Versions (GLIBC_2.27): Likewise.
20779 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20780 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20781 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20782 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20783 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20784 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20785 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20786 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20787 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20788 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20789 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20790 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20792 Likewise.
20793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20794 Likewise.
20795 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20796 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20797 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20798 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20799 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20800 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20801 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20802 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20803 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20804 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20805 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20806 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20807 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20808 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20809
20810 2017-11-27 Andreas Schwab <schwab@suse.de>
20811
20812 * elf/Makefile (dl-routines): Add dl-sort-maps.
20813 * elf/dl-sort-maps.c: New file.
20814 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
20815 (_dl_sort_maps): Declare.
20816 * elf/dl-fini.c (_dl_sort_fini): Remove.
20817 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
20818 * elf/dl-close.c (_dl_close_worker): Likewise.
20819 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
20820 open-coding it.
20821 * elf/dl-open.c (dl_open_worker): Likewise.
20822
20823 2017-11-24 Joseph Myers <joseph@codesourcery.com>
20824
20825 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
20826 using libm_alias_float128.
20827 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
20828 Likewise.
20829 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
20830 Likewise.
20831 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
20832 (setpayloadsigf128): Likewise.
20833 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
20834 Likewise.
20835 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
20836 Likewise.
20837
20838 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
20839 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
20840 -mfloat128 to CFLAGS.
20841 ($(foreach
20842 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
20843 Likewise.
20844 (CFLAGS-libm-test-support-float64x.c): New variable.
20845 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
20846 $(f128-loader-link) to gnulib-tests.
20847
20848 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
20849 (libm_alias_float128_other_r): If
20850 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
20851 alias.
20852 (libm_alias_float128_r): Add semicolon after weak_alias call.
20853 * sysdeps/generic/libm-alias-ldouble.h
20854 (libm_alias_ldouble_other_r_f128): New macro.
20855 (libm_alias_ldouble_other_r_f64x): Likewise.
20856 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20857 and libm_alias_ldouble_other_r_f64x.
20858 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
20859 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
20860 (libm_alias_ldouble_other_r_f128): New macro.
20861 (libm_alias_ldouble_other_r_f64x): Likewise.
20862 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20863 and libm_alias_ldouble_other_r_f64x.
20864
20865 * stdlib/strfroml.c: Always include <stdlib.h>.
20866 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
20867 undefine as macro and define as weak alias.
20868 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
20869 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
20870 <stdlib.h>.
20871 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
20872 Define and later undefine as macro and define as weak alias.
20873
20874 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20875 Define and later undefine as macro. Define as weak alias if
20876 [!USE_WIDE_CHAR].
20877 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
20878 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20879 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
20880 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20881 Define and later undefine as macro. Define as weak alias if
20882 [!USE_WIDE_CHAR].
20883 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
20884 Define and later undefine as macro. Define as weak alias if
20885 [USE_WIDE_CHAR].
20886 * sysdeps/ieee754/float128/strtof128_l.c
20887 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
20888 Define and later undefine as macro. Define as weak alias if
20889 [!USE_WIDE_CHAR].
20890 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
20891 Define and later undefine as macro. Define as weak alias if
20892 [USE_WIDE_CHAR].
20893 * sysdeps/ieee754/ldbl-128/strtold_l.c
20894 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20895 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20896 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20897 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20898 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
20899 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20900 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20901 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20902 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20903 * sysdeps/ieee754/ldbl-96/strtold_l.c
20904 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20905 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20906 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20907 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20908
20909 * math/test-float64x.h: New file.
20910 * math/Makefile (type-float64x-yes): New variable.
20911 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
20912
20913 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
20914 function-like macro.
20915 (min_of_type_): Likewise.
20916 (min_of_type_l): Likewise.
20917 (min_of_type_f128): Likewise.
20918 (min_of_type): Pass () as last argument of __MATH_TG.
20919
20920 * stdlib/tst-strtod-round-skeleton.c
20921 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
20922 headers.
20923
20924 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
20925 for combinations of long double with _Float64 and _Float64x.
20926
20927 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
20928 (__DECL_SIMD_cosf32): Likewise.
20929 (__DECL_SIMD_cosf64): Likewise.
20930 (__DECL_SIMD_cosf32x): Likewise.
20931 (__DECL_SIMD_cosf64x): Likewise.
20932 (__DECL_SIMD_cosf128x): Likewise.
20933 (__DECL_SIMD_sinf16): Likewise.
20934 (__DECL_SIMD_sinf32): Likewise.
20935 (__DECL_SIMD_sinf64): Likewise.
20936 (__DECL_SIMD_sinf32x): Likewise.
20937 (__DECL_SIMD_sinf64x): Likewise.
20938 (__DECL_SIMD_sinf128x): Likewise.
20939 (__DECL_SIMD_sincosf16): Likewise.
20940 (__DECL_SIMD_sincosf32): Likewise.
20941 (__DECL_SIMD_sincosf64): Likewise.
20942 (__DECL_SIMD_sincosf32x): Likewise.
20943 (__DECL_SIMD_sincosf64x): Likewise.
20944 (__DECL_SIMD_sincosf128x): Likewise.
20945 (__DECL_SIMD_logf16): Likewise.
20946 (__DECL_SIMD_logf32): Likewise.
20947 (__DECL_SIMD_logf64): Likewise.
20948 (__DECL_SIMD_logf32x): Likewise.
20949 (__DECL_SIMD_logf64x): Likewise.
20950 (__DECL_SIMD_logf128x): Likewise.
20951 (__DECL_SIMD_expf16): Likewise.
20952 (__DECL_SIMD_expf32): Likewise.
20953 (__DECL_SIMD_expf64): Likewise.
20954 (__DECL_SIMD_expf32x): Likewise.
20955 (__DECL_SIMD_expf64x): Likewise.
20956 (__DECL_SIMD_expf128x): Likewise.
20957 (__DECL_SIMD_powf16): Likewise.
20958 (__DECL_SIMD_powf32): Likewise.
20959 (__DECL_SIMD_powf64): Likewise.
20960 (__DECL_SIMD_powf32x): Likewise.
20961 (__DECL_SIMD_powf64x): Likewise.
20962 (__DECL_SIMD_powf128x): Likewise.
20963
20964 * stdlib/Versions (libc): Move entries for wcstof128 and
20965 wcstof128_l to ....
20966 * wcsmbs/Versions (libc): ... here.
20967 Include <float128-abi.h>.
20968
20969 2017-11-24 Florian Weimer <fweimer@redhat.com>
20970
20971 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20972 bits/mman-shared.h.
20973 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
20974 <bits/mman-shared.h>.
20975 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
20976 to ...
20977 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
20978 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
20979 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
20980 <bits/mman-shared.h>.
20981
20982 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20983
20984 [BZ #22457]
20985 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
20986 posix_memalign/free.
20987 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
20988
20989 2017-11-22 Mike FABIAN <mfabian@redhat.com>
20990
20991 [BZ #22469]
20992 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
20993 and implement the collation rules for pl from CLDR on top of that.
20994 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
20995 of locales to be built for testing.
20996 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
20997
20998 2017-11-23 Joseph Myers <joseph@codesourcery.com>
20999
21000 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
21001 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
21002 libm_alias_ldouble_other.
21003 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
21004 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
21005 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
21006 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
21007 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
21008 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
21009 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
21010 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
21011 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
21012 libm_alias_ldouble_r.
21013 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
21014 libm_alias_ldouble_other.
21015 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
21016 (log10l): Likewise.
21017 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
21018 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
21019 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
21020 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
21021 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
21022 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
21023 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
21024 (atan2l): Likewise.
21025 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
21026 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
21027 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
21028 libm_alias_ldouble.
21029 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
21030 (cosl): Likewise.
21031 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
21032 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
21033 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
21034 (expl): Likewise.
21035 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
21036 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
21037 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
21038 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
21039 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
21040 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
21041 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
21042 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
21043 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
21044 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
21045 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
21046 libm_alias_ldouble.
21047 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
21048 libm_alias_ldouble_other.
21049 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
21050 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
21051 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
21052 libm_alias_ldouble.
21053 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
21054 libm_alias_ldouble_other.
21055 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
21056 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
21057 * sysdeps/ia64/fpu/w_lgammal_main.c
21058 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
21059 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
21060
21061 2017-11-23 Florian Weimer <fweimer@redhat.com>
21062
21063 * malloc/malloc.c (tcache_thread_shutdown): Rename from
21064 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
21065 alike. Remove freeres marker.
21066 * malloc/arena.c (arena_thread_freeres): Call
21067 tcache_thread_shutdown.
21068
21069 2017-11-23 Florian Weimer <fweimer@redhat.com>
21070
21071 [BZ #22459]
21072 Export nscd hash function as __nss_hash.
21073 * include/nss.h (__nss_hash): Declare.
21074 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
21075 symbol.
21076 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
21077 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
21078 of __nscd_hash.
21079 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
21080 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
21081 * nss/Makefiles (routines): Add nss_hash.
21082 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
21083 * nss/nss_hash.c: Rename from nis/nis_hash.c.
21084 (__nss_hash): Rename from __nis_hash. Define hidden alias.
21085 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
21086
21087 2017-11-23 Florian Weimer <fweimer@redhat.com>
21088
21089 [BZ #22478]
21090 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
21091 Return error code, not -1.
21092 * signal/tst-sigwait-eintr.c: New file.
21093 * signal/Makefile (tests): Add tst-sigwait-eintr.
21094
21095 2017-11-23 Florian Weimer <fweimer@redhat.com>
21096
21097 Linux: Add memfd_create system call wrapper
21098 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
21099 tst-memfd_create.
21100 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
21101 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
21102 [__USE_GNU] (memfd_create): Declare.
21103 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
21104 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
21105 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
21106 * sysdeps/unix/sysv/linux/**.abilist: Update.
21107 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
21108
21109 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21110
21111 * localedata/gen-locale.sh: Fix typo in variable name.
21112
21113 * resolv/res_debug.c (p_secstodate): Condition definition on
21114 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
21115 directly as __p_secstodate, and as a compat symbol. Do not use
21116 libresolv_hidden_def.
21117 * resolv/resolv.h (p_secstodate): Remove macro and function
21118 declaration.
21119 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
21120 using p_secstodate.
21121 * include/resolv.h (__p_secstodate): Do not use
21122 libresolv_hidden_proto.
21123 * resolv/Makefile (tests): Move tst-p_secstodate to ....
21124 (tests-internal): ... here.
21125 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
21126 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
21127 and declare and use __p_secstodate and use compat_symbol_reference
21128 in that case.
21129 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
21130 implementation returning 77.
21131
21132 [BZ #22463]
21133 * resolv/res_debug.c: Include <libc-diag.h>.
21134 (p_secstodate): Assert time_t at least as wide as u_long. On
21135 overflow, use integer seconds since the epoch as output, or use
21136 "<overflow>" as output and set errno to EOVERFLOW if integer
21137 seconds since the epoch would be 14 or more characters.
21138 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
21139 for sprintf call.
21140 * resolv/tst-p_secstodate.c: New file.
21141 * resolv/Makefile (tests): Add tst-p_secstodate.
21142 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
21143
21144 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
21145 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
21146 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
21147
21148 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
21149
21150 * posix/regcomp.c (init_word_char): Add comments.
21151
21152 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21153
21154 [BZ #22447]
21155 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
21156 strlen to compute length of ut_user and set trailing NUL byte of
21157 result explicitly.
21158
21159 2017-11-21 Mike FABIAN <mfabian@redhat.com>
21160
21161 [BZ #15537]
21162 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
21163 using “copy "iso14651_t1"” and then implementing the
21164 collation rules for lv from CLDR on top of that.
21165 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
21166 of locales to be built for testing.
21167 * lv_LV.UTF-8.in: New file with test data to test the Latvian
21168 sorting.
21169
21170 2017-11-21 Joseph Myers <joseph@codesourcery.com>
21171
21172 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21173 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
21174 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
21175 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
21176 [__USE_MISC] (MADV_HWPOISON): New macro.
21177 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
21178
21179 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21180
21181 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
21182 -Wmissing-braces on GCC 4.9.
21183
21184 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21185
21186 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
21187 * sysdeps/s390/s390-32/start.S (_start): Likewise
21188 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
21189 (thread_start): Likewise.
21190 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
21191 (thread_start): Likewise.
21192 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
21193 (__makecontext_ret): Likewise.
21194 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
21195 (__makecontext_ret): Likewise.
21196
21197 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21198
21199 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
21200 __wcschrnul): Remove attribute_hidden.
21201
21202 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
21203
21204 regex: don't assume uint64_t or uint32_t
21205 This avoids -Werror=overflow errors for 32-bit systems in
21206 the 64-bit case. Problem reported by Joseph Myers in:
21207 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
21208 Also, when this code is used in Gnulib it ports to platforms
21209 that lack uint64_t and uint32_t. The C standard doesn't guarantee
21210 them, and on some 32-bit compilers there is no uint64_t.
21211 Problem reported by Gianluigi Tiesi in:
21212 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
21213 * posix/regcomp.c (init_word_char): Don't assume that the types
21214 uint64_t and uint32_t exist. Adapted from Gnulib patch
21215 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
21216 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
21217
21218 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
21219
21220 * sysdeps/aarch64/memset-reg.h: New file.
21221 * sysdeps/aarch64/memset.S: Use it.
21222 (__memset): Rename to MEMSET macro.
21223 [ZVA_MACRO]: Use zva_macro.
21224 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21225 Add memset_generic and memset_falkor.
21226 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
21227 (__libc_ifunc_impl_list): Add memset ifuncs.
21228 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
21229 local variable zva_size.
21230 * sysdeps/aarch64/multiarch/memset.c: New file.
21231 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
21232 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
21233 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
21234 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
21235 (DCZID_DZP_MASK): New macro.
21236 (DCZID_BS_MASK): Likewise.
21237 (init_cpu_features): Read and set zva_size.
21238 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
21239 (struct cpu_features): New member zva_size.
21240
21241 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
21242 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
21243 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
21244
21245 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
21246 backwards. Fix timing computation.
21247 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
21248 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
21249 on memset by N at a time. Fix timing computation.
21250
21251 2017-11-20 Florian Weimer <fweimer@redhat.com>
21252
21253 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
21254 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
21255
21256 2017-11-19 Florian Weimer <fweimer@redhat.com>
21257
21258 manual: Document mprotect
21259 * manual/memory.texi (Memory Protection): New section.
21260 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
21261 documentation of PROT_* flags and reference the Memory Protection
21262 section instead.
21263
21264 2017-11-19 Florian Weimer <fweimer@redhat.com>
21265
21266 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
21267 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
21268 (Scatter-Gather): ... to here. Remove misleading comment.
21269
21270 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
21271
21272 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
21273 style.
21274
21275 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
21276 when /proc/<pid>/setgroups does not exist.
21277
21278 2017-11-18 Florian Weimer <fweimer@redhat.com>
21279
21280 * sysdeps/unix/sysv/linux/tst-ttyname.c
21281 (become_root_in_mount_ns): Remove.
21282 (do_in_chroot_1): Call support_enter_mount_namespace.
21283 (do_in_chroot_2): Likewise.
21284 (do_test): Call support_become_root early.
21285
21286 2017-11-18 Florian Weimer <fweimer@redhat.com>
21287
21288 * support/namespace.h (support_enter_mount_namespace): Declare.
21289 * support/support_enter_mount_namespace.c: New file.
21290 * support/Makefile (libsupport-routines): Add
21291 support_enter_mount_namespace.
21292
21293 2017-11-18 Florian Weimer <fweimer@redhat.com>
21294
21295 * support/temp_file.c (support_create_temp_directory): Use
21296 test_dir and do not rely on the presence of the XXXXXX suffix.
21297 * support/temp_file.h (support_create_temp_directory): Update
21298 comment.
21299 * support/tst-xreadlink.c (do_test): Adjust.
21300 * support/support_chroot.c (support_chroot_create): Likewise.
21301
21302 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21303
21304 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
21305 macro.
21306 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
21307 htm-no-suspend.
21308
21309 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21310
21311 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21312 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21313 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21314 (ceill): Define using libm_alias_ldouble.
21315 * sysdeps/x86_64/fpu/s_copysignl.S: Include
21316 <libm-alias-ldouble.h>.
21317 (copysignl): Define using libm_alias_ldouble.
21318 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21319 (fabsl): Define using libm_alias_ldouble.
21320 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21321 (floorl): Define using libm_alias_ldouble.
21322 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21323 (fmaxl): Define using libm_alias_ldouble.
21324 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21325 (fminl): Define using libm_alias_ldouble.
21326 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21327 (llrintl): Define using libm_alias_ldouble.
21328 (lrintl): Likewise.
21329 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
21330 <libm-alias-ldouble.h>.
21331 (nearbyintl): Define using libm_alias_ldouble.
21332 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21333 (truncl): Define using libm_alias_ldouble.
21334 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
21335 <libm-alias-ldouble.h>.
21336 (lrintl): Define using libm_alias_ldouble.
21337
21338 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21339 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21340 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
21341 (asinhl): Define using libm_alias_ldouble.
21342 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
21343 (atanl): Define using libm_alias_ldouble.
21344 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
21345 (cbrtl): Define using libm_alias_ldouble.
21346 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21347 (ceill): Define using libm_alias_ldouble.
21348 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
21349 (copysignl): Define using libm_alias_ldouble.
21350 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21351 (fabsl): Define using libm_alias_ldouble.
21352 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21353 (floorl): Define using libm_alias_ldouble.
21354 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21355 (fmaxl): Define using libm_alias_ldouble.
21356 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21357 (fminl): Define using libm_alias_ldouble.
21358 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
21359 (frexpl): Define using libm_alias_ldouble.
21360 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21361 (llrintl): Define using libm_alias_ldouble.
21362 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
21363 (logbl): Define using libm_alias_ldouble.
21364 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
21365 (lrintl): Define using libm_alias_ldouble.
21366 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
21367 (nearbyintl): Define using libm_alias_ldouble.
21368 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
21369 (nextafterl): Define using libm_alias_ldouble.
21370 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
21371 (remquol): Define using libm_alias_ldouble.
21372 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
21373 (rintl): Define using libm_alias_ldouble.
21374 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21375 (truncl): Define using libm_alias_ldouble.
21376 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21377 (fmaxl): Define using libm_alias_ldouble.
21378 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21379 (fminl): Define using libm_alias_ldouble.
21380
21381 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
21382 to C syntax instead of availability and properties of types.
21383 * bits/floatn.h [!__ASSEMBLER]: Likewise.
21384 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
21385 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
21386 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
21387 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
21388 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
21389
21390 2017-11-17 Florian Weimer <fweimer@redhat.com>
21391
21392 support_become_root: Enable file creation in namespaces.
21393 * support/support_become_root.c (setup_mapping): New function.
21394 (support_become_root): Call it.
21395
21396 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21397
21398 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
21399 macro.
21400
21401 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21402
21403 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
21404 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
21405
21406 2017-11-16 Joseph Myers <joseph@codesourcery.com>
21407
21408 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
21409
21410 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21411 version to 4.14.
21412
21413 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
21414
21415 * INSTALL: Fix botched up regeneration.
21416
21417 * NEWS: Update sourceare link to https.
21418 * configure.ac: Likewise.
21419 * crypt/md5test-giant.c: Likewise.
21420 * dlfcn/bug-atexit1.c: Likewise.
21421 * dlfcn/bug-atexit2.c: Likewise.
21422 * localedata/README: Likewise.
21423 * malloc/tst-mallocfork.c: Likewise.
21424 * manual/install.texi: Likewise.
21425 * nptl/tst-pthread-getattr.c: Likewise.
21426 * stdio-common/tst-fgets.c: Likewise.
21427 * stdio-common/tst-fwrite.c: Likewise.
21428 * sunrpc/Makefile: Likewise.
21429 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
21430 * wcsmbs/tst-mbrtowc2.c: Likewise.
21431 * configure: Regenerate.
21432 * INSTALL: Regenerate.
21433
21434 2017-11-15 Martin Sebor <msebor@redhat.com>
21435
21436 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
21437 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
21438 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
21439
21440 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21441
21442 [BZ #22145]
21443 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
21444 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
21445
21446 [BZ #22145]
21447 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
21448 Defer is_pty check until end of the function.
21449 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21450
21451 [BZ #22145]
21452 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
21453 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
21454 (ttyname): Likewise.
21455 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
21456 (__ttyname_r): Likewise.
21457
21458 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
21459 int to bool.
21460
21461 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
21462
21463 * manual/terminal.texi (Is It a Terminal):
21464 Mention ENODEV for ttyname and ttyname_r.
21465
21466 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21467
21468 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
21469 constant and macro.
21470
21471 * sysdeps/unix/sysv/linux/bits/mman-linux.h
21472 [__USE_MISC] (MADV_WIPEONFORK): New macro.
21473 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21474 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21475 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
21476 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21477
21478 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21479
21480 * signal/sigrelse.c (sigrelse): Optimize implementation.
21481
21482 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
21483 (__sigpause): Rely on __sigsuspend to implement single thread
21484 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
21485
21486 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21487
21488 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
21489 kernel version to 4.14.
21490
21491 2017-11-15 Steve Ellcey <sellcey@cavium.com>
21492
21493 [BZ #22442]
21494 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
21495 Check if ifname is too long.
21496
21497 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21498
21499 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
21500
21501 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21502
21503 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
21504 was accidentally lost.
21505
21506 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21507
21508 * localedata/locales/az_IR: Add standard copyright header.
21509
21510 2017-11-15 Florian Weimer <fweimer@redhat.com>
21511
21512 [BZ #22439]
21513 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
21514 not just the top one. Output a new "subheaps" statistic.
21515
21516 2017-11-15 Florian Weimer <fweimer@redhat.com>
21517
21518 [BZ #22408]
21519 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
21520 under the per-arena lock.
21521 * malloc/Makefile (tests): Add tst-malloc_info.
21522 (tst-malloc_info): Link with libpthread.
21523 * malloc/tst-malloc_info.c: New file.
21524
21525 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21526
21527 [BZ #21660]
21528 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
21529 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
21530 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
21531 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
21532 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
21533 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
21534 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
21535 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
21536 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
21537 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
21538 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
21539 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
21540 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
21541 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
21542 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
21543 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
21544 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
21545 (__floating_type): Likewise.
21546 (__real_integer_type): Likewise.
21547 (__complex_integer_type): Likewise.
21548 (__expr_is_real): Likewise.
21549 (__tgmath_real_type_sub): Likewise.
21550 (__tgmath_real_type): Likewise.
21551 (__tgmath_complex_type_sub): Likewise.
21552 (__tgmath_complex_type): Likewise.
21553 (__TGMATH_F128): Likewise.
21554 (__TGMATH_CF128): Likewise.
21555 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
21556 new macros.
21557 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
21558 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
21559 Likewise.
21560 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
21561 Likewise.
21562 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
21563 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
21564 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
21565 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
21566 Likewise.
21567 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
21568 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
21569 Likewise.
21570 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
21571 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
21572 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
21573 Likewise.
21574 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
21575 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
21576 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
21577 (cimag): Likewise.
21578 (creal): Likewise.
21579
21580 2017-11-14 Joseph Myers <joseph@codesourcery.com>
21581
21582 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
21583 for stpncpy calls for GCC 8.
21584 (test_strncat): Disable -Wstringop-truncation warning for strncat
21585 calls for GCC 8. Disable -Wstringop-overflow= warning for one
21586 strncat call for GCC 7.
21587 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
21588 calls for GCC 8.
21589 (test_memcmp): Use memcpy instead of strncpy for calls not copying
21590 trailing NUL.
21591
21592 * string/bug-strncat1.c: Include <libc-diag.h>.
21593 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
21594
21595 2017-11-13 Claude Paroz <claude@2xlibre.net>
21596
21597 [BZ #22387]
21598 * localedata/locales/aa_DJ: Improved readibility by replacing
21599 <Uxxxx> sequences in the ASCII printable range by their ASCII
21600 character equivalents.
21601 * localedata/locales/aa_ER: Likewise.
21602 * localedata/locales/aa_ER@saaho: Likewise.
21603 * localedata/locales/aa_ET: Likewise.
21604 * localedata/locales/af_ZA: Likewise.
21605 * localedata/locales/agr_PE: Likewise.
21606 * localedata/locales/ak_GH: Likewise.
21607 * localedata/locales/am_ET: Likewise.
21608 * localedata/locales/anp_IN: Likewise.
21609 * localedata/locales/ar_AE: Likewise.
21610 * localedata/locales/ar_BH: Likewise.
21611 * localedata/locales/ar_DZ: Likewise.
21612 * localedata/locales/ar_EG: Likewise.
21613 * localedata/locales/ar_IN: Likewise.
21614 * localedata/locales/ar_IQ: Likewise.
21615 * localedata/locales/ar_JO: Likewise.
21616 * localedata/locales/ar_KW: Likewise.
21617 * localedata/locales/ar_LB: Likewise.
21618 * localedata/locales/ar_LY: Likewise.
21619 * localedata/locales/ar_MA: Likewise.
21620 * localedata/locales/ar_OM: Likewise.
21621 * localedata/locales/ar_QA: Likewise.
21622 * localedata/locales/ar_SA: Likewise.
21623 * localedata/locales/ar_SD: Likewise.
21624 * localedata/locales/ar_SS: Likewise.
21625 * localedata/locales/ar_SY: Likewise.
21626 * localedata/locales/ar_TN: Likewise.
21627 * localedata/locales/ar_YE: Likewise.
21628 * localedata/locales/as_IN: Likewise.
21629 * localedata/locales/ast_ES: Likewise.
21630 * localedata/locales/ayc_PE: Likewise.
21631 * localedata/locales/az_AZ: Likewise.
21632 * localedata/locales/az_IR: Likewise.
21633 * localedata/locales/be_BY: Likewise.
21634 * localedata/locales/be_BY@latin: Likewise.
21635 * localedata/locales/bem_ZM: Likewise.
21636 * localedata/locales/ber_DZ: Likewise.
21637 * localedata/locales/ber_MA: Likewise.
21638 * localedata/locales/bg_BG: Likewise.
21639 * localedata/locales/bhb_IN: Likewise.
21640 * localedata/locales/bho_IN: Likewise.
21641 * localedata/locales/bi_VU: Likewise.
21642 * localedata/locales/bn_BD: Likewise.
21643 * localedata/locales/bn_IN: Likewise.
21644 * localedata/locales/bo_CN: Likewise.
21645 * localedata/locales/bo_IN: Likewise.
21646 * localedata/locales/br_FR: Likewise.
21647 * localedata/locales/brx_IN: Likewise.
21648 * localedata/locales/bs_BA: Likewise.
21649 * localedata/locales/byn_ER: Likewise.
21650 * localedata/locales/ca_AD: Likewise.
21651 * localedata/locales/ca_ES: Likewise.
21652 * localedata/locales/ca_FR: Likewise.
21653 * localedata/locales/ca_IT: Likewise.
21654 * localedata/locales/ce_RU: Likewise.
21655 * localedata/locales/chr_US: Likewise.
21656 * localedata/locales/cmn_TW: Likewise.
21657 * localedata/locales/crh_UA: Likewise.
21658 * localedata/locales/cs_CZ: Likewise.
21659 * localedata/locales/csb_PL: Likewise.
21660 * localedata/locales/cv_RU: Likewise.
21661 * localedata/locales/cy_GB: Likewise.
21662 * localedata/locales/da_DK: Likewise.
21663 * localedata/locales/de_AT: Likewise.
21664 * localedata/locales/de_BE: Likewise.
21665 * localedata/locales/de_CH: Likewise.
21666 * localedata/locales/de_DE: Likewise.
21667 * localedata/locales/de_IT: Likewise.
21668 * localedata/locales/de_LI: Likewise.
21669 * localedata/locales/de_LU: Likewise.
21670 * localedata/locales/doi_IN: Likewise.
21671 * localedata/locales/dv_MV: Likewise.
21672 * localedata/locales/dz_BT: Likewise.
21673 * localedata/locales/el_CY: Likewise.
21674 * localedata/locales/el_GR: Likewise.
21675 * localedata/locales/en_AG: Likewise.
21676 * localedata/locales/en_AU: Likewise.
21677 * localedata/locales/en_BW: Likewise.
21678 * localedata/locales/en_CA: Likewise.
21679 * localedata/locales/en_DK: Likewise.
21680 * localedata/locales/en_GB: Likewise.
21681 * localedata/locales/en_HK: Likewise.
21682 * localedata/locales/en_IE: Likewise.
21683 * localedata/locales/en_IL: Likewise.
21684 * localedata/locales/en_IN: Likewise.
21685 * localedata/locales/en_NG: Likewise.
21686 * localedata/locales/en_NZ: Likewise.
21687 * localedata/locales/en_PH: Likewise.
21688 * localedata/locales/en_SG: Likewise.
21689 * localedata/locales/en_US: Likewise.
21690 * localedata/locales/en_ZA: Likewise.
21691 * localedata/locales/en_ZM: Likewise.
21692 * localedata/locales/en_ZW: Likewise.
21693 * localedata/locales/eo: Likewise.
21694 * localedata/locales/es_AR: Likewise.
21695 * localedata/locales/es_BO: Likewise.
21696 * localedata/locales/es_CL: Likewise.
21697 * localedata/locales/es_CO: Likewise.
21698 * localedata/locales/es_CR: Likewise.
21699 * localedata/locales/es_CU: Likewise.
21700 * localedata/locales/es_DO: Likewise.
21701 * localedata/locales/es_EC: Likewise.
21702 * localedata/locales/es_ES: Likewise.
21703 * localedata/locales/es_GT: Likewise.
21704 * localedata/locales/es_HN: Likewise.
21705 * localedata/locales/es_MX: Likewise.
21706 * localedata/locales/es_NI: Likewise.
21707 * localedata/locales/es_PA: Likewise.
21708 * localedata/locales/es_PE: Likewise.
21709 * localedata/locales/es_PR: Likewise.
21710 * localedata/locales/es_PY: Likewise.
21711 * localedata/locales/es_SV: Likewise.
21712 * localedata/locales/es_US: Likewise.
21713 * localedata/locales/es_UY: Likewise.
21714 * localedata/locales/es_VE: Likewise.
21715 * localedata/locales/et_EE: Likewise.
21716 * localedata/locales/eu_ES: Likewise.
21717 * localedata/locales/eu_ES@euro: Likewise.
21718 * localedata/locales/fa_IR: Likewise.
21719 * localedata/locales/ff_SN: Likewise.
21720 * localedata/locales/fi_FI: Likewise.
21721 * localedata/locales/fil_PH: Likewise.
21722 * localedata/locales/fo_FO: Likewise.
21723 * localedata/locales/fr_BE: Likewise.
21724 * localedata/locales/fr_CA: Likewise.
21725 * localedata/locales/fr_CH: Likewise.
21726 * localedata/locales/fr_FR: Likewise.
21727 * localedata/locales/fr_LU: Likewise.
21728 * localedata/locales/fur_IT: Likewise.
21729 * localedata/locales/fy_DE: Likewise.
21730 * localedata/locales/fy_NL: Likewise.
21731 * localedata/locales/ga_IE: Likewise.
21732 * localedata/locales/gd_GB: Likewise.
21733 * localedata/locales/gez_ER: Likewise.
21734 * localedata/locales/gez_ET: Likewise.
21735 * localedata/locales/gl_ES: Likewise.
21736 * localedata/locales/gu_IN: Likewise.
21737 * localedata/locales/gv_GB: Likewise.
21738 * localedata/locales/ha_NG: Likewise.
21739 * localedata/locales/hak_TW: Likewise.
21740 * localedata/locales/he_IL: Likewise.
21741 * localedata/locales/hi_IN: Likewise.
21742 * localedata/locales/hif_FJ: Likewise.
21743 * localedata/locales/hne_IN: Likewise.
21744 * localedata/locales/hr_HR: Likewise.
21745 * localedata/locales/hsb_DE: Likewise.
21746 * localedata/locales/ht_HT: Likewise.
21747 * localedata/locales/hu_HU: Likewise.
21748 * localedata/locales/hy_AM: Likewise.
21749 * localedata/locales/i18n: Likewise.
21750 * localedata/locales/ia_FR: Likewise.
21751 * localedata/locales/id_ID: Likewise.
21752 * localedata/locales/ig_NG: Likewise.
21753 * localedata/locales/ik_CA: Likewise.
21754 * localedata/locales/is_IS: Likewise.
21755 * localedata/locales/it_CH: Likewise.
21756 * localedata/locales/it_IT: Likewise.
21757 * localedata/locales/iu_CA: Likewise.
21758 * localedata/locales/ja_JP: Likewise.
21759 * localedata/locales/ka_GE: Likewise.
21760 * localedata/locales/kk_KZ: Likewise.
21761 * localedata/locales/kl_GL: Likewise.
21762 * localedata/locales/kn_IN: Likewise.
21763 * localedata/locales/ko_KR: Likewise.
21764 * localedata/locales/kok_IN: Likewise.
21765 * localedata/locales/ks_IN: Likewise.
21766 * localedata/locales/ks_IN@devanagari: Likewise.
21767 * localedata/locales/ku_TR: Likewise.
21768 * localedata/locales/kw_GB: Likewise.
21769 * localedata/locales/ky_KG: Likewise.
21770 * localedata/locales/lb_LU: Likewise.
21771 * localedata/locales/lg_UG: Likewise.
21772 * localedata/locales/li_BE: Likewise.
21773 * localedata/locales/li_NL: Likewise.
21774 * localedata/locales/lij_IT: Likewise.
21775 * localedata/locales/ln_CD: Likewise.
21776 * localedata/locales/lo_LA: Likewise.
21777 * localedata/locales/lt_LT: Likewise.
21778 * localedata/locales/lv_LV: Likewise.
21779 * localedata/locales/lzh_TW: Likewise.
21780 * localedata/locales/mag_IN: Likewise.
21781 * localedata/locales/mai_IN: Likewise.
21782 * localedata/locales/mg_MG: Likewise.
21783 * localedata/locales/mhr_RU: Likewise.
21784 * localedata/locales/mi_NZ: Likewise.
21785 * localedata/locales/mk_MK: Likewise.
21786 * localedata/locales/ml_IN: Likewise.
21787 * localedata/locales/mn_MN: Likewise.
21788 * localedata/locales/mni_IN: Likewise.
21789 * localedata/locales/mr_IN: Likewise.
21790 * localedata/locales/ms_MY: Likewise.
21791 * localedata/locales/mt_MT: Likewise.
21792 * localedata/locales/my_MM: Likewise.
21793 * localedata/locales/nan_TW: Likewise.
21794 * localedata/locales/nan_TW@latin: Likewise.
21795 * localedata/locales/nb_NO: Likewise.
21796 * localedata/locales/nds_DE: Likewise.
21797 * localedata/locales/nds_NL: Likewise.
21798 * localedata/locales/ne_NP: Likewise.
21799 * localedata/locales/nhn_MX: Likewise.
21800 * localedata/locales/niu_NU: Likewise.
21801 * localedata/locales/niu_NZ: Likewise.
21802 * localedata/locales/nl_AW: Likewise.
21803 * localedata/locales/nl_BE: Likewise.
21804 * localedata/locales/nl_NL: Likewise.
21805 * localedata/locales/nn_NO: Likewise.
21806 * localedata/locales/nr_ZA: Likewise.
21807 * localedata/locales/nso_ZA: Likewise.
21808 * localedata/locales/oc_FR: Likewise.
21809 * localedata/locales/om_ET: Likewise.
21810 * localedata/locales/om_KE: Likewise.
21811 * localedata/locales/or_IN: Likewise.
21812 * localedata/locales/os_RU: Likewise.
21813 * localedata/locales/pa_IN: Likewise.
21814 * localedata/locales/pa_PK: Likewise.
21815 * localedata/locales/pap_AW: Likewise.
21816 * localedata/locales/pap_CW: Likewise.
21817 * localedata/locales/pl_PL: Likewise.
21818 * localedata/locales/ps_AF: Likewise.
21819 * localedata/locales/pt_BR: Likewise.
21820 * localedata/locales/pt_PT: Likewise.
21821 * localedata/locales/quz_PE: Likewise.
21822 * localedata/locales/raj_IN: Likewise.
21823 * localedata/locales/ro_RO: Likewise.
21824 * localedata/locales/ru_RU: Likewise.
21825 * localedata/locales/ru_UA: Likewise.
21826 * localedata/locales/rw_RW: Likewise.
21827 * localedata/locales/sa_IN: Likewise.
21828 * localedata/locales/sat_IN: Likewise.
21829 * localedata/locales/sc_IT: Likewise.
21830 * localedata/locales/sd_IN: Likewise.
21831 * localedata/locales/sd_IN@devanagari: Likewise.
21832 * localedata/locales/se_NO: Likewise.
21833 * localedata/locales/sgs_LT: Likewise.
21834 * localedata/locales/shs_CA: Likewise.
21835 * localedata/locales/si_LK: Likewise.
21836 * localedata/locales/sid_ET: Likewise.
21837 * localedata/locales/sk_SK: Likewise.
21838 * localedata/locales/sl_SI: Likewise.
21839 * localedata/locales/sm_WS: Likewise.
21840 * localedata/locales/so_DJ: Likewise.
21841 * localedata/locales/so_ET: Likewise.
21842 * localedata/locales/so_KE: Likewise.
21843 * localedata/locales/so_SO: Likewise.
21844 * localedata/locales/sq_AL: Likewise.
21845 * localedata/locales/sq_MK: Likewise.
21846 * localedata/locales/sr_ME: Likewise.
21847 * localedata/locales/sr_RS: Likewise.
21848 * localedata/locales/sr_RS@latin: Likewise.
21849 * localedata/locales/ss_ZA: Likewise.
21850 * localedata/locales/st_ZA: Likewise.
21851 * localedata/locales/sv_FI: Likewise.
21852 * localedata/locales/sv_SE: Likewise.
21853 * localedata/locales/sw_KE: Likewise.
21854 * localedata/locales/sw_TZ: Likewise.
21855 * localedata/locales/szl_PL: Likewise.
21856 * localedata/locales/ta_IN: Likewise.
21857 * localedata/locales/ta_LK: Likewise.
21858 * localedata/locales/tcy_IN: Likewise.
21859 * localedata/locales/te_IN: Likewise.
21860 * localedata/locales/tg_TJ: Likewise.
21861 * localedata/locales/th_TH: Likewise.
21862 * localedata/locales/the_NP: Likewise.
21863 * localedata/locales/ti_ER: Likewise.
21864 * localedata/locales/ti_ET: Likewise.
21865 * localedata/locales/tig_ER: Likewise.
21866 * localedata/locales/tk_TM: Likewise.
21867 * localedata/locales/tl_PH: Likewise.
21868 * localedata/locales/tn_ZA: Likewise.
21869 * localedata/locales/to_TO: Likewise.
21870 * localedata/locales/tpi_PG: Likewise.
21871 * localedata/locales/tr_CY: Likewise.
21872 * localedata/locales/tr_TR: Likewise.
21873 * localedata/locales/ts_ZA: Likewise.
21874 * localedata/locales/tt_RU: Likewise.
21875 * localedata/locales/tt_RU@iqtelif: Likewise.
21876 * localedata/locales/ug_CN: Likewise.
21877 * localedata/locales/uk_UA: Likewise.
21878 * localedata/locales/unm_US: Likewise.
21879 * localedata/locales/ur_IN: Likewise.
21880 * localedata/locales/ur_PK: Likewise.
21881 * localedata/locales/uz_UZ: Likewise.
21882 * localedata/locales/uz_UZ@cyrillic: Likewise.
21883 * localedata/locales/ve_ZA: Likewise.
21884 * localedata/locales/vi_VN: Likewise.
21885 * localedata/locales/wa_BE: Likewise.
21886 * localedata/locales/wae_CH: Likewise.
21887 * localedata/locales/wal_ET: Likewise.
21888 * localedata/locales/wo_SN: Likewise.
21889 * localedata/locales/xh_ZA: Likewise.
21890 * localedata/locales/yi_US: Likewise.
21891 * localedata/locales/yo_NG: Likewise.
21892 * localedata/locales/yue_HK: Likewise.
21893 * localedata/locales/yuw_PG: Likewise.
21894 * localedata/locales/zh_CN: Likewise.
21895 * localedata/locales/zh_HK: Likewise.
21896 * localedata/locales/zh_SG: Likewise.
21897 * localedata/locales/zh_TW: Likewise.
21898 * localedata/locales/zu_ZA: Likewise.
21899
21900 2017-11-13 Florian Weimer <fweimer@redhat.com>
21901
21902 * support/next_to_fault.h, support/next_to_fault.c: New files.
21903 * support/Makefile (libsupport-routines): Add next_to_fault.
21904 * resolv/tst-inet_pton.c (struct next_to_fault)
21905 (next_to_fault_allocate, next_to_fault_free): Remove.
21906 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
21907
21908 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
21909
21910 * elf/dl-support.c: Include <dl-procruntime.c>.
21911 * include/link.h: Include <link_map.h>.
21912 * sysdeps/generic/dl-procruntime.c: New file.
21913 * sysdeps/generic/link_map.h: Likewise.
21914 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
21915 the writable ld.so namespace.
21916
21917 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
21918
21919 timezone: pacify GCC -Wstringop-truncation
21920 Problem reported by Martin Sebor in:
21921 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
21922 * timezone/zic.c (writezone): Use memcpy, not strncpy.
21923
21924 2017-11-12 Florian Weimer <fweimer@redhat.com>
21925
21926 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
21927 tst-xreadlink.
21928 (tests): Add tst-xreadlink.
21929 * support/support.h (xstrndup): Declare.
21930 * support/xunistd.h (xunlink, xreadlink): Declare.
21931 * support/temp_file.h (support_create_temp_directory): Declare.
21932 * support/temp_file.c (support_create_temp_directory): New function.
21933 * support/support_chroot.c (support_chroot_create): Use it.
21934 * support/xreadlink.c: New file.
21935 * support/xstrndup.c: Likewise.
21936 * support/xunlink.c: Likewise.
21937 * support/tst-xreadlink.c: Likewise.
21938
21939 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
21940
21941 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
21942
21943 2017-11-11 Florian Weimer <fweimer@redhat.com>
21944
21945 [BZ #22409]
21946 [BZ #22412]
21947 * resolv/res_comp.c (printable_string, binary_hnok)
21948 (binary_leading_dash): New functions.
21949 (res_hnok): Reimplement using these functions and ns_name_pton.
21950 (res_ownok): Likewise.
21951 (res_mailok): Reimplement using printable_string, ns_name_pton and
21952 binary_hnok.
21953 (res_dnok): Reimplement using printable_string and ns_name_pton.
21954 * resolv/tst-res_hnok.c (tests): Add additional tests.
21955 (LETTERDIGITS, PRINTABLE): Define.
21956 (do_test): Adjust one_char results.
21957
21958 2017-11-11 Florian Weimer <fweimer@redhat.com>
21959
21960 [BZ #22413]
21961 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
21962 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
21963
21964 2017-11-11 Florian Weimer <fweimer@redhat.com>
21965
21966 * resolv/tst-ns_name_pton.c: New file.
21967 * resolv/Makefile (tests): Add tst-ns_name_pton.
21968 (tst-ns_name_pton): Link against libresolv.
21969
21970 2017-11-11 Florian Weimer <fweimer@redhat.com>
21971
21972 * resolv/tst-res_hnok.c: New file.
21973 * resolv/Makefile (tests): Add tst-res_hnok.
21974 (tst-res_hnok): Link against libresolv.
21975
21976 2017-11-11 Florian Weimer <fweimer@redhat.com>
21977
21978 * resolv/tst-resolv-network.c: Use test framework instead explicit
21979 main function.
21980
21981 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
21982
21983 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
21984 <jmp_buf-macros.h>.
21985 [!_ISOMAC] (STR_HELPER): New.
21986 [!_ISOMAC] (STR): Likewise.
21987 [!_ISOMAC] (TEST_SIZE): Likewise.
21988 [!_ISOMAC] (TEST_ALIGN): Likewise.
21989 [!_ISOMAC] (TEST_OFFSET): Likewise.
21990 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
21991 field offsets of jmp_buf as well as sigjmp_buf.
21992 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
21993 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
21994 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
21995 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
21996 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
21997 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
21998 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
21999 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
22000 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
22001 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
22002 Likewise.
22003 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
22004 Likewise.
22005 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
22006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
22007 Likewise.
22008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
22009 Likewise.
22010 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
22011 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
22012 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
22013 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
22014 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
22015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
22016 Likewise.
22017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
22018 Likewise.
22019 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
22020 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
22021 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
22022
22023 2017-11-07 Joseph Myers <joseph@codesourcery.com>
22024
22025 * include/float.h
22026 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22027 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
22028 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22029 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
22030 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22031 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
22032 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22033 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
22034 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22035 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
22036 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22037 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
22038 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22039 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
22040 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22041 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
22042 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22043 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
22044 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22045 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
22046 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22047 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
22048 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22049 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
22050 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22051 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
22052 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22053 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
22054 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22055 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
22056 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22057 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
22058 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22059 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
22060 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22061 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
22062 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22063 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
22064 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22065 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
22066 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22067 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
22068 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22069 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
22070 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22071 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
22072 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22073 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
22074 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22075 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
22076 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22077 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
22078 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22079 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
22080 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22081 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
22082 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22083 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
22084 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22085 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
22086 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22087 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
22088 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22089 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
22090 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22091 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
22092 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22093 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
22094 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22095 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
22096 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22097 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
22098 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22099 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
22100 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22101 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
22102 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22103 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
22104 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22105 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
22106 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22107 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
22108 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22109 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
22110 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22111 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
22112 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22113 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
22114
22115 * stdlib/tst-strtod.h (F16): New macro.
22116 (F32): Likewise.
22117 (F64): Likewise.
22118 (F32X): Likewise.
22119 (F64X): Likewise.
22120 (F128X): Likewise.
22121 (IF_FLOAT16): Likewise.
22122 (IF_FLOAT32): Likewise.
22123 (IF_FLOAT64): Likewise.
22124 (IF_FLOAT32X): Likewise.
22125 (IF_FLOAT64X): Likewise.
22126 (IF_FLOAT128X): Likewise.
22127 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
22128 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
22129 (STRTOD_TEST_FOREACH): Likewise.
22130 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
22131 (CHOOSE_f64): Likewise.
22132 (CHOOSE_f32x): Likewise.
22133 (CHOOSE_f64x): Likewise.
22134
22135 2017-11-07 Andreas Schwab <schwab@suse.de>
22136
22137 * nptl/Makefile (tests-internal): Remove tst-typesizes.
22138
22139 2017-11-07 Mike FABIAN <mfabian@redhat.com>
22140
22141 [BZ #22403]
22142 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
22143 to be escaped.
22144 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
22145 to be escaped.
22146
22147 2017-11-07 Claude Paroz <claude@2xlibre.net>
22148
22149 [BZ #22403]
22150 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
22151 to be escaped.
22152 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
22153 to be escaped.
22154 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
22155 to be escaped.
22156
22157 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22158
22159 [BZ #22298]
22160 * nptl/allocatestack.c (allocate_stack): Check if
22161 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
22162 __PTHREAD_MUTEX_HAVE_PREV is defined.
22163 * nptl/descr.h (pthread): Likewise.
22164 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22165 Likewise.
22166 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
22167 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
22168 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
22169 * sysdeps/nptl/bits/thread-shared-types.h
22170 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22171 defines.
22172 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
22173 of __WORDSIZE for internal layout.
22174 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
22175 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
22176 instead of __WORDSIZE whether to use an union for __spins and __list
22177 fields.
22178 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
22179 case.
22180 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
22181 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22182 defines.
22183 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
22184 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22185 Likewise.
22186 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
22187 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22188 Likewise.
22189 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
22190 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22191 Likewise.
22192 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
22193 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22194 Likewise.
22195 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
22196 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22197 Likewise.
22198 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
22199 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22200 Likewise.
22201 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
22202 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22203 Likewise.
22204 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
22205 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22206 Likewise.
22207 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
22208 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22209 Likewise.
22210 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
22211 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22212 Likewise.
22213 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
22214 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22215 Likewise.
22216 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
22217 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22218 Likewise.
22219 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
22220 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22221 Likewise.
22222 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
22223 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22224 Likewise.
22225
22226 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
22227 New macros.
22228 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
22229 checks for expected input type size.
22230 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
22231 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22232 Likewise.
22233 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22234 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
22235 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22236 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
22237 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
22238 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
22239 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
22240 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
22241 superflous runtime assert check.
22242 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
22243 Likewise.
22244 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
22245 Likewise.
22246 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
22247 Likewise.
22248 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
22249 Likewise.
22250 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
22251 Likewise.
22252 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
22253 Likewise.
22254 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
22255 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
22256 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
22257 Likewise.
22258 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
22259 Likewise.
22260 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
22261 Likewise.
22262 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
22263 Likewise.
22264 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
22265 Likewise.
22266 * nptl/pthread_attr_setinheritsched.c
22267 (__pthread_attr_setinheritsched): Likewise.
22268 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
22269 Likewise.
22270 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
22271 Likewise.
22272 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
22273 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
22274 __old_pthread_attr_setstack): Likewise.
22275 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
22276 Likewise.
22277 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
22278 Likewise.
22279 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
22280 Likewise.
22281 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
22282 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
22283 Likewise.
22284 * nptl/tst-typesizes.c: Remove file.
22285
22286 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
22287 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
22288 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
22289 checks for internal pthread_mutex_t offsets.
22290 * sysdeps/aarch64/nptl/pthread-offsets.h
22291 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
22292 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
22293 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
22294 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
22295 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
22296 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
22297 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
22298 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
22299 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
22300 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
22301 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
22302 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
22303 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
22304 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
22305 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
22306 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
22307 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
22308 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
22309
22310 2017-11-07 Florian Weimer <fweimer@redhat.com>
22311
22312 * bits/mman-linux.h: Move ...
22313 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
22314 comment.
22315 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
22316 outdated comment.
22317
22318 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22319
22320 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
22321 Redefine STRNLEN as __strnlen_power8.
22322
22323 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22324
22325 * signal/sighold.c (sighold): Optimize implementation.
22326
22327 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
22328 __NR_rt_sigqueueinfo.
22329
22330 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
22331 __sigtimedwait.
22332 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
22333 assume __NR_rt_sigtimedwait.
22334 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
22335 and add LIBC_CANCEL_HANDLED for cancellation marking.
22336 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22337
22338 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22339 (sysdeps_routines): Add memchr_noneon.
22340 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
22341 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
22342 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
22343 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
22344 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
22345 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
22346 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
22347
22348 * sysdeps/arm/arm-ifunc.h: New file.
22349 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
22350 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
22351 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
22352 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
22353 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
22354 (__memcpy_neon): Avoid create hidden alias.
22355 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
22356 (__memcpy_vfp): Likewise.
22357 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22358 (sysdep_routines): Add memcpy_arm.
22359 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
22360
22361 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
22362
22363 [BZ #22362]
22364 * Makerules (make-link-multidir): New.
22365 * config.make.in (multidir): New.
22366 * configure.ac (libc_cv_multidir): New. AC_SUBST.
22367 * configure: Regenerated.
22368 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
22369 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
22370 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
22371 New target.
22372
22373 2017-11-06 Joseph Myers <joseph@codesourcery.com>
22374
22375 [BZ #22402]
22376 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
22377 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
22378
22379 2017-11-04 Mike FABIAN <mfabian@redhat.com>
22380
22381 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
22382 to be escaped.
22383
22384 2017-11-04 Florian Weimer <fweimer@redhat.com>
22385
22386 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
22387
22388 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22389
22390 * math/math.h [__HAVE_DISTINCT_FLOAT16
22391 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22392 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22393 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22394 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
22395 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
22396 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
22397 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22398 (__MATH_TG_F32): New macro.
22399 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22400 (__MATH_TG_F64X): Likewise.
22401 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22402 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
22403
22404 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
22405
22406 * po/de.po: Update translations.
22407 * po/ru.po: Likewise.
22408
22409 2017-11-03 Florian Weimer <fweimer@redhat.com>
22410
22411 * manual/filesys.texi (Hard Links): Document linkat.
22412
22413 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22414
22415 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
22416 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22417 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22418 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22419 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22420 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22421 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
22422 the same as _Float128.
22423 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22424 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22425 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
22426
22427 * stdlib/stdlib.h
22428 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
22429 Declare.
22430 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
22431 Likewise.
22432 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
22433 Likewise.
22434 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22435 (strtof32x): Likewise.
22436 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22437 (strtof64x): Likewise.
22438 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22439 (strtof128x): Likewise.
22440 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22441 (strfromf16): Likewise.
22442 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22443 (strfromf32): Likewise.
22444 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22445 (strfromf64): Likewise.
22446 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22447 (strfromf32x): Likewise.
22448 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22449 (strfromf64x): Likewise.
22450 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22451 (strfromf128x): Likewise.
22452 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
22453 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
22454 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
22455 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
22456 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
22457 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
22458
22459 2017-11-03 Richard Henderson <rth@twiddle.net>
22460
22461 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
22462
22463 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22464
22465 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
22466
22467 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22468
22469 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
22470 DT_TLSDESC_GOT initialization.
22471 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
22472 (_dl_tlsdesc_resolve_hold): Likewise.
22473 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
22474 (_dl_tlsdesc_resolve_hold): Likewise.
22475 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
22476 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22477
22478 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22479
22480 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
22481
22482 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22483
22484 [BZ #18572]
22485 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
22486 non-lazily for R_ARM_TLS_DESC.
22487
22488 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22489
22490 [BZ #17078]
22491 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
22492 R_ARM_TLS_DESC case.
22493 (elf_machine_lazy_rel): Remove the prelink check.
22494
22495 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22496
22497 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
22498 DT_TLSDESC_GOT initialization.
22499 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
22500 (_dl_tlsdesc_resolve_rela): Likewise.
22501 (_dl_tlsdesc_resolve_hold): Likewise.
22502 (_dl_tlsdesc_undefweak): Remove ldar.
22503 (_dl_tlsdesc_dynamic): Likewise.
22504 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
22505 (_dl_tlsdesc_resolve_rela): Likewise.
22506 (_dl_tlsdesc_resolve_hold): Likewise.
22507 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
22508 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22509 (_dl_tlsdesc_resolve_rela): Likewise.
22510 (_dl_tlsdesc_resolve_hold): Likewise.
22511
22512 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22513
22514 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
22515 binding and initialization non-lazily for R_AARCH64_TLSDESC.
22516
22517 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22518
22519 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
22520 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22521
22522 2017-11-02 Joseph Myers <joseph@codesourcery.com>
22523
22524 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
22525 Declare.
22526 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
22527 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
22528 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
22529 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
22530 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
22531 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
22532 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
22533 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
22534 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
22535 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
22536 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
22537
22538 2017-11-02 Mike FABIAN <mfabian@redhat.com>
22539
22540 [BZ #22382]
22541 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
22542 * localedata/locales/tpi_PG: Add standard header.
22543
22544 2017-11-02 Florian Weimer <fweimer@redhat.com>
22545
22546 test-errno-linux: quotactl can fail with EPERM in containers.
22547 * sysdeps/unix/sysv/linux/test-errno-linux.c
22548 (LIST, LIST_FORWARD): New macros.
22549 (check_error_in_list): New function.
22550 (test_wrp_rv): Accept list of permitted error codes.
22551 (test_wrp_rv2): Remove.
22552 (test_wrp): Call test_wrp_rv with list of error codes.
22553 (test_wrp2): Accept list of error codes.
22554 (do_test): Adjust. Allow EPERM for quotactl.
22555
22556 2017-11-02 Florian Weimer <fweimer@redhat.com>
22557
22558 * stdio-common/bug16.c (do_test): Use array_length.
22559 * stdio-common/errlist.c (_sys_nerr): Likewise.
22560 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
22561 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
22562 * stdio-common/psiginfo.c (psiginfo): Use array_length.
22563 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
22564 (do_test): Use array_length.
22565 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
22566 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
22567 * stdio-common/tst-printf-round.c (do_test): Likewise.
22568 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
22569 (CHECK): Use array_length.
22570 * stdio-common/tstdiomisc.c (t3, F): Likewise.
22571 * stdio-common/tstscanf.c (main): Likewise.
22572 * stdio-common/vfprintf.c (process_string_arg): Likewise.
22573
22574 2017-11-02 Florian Weimer <fweimer@redhat.com>
22575
22576 Add array_length and array_end macros.
22577 * include/array_length.h: New file.
22578
22579 2017-11-02 Florian Weimer <fweimer@redhat.com>
22580
22581 [BZ #22332]
22582 * posix/tst-glob-tilde.c (do_noescape): New variable.
22583 (one_test): Process it.
22584 (do_test): Set do_noescape. Add unescaping test case.
22585
22586 2017-11-01 Joseph Myers <joseph@codesourcery.com>
22587
22588 * math/complex.h
22589 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
22590 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
22591 with appropriate macros defined and undefined.
22592 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
22593 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22594 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
22595 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22596 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
22597 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22598 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
22599 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22600 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
22601 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22602
22603 * math/complex.h
22604 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
22605 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
22606 that for long double. Do not condition define and undefine of
22607 _Mdouble_complex_ on [__CFLOAT128].
22608
22609 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
22610
22611 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22612 of <sysdeps/generic/sysdep.h>.
22613 (ALIGNARG): Removed.
22614 (ASM_SIZE_DIRECTIVE): Likewise.
22615 (ENTRY): Likewise.
22616 (END): Likewise.
22617 (ENTRY_CHK): Likewise.
22618 (END_CHK): Likewise.
22619 (syscall_error): Likewise.
22620 (mcount): Likewise.
22621 (PSEUDO_END): Likewise.
22622 (L): Likewise.
22623 (atom_text_section): Likewise.
22624 * sysdeps/x86/sysdep.h: New file.
22625 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22626 of <sysdeps/generic/sysdep.h>.
22627 (ALIGNARG): Removed.
22628 (ASM_SIZE_DIRECTIVE): Likewise.
22629 (ENTRY): Likewise.
22630 (END): Likewise.
22631 (ENTRY_CHK): Likewise.
22632 (END_CHK): Likewise.
22633 (syscall_error): Likewise.
22634 (mcount): Likewise.
22635 (PSEUDO_END): Likewise.
22636 (L): Likewise.
22637 (atom_text_section): Likewise.
22638
22639 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
22640
22641 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
22642 category of LC_CTYPE set to "i18n:2012".
22643 * localedata/locales/i18n_ctype: Regenerate.
22644
22645 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
22646
22647 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
22648 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
22649 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
22650 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
22651
22652 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
22653 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
22654 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
22655 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
22656
22657 2017-10-31 Joseph Myers <joseph@codesourcery.com>
22658
22659 * math/complex.h
22660 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
22661 New macro.
22662 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
22663 Likewise.
22664 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
22665 Likewise.
22666 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22667 (CMPLXF32X): Likewise.
22668 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22669 (CMPLXF64X): Likewise.
22670 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22671 (CMPLXF128X): Likewise.
22672
22673 * math/math.h
22674 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
22675 (__MATH_EVAL_FMT2): Define to add 0.0f.
22676
22677 2017-10-31 Alan Modra <amodra@gmail.com>
22678
22679 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
22680 include sysdep.h.
22681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
22682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
22683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
22684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
22685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
22686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
22687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
22688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
22689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
22690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
22691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
22692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
22693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
22694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
22695 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
22696 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
22697 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
22698 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
22699 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
22700 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
22701 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
22702 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
22703 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
22704 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
22705 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
22706 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
22707 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
22708 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
22709 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
22710 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
22711 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22712 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22713 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
22714 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
22715 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
22716 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
22717 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
22718 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
22719 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
22720 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22721 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
22722 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
22723 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
22724 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
22725 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
22726 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
22727 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
22728 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
22729 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22730 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
22731 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
22732 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
22733 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
22734 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
22735 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
22736 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
22737 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
22738 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
22739 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22740 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22741 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
22742 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
22743 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
22744 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22745 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
22746 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
22747 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
22748 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
22749 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
22750
22751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
22752 include sysdep.h and math_ldbl_opt.h.
22753
22754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
22755 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
22756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
22757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
22758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
22759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
22760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
22761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
22762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
22763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
22764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
22765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
22766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
22767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
22768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
22769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
22770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
22771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
22772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
22773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
22774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
22775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
22776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
22777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
22778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
22779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
22780
22781 2017-10-31 Alan Modra <amodra@gmail.com>
22782
22783 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
22784 string/strncase_l.c, not string/strncase.c.
22785 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
22786 (libc_hidden_def): Redefine.
22787
22788 2017-10-31 Alan Modra <amodra@gmail.com>
22789
22790 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
22791 (__STRCMP, STRCMP, __strcasecmp_l): Define.
22792 (__strcasecmp): Don't define.
22793
22794 2017-10-31 Alan Modra <amodra@gmail.com>
22795
22796 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
22797 IS_IN (libc).
22798 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22799 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22800 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22801
22802 2017-10-31 Alan Modra <amodra@gmail.com>
22803
22804 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
22805 USE_AS_STPNCPY.
22806
22807 2017-10-31 Alan Modra <amodra@gmail.com>
22808
22809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
22810 Redefine only when SHARED.
22811
22812 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22813
22814 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22815 Include <bits/math-finite.h> with appropriate macros defined and
22816 undefined.
22817 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22818 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22819 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22820 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22821 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22822
22823 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
22824 [!_Mlong_double_] (_Mlong_double_): Likewise.
22825 [!_Mfloat16_] (_Mfloat16_): Likewise.
22826 [!_Mfloat32_] (_Mfloat32_): Likewise.
22827 [!_Mfloat64_] (_Mfloat64_): Likewise.
22828 [!_Mfloat128_] (_Mfloat128_): Likewise.
22829 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
22830 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
22831 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
22832 (_Mdouble_): Define without indirection through those macros.
22833 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
22834 [!_Mfloat128_] (_Mfloat128_): Likewise.
22835 [_Mlong_double_] (_Mlong_double_): Likewise.
22836 (_Mdouble_): Define without indirection through those macros.
22837 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
22838 not add -D_Mlong_double_=double.
22839 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
22840 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
22841
22842 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22843
22844 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
22845
22846 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22847
22848 * sysdeps/x86/libc-start.c: Reformat.
22849
22850 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22851
22852 [BZ #22353]
22853 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
22854 (1): Renamed to ...
22855 (L(Src0)): This.
22856 (L(Src1)): New.
22857 (L(Src2)): Likewise.
22858 (L(1)): Renamed to ...
22859 (L(Src3)): This.
22860
22861 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22862
22863 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
22864 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
22865 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
22866 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
22867 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
22868 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
22869 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
22870 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
22871 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
22872 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
22873 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
22874 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
22875 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
22876 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
22877 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
22878 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
22879 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
22880 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
22881 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
22882 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
22883 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
22884 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
22885 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
22886 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
22887 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
22888 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
22889 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
22890 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
22891 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
22892 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
22893 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
22894 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
22895 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
22896 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
22897 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
22898 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
22899 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
22900 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
22901 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
22902 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
22903 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
22904 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
22905 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
22906 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
22907 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
22908 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
22909 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
22910 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
22911 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
22912 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
22913 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
22914 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
22915 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
22916 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
22917 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
22918 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
22919 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
22920 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
22921 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
22922 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
22923 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
22924 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
22925 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
22926 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
22927 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
22928 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
22929
22930 2017-10-30 Florian Weimer <fweimer@redhat.com>
22931
22932 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
22933 always defined.
22934 * io/tst-mkdirat.c (do_test): Likewise.
22935 * io/tst-mkfifoat.c (do_test): Likewise.
22936 * io/tst-mknodat.c (do_test): Likewise.
22937 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
22938 * locale/programs/locale.c (select_dirs): Likewise.
22939 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
22940 * posix/bug-glob2.c (my_readdir): Likewise.
22941 * posix/tst-dir.c (main): Likewise.
22942 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
22943 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
22944
22945 2017-10-30 Florian Weimer <fweimer@redhat.com>
22946
22947 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
22948 just __USE_GNU.
22949
22950 2017-10-30 Florian Weimer <fweimer@redhat.com>
22951
22952 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
22953 Convert to support/test-driver.c.
22954 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
22955 New macro parameters.
22956 (PRINTF): Remove macro. Use test_verbose conditionals instead.
22957 * posix/tst-gnuglob.c: New file.
22958 * posix/tst-gnuglob64.c: Likewise.
22959 * posix/Makefile (tests): Add tst-gnuglob64.
22960
22961 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
22962
22963 [BZ #19485]
22964 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
22965 and use a better translation for March in “mon”.
22966 * localedata/locales/csb_PL: Use more ASCII to improve the
22967 readability of the source.
22968
22969 2017-10-30 Mike FABIAN <mfabian@redhat.com>
22970
22971 [BZ #13953]
22972 * localedata/locales/km_KH: Use ASCII as much
22973 as possible for better readability of the source and
22974 remove useless comments.
22975 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
22976 was commented out and apparently wrong anyway because it was
22977 using Lao characters. If Buddhist era should be used
22978 for km_KH, a native speaker should write the correct formaat
22979 for Khmer.
22980 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
22981 (According to CLDR, the first weekday for Cambodia is Sunday).
22982 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
22983 (These were using Lao characters which must be wrong. If we get
22984 the correct data from a native speaker, we could add it back, until
22985 then it is better not to have name_mr and name_mrs at all than
22986 having it wrong).
22987
22988 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
22989
22990 * locale/loadlocale.c: Correct size of
22991 _nl_value_type_LC_<category> arrays.
22992
22993 2017-10-27 Joseph Myers <joseph@codesourcery.com>
22994
22995 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22996 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
22997 with appropriate macros defined and undefined.
22998 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22999 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23000 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23001 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23002 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23003
23004 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
23005
23006 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23007 "-O2 -march=i586".
23008
23009 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23010
23011 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
23012 with lowercase letters to make it agree with CLDR.
23013
23014 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23015
23016 [BZ #15260]
23017 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
23018 first letters of yesstr and nostr in yesexpr and noexpr,
23019 not for the full words.
23020 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23021 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
23022 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
23023 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
23024 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
23025 first letters of yesstr and nostr in yesexpr and noexpr,
23026 until now only English was matched in yesexpr and noexpr.
23027 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
23028 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
23029 fil but not for tl. As tl and fil are very similar, using fil
23030 is probably better than using English.
23031
23032 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
23033
23034 [BZ #21706]
23035 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
23036 in yesstr and nostr.
23037
23038 2017-10-26 Joseph Myers <joseph@codesourcery.com>
23039
23040 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23041 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
23042 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
23043 Likewise.
23044 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
23045 Likewise.
23046 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
23047 Likewise.
23048 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
23049 Likewise.
23050 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23051 (SNANF128X): Likewise.
23052
23053 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23054 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
23055 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23056 (HUGE_VAL_F32): Likewise.
23057 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23058 (HUGE_VAL_F64): Likewise.
23059 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23060 (HUGE_VAL_F32X): Likewise.
23061 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23062 (HUGE_VAL_F64X): Likewise.
23063 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23064 (HUGE_VAL_F128X): Likewise.
23065
23066 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23067
23068 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
23069 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
23070 for the br_FR locale.
23071
23072 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23073
23074 [BZ #21706]
23075 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
23076
23077 2017-10-25 Carlos O'Donell <carlos@redhat.com>
23078
23079 * locale/programs/record-status.h: Define globals, and function
23080 prototypes. Move function bodies...
23081 * locale/programs/record-status.c: ... to here. New file.
23082 * iconv/Makefile (iconv_prog-modules): Add record-status.
23083 * locale/Makefile (lib-modules): Likewise.
23084 * iconv/iconv_prog.c: Remove verbose.
23085 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
23086 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
23087 record a warning about ASCII compatibility.
23088 * locale/programs/ld-monetary.c (monetary_finish): If
23089 warn_int_curr_symbol is true then record a warning about the symbol
23090 not being in our ISO 4217 list.
23091 * locale/programs/locale.c: Include record-status.h. Remove verbose.
23092 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
23093 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
23094 (OPT_NO_WARN): Define.
23095 (OPT_WARN): Define.
23096 (options): Add entry for --no-warnings, and --warnings.
23097 (set_warnings): New function to enable/disable warnings.
23098 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
23099 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
23100 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
23101 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
23102 Pass flags to generate_locale.
23103 (generate_locale): Accept new flag argument and pass it to localedef
23104 invocation.
23105 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
23106 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
23107
23108 * localedata/Makefile (test-input-data): Use full file name.
23109 * localedata/da_DK.in: Rename to...
23110 * localedata/da_DK.ISO-8859-1.in: ...this.
23111 * localedata/de_DE.in: Rename to...
23112 * localedata/de_DE.ISO-8859-1.in: ...this.
23113 * localedata/en_US.in: Rename to...
23114 * localedata/en_US.ISO-8859-1.in: ...this.
23115 * localedata/fr_FR.in: Rename to...
23116 * localedata/fr_FR.UTF-8.in: ... this.
23117 * localedata/hr_HR.in: Rename to...
23118 * localedata/hr_HR.ISO-8859-2.in: ...this.
23119 * localedata/hu_HU.in: Rename to...
23120 * localedata/hu_HU.UTF-8.in: ...this.
23121 * localedata/si_LK.in: Rename to...
23122 * localedata/si_LK.UTF-8.in: ...this.
23123 * localedata/sv_SE.in: Rename to...
23124 * localedata/sv_SE.ISO-8859-1.in: ...this.
23125 * localedata/tr_TR.in: Rename to...
23126 * localedata/tr_TR.UTF-8.in: ...this.
23127 * localedata/uk_UA.in: Rename to...
23128 * localedata/uk_UA.UTF-8.in: ...this.
23129 * localedata/sort-test.sh: Test file is locale name with the
23130 suffix.
23131
23132 * localedata/unicode-gen/Makefile (check_i18n): Rename to
23133 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
23134 file.
23135 * localedata/locales/i18n_ctype: Regenerate.
23136 * localedata/locales/tr_TR: Likewise.
23137 * localedata/locales/translit_circle: Likewise.
23138 * localedata/locales/translit_cjk_compat: Likewise.
23139 * localedata/locales/translit_combining: Likewise.
23140 * localedata/locales/translit_compat: Likewise.
23141 * localedata/locales/translit_font: Likewise.
23142 * localedata/locales/translit_fraction: Likewise.
23143
23144 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23145
23146 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
23147 lxvd2x/stxvd2x with lvx/stvx.
23148 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
23149
23150 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
23151
23152 * include/alloc_buffer.h: Replace "if if " with "if " in
23153 comments.
23154 * sysdeps/mips/memcpy.S: Likkewise.
23155 * sysdeps/mips/memset.S: Likewise.
23156 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
23157 Likewise.
23158 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
23159 Likewise.
23160 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
23161 Likewise.
23162
23163 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23164
23165 [BZ #15261]
23166 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
23167 yesexpr and noexpr.
23168 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23169 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23170 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23171 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23172 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23173 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23174 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23175
23176 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23177
23178 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
23179 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23180 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23181 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23182 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23183 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
23184 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23185 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23186 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23187 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23188 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23189 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23190
23191 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23192
23193 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
23194 as possible for better readability of the source.
23195 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
23196 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
23197 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
23198 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
23199 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
23200 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
23201 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
23202 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
23203 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23204 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
23205 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
23206 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
23207 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
23208 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
23209 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
23210 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
23211 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
23212 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
23213 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
23214 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
23215 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
23216 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
23217 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
23218 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
23219 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
23220 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
23221 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
23222 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
23223 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
23224 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
23225 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
23226 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23227 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
23228 * localedata/locales/en_US (LC_MESSAGES): Likewise.
23229 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
23230 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
23231 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
23232 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
23233 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
23234 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
23235 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
23236 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
23237 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
23238 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
23239 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
23240 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
23241 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
23242 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
23243 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
23244 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
23245 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
23246 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
23247 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
23248 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23249 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23250 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
23251 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
23252 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23253 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
23254 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
23255 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
23256 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
23257 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
23258 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
23259 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
23260 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
23261 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
23262 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
23263 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
23264 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
23265 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
23266 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
23267 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
23268 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
23269 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23270 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
23271 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
23272 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
23273 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
23274 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
23275 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
23276 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
23277 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
23278 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23279 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
23280 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
23281 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
23282 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23283 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
23284 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
23285 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
23286 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
23287 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23288 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
23289 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
23290 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23291 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
23292 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23293 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
23294 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
23295 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
23296 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
23297 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
23298 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
23299 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
23300 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
23301 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
23302 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
23303 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
23304 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
23305 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
23306 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
23307 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23308 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
23309 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
23310 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
23311 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
23312 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
23313 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
23314 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
23315 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
23316 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
23317 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
23318 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
23319 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
23320 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
23321 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
23322 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
23323 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
23324 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
23325 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
23326 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
23327 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
23328 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
23329 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
23330 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
23331 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
23332 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
23333 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
23334 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
23335 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
23336 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
23337 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
23338 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
23339 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
23340 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23341 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
23342 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
23343 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
23344 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
23345 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
23346 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
23347 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
23348 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
23349 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23350 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
23351 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
23352 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
23353 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
23354 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
23355 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
23356 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
23357 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
23358 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
23359 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
23360 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23361 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
23362 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
23363 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
23364 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
23365 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23366 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23367 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23368 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
23369
23370 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23371
23372 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
23373 (Use first letters of yesstr and nostr correctly instead of using
23374 full words).
23375
23376 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23377
23378 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
23379 (Use first letters of yesstr and nostr correctly).
23380
23381 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23382
23383 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
23384 also check for the first characters of yesstr and nostr.
23385 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
23386 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
23387
23388 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23389
23390 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
23391 also check for Chinese characters.
23392
23393 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23394
23395 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
23396 match also for the contents of yesstr and nostr. As the first letter
23397 of yesstr and nostr is equal, checking only for the first letter
23398 is not enough.
23399
23400 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23401
23402 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
23403 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
23404
23405 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23406
23407 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
23408 of main contributor.
23409
23410 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23411
23412 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
23413 instead of using English.
23414
23415 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23416
23417 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
23418 by including the first letters of nostr and yesexpr in the regexp.
23419 Also make it more readable by using ASCII where possible.
23420
23421 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23422
23423 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
23424 the first letter of nostr in the regexp. It agrees with CLDR now.
23425 Also make it more readable by using ASCII where possible.
23426
23427 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23428
23429 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
23430 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
23431 these strings contain a U+17D6 (which somewhat looks like a colon)
23432 instead of a real colon to separate the full words for “yes”
23433 and “no” from the single letter responses.
23434
23435 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23436
23437 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
23438 it agree with CLDR (include the first letter of yesstr).
23439 Also make it more readable by using ASCII where possible.
23440
23441 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23442
23443 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
23444 and improve yesexpr and noexpr. The yesstr and nostr apparently
23445 came from CLDR. And CLDR has a bug there: these strings contain
23446 a U+0903 (which looks like a colon) instead of a real colon
23447 to separate the full words for “yes” and “no” from the single
23448 letter responses.
23449
23450 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23451
23452 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
23453 letters of the full yesstr and nostr in yesexpr and noexpr.
23454
23455 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23456
23457 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
23458 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
23459 * localedata/locales/an_ES: Make source more readable by using ASCII
23460 where possible.
23461
23462 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23463
23464 [BZ #20952]
23465 * localedata/locales/yuw_PG: New file.
23466 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
23467 * locale/iso-639.def: Add Yau (Uruwa).
23468
23469 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23470
23471 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
23472
23473 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23474
23475 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
23476 (__libc_realloc): Likewise.
23477 (_mid_memalign): Likewise.
23478 (__libc_calloc): Likewise.
23479
23480 2017-10-23 Mike FABIAN <mfabian@redhat.com>
23481
23482 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
23483 by adding the generic +1 and -0 as in all other locales.
23484 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
23485 day names and make it more readable by using ASCII where possible.
23486
23487 2017-10-24 Joseph Myers <joseph@codesourcery.com>
23488
23489 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
23490 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
23491
23492 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23493
23494 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
23495 WNOHANG in waitpid call.
23496
23497 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
23498
23499 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
23500 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
23501
23502 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
23503 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
23504 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
23505 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
23506 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
23507 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
23508 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
23509 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
23510 variables.
23511
23512 2017-10-23 Michael Collison <michael.collison@arm.com>
23513
23514 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
23515 with __builtin_sqrt.
23516 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
23517 with __builtin_sqrtf.
23518 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
23519 with __builtin_ceil.
23520 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
23521 with __builtin_ceilf.
23522 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
23523 with __builtin_floor.
23524 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
23525 with __builtin_floorf.
23526 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
23527 with __builtin_fma.
23528 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
23529 with __builtin_fmaf.
23530 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
23531 with __builtin_fmax.
23532 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
23533 with __builtin_fmaxf.
23534 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
23535 with __builtin_fmin.
23536 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
23537 with __builtin_fminf.
23538 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
23539 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
23540 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
23541 with builtin_rint and conversion to int.
23542 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
23543 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
23544 with builtin_llround.
23545 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
23546 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
23547 with builtin_rint and conversion to long int.
23548 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
23549 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
23550 with builtin_lround.
23551 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
23552 with builtin_lroundf.
23553 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
23554 statements with __builtin_nearbyint.
23555 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
23556 statements with __builtin_nearbyintf.
23557 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
23558 with __builtin_rint.
23559 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
23560 with __builtin_rintf.
23561 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
23562 with __builtin_round.
23563 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
23564 with __builtin_roundf.
23565 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
23566 with __builtin_trunc.
23567 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
23568 with __builtin_truncf.
23569 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
23570 and s_l[l]round[f].c too.
23571
23572 2017-10-23 Alan Modra <amodra@gmail.com>
23573
23574 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
23575 Adjust stack after restoring regs. Add missing LR cfi_restore.
23576
23577 2017-10-23 Alan Modra <amodra@gmail.com>
23578
23579 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
23580 Move LR save and frame setup/teardown and LR restore to
23581 immediately around memset call. Provide cfi.
23582
23583 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23584
23585 * sysdeps/i386/fpu/e_powf.S: Removed.
23586 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
23587 * sysdeps/i386/fpu/w_powf.c: Likewise.
23588 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
23589 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23590 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23591 Add e_powf-sse2.
23592 (CFLAGS-e_powf-sse2.c): New.
23593 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
23594 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
23595
23596 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23597
23598 * sysdeps/i386/fpu/e_log2f.S: Removed.
23599 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
23600 * sysdeps/i386/fpu/w_log2f.c: Likewise.
23601 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
23602 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23603 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23604 Add e_log2f-sse2.
23605 (CFLAGS-e_log2f-sse2.c): New.
23606 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
23607 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
23608
23609 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23610
23611 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23612 Add e_powf-fma.
23613 (CFLAGS-e_powf-fma.c): New.
23614 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
23615 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
23616
23617 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23618
23619 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23620 Add e_log2f-fma.
23621 (CFLAGS-e_log2f-fma.c): New.
23622 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
23623 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
23624
23625 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23626
23627 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23628 Add e_logf-fma.
23629 (CFLAGS-e_logf-fma.c): New.
23630 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
23631 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
23632
23633 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23634
23635 * sysdeps/i386/fpu/e_logf.S: Removed.
23636 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
23637 * sysdeps/i386/fpu/w_logf.c: Likewise.
23638 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
23639 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
23640 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23641 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23642 Add e_logf-sse2.
23643 (CFLAGS-e_logf-sse2.c): New.
23644 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
23645 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
23646
23647 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23648
23649 * sysdeps/i386/fpu/e_exp2f.S: Removed.
23650 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
23651 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
23652 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23653 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23654 Add e_exp2f-sse2.
23655 (CFLAGS-e_exp2f-sse2.c): New.
23656 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
23657 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
23658
23659 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23660
23661 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23662 Add e_exp2f-fma.
23663 (CFLAGS-e_exp2f-fma.c): New.
23664 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
23665 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
23666
23667 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23668
23669 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
23670 * sysdeps/i386/fpu/e_expf.S: Likewise.
23671 * sysdeps/i386/fpu/math_errf.c: Likewise.
23672 * sysdeps/i386/fpu/w_expf.c: Likewise.
23673 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
23674 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
23675 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
23676 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
23677 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23678 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23679 Remove e_expf-ia32.
23680 (CFLAGS-e_expf-sse2.c): New.
23681 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
23682 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
23683
23684 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23685
23686 * sysdeps/x86_64/fpu/e_expf.S: Removed.
23687 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
23688 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
23689 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
23690 e_expf.c.
23691 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
23692 New.
23693 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
23694 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
23695 Renamed to ...
23696 (__redirect_expf): This.
23697 (SYMBOL_NAME): Changed to expf.
23698 (__ieee754_expf): Renamed to ...
23699 (__expf): This.
23700 (__GI___expf): This.
23701 (__ieee754_expf): Add strong_alias.
23702 (__expf_finite): Likewise.
23703 (__expf): New.
23704 Include <sysdeps/ieee754/flt-32/e_expf.c>.
23705
23706 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
23707
23708 [BZ #22332]
23709 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
23710 unescaping.
23711
23712 2017-10-21 Florian Weimer <fweimer@redhat.com>
23713
23714 * posix/Makefile (tests): Add tst-glob-tilde.
23715 (tests-special): Add tst-glob-tilde-mem.out
23716 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
23717 (tst-glob-tilde-mem.out): Add mtrace check.
23718 * posix/tst-glob-tilde.c: New file.
23719
23720 2017-10-20 Joseph Myers <joseph@codesourcery.com>
23721
23722 * bits/floatn-common.h: New file.
23723 * math/Makefile (headers): Add bits/floatn-common.h.
23724 * bits/floatn.h: Include <bits/floatn-common.h>.
23725 * sysdeps/ia64/bits/floatn.h: Likewise.
23726 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23727 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
23728 * sysdeps/powerpc/bits/floatn.h: Likewise.
23729 * sysdeps/x86/bits/floatn.h: Likewise.
23730
23731 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23732
23733 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
23734 indicates whether compiler emits an warning for alias for
23735 functions with incompatible types.
23736
23737 [BZ #22273]
23738 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
23739 the auxiliary process is terminated by a signal before calling _exit
23740 or execve.
23741
23742 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23743
23744 [BZ #21265]
23745 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
23746 New.
23747 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
23748 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
23749 and bit_arch_XSAVEC_Usable if needed.
23750 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
23751 and bit_arch_Use_dl_runtime_resolve_opt.
23752 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
23753 Removed.
23754 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
23755 (bit_arch_Prefer_No_AVX512): Updated.
23756 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
23757 (bit_arch_XSAVEC_Usable): New.
23758 (STATE_SAVE_OFFSET): Likewise.
23759 (STATE_SAVE_MASK): Likewise.
23760 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
23761 (cpu_features): Add xsave_state_size and xsave_state_full_size.
23762 (index_arch_Use_dl_runtime_resolve_opt): Removed.
23763 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
23764 (index_arch_XSAVEC_Usable): New.
23765 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
23766 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
23767 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
23768 is enabled.
23769 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
23770 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
23771 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
23772 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
23773 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
23774 _dl_runtime_resolve_xsavec.
23775 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
23776 Removed.
23777 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
23778 instead of VEC_SIZE.
23779 (REGISTER_SAVE_BND0): Removed.
23780 (REGISTER_SAVE_BND1): Likewise.
23781 (REGISTER_SAVE_BND3): Likewise.
23782 (REGISTER_SAVE_RAX): Always defined to 0.
23783 (VMOV): Removed.
23784 (_dl_runtime_resolve_avx): Likewise.
23785 (_dl_runtime_resolve_avx_slow): Likewise.
23786 (_dl_runtime_resolve_avx_opt): Likewise.
23787 (_dl_runtime_resolve_avx512): Likewise.
23788 (_dl_runtime_resolve_avx512_opt): Likewise.
23789 (_dl_runtime_resolve_sse): Likewise.
23790 (_dl_runtime_resolve_sse_vex): Likewise.
23791 (USE_FXSAVE): New.
23792 (_dl_runtime_resolve_fxsave): Likewise.
23793 (USE_XSAVE): Likewise.
23794 (_dl_runtime_resolve_xsave): Likewise.
23795 (USE_XSAVEC): Likewise.
23796 (_dl_runtime_resolve_xsavec): Likewise.
23797 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
23798 Removed.
23799 (_dl_runtime_resolve_avx512_opt): Likewise.
23800 (_dl_runtime_resolve_avx): Likewise.
23801 (_dl_runtime_resolve_avx_opt): Likewise.
23802 (_dl_runtime_resolve_sse): Likewise.
23803 (_dl_runtime_resolve_sse_vex): Likewise.
23804 (_dl_runtime_resolve_fxsave): New.
23805 (_dl_runtime_resolve_xsave): Likewise.
23806 (_dl_runtime_resolve_xsavec): Likewise.
23807
23808 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
23809
23810 [BZ #22320]
23811 CVE-2017-15670
23812 * posix/glob.c (__glob): Fix one-byte overflow.
23813
23814 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23815
23816 * malloc/malloc.c (sysdep-cancel.h): Add include.
23817
23818 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23819
23820 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
23821
23822 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
23823
23824 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
23825 (tests): Remove $(objpfx)ga_test depdendency.
23826 * resolv/ga_test.c: Remove file.
23827
23828 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23829
23830 [BZ #18812]
23831 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
23832 * localedata/locales/kab_DZ: New file.
23833
23834 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23835
23836 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
23837 _dl_relocate_static_pie instead of _dl_start to compute load
23838 address in static PIE.
23839
23840 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23841
23842 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
23843
23844 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23845
23846 [BZ #13605]
23847 * localedata/SUPPORTED: Add shn_MM/UTF-8.
23848 * localedata/locales/shn_MM: New file.
23849
23850 2017-10-20 Florian Weimer <fweimer@redhat.com>
23851
23852 [BZ #22321]
23853 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
23854 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
23855 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
23856 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
23857 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
23858 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
23859
23860 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
23861
23862 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23863
23864 2017-10-19 Joseph Myers <joseph@codesourcery.com>
23865
23866 * sysdeps/mips/ieee754/bits/floatn.h: New file.
23867
23868 [BZ #22322]
23869 * sysdeps/mips/bits/long-double.h: Move to ....
23870 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
23871
23872 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
23873
23874 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
23875
23876 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
23877 H.J. Lu <hongjiu.lu@intel.com>
23878
23879 [BZ #22299]
23880 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23881 GLRO(dl_platform) to NULL.
23882 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
23883 (modules-names): Add tst-platformmod-1 and
23884 x86_64/tst-platformmod-2.
23885 (CFLAGS-tst-platform-1.c): New.
23886 (CFLAGS-tst-platformmod-1.c): Likewise.
23887 (CFLAGS-tst-platformmod-2.c): Likewise.
23888 (LDFLAGS-tst-platformmod-2.so): Likewise.
23889 ($(objpfx)tst-platform-1): Likewise.
23890 ($(objpfx)tst-platform-1.out): Likewise.
23891 (tst-platform-1-ENV): Likewise.
23892 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
23893 * sysdeps/x86_64/tst-platform-1.c: New file.
23894 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
23895 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
23896
23897 2017-10-19 Mike FABIAN <mfabian@redhat.com>
23898
23899 [BZ #13994]
23900 * locale/iso-639.def: Add Karbi.
23901 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
23902 * localedata/locales/mjw_IN: New file.
23903
23904 2017-10-18 Joseph Myers <joseph@codesourcery.com>
23905
23906 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
23907 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23908 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
23909 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
23910 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23911 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23912 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
23913 <bits/floatn.h>.
23914 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23915 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23916 * manual/math.texi (Mathematics): Document additional architecture
23917 support for _Float128.
23918 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23919 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23920 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23921 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23922 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23923 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23924 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23925 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23926 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23927 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23928 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23929 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23930 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23931 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23932 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23933
23934 2017-10-18 Renlin Li <renlin.li@arm.com>
23935
23936 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
23937 _DYNAMIC symbol to calculate load address.
23938
23939 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
23940
23941 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
23942 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
23943 summary bits.
23944 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
23945 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
23946
23947 2017-10-18 Mike FABIAN <mfabian@redhat.com>
23948
23949 [BZ #16777]
23950 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
23951 and improve readability by using more ASCII.
23952 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
23953 and improve readability by using more ASCII.
23954
23955 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
23956
23957 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
23958 not all targets support atomics on bool.
23959
23960 2017-10-17 Joseph Myers <joseph@codesourcery.com>
23961
23962 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
23963 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
23964 __f128.
23965 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23966 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
23967 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23968 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
23969 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23970 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
23971
23972 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23973
23974 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
23975 defines.
23976
23977 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23978
23979 [BZ #22159]
23980 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
23981 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
23982 (do_check_remalloced_chunk): Fix build bug.
23983 (do_check_malloc_state): Add assert that checks arena->top.
23984 (malloc_consolidate): Remove initialization.
23985 (int_mallinfo): Remove call to malloc_consolidate.
23986 (__libc_mallopt): Clarify why malloc_consolidate is needed.
23987
23988 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23989
23990 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
23991 (have_fastchunks): Remove.
23992 (clear_fastchunks): Remove.
23993 (set_fastchunks): Remove.
23994 (malloc_state): Add have_fastchunks.
23995 (malloc_init_state): Use have_fastchunks.
23996 (do_check_malloc_state): Remove incorrect invariant checks.
23997 (_int_malloc): Use have_fastchunks.
23998 (_int_free): Likewise.
23999 (malloc_consolidate): Likewise.
24000
24001 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24002
24003 * malloc/malloc.c (tcache_put): Inline.
24004 (tcache_get): Inline.
24005
24006 2017-10-17 Jordi Mallach <jordi@gnu.org>
24007
24008 Aurelien Jarno <aurelien@aurel32.net>
24009 [BZ #2522]
24010 * localedata/locales/ca_ES@valencia: New file.
24011 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
24012
24013 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
24014
24015 [BZ #22296]
24016 * math/math.h: Let signbit use the builtin in C++ mode with gcc
24017 < 6.x
24018
24019 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24020
24021 * scripts/build-many-glibcs.py (Context.add_all_configs):
24022 Add arm-linux-gnueabihf multiarch extra_glibcs.
24023
24024 * sysdeps/generic/ifunc-init.h: New file.
24025 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
24026
24027 2017-10-17 Mike FABIAN <mfabian@redhat.com>
24028
24029 [BZ #22019]
24030 * localedata/locales/el_GR: Set n_cs_precedes to 0.
24031 * localedata/locales/el_CY: copy "el_GR" because it is identical.
24032 * stdlib/tst-strfmon_l.c: adapt test case.
24033
24034 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24035
24036 * sysdeps/generic/float128-abi.h: New file.
24037 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
24038 non-__prefixed symbols to ....
24039 * math/Versions: ... here. Include <float128-abi.h>.
24040 * stdlib/Versions ... and here. Include <float128-abi.h>
24041
24042 2017-10-16 Florian Weimer <fweimer@redhat.com>
24043
24044 * version.h (VERSION): Switch to ".9000" as the development
24045 version suffix.
24046
24047 2017-10-16 Florian Weimer <fweimer@redhat.com>
24048
24049 [BZ #22050]
24050 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
24051 compat_symbol_reference to access non-default version.
24052
24053 2017-10-16 Florian Weimer <fweimer@redhat.com>
24054
24055 * malloc/Makefile (others-extras): Set to mcheck-init.o.
24056
24057 2017-10-16 Carlos O'Donell <carlos@redhat.com>
24058
24059 * include/shlib-compat.h (compat_symbol_reference): Update
24060 comment.
24061
24062 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24063
24064 * math/Makefile (test-types): Add
24065 $(type-float128-$(float128-alias-fcts)).
24066 * math/test-float128.h (TYPE_STR): Define conditional on
24067 [FLT128_MANT_DIG == LDBL_MANT_DIG].
24068 (ULP_IDX): Likewise.
24069 (ULP_I_IDX): Likewise.
24070
24071 * stdlib/strtold.c: Include <bits/floatn.h>
24072 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
24073 and later undefine as macro. Define as weak alias if
24074 [!USE_WIDE_CHAR].
24075 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
24076 and later undefine as macro. Define as weak alias if
24077 [USE_WIDE_CHAR].
24078 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
24079 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
24080 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24081 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24082 Define and later undefine as macro. Define as weak alias if
24083 [USE_WIDE_CHAR].
24084 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
24085 <bits/floatn.h>.
24086 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
24087 Define and later undefine as macro. Define as weak alias if
24088 [!USE_WIDE_CHAR].
24089 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24090 Define and later undefine as macro. Define as weak alias if
24091 [USE_WIDE_CHAR].
24092
24093 2017-10-15 Carlos O'Donell <carlos@redhat.com>
24094
24095 * localedata/collate-test.c (allocate_arrays): Don't use \n in
24096 record_verbose messages.
24097
24098 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
24099
24100 [BZ #22052]
24101 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
24102 to silence -O3 -Wall warning with GCC 7.
24103
24104 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
24105
24106 * Makeconfig (+link-static-before-libc): Use the first of
24107 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
24108 * gmon/Makefile (tests): Add tst-gmon-static.
24109 (tests-static): Likewise.
24110 (CFLAGS-tst-gmon-static.c): New.
24111 (CRT-tst-gmon-static): Likewise.
24112 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
24113 (tst-gmon-static-ENV): Likewise.
24114 (tests-special): Likewise.
24115 ($(objpfx)tst-gmon-static.out): Likewise.
24116 (clean-tst-gmon-static-data): Likewise.
24117 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
24118 * gmon/tst-gmon-static-gprof.sh: New file.
24119 * gmon/tst-gmon-static.c: Likewise.
24120
24121 2017-10-13 Carlos O'Donell <carlos@redhat.com>
24122
24123 [BZ #22295]
24124 * locale/programs/linereader.c (get_string): Don't warn on
24125 non-symbolic character.
24126
24127 [BZ #22294]
24128 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
24129 int_curr_symbol.
24130
24131 [BZ #22292]
24132 * locale/programs/record-status.h: New file
24133 * locale/programs/locale.c: Add comment.
24134 * locale/programs/charmap-dir.c: Don't include error.h.
24135 (charmap_opendir): Use record_error.
24136 * locale/programs/charmap.c: Don't include error.h.
24137 (charmap_read): Use record_error, and record_warning.
24138 (parse_charmap): Likewise.
24139 * locale/programs/ld-address.c: Don't include error.h.
24140 (address_finish): Use record_error, and record_warning.
24141 * locale/programs/ld-collate.c: Don't include error.h.
24142 (collate_finish): Use record_error, and record_error_at_line.
24143 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
24144 (ctype_class_new): Likewise.
24145 (ctype_map_new): Likewise.
24146 (set_one_default): Likewise.
24147 (set_class_defaults): Likewise.
24148 (translit_flatten): Likewise.
24149 (allocate_arrays): Use record_error, and record_verbose.
24150 * locale/programs/ld-identification.c: Don't include error.h.
24151 (indentation_finish): Use record_error and record_warning.
24152 * locale/programs/ld-measurement.c: Don't include error.h.
24153 (measurement_finish): Use record_error.
24154 * locale/programs/ld-messages.c
24155 (message_finish): Likewise.
24156 * locale/programs/ld-monetary.c
24157 (monetary_finish): Likewise.
24158 * locale/programs/ld-name.c (name_finish): Use record_error
24159 and record_warning.
24160 * locale/programs/ld-numeric.c
24161 (numeric_finish): Use record_error.
24162 * locale/programs/ld-paper.c: Don't include error.h.
24163 (paper_finish): Use record_error.
24164 * locale/programs/ld-telephone.c: Don't include error.h.
24165 (telephone_finish): Use record_error.
24166 * locale/programs/ld-time.c (time_finish): Likewise.
24167 * locale/programs/linereader.h (lr_error): Make inline func.
24168 * locale/programs/localedef.c: Define recorded_warning_count,
24169 and recorded_error_count.
24170 (main): Use record_error. Use recorded_error_count and
24171 recorded_warning_count to issue correct error returns.
24172 (add_to_readlist): Use record_error.
24173 (find_locale): Likewise.
24174 (load_locale): Likewise.
24175 * locale/programs/localedef.h: Remove be_quiet
24176 and WITH_CUR_LOCALE.
24177 * locale/programs/locarchive.c (compare_from_file): Use
24178 record_error.
24179 * locale/programs/locfile.c (write_locale_data): Use
24180 record_error.
24181 * locale/programs/repertoire.c: Dont include error.h.
24182 (repertoire_complain): Use record_error.
24183 * localedata/tst-fmon.sh: Expect failures from localedef.
24184 * localedata/tst-locale.sh: Likewise.
24185 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
24186
24187 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
24188 (REPORTS): Likewise.
24189 (check): Likewise.
24190 (i18n): Rename to...
24191 (i18n_ctype): ...this.
24192 (i18n-report): Rename to...
24193 (i18n_ctype-report): ...this.
24194 * localedata/locales/i18n_ctype: Regenerate.
24195 * localedata/locales/i18n: copy i18n_ctype.
24196
24197 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24198
24199 * stdlib/strfroml.c: Include <bits/floatn.h>.
24200 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
24201 Define before include of <stdlib.h> and undefine afterwards, then
24202 define as weak alias.
24203
24204 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
24205 Undefine and restore default definition. Use
24206 libm_alias_ldouble_other.
24207
24208 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
24209
24210 [BZ #22153]
24211 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
24212 in coredumps.
24213
24214 2017-10-13 James Clarke <jrtc27@jrtc27.com>
24215
24216 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24217 Assign sym_map to be map for local symbols, as TLS relocations
24218 use sym_map to determine whether the symbol is defined and to
24219 extract the TLS information.
24220 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24221 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24222
24223 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24224
24225 [BZ #22189]
24226 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
24227 (math_force_eval): Add powerpc version.
24228
24229 [BZ #22142]
24230 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
24231 -DBL_MAX.
24232 (do_test): Likewise.
24233 * stdio-common/tst-printf.sh: Likewise.
24234 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
24235 ifdef clause in order to set the carry bit right. Replace r0 by
24236 0 without changing the behavior.
24237
24238 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24239
24240 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
24241 <libm-alias-ldouble.h>.
24242 (fabsl): Define using libm_alias_ldouble.
24243 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
24244 <libm-alias-ldouble.h>.
24245 (fabsl): Define using libm_alias_ldouble.
24246
24247 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
24248 Remove conditional code.
24249
24250 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
24251 Rename to __clog10_internal_l.
24252 (__clog10_internal_l): Define aliases using
24253 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
24254 with __clog10.
24255
24256 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24257
24258 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
24259 * benchtests/sincosf-inputs: New file.
24260 * benchtests/cosf-inputs: New file.
24261 * benchtests/sinf-inputs: New file.
24262
24263 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24264
24265 * posix/tst-spawn.c (do_test): Wait for both children.
24266
24267 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
24268
24269 [BZ #22284]
24270 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
24271 tests-pie): Add tst-gmon-pie.
24272 (CFLAGS-tst-gmon-pie.c): New.
24273 (CRT-tst-gmon-pie): Likewise.
24274 (tst-gmon-pie-ENV): Likewise.
24275 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
24276 ($(objpfx)tst-gmon-pie.out): Likewise.
24277 (clean-tst-gmon-pie-data): Likewise.
24278 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
24279 * gmon/gmon.c [PIC]: Include <link.h>.
24280 [PIC] (callback): New function.
24281 (write_hist): Add an argument for load address. Subtract load
24282 address from PCs.
24283 (write_call_graph): Likewise.
24284 (write_gmon): Call __dl_iterate_phdr to get load address, pass
24285 it to write_hist and write_call_graph.
24286 * gmon/tst-gmon-pie.c: New file.
24287
24288 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24289
24290 * math/Makefile (test-types-basic): New variable.
24291 (test-types): Likewise.
24292 (libm-test-support): Use $(test-types) instead of $(types).
24293 (libm-tests-base-normal): Likewise.
24294 (libm-tests-base-finite): Likewise.
24295 (libm-tests-base-inline): Likewise.
24296 (generated): Likewise.
24297 ($(objpfx)libm-test-support-$(t).c): Likewise.
24298 (libm-tests-for-type iterator): Likewise.
24299 (libm-test-support iterator): Likewise.
24300 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
24301 (ulp_idx): Use ULP_IDX.
24302 * math/test-ldouble.h: Include <float.h>.
24303 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
24304 (ULP_IDX): New macro.
24305 (ULP_I_IDX): Likewise.
24306 * math/test-double.h (ULP_IDX): Likewise.
24307 (ULP_I_IDX): Likewise.
24308 * math/test-float.h (ULP_IDX): Likewise.
24309 (ULP_I_IDX): Likewise.
24310 * math/test-float128.h (ULP_IDX): Likewise.
24311 (ULP_I_IDX): Likewise.
24312
24313 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24314
24315 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
24316 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24317 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24318 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
24319 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24320 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
24321 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
24322 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24323 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24324 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24325 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
24326 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24327 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24328 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24329 (SINGLE_THREAD_BY_GLOBAL): Define.
24330 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24331 Likewise.
24332 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24333 Likewise.
24334 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24335 Likewise.
24336 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24337 Likewise.
24338 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
24339 (SINGLE_THREAD_BY_GLOBAL): Likewise.
24340 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24341 Likewise.
24342
24343 2017-10-11 Andreas Schwab <schwab@suse.de>
24344
24345 * nis/Makefile (aux): Remove.
24346 * nscd/Makefile (aux): Add nscd_hash.
24347 (nscd-modules): Likewise.
24348 ($(objpfx)nscd): Don't depend on libnsl.
24349 * nscd/nscd_hash.c: New file.
24350 * nscd/nscd_hash.h: Likewise.
24351 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
24352 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
24353 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
24354 instead of <nis/rpcsvc/nis.h>.
24355 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
24356
24357 2017-10-11 Florian Weimer <fweimer@redhat.com>
24358
24359 [BZ #22078]
24360 Avoid large NSS buffers with many addresses, aliases.
24361 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
24362 using dynarrays and struct alloc_buffer.
24363 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
24364 (tst-nss-files-hosts-multi): Link with -ldl.
24365 * nss/tst-nss-files-hosts-multi.c: New file.
24366
24367 2017-10-11 Florian Weimer <fweimer@redhat.com>
24368
24369 [BZ #18023]
24370 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
24371 scratch_buffer. Eliminate gotos.
24372
24373 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24374
24375 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
24376 libm_alias_ldouble_other.
24377 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
24378 undefine and redefine.
24379 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
24380 (exp10l): Do not define here.
24381 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
24382 (weak_alias): Undefine and redefine.
24383 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
24384 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
24385 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
24386 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
24387
24388 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
24389 [!__fma] (fma): Define using libm_alias_double.
24390 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
24391 [!__fmaf] (fmaf): Define using libm_alias_float.
24392 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
24393 (fmal): Define using libm_alias_ldouble.
24394
24395 2017-10-10 Joseph Myers <joseph@codesourcery.com>
24396
24397 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
24398 New macro.
24399 (libm_alias_double_other): Likewise.
24400 (libm_alias_double_r): Use libm_alias_double_other_r.
24401 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
24402 New macro.
24403 (libm_alias_float_other): Likewise.
24404 (libm_alias_float_r): Use libm_alias_float_other_r.
24405 * sysdeps/generic/libm-alias-float128.h
24406 (libm_alias_float128_other_r): New macro.
24407 (libm_alias_float128_other): Likewise.
24408 (libm_alias_float128_r): Use libm_alias_float128_other_r.
24409 * sysdeps/generic/libm-alias-ldouble.h
24410 (libm_alias_ldouble_other_r): New macro.
24411 (libm_alias_ldouble_other): Likewise.
24412 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24413 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24414 (libm_alias_double_other_r): New macro.
24415 (libm_alias_double_other): Likewise.
24416 (libm_alias_double_r): Use libm_alias_double_other_r.
24417 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24418 (libm_alias_ldouble_other_r): New macro.
24419 (libm_alias_ldouble_other): Likewise.
24420 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24421 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
24422 [!USE_AS_COMPAT]: Use libm_alias_double_other.
24423 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
24424 [!USE_AS_COMPAT]: Use libm_alias_float_other.
24425 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
24426 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
24427 * math/w_exp2f.c: Use libm_alias_float_other.
24428 * math/w_expf.c: Likewise.
24429 * math/w_log2f.c: Likewise.
24430 * math/w_logf.c: Likewise.
24431 * math/w_powf.c: Likewise.
24432 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
24433 [!__exp2f]: Use libm_alias_float_other.
24434 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
24435 [!__expf]: Use libm_alias_float_other.
24436 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
24437 [!__log2f]: Use libm_alias_float_other.
24438 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
24439 [!__logf]: Use libm_alias_float_other.
24440 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
24441 [!__powf]: Use libm_alias_float_other.
24442
24443 2017-10-10 Florian Weimer <fweimer@redhat.com>
24444
24445 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
24446 function.
24447 (_nss_files_gethostbyname3_r): Call it.
24448
24449 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24450
24451 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
24452 error. Remove default definition of declare_mgen_alias.
24453 [!declare_mgen_alias_r]: Likewise.
24454 * sysdeps/generic/math-type-macros-double.h
24455 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
24456 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
24457 (declare_mgen_alias_r): Likewise.
24458 * sysdeps/generic/math-type-macros-float128.h
24459 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24460 * sysdeps/generic/math-type-macros-ldouble.h
24461 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24462 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
24463 macro.
24464 (declare_mgen_alias_r_s): Likewise.
24465 (declare_mgen_alias_r): Likewise.
24466 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
24467 (lgamma_r): Define using libm_alias_double_r.
24468 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
24469 (lgammaf_r): Define using libm_alias_float_r.
24470 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
24471 (lgammal_r): Define using libm_alias_ldouble_r.
24472 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
24473 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
24474
24475 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24476
24477 * lib/glob.c (__glob_pattern_type): Remove now-spurious
24478 extern declaration.
24479
24480 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24481
24482 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
24483
24484 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
24485
24486 [BZ #21326]
24487 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
24488 [__cplusplus >= 201103] (__USE_ISOC99): Define.
24489 * math/Makefile (test-math-cxx11): New test.
24490 * math/test-math-cxx11.cc: New file.
24491
24492 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
24493
24494 * login/openpty.c (openpty): Close slave pty file descriptor on error.
24495
24496 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
24497 call to allocate the slave pty file descriptor.
24498
24499 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24500
24501 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
24502 [!__fma] (fma): Define using libm_alias_double.
24503 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
24504 [!__fma] (fma): Define using libm_alias_double.
24505
24506 * sysdeps/ieee754/float128/float128_private.h: Include
24507 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
24508 (libm_alias_ldouble_r): Undefine and redefine.
24509 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
24510 <libm-alias-ldouble.h>.
24511 (asinhl): Define using libm_alias_ldouble.
24512 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
24513 <libm-alias-ldouble.h>.
24514 (atanl): Define using libm_alias_ldouble.
24515 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
24516 <libm-alias-ldouble.h>.
24517 (cbrtl): Define using libm_alias_ldouble.
24518 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
24519 <libm-alias-ldouble.h>.
24520 (ceill): Define using libm_alias_ldouble.
24521 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
24522 <libm-alias-ldouble.h>.
24523 (copysignl): Define using libm_alias_ldouble.
24524 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
24525 <libm-alias-ldouble.h>.
24526 (cosl): Define using libm_alias_ldouble.
24527 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
24528 <libm-alias-ldouble.h>.
24529 (erfl): Define using libm_alias_ldouble.
24530 (erfcl): Likewise.
24531 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
24532 <libm-alias-ldouble.h>.
24533 (expm1l): Define using libm_alias_ldouble.
24534 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
24535 <libm-alias-ldouble.h>.
24536 (fabsl): Define using libm_alias_ldouble.
24537 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
24538 <libm-alias-ldouble.h>.
24539 (floorl): Define using libm_alias_ldouble.
24540 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
24541 <libm-alias-ldouble.h>.
24542 (fmal): Define using libm_alias_ldouble.
24543 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
24544 <libm-alias-ldouble.h>.
24545 (frexpl): Define using libm_alias_ldouble.
24546 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
24547 libm_alias_ldouble.
24548 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
24549 <libm-alias-ldouble.h>.
24550 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
24551 libm_alias_ldouble.
24552 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
24553 <libm-alias-ldouble.h>.
24554 (getpayloadl): Define using libm_alias_ldouble.
24555 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
24556 <libm-alias-ldouble.h>.
24557 (llrintl): Define using libm_alias_ldouble.
24558 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
24559 <libm-alias-ldouble.h>.
24560 (llroundl): Define using libm_alias_ldouble.
24561 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
24562 <libm-alias-ldouble.h>.
24563 (logbl): Define using libm_alias_ldouble.
24564 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
24565 <libm-alias-ldouble.h>.
24566 (lrintl): Define using libm_alias_ldouble.
24567 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
24568 <libm-alias-ldouble.h>.
24569 (lroundl): Define using libm_alias_ldouble.
24570 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
24571 <libm-alias-ldouble.h>.
24572 (modfl): Define using libm_alias_ldouble.
24573 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
24574 <libm-alias-ldouble.h>.
24575 (nearbyintl): Define using libm_alias_ldouble.
24576 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
24577 <libm-alias-ldouble.h>.
24578 (nextafterl): Define using libm_alias_ldouble.
24579 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
24580 <libm-alias-ldouble.h>.
24581 (nextupl): Define using libm_alias_ldouble.
24582 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
24583 <libm-alias-ldouble.h>.
24584 (remquol): Define using libm_alias_ldouble.
24585 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
24586 <libm-alias-ldouble.h>.
24587 (rintl): Define using libm_alias_ldouble.
24588 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
24589 <libm-alias-ldouble.h>.
24590 (roundevenl): Define using libm_alias_ldouble.
24591 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
24592 <libm-alias-ldouble.h>.
24593 (roundl): Define using libm_alias_ldouble.
24594 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
24595 using libm_alias_ldouble.
24596 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
24597 <libm-alias-ldouble.h>.
24598 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
24599 Define using libm_alias_ldouble.
24600 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
24601 <libm-alias-ldouble.h>.
24602 (sincosl): Define using libm_alias_ldouble.
24603 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
24604 <libm-alias-ldouble.h>.
24605 (sinl): Define using libm_alias_ldouble.
24606 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
24607 <libm-alias-ldouble.h>.
24608 (tanhl): Define using libm_alias_ldouble.
24609 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
24610 <libm-alias-ldouble.h>.
24611 (tanl): Define using libm_alias_ldouble.
24612 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
24613 <libm-alias-ldouble.h>.
24614 (totalorderl): Define using libm_alias_ldouble.
24615 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
24616 <libm-alias-ldouble.h>.
24617 (totalordermagl): Define using libm_alias_ldouble.
24618 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
24619 <libm-alias-ldouble.h>.
24620 (truncl): Define using libm_alias_ldouble.
24621 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
24622 libm_alias_ldouble.
24623 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
24624 libm_alias_ldouble.
24625 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
24626 <libm-alias-ldouble.h>.
24627 (weak_alias): Do not undefine and redefine.
24628 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24629 (copysignl): Define with long_double_symbol only if [IS_IN
24630 (libc)].
24631 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
24632 <libm-alias-ldouble.h>.
24633 (weak_alias): Do not undefine and redefine.
24634 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24635 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
24636 * sysdeps/ieee754/ldbl-64-128/s_modfl.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 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
24641 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
24642 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
24643 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
24644 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
24645 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
24646 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
24647 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
24648 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
24649 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
24650 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
24651 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
24652 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
24653 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
24654 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
24655 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
24656 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
24657 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
24658 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
24659 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
24660 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
24661 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
24662 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
24663 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
24664 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
24665
24666 2017-10-06 Carlos O'Donell <carlos@redhat.com>
24667
24668 [BZ #22111]
24669 * malloc/malloc.c (tcache_shutting_down): Use bool type.
24670 (tcache_thread_freeres): Set tcache_shutting_down before
24671 freeing the tcache.
24672 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
24673 * malloc/tst-malloc-tcache-leak.c: New file.
24674
24675 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24676
24677 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
24678 back to powerpc32 file.
24679 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
24680 (memrchr): Add __memrchr_power8 to ifunc list.
24681 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
24682 extra bytes for unaligned inputs.
24683
24684 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24685
24686 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
24687 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
24688 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
24689 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24690 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24691
24692 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24693
24694 * sysdeps/arm/libm-test-ulps: Update.
24695
24696 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
24697 <libm-alias-ldouble.h>.
24698 (asinhl): Define using libm_alias_ldouble.
24699 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
24700 <libm-alias-ldouble.h>.
24701 (cbrtl): Define using libm_alias_ldouble.
24702 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
24703 <libm-alias-ldouble.h>.
24704 (copysignl): Define using libm_alias_ldouble.
24705 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
24706 <libm-alias-ldouble.h>.
24707 (cosl): Define using libm_alias_ldouble.
24708 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
24709 <libm-alias-ldouble.h>.
24710 (erfl): Define using libm_alias_ldouble.
24711 (erfcl): Likewise.
24712 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
24713 <libm-alias-ldouble.h>.
24714 (fmal): Define using libm_alias_ldouble.
24715 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
24716 <libm-alias-ldouble.h>.
24717 (frexpl): Define using libm_alias_ldouble.
24718 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
24719 libm_alias_ldouble.
24720 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
24721 <libm-alias-ldouble.h>.
24722 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
24723 libm_alias_ldouble.
24724 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
24725 <libm-alias-ldouble.h>.
24726 (getpayloadl): Define using libm_alias_ldouble.
24727 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
24728 <libm-alias-ldouble.h>.
24729 (llrintl): Define using libm_alias_ldouble.
24730 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
24731 <libm-alias-ldouble.h>.
24732 (llroundl): Define using libm_alias_ldouble.
24733 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
24734 <libm-alias-ldouble.h>.
24735 (lrintl): Define using libm_alias_ldouble.
24736 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
24737 <libm-alias-ldouble.h>.
24738 (lroundl): Define using libm_alias_ldouble.
24739 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
24740 <libm-alias-ldouble.h>.
24741 (modfl): Define using libm_alias_ldouble.
24742 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
24743 <libm-alias-ldouble.h>.
24744 (nextupl): Define using libm_alias_ldouble.
24745 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
24746 <libm-alias-ldouble.h>.
24747 (remquol): Define using libm_alias_ldouble.
24748 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
24749 <libm-alias-ldouble.h>.
24750 (roundevenl): Define using libm_alias_ldouble.
24751 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
24752 <libm-alias-ldouble.h>.
24753 (roundl): Define using libm_alias_ldouble.
24754 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
24755 using libm_alias_ldouble.
24756 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
24757 <libm-alias-ldouble.h>.
24758 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
24759 <libm-alias-ldouble.h>.
24760 (setpayloadsigl): Define using libm_alias_ldouble.
24761 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
24762 <libm-alias-ldouble.h>.
24763 (sincosl): Define using libm_alias_ldouble.
24764 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
24765 <libm-alias-ldouble.h>.
24766 (sinl): Define using libm_alias_ldouble.
24767 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
24768 <libm-alias-ldouble.h>.
24769 (tanhl): Define using libm_alias_ldouble.
24770 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
24771 <libm-alias-ldouble.h>.
24772 (tanl): Define using libm_alias_ldouble.
24773 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
24774 <libm-alias-ldouble.h>.
24775 (totalorderl): Define using libm_alias_ldouble.
24776 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
24777 <libm-alias-ldouble.h>.
24778 (totalordermagl): Define using libm_alias_ldouble.
24779 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
24780 libm_alias_ldouble.
24781 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
24782 libm_alias_ldouble.
24783
24784 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
24785
24786 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
24787 memmove_falkor.
24788 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24789 (__libc_ifunc_impl_list): Likewise.
24790 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
24791 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
24792
24793 * benchtests/bench-memmove-walk.c: New file.
24794 * benchtests/Makefile (string-benchset): Add it.
24795
24796 * benchtests/bench-memset-walk.c: New file.
24797 * benchtests/Makefile (string-benchset): Add it.
24798
24799 * benchtests/bench-memcpy-walk.c: New file.
24800 * benchtests/Makefile (string-benchset): Add it.
24801
24802 2017-10-05 Florian Weimer <fweimer@redhat.com>
24803
24804 nscd: Eliminate compilation time dependency in the build output.
24805 * nscd/nscd_stat.c (STATDATA_VERSION)
24806 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
24807 (STATDATA_VERSION_FULL): New macro definitions.
24808 (compilation): Remove.
24809 (struct statdata): Adjust version member.
24810 (send_stats): Set version from STATDATA_VERSION_FULL.
24811 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
24812
24813 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24814
24815 * configure.ac (--enable-add-ons): Remove option.
24816 (machine): Do not mention add-ons in comment.
24817 (LIBC_PRECONFIGURE): Likewise.
24818 (add_ons): Remove variable and sanity checks and logic to locate
24819 add-ons.
24820 (add_ons_automatic): Remove variable.
24821 (configured_add_ons): Likewise.
24822 (add_ons_sfx): Likewise.
24823 (add_ons_pfx): Likewise.
24824 (add_on_subdirs): Likewise.
24825 (sysnames_add_ons): Likewise. Remove loop over add-ons and
24826 consideration of add-ons in Implies handling.
24827 (sysdeps_add_ons): Likewise.
24828 * configure: Regenerated.
24829 * libidn/configure.ac: Remove.
24830 * libidn/configure: Likewise.
24831 * sysdeps/unix/inet/configure.ac: New file.
24832 * sysdeps/unix/inet/configure: New generated file.
24833 * sysdeps/unix/inet/Subdirs: Add libidn.
24834 * Makeconfig (sysdeps-srcdirs): Remove variable.
24835 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
24836 ($(common-objpfx)config.status): Do not depend on add-on files.
24837 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
24838 comment.
24839 (all-subdirs): Do not include $(add-on-subdirs).
24840 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
24841 * config.make.in (add-ons): Remove variable.
24842 (add-on-subdirs): Likewise.
24843 (sysdeps-add-ons): Likewise.
24844 * manual/Makefile (add-chapters): Remove.
24845 ($(objpfx)texis): Do not depend on $(add-chapters).
24846 (nonexamples): Do not handle $(add-chapters).
24847 (examples): Do not handle $(add-ons).
24848 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
24849 libc-texinfo.sh.
24850 * manual/install.texi (Installation): Do not mention add-ons.
24851 (--enable-add-ons): Do not document configure option.
24852 * INSTALL: Regenerated.
24853 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
24854 * manual/maint.texi (Hierarchy Conventions): Do not mention
24855 add-ons.
24856 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
24857 --enable-add-ons.
24858 * scripts/gen-sorted.awk: Do not handle Subdirs files from
24859 add-ons.
24860 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
24861 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
24862
24863 2017-10-05 Andreas Schwab <schwab@suse.de>
24864
24865 [BZ #15142]
24866 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
24867 (_IO_flush_all_lockp): Always lock list_all_lock.
24868 (_IO_flush_all_linebuffered): Likewise.
24869 (_IO_unbuffer_all): Likewise.
24870
24871 2017-10-05 Florian Weimer <fweimer@redhat.com>
24872
24873 [BZ #15436]
24874 Do not flush stdio streams on abort.
24875 * stdlib/abort.c (fflush): Remove macro definition.
24876 (abort): Remove stages related to stdio flushing.
24877
24878 2017-10-05 Florian Weimer <fweimer@redhat.com>
24879
24880 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
24881
24882 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
24883
24884 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24885
24886 2017-10-05 Florian Weimer <fweimer@redhat.com>
24887
24888 * support/support_format_hostent.c (support_format_hostent): Add
24889 more error information for NETDB_INTERNAL.
24890
24891 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24892
24893 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
24894 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
24895 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
24896 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
24897 AC_DEFINE if multi-arch is enabled.
24898 * sysdeps/i386/configure: Regenerated.
24899
24900 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24901
24902 * Makeconfig (+link-static-before-libc): Use
24903 $(DEFAULT-LDFLAGS-$(@F)).
24904 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
24905 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
24906 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
24907
24908 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24909
24910 * elf/Makefile (tests): Add tst-main1.
24911 (modules-names): Add tst-main1mod.
24912 ($(objpfx)tst-main1): New.
24913 (CRT-tst-main1): Likewise.
24914 (LDFLAGS-tst-main1): Likewise.
24915 (LDLIBS-tst-main1): Likewise.
24916 (tst-main1mod.so-no-z-defs): Likewise.
24917 * elf/tst-main1.c: New file.
24918 * elf/tst-main1mod.c: Likewise.
24919
24920 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24921
24922 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
24923
24924 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24925
24926 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
24927 (fma): Define using libm_alias_double.
24928 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
24929 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
24930 <math_ldbl_opt.h>.
24931 (fmal): Do not define as compat symbol here.
24932 * sysdeps/alpha/fpu/s_fma.c: New file.
24933
24934 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24935
24936 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
24937
24938 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24939
24940 [BZ #22229]
24941 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24942 <math_ldbl_opt.h>
24943 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24944 and libc.
24945 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
24946 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24947 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
24948 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
24949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24950 Include <math_ldbl_opt.h>
24951 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24952 and libc.
24953 (compat_symbol): Undefine and redefine.
24954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24955 <math_ldbl_opt.h>
24956 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24957 (compat_symbol): Undefine and redefine.
24958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
24959 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
24960 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
24961 GLIBC_2_1 for libm.
24962 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
24963 GLIBC_2.0 copysignl symbol.
24964 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24965 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
24966
24967 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
24968
24969 2017-10-04 Florian Weimer <fweimer@redhat.com>
24970
24971 * scripts/check-local-headers.sh: Ignore nspr4 header file
24972 directory in addition to nspr.
24973
24974 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
24975
24976 [BZ #17956]
24977 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
24978 * configure: Regenerate.
24979 * crypt/Makefile (nss-cpp-flags): New variable.
24980 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
24981 (CPPFLAGS-md5-crypt.c): Use it.
24982 * scripts/check-local-headers.sh: Ignore nspr header file
24983 directory.
24984
24985 2017-10-04 Andreas Schwab <schwab@suse.de>
24986
24987 * nis/Makefile (services): Remove compat.
24988 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
24989 ($(objpfx)libnss_compat.so): Remove rule.
24990 * nis/Versions (libnss_compat): Remove.
24991 * nss/Makefile (services): Add compat.
24992 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
24993 * nss/Versions (libnss_compat): Define.
24994 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
24995 Don't include <rpc/types.h>. Replace bool_t by bool.
24996 * nss/nss_compat/compat-initgroups.c: Likewise.
24997 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
24998 instead of <rpcsrv/ypclnt.h>.
24999 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
25000 yp_get_default_domain.
25001 * nss/nss_compat/compat-pwd.c: Likewise.
25002 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
25003 yp_get_default_domain.
25004 * nss/nss_compat/nisdomain.c: New file.
25005 * nss/nss_compat/nisdomain.h: Likewise.
25006
25007 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25008
25009 [BZ #22244]
25010 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
25011 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25012
25013 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25014
25015 [BZ #22243]
25016 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
25017 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
25018
25019 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25020
25021 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
25022 "movl main@GOTOFF(%ebx), %eax".
25023
25024 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25025
25026 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
25027 allow undefined _DYNAMIC in PIE libc.a.
25028 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
25029 Likewse.
25030
25031 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25032
25033 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
25034 check _DYNAMIC.
25035
25036 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25037
25038 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
25039 check _DYNAMIC.
25040
25041 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25042
25043 * math/test-math-iscanonical.cc (error): Replace bool with int.
25044
25045 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25046
25047 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
25048 (modf): Define using libm_alias_double, only if [!__modf].
25049 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
25050 <libm-alias-double.h>.
25051 (modf): Define using libm_alias_double, only if [!__modf].
25052 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
25053 compat symbol here.
25054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
25055 (weak_alias): Do not undefine and redefine.
25056 (strong_alias): Likewise.
25057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
25058 (weak_alias): Likewise.
25059 (strong_alias): Likewise.
25060
25061 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
25062 (logb): Define using libm_alias_double, only if [!__logb].
25063 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
25064 <libm-alias-double.h>.
25065 (logb): Define using libm_alias_double, only if [!__logb].
25066 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
25067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
25068 (weak_alias): Do not undefine and redefine.
25069 (strong_alias): Likewise.
25070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
25071 (weak_alias): Likewise.
25072 (strong_alias): Likewise.
25073
25074 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25075
25076 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
25077 Check SHARED instead PIC.
25078
25079 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25080
25081 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
25082 [!__fmaf] (fmaf): Define using libm_alias_float.
25083
25084 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
25085 (frexp): Define using libm_alias_double.
25086 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
25087 <libm-alias-double.h>.
25088 (frexp): Define using libm_alias_double.
25089 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
25090 compat symbol here.
25091
25092 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25093
25094 [BZ #22235]
25095 * math/math.h: Trivial fix for unbalanced parentheses in comment.
25096 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
25097 (CFLAGS-test-math-iscanonical.cc): New variable.
25098 * math/test-math-iscanonical.cc: New file.
25099 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
25100 Provide a C++ implementation based on function overloading,
25101 rather than using __MATH_TG, which uses C-only builtins.
25102 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
25103 Likewise.
25104 * sysdeps/powerpc/powerpc64le/Makefile
25105 (CFLAGS-test-math-iscanonical.cc): New variable.
25106
25107 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25108
25109 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
25110 (ceil): Define using libm_alias_double.
25111 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
25112 (floor): Define using libm_alias_double.
25113 * sysdeps/ieee754/dbl-64/s_llround.c: Include
25114 <libm-alias-double.h>.
25115 (llround): Define using libm_alias_double.
25116 * sysdeps/ieee754/dbl-64/s_lround.c: Include
25117 <libm-alias-double.h>.
25118 (lround): Define using libm_alias_double.
25119 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
25120 <libm-alias-double.h>.
25121 (nearbyint): Define using libm_alias_double.
25122 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
25123 <libm-alias-double.h>.
25124 (remquo): Define using libm_alias_double.
25125 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
25126 (rint): Define using libm_alias_double.
25127 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
25128 (round): Define using libm_alias_double.
25129 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
25130 (trunc): Define using libm_alias_double.
25131 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
25132 <libm-alias-double.h>.
25133 (ceil): Define using libm_alias_double.
25134 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
25135 <libm-alias-double.h>.
25136 (floor): Define using libm_alias_double.
25137 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
25138 <libm-alias-double.h>.
25139 (llround): Define using libm_alias_double.
25140 [_LP64] (lround): Likewise.
25141 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
25142 <libm-alias-double.h>.
25143 [!_LP64] (lround): Define using libm_alias_double.
25144 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
25145 <libm-alias-double.h>.
25146 (nearbyint): Define using libm_alias_double.
25147 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
25148 <libm-alias-double.h>.
25149 (remquo): Define using libm_alias_double.
25150 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
25151 <libm-alias-double.h>.
25152 (rint): Define using libm_alias_double.
25153 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
25154 <libm-alias-double.h>.
25155 (round): Define using libm_alias_double.
25156 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
25157 <libm-alias-double.h>.
25158 (trunc): Define using libm_alias_double.
25159 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
25160 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
25161 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
25162 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
25163 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
25164 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
25165 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
25166 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
25167 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
25168
25169 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25170
25171 * math/w_remainder.c: New file.
25172 * math/w_remainderf.c: New file.
25173 * math/w_remainderl.c: New file.
25174
25175 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25176
25177 * elf/rtld.c (BOOTSTRAP_MAP): New.
25178 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
25179 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25180 Likewise.
25181 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25182 Likewise.
25183 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25184 Likewise.
25185
25186 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
25187
25188 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
25189 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
25190 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
25191 rtld_hidden_data_ver): Define to empty.
25192 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
25193 __assert_perror_fail): Likewise.
25194 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25195 (__rewinddir): Likewise.
25196 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25197 (__profile_frequency): Likewise.
25198 * include/setjmp.h (__sigsetjmp): Likewise.
25199 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
25200 __libc_sigaction): Likewise.
25201 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
25202 not set hidden attribute.
25203 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
25204 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
25205 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
25206 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
25207 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
25208 __fxstatat64): Likewise.
25209 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25210 (__uname): Likewise.
25211 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25212 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
25213 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
25214 (NO_RTLD_HIDDEN): Set.
25215 * sysdeps/mach/hurd/configure: Refresh.
25216 * config.h.in: Refresh.
25217
25218 2017-10-02 Joseph Myers <joseph@codesourcery.com>
25219
25220 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
25221 (atan): Define using libm_alias_double.
25222 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
25223 (tan): Define using libm_alias_double.
25224 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
25225 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
25226
25227 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
25228 define as weak alias of __atan. Do not define any aliases if
25229 [__atan].
25230 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
25231 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
25232 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
25233 as weak alias of __tan. Do not define any aliases if [__tan].
25234 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
25235 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
25236 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
25237 __atan.
25238 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
25239 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
25240 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
25241 and define as weak alias of __atan.
25242 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
25243 __atan.
25244 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
25245 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
25246 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
25247 define as weak alias of __tan.
25248
25249 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25250
25251 * math/w_lgamma.c: New file.
25252 * math/w_lgammaf.c: New file.
25253 * math/w_lgammal.c: New file.
25254
25255 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25256
25257 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
25258 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
25259 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
25260 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
25261 * sysdeps/ieee754/flt-32/w_logf.c: New file.
25262 * sysdeps/ieee754/flt-32/w_powf.c: New file.
25263 * sysdeps/i386/fpu/w_log2f.c: New file.
25264 * sysdeps/i386/fpu/w_logf.c: New file.
25265 * sysdeps/i386/fpu/w_powf.c: New file.
25266 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
25267 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
25268 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
25269
25270 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25271 H.J. Lu <hongjiu.lu@intel.com>
25272
25273 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
25274 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
25275 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
25276 * sysdeps/ieee754/flt-32/w_expf.c: New file.
25277 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
25278 the new expf code.
25279 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
25280 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
25281 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
25282 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
25283 * sysdeps/i386/fpu/w_exp2f.c: New file.
25284 * sysdeps/i386/fpu/w_expf.c: New file.
25285 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
25286 * sysdeps/x86_64/fpu/w_expf.c: New file.
25287
25288 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25289
25290 * math/Versions (logf): New libm symbol at GLIBC_2.27.
25291 (log2f): Likewise.
25292 (powf): Likewise.
25293 * math/w_log2f.c: New file.
25294 * math/w_logf.c: New file.
25295 * math/w_powf.c: New file.
25296 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
25297 * math/w_logf_compat.c (__logf_compat): Likewise.
25298 * math/w_powf_compat.c (__powf_compat): Likewise.
25299 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
25300 * sysdeps/ia64/fpu/e_logf.S: Likewise.
25301 * sysdeps/ia64/fpu/e_powf.S: Likewise.
25302 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
25303 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25304 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25305 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25306 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25307 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25308 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25309 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25310 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25311 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25312 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25313 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25315 Likewise.
25316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25317 Likewise.
25318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25319 Likewise.
25320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25321 Likewise.
25322 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25323 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25324 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25325 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25326 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25328 Likewise.
25329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25330 Likewise.
25331 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25332 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25333 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25334
25335 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25336
25337 * sysdeps/powerpc/powerpc64/multiarch/Makefile
25338 (sysdep_routines): Add memrchr_power8.
25339 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25340 (memrchr): Add __memrchr_power8 to list of memrchr functions.
25341 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
25342 New file.
25343 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25344 (memrchr): Add __memrchr_power8 to ifunc list.
25345 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
25346
25347 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25348
25349 [BZ #18822]
25350 * sysdeps/unix/sysv/linux/posix_fadvise64.c
25351 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
25352 libc_hidden_def.
25353 * sysdeps/unix/sysv/linux/posix_fallocate64.c
25354 (__posix_fallocate64_l64): Likewise.
25355
25356 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25357
25358 [BZ #18822]
25359 * sysdeps/unix/sysv/linux/sched_setaffinity.c
25360 (__sched_setaffinity_new): Add libc_hidden_proto and
25361 libc_hidden_def.
25362
25363 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25364
25365 [BZ #18822]
25366 * include/glob.h (__glob64): Add libc_hidden_proto.
25367 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
25368 libc_hidden_def.
25369
25370 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25371
25372 [BZ #18822]
25373 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
25374 attribute_hidden.
25375
25376 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25377
25378 [BZ #18822]
25379 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
25380
25381 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25382
25383 [BZ #18822]
25384 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
25385 libc_hidden_def.
25386
25387 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25388
25389 [BZ #18822]
25390 * csu/version.c (__libc_print_version): Add attribute_hidden.
25391
25392 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25393
25394 [BZ #18822]
25395 * include/libc-internal.h (__init_misc): Add attribute_hidden.
25396
25397 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25398
25399 [BZ #18822]
25400 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
25401
25402 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25403
25404 [BZ #18822]
25405 * nscd/nscd_helper.c (__nis_hash): New prototype.
25406
25407 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25408
25409 [BZ #18822]
25410 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
25411 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
25412 libc_hidden_def.
25413 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25414 * termios/tcgetattr.c (__tcgetattr): Likewise.
25415
25416 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25417
25418 [BZ #18822]
25419 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
25420 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
25421 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
25422 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
25423 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
25424
25425 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25426
25427 [BZ #18822]
25428 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
25429
25430 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25431
25432 [BZ #18822]
25433 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
25434 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
25435
25436 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25437
25438 [BZ #18822]
25439 * intl/hash-string.h (__hash_string): Add attribute_hidden.
25440
25441 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25442
25443 [BZ #18822]
25444 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
25445 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
25446
25447 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25448
25449 [BZ #18822]
25450 * include/ifreq.h: New file.
25451 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
25452 (__ifreq): Likewise.
25453 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
25454 (__ifreq): Likewise.
25455
25456 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25457
25458 [BZ #18822]
25459 * include/idna.h: New file.
25460 * inet/getnameinfo.c: Include <idna.h> instead of
25461 <libidn/idna.h>.
25462 (__idna_to_unicode_lzlz): Removed.
25463 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
25464 <libidn/idna.h>.
25465 (__idna_to_ascii_lz): Removed.
25466 (__idna_to_unicode_lzlz): Likewise.
25467
25468 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25469
25470 [BZ #18822]
25471 * include/plural-exp.h: New file.
25472 * intl/plural-exp.c: Include <plural-exp.h> instead of
25473 "plural-exp.h".
25474
25475 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25476
25477 [BZ #18822]
25478 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
25479 "getsourcefilter.h".
25480 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
25481 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
25482 "getsourcefilter.h".
25483 (__get_sol): Removed.
25484
25485 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25486
25487 [BZ #18822]
25488 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
25489 to ...
25490 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
25491
25492 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25493
25494 [BZ #18822]
25495 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
25496 attribute_hidden.
25497
25498 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25499
25500 [BZ #18822]
25501 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
25502
25503 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25504
25505 [BZ #18822]
25506 * include/search.h (__tdestroy): Add libc_hidden_proto.
25507 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
25508
25509 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25510
25511 [BZ #18822]
25512 * include/assert.h (__assert_fail_base): Add attribute_hidden.
25513
25514 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25515
25516 [BZ #18822]
25517 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
25518 attribute_hidden.
25519
25520 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25521
25522 [BZ #18822]
25523 * include/signal.h (__kill): Add libc_hidden_proto.
25524 (__sigblock): Likewise.
25525 (__sigprocmask): Likewise.
25526 (__sigaltstack): Likewise.
25527 * signal/kill.c (__kill): Add libc_hidden_def.
25528 * signal/sigblock.c (__sigblock): Likewise.
25529 * signal/sigprocmask.c (__sigprocmask): Likewise.
25530 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
25531 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
25532 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
25533 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
25534 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
25535 Likewise.
25536 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
25537 Likewise.
25538 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
25539 (__sigprocmask): Likewise.
25540 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
25541 Likewise.
25542 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
25543 (__sigprocmask): Likewise.
25544 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
25545 Likewise.
25546
25547 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25548
25549 [BZ #18822]
25550 * include/string.h (__strsep): Add libc_hidden_proto.
25551 * string/strsep.c (__strsep): Add libc_hidden_def.
25552
25553 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25554
25555 [BZ #18822]
25556 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
25557 attribute_hidden.
25558 (__spawni): Likewise.
25559
25560 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25561
25562 [BZ #18822]
25563 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
25564 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
25565 libc_hidden_def.
25566
25567 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25568
25569 [BZ #18822]
25570 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
25571
25572 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25573
25574 [BZ #18822]
25575 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
25576 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
25577 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
25578 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
25579 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
25580 Likewise.
25581 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
25582 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
25583
25584 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25585
25586 [BZ #18822]
25587 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
25588 (__dcigettext): Likewise.
25589
25590 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25591
25592 [BZ #18822]
25593 * include/sys/sysinfo.h (__get_nprocs_conf): Add
25594 libc_hidden_proto.
25595 (__get_nprocs): Likewise.
25596 (__get_phys_pages): Likewise.
25597 (__get_avphys_pages): Likewise.
25598 (__get_child_max): Add attribute_hidden.
25599 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
25600 (__get_nprocs): Likewise.
25601 (__get_phys_pages): Likewise.
25602 (__get_avphys_pages): Likewise.
25603 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
25604 libc_hidden_def.
25605 (__get_nprocs): Likewise.
25606 (__get_phys_pages): Likewise.
25607 (__get_avphys_pages): Likewise.
25608 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
25609 libc_hidden_def.
25610 (__get_nprocs_conf): Likewise.
25611 (__get_phys_pages): Likewise.
25612 (__get_avphys_pages): Likewise.
25613
25614 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25615
25616 [BZ #18822]
25617 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
25618 attribute_hidden.
25619 (__netlink_close): Likewise.
25620 (__netlink_free_handle): Likewise.
25621 (__netlink_request): Likewise.
25622
25623 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25624
25625 [BZ #18822]
25626 * include/rpc/rpc.h (__rpc_thread_variables): Add
25627 attribute_hidden.
25628 (__rpc_thread_svc_cleanup): Likewise.
25629 (__rpc_thread_clnt_cleanup): Likewise.
25630 (__rpc_thread_key_cleanup): Likewise.
25631
25632 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25633
25634 [BZ #18822]
25635 * include/sys/uio.h (__readv): Add libc_hidden_proto.
25636 (__writev): Likewise.
25637 * misc/readv.c (__readv): Add libc_hidden_def.
25638 * misc/writev.c (__writev): Likewise.
25639 * sysdeps/posix/readv.c (__readv): Likewise.
25640 * sysdeps/posix/writev.c (__writev): Likewise.
25641 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
25642 (__readv): Likewise.
25643 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
25644 (__writev): Likewise.
25645
25646 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25647
25648 [BZ #18822]
25649 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
25650 (__regcomp): Add libc_hidden_proto.
25651 (__regexec): Likewise.
25652 (__regfree): Likewise.
25653 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
25654 (__regfree): Likewise.
25655 * posix/regexec.c (__regexec): Likewise.
25656
25657 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25658
25659 [BZ #18822]
25660 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
25661 (__getutent): Likewise.
25662 (__getutid): Likewise.
25663 (__getutline): Likewise.
25664 (__pututline): Likewise.
25665 (__getutent_r): Likewise.
25666 (__getutid_r): Likewise.
25667 (__getutline_r): Likewise.
25668 (__utmpname): Add attribute_hidden.
25669 (__setutent): Likewise.
25670 (__endutent): Likewise.
25671 * login/getutent.c (__getutent): Add libc_hidden_def.
25672 * login/getutent_r.c (__getutent_r): Likewise.
25673 (__pututline): Likewise.
25674 * login/getutid.c (__getutid): Likewise.
25675 * login/getutid_r.c (__getutid_r): Likewise.
25676 * login/getutline.c (__getutline): Likewise.
25677 * login/getutline_r.c (__getutline_r): Likewise.
25678 * login/updwtmp.c (__updwtmp): Likewise.
25679
25680 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25681
25682 [BZ #18822]
25683 * include/dirent.h (__opendir): Always add attribute_hidden.
25684 (__fdopendir): Likewise.
25685 (__closedir): Likewise.
25686 (__readdir): Likewise.
25687 (__readdir64): Add libc_hidden_proto.
25688 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
25689 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
25690 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
25691 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
25692 New alias.
25693
25694 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25695
25696 [BZ #18822]
25697 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
25698 * include/netdb.h (__gethostbyaddr_r): Likewise.
25699 (__gethostbyname_r): Likewise.
25700 (__gethostbyname2_r): Likewise.
25701 (__getnetbyaddr_r): Likewise.
25702 (__getnetbyname_r): Likewise.
25703 (__getservbyname_r): Likewise.
25704 (__getservbyport_r): Likewise.
25705 (__getprotobyname_r): Likewise.
25706 (__getprotobynumber_r): Likewise.
25707 (__getnetgrent_r): Likewise.
25708 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
25709 (__getrpcbynumber_r): Likewise.
25710 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
25711
25712 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25713
25714 [BZ #18822]
25715 * include/stdio.h (__fcloseall): Add attribute_hidden.
25716 (__getline): Likewise.
25717 (__path_search): Likewise.
25718 (__gen_tempname): Likewise.
25719 (__libc_message): Likewise.
25720 (__flockfile): Likewise.
25721 (__funlockfile): Likewise.
25722 (__fxprintf): Likewise.
25723 (__fxprintf_nocancel): Likewise.
25724
25725 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25726
25727 [BZ #18822]
25728 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
25729 (__sgetsgent_r): Likewise.
25730
25731 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25732
25733 [BZ #18822]
25734 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
25735 (__statfs64): Likewise.
25736 (__fstatfs64): Likewise.
25737 * include/sys/statvfs.h (__statvfs64): Likewise.
25738 (__fstatvfs64): Likewise.
25739 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
25740 (__statfs_filesize_max): Likewise.
25741 (__statfs_symlinks): Likewise.
25742 (__statfs_chown_restricted): Likewise.
25743
25744 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25745
25746 [BZ #18822]
25747 * include/time.h (__tzstring): Add attribute_hidden.
25748 (__tzfile_read): Likewise.
25749 (__tzfile_compute): Likewise.
25750 (__tzfile_default): Likewise.
25751 (__tzset_parse_tz): Likewise.
25752 (__offtime): Likewise.
25753 (__asctime_r): Likewise.
25754 (__tzset): Likewise.
25755 (__tz_convert): Likewise.
25756 (__getdate_r): Likewise.
25757 (__getclktck): Likewise.
25758
25759 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25760
25761 [BZ #18822]
25762 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
25763 (__nscd_unmap): Likewise.
25764 (__nscd_cache_search): Likewise.
25765 (__nscd_get_nl_timestamp): Likewise.
25766 (__nscd_getpwnam_r): Likewise.
25767 (__nscd_getpwuid_r): Likewise.
25768 (__nscd_getgrnam_r): Likewise.
25769 (__nscd_getgrgid_r): Likewise.
25770 (__nscd_gethostbyname_r): Likewise.
25771 (__nscd_gethostbyname2_r): Likewise.
25772 (__nscd_gethostbyaddr_r): Likewise.
25773 (__nscd_getai): Likewise.
25774 (__nscd_getgrouplist): Likewise.
25775 (__nscd_getservbyname_r): Likewise.
25776 (__nscd_getservbyport_r): Likewise.
25777 (__nscd_innetgr): Likewise.
25778 (__nscd_setnetgrent): Likewise.
25779
25780 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25781
25782 [BZ #18822]
25783 * include/gmp.h: Declare internal functions only if _ISOMAC is
25784 undefined.
25785 (__mpn_extract_double): Add attribute_hidden.
25786 (__mpn_extract_long_double): Likewise.
25787 (__mpn_extract_float128): Likewise.
25788 (__mpn_construct_float): Likewise.
25789 (__mpn_construct_double): Likewise.
25790 (__mpn_construct_long_double): Likewise.
25791 (__mpn_construct_float128): Likewise.
25792 (mpn_add_1): Likewise.
25793 (mpn_addmul_1): Likewise.
25794 (mpn_add_n): Likewise.
25795 (mpn_cmp): Likewise.
25796 (mpn_divrem): Likewise.
25797 (mpn_lshift): Likewise.
25798 (mpn_mul): Likewise.
25799 (mpn_mul_1): Likewise.
25800 (mpn_rshift): Likewise.
25801 (mpn_sub_1): Likewise.
25802 (mpn_submul_1): Likewise.
25803 (mpn_sub_n): Likewise.
25804
25805 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25806
25807 [BZ #18822]
25808 * include/wchar.h (__wcsnlen): Add attribute_hidden.
25809 (__wcscat): Likewise.
25810 (__btowc): Likewise.
25811 (__wcrtomb): Likewise.
25812 (__mbsrtowcs): Likewise.
25813 (__wcsrtombs): Likewise.
25814 (__mbsnrtowcs): Likewise.
25815 (__wcsnrtombs): Likewise.
25816 (__wcsncpy): Likewise.
25817 (__wcpncpy): Likewise.
25818 (__wmemcpy): Likewise.
25819 (__wmempcpy): Likewise.
25820 (__wmemmove): Likewise.
25821 (__wcschrnul): Likewise.
25822 (__vfwscanf): Likewise.
25823 (__vswprintf): Likewise.
25824 (__fwprintf): Likewise.
25825 (__vfwprintf): Likewise.
25826
25827 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25828
25829 [BZ #18822]
25830 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
25831 (__getgrgid_r): Likewise.
25832 (__getgrnam_r): Likewise.
25833 * include/pwd.h (__getpwuid_r): Likewise.
25834 (__getpwnam_r): Likewise.
25835 (__fgetpwent_r): Likewise.
25836 * include/shadow.h (__getspnam_r): Likewise.
25837 (__sgetspent_r): Likewise.
25838 (__fgetspent_r): Likewise.
25839
25840 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25841
25842 [BZ #18822]
25843 * include/unistd.h (__access): Add attribute_hidden.
25844 (__lseek64): Likewise.
25845 (__libc_pread64): Likewise.
25846 (__pipe2): Likewise.
25847 (__sleep): Likewise.
25848 (__chdir): Likewise.
25849 (__fchdir): Likewise.
25850 (__getcwd): Likewise.
25851 (__rmdir): Likewise.
25852 (__execvpe): Likewise.
25853 (__execve): Likewise.
25854 (__setsid): Likewise.
25855 (__getuid): Likewise.
25856 (__geteuid): Likewise.
25857 (__getgid): Likewise.
25858 (__getegid): Likewise.
25859 (__getgroups): Likewise.
25860 (__group_member): Likewise.
25861 (__ttyname_r): Likewise.
25862 (__isatty): Likewise.
25863 (__readlink): Likewise.
25864 (__unlink): Likewise.
25865 (__gethostname): Likewise.
25866 (__profil): Likewise.
25867 (__getdtablesize): Likewise.
25868 (__brk): Likewise.
25869 (__ftruncate): Likewise.
25870 (__ftruncate64): Likewise.
25871
25872 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25873
25874 [BZ #18822]
25875 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
25876 * argp/argp-fs-xinl.c: Likewise.
25877 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
25878 * argp/argp-parse.c: Include <argp.h>.
25879 * argp/argp-xinl.c: Likewise.
25880 * include/argp-fmtstream.h: New file.
25881 * include/argp.h (__argp_error): Add attribute_hidden.
25882 (__argp_failure): Likewise.
25883 (__argp_input): Likewise.
25884 (__argp_state_help): Likewise.
25885
25886 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25887
25888 [BZ #18822]
25889 * include/wchar.h (____wcstof_l_internal): New prototype.
25890 (____wcstod_l_internal): Likewise.
25891 (____wcstold_l_internal): Likewise.
25892 (____wcstol_l_internal): Likewise.
25893 (____wcstoul_l_internal): Likewise.
25894 (____wcstoll_l_internal): Likewise.
25895 (____wcstoull_l_internal): Likewise.
25896 (____wcstof128_l_internal): Likewise.
25897 * sysdeps/ieee754/float128/wcstof128.c
25898 (____wcstof128_l_internal): Removed.
25899 * sysdeps/ieee754/float128/wcstof128_l.c
25900 (____wcstof128_l_internal): Likewise.
25901 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
25902 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
25903 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
25904 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
25905 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
25906 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
25907 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
25908 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
25909 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
25910 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
25911
25912 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25913
25914 [BZ #18822]
25915 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
25916 instead of <sys/statvfs.h>.
25917 (__internal_statvfs): Removed.
25918 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
25919 instead of <sys/statvfs.h>.
25920 (__internal_statvfs64): Removed.
25921 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
25922 "internal_statvfs.h" instead of <sys/statvfs.h>.
25923 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
25924 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
25925 instead of <sys/statvfs.h>.
25926 (__internal_statvfs): Removed.
25927 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
25928 instead of <sys/statvfs.h>.
25929 (__internal_statvfs64): Removed.
25930
25931 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25932
25933 [BZ #18822]
25934 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
25935 (__gconv_close): Likewise.
25936 (__gconv): Likewise.
25937 (__gconv_find_transform): Likewise.
25938 (__gconv_lookup_cache): Likewise.
25939 (__gconv_compare_alias_cache): Likewise.
25940 (__gconv_load_cache): Likewise.
25941 (__gconv_get_path): Likewise.
25942 (__gconv_close_transform): Likewise.
25943 (__gconv_release_cache): Likewise.
25944 (__gconv_find_shlib): Likewise.
25945 (__gconv_release_shlib): Likewise.
25946 (__gconv_get_builtin_trans): Likewise.
25947 (__gconv_compare_alias): Likewise.
25948 * include/dlfcn.h (_dlerror_run): Likewise.
25949 * include/stdio.h (__fortify_fail_abort): Likewise.
25950 * include/time.h (__tz_compute): Likewise.
25951 (__strptime_internal): Likewise.
25952 * intl/gettextP.h (_nl_find_domain): Likewise.
25953 (_nl_load_domain): Likewise.
25954 (_nl_find_msg): Likewise.
25955 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
25956 (EXTRACT_PLURAL_EXPRESSION): Likewise.
25957 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
25958 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
25959 (__gai_find_request): Likewise.
25960 (__gai_remove_request): Likewise.
25961 (__gai_notify): Likewise.
25962 (__gai_notify_only): Likewise.
25963 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
25964 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
25965 (_dl_non_dynamic_init): Likewise.
25966 (_dl_aux_init): Likewise.
25967 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
25968 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
25969 Likewise.
25970 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
25971 (__wcsmbs_clone_conv): Likewise.
25972 (__wcsmbs_named_conv): Likewise.
25973
25974 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25975
25976 [BZ #18822]
25977 * include/stdlib.h (__random): Add attribute_hidden.
25978 (__random_r): Likewise.
25979 (__srandom_r): Likewise.
25980 (__initstate_r): Likewise.
25981 (__setstate_r): Likewise.
25982 (__erand48_r): Likewise.
25983 (__nrand48_r): Likewise.
25984 (__jrand48_r): Likewise.
25985 (__srand48_r): Likewise.
25986 (__seed48_r): Likewise.
25987 (__lcong48_r): Likewise.
25988 (__drand48_iterate): Likewise.
25989 (__setenv): Likewise.
25990 (__unsetenv): Likewise.
25991 (__clearenv): Likewise.
25992 (__ptsname_r): Likewise.
25993 (__posix_openpt): Likewise.
25994 (__add_to_environ): Likewise.
25995 (__realpath): Add libc_hidden_proto.
25996 (__ecvt_r): Likewise.
25997 (__fcvt_r): Likewise.
25998 (__qecvt_r): Likewise.
25999 (__qfcvt_r): Likewise.
26000 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
26001 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
26002
26003 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26004
26005 [BZ #18822]
26006 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
26007 * include/time.h (__mktime_internal): Likewise.
26008 * libio/iolibio.h (__fopen_internal): Likewise.
26009
26010 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
26011
26012 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
26013 pointer in frame.
26014 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
26015 Correct offset used to restore PIC register.
26016
26017 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
26018
26019 [BZ libc/22165]
26020 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
26021 code to load address of __getcontext_ret when generating PIC code.
26022
26023 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
26024
26025 * elf/Makefile (tests-static-internal): Add
26026 tst-tls1-static-non-pie.
26027 (LDFLAGS-tst-tls1-static-non-pie): New.
26028 * elf/tst-tls1-static-non-pie.c: New file.
26029
26030 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26031
26032 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
26033 (asinh): Define using libm_alias_double.
26034 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
26035 (cbrt): Define using libm_alias_double.
26036 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
26037 <libm-alias-double.h>.
26038 (copysign): Define using libm_alias_double.
26039 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
26040 (erf): Define using libm_alias_double.
26041 (erfc): Likewise.
26042 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
26043 (expm1): Define using libm_alias_double.
26044 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
26045 (fabs): Define using libm_alias_double.
26046 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
26047 libm_alias_double.
26048 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
26049 <libm-alias-double.h>.
26050 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
26051 libm_alias_double.
26052 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
26053 <libm-alias-double.h>.
26054 (getpayload): Define using libm_alias_double.
26055 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
26056 <libm-alias-double.h>.
26057 (llrint): Define using libm_alias_double.
26058 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
26059 (lrint): Define using libm_alias_double.
26060 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
26061 <libm-alias-double.h>.
26062 (nextup): Define using libm_alias_double.
26063 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
26064 <libm-alias-double.h>.
26065 (roundeven): Define using libm_alias_double.
26066 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
26067 libm_alias_double.
26068 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
26069 <libm-alias-double.h>.
26070 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
26071 using libm_alias_double.
26072 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
26073 (cos): Define using libm_alias_double.
26074 (sin): Likewise.
26075 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
26076 <libm-alias-double.h>.
26077 (sincos): Define using libm_alias_double.
26078 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
26079 (tanh): Define using libm_alias_double.
26080 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
26081 <libm-alias-double.h>.
26082 (totalorder): Define using libm_alias_double.
26083 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
26084 <libm-alias-double.h>.
26085 (totalordermag): Define using libm_alias_double.
26086 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
26087 libm_alias_double.
26088 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
26089 libm_alias_double.
26090 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
26091 <libm-alias-double.h>.
26092 (getpayload): Define using libm_alias_double.
26093 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
26094 <libm-alias-double.h>.
26095 (roundeven): Define using libm_alias_double.
26096 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
26097 <libm-alias-double.h>.
26098 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
26099 <libm-alias-double.h>.
26100 (totalorder): Define using libm_alias_double.
26101 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
26102 <libm-alias-double.h>.
26103 (totalordermag): Define using libm_alias_double.
26104 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
26105 libc compat symbol here.
26106 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
26107 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
26108 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
26109 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
26110 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
26111 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
26112 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
26113 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
26114 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
26115 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
26116
26117 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26118
26119 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
26120 _dl_relocate_static_pie instead of _dl_start to compute load
26121 address in static PIE. Return 0 if _DYNAMIC is undefined for
26122 static executable.
26123
26124 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26125
26126 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
26127 _DYNAMIC is undefined for static executable.
26128
26129 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26130
26131 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
26132
26133 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26134
26135 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26136
26137 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26138
26139 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
26140 (__ieee754_lgamma_r): Use fabs rather than __fabs.
26141 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26142 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26143 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
26144 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
26145 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
26146 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
26147 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
26148 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26149 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
26150 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
26151 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26152 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26153 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26154 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26155 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
26156
26157 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26158
26159 * math/bits/cmathcalls.h (cimag): Remove inline.
26160 (creal): Remove inline.
26161 (conj): Remove inline.
26162
26163 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26164
26165 * math/Makefile (type-float-routines): Add e_powf_log2_data.
26166 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
26167 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
26168 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
26169 (issignalingf_inline): Likewise.
26170 (POWF_LOG2_TABLE_BITS): Likewise.
26171 (POWF_LOG2_POLY_ORDER): Likewise.
26172 (POWF_SCALE_BITS): Likewise.
26173 (POWF_SCALE): Likewise.
26174 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
26175 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
26176 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
26177
26178 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26179
26180 * math/Makefile (type-float-routines): Add e_log2f_data.
26181 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
26182 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
26183 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
26184 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
26185 * sysdeps/i386/fpu/e_log2f_data.c: New file.
26186 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
26187 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
26188
26189 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26190
26191 * math/Makefile (type-float-routines): Add e_logf_data.
26192 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
26193 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
26194 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
26195 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
26196 * sysdeps/i386/fpu/e_logf_data.c: New file.
26197 * sysdeps/ia64/fpu/e_logf_data.c: New file.
26198 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
26199
26200 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
26201
26202 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
26203 undefined _DYNAMIC in PIE libc.a.
26204 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26205 Likewse.
26206
26207 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26208
26209 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
26210 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
26211 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
26212 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
26213 (__signbit): Remove.
26214 (__signbitl): Remove.
26215 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
26216 (__signbit): Remove.
26217 (__signbitl): Remove.
26218 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
26219 (__signbit): Remove.
26220 (__signbitl): Remove.
26221 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
26222 (__signbit): Remove.
26223 (__signbitl): Remove.
26224 * sysdeps/tile/bits/mathinline.h: Delete file.
26225 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
26226 (__signbit): Remove.
26227 (__signbitl): Remove.
26228
26229 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26230
26231 * math/math.h: Improve handling of C99 isgreater macros.
26232 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
26233 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
26234 * sysdeps/powerpc/bits/mathinline.h: Likewise.
26235 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26236 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
26237
26238 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
26239
26240 * sysdeps/aarch64/libm-test-ulps: Update.
26241
26242 2017-09-28 Joseph Myers <joseph@codesourcery.com>
26243
26244 [BZ #22225]
26245 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26246 math_opt_barrier on argument when doing arithmetic on it.
26247 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26248 Likewise. Use math_force_eval not math_opt_barrier after
26249 arithmetic.
26250 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
26251 math_opt_barrier on argument when doing arithmetic on it.
26252 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26253 Likewise.
26254
26255 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
26256
26257 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
26258 libc_hidden_def.
26259 (__freeifaddrs): Likewise.
26260
26261 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
26262
26263 * include/dirent.h (__dirfd): New declaration.
26264 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
26265 alias.
26266 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
26267 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
26268 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
26269 * include/unistd.h (__revoke): New declaration.
26270 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
26271 alias.
26272 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
26273 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
26274 revoke.
26275 * include/dirent.h (__seekdir): New declaration.
26276 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
26277 redefine as weak alias.
26278 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
26279 of seekdir.
26280 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
26281 and use libc_hidden_def on them.
26282 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
26283 them.
26284 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
26285 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
26286 instead of getifaddrs and freeifaddrs.
26287
26288 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26289
26290 [BZ #18822]
26291 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
26292 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
26293 (__dso_handle): Remove declaration.
26294 * dlfcn/tstatexit.c (__dso_handle): Removed.
26295 (main): Don't check __dso_handle.
26296 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
26297 (main): Don't check __dso_handle.
26298 * include/dso_handle.h: New file.
26299 * malloc/mtrace.c: Include <dso_handle.h>.
26300 (mtrace): Pass __dso_handle directly.
26301 * nptl/pthread_atfork.c: Include <dso_handle.h>.
26302 (__dso_handle): Remove declaration.
26303 (__pthread_atfork): Pass __dso_handle directly.
26304 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
26305 (__dso_handle): Removed.
26306 * posix/wordexp-test.c: Include <dso_handle.h>.
26307 (__dso_handle): Remove declaration.
26308 (__app_register_atfork): Pass __dso_handle directly.
26309 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
26310 (__dso_handle): Remove declaration.
26311 (at_quick_exit): Pass __dso_handle directly.
26312 * stdlib/atexit.c: Include <dso_handle.h>.
26313 (__dso_handle): Remove declaration.
26314 (atexit): Pass __dso_handle directly.
26315 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
26316 (__dso_handle): Removed.
26317
26318 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26319
26320 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
26321 using VDSO.
26322
26323 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
26324
26325 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
26326 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
26327 values to correct default value for given type.
26328
26329 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26330
26331 [BZ #22101]
26332 * elf/Makefile (tests): Add tst-debug1.
26333 ($(objpfx)tst-debug1): New.
26334 ($(objpfx)tst-debug1.out): Likewise.
26335 ($(objpfx)tst-debug1mod1.so): Likewise.
26336 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
26337 with p_filesz == 0.
26338 * elf/tst-debug1.c: New file.
26339
26340 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26341
26342 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
26343 Define using __ifunc.
26344
26345 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26346
26347 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
26348 exp2f() values.
26349
26350 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26351
26352 [BZ #22156]
26353 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
26354
26355 2017-09-26 Florian Weimer <fweimer@redhat.com>
26356
26357 * resolv/Makefile (tests-internal): Fix typo in comment.
26358
26359 2017-09-26 Florian Weimer <fweimer@redhat.com>
26360
26361 * resolv/nss_dns/dns-host.c: Fix typo in comment.
26362
26363 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26364
26365 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
26366 Use an union instead of a max_align_t array for __space,
26367 so that __space is the same size on all platforms.
26368 * malloc/scratch_buffer_grow_preserve.c
26369 (__libc_scratch_buffer_grow_preserve): Likewise.
26370
26371 [BZ #22183]
26372 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
26373 version to 2.
26374 * posix/Makefile (routines): Add glob-lstat-compat and
26375 glob64-lstat-compat.
26376 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
26377 * posix/glob-lstat-compat.c: New file.
26378 * posix/glob64-lstat-compat.c: Likewise.
26379 * posix/tst-glob_lstat_compat.c: Likewise.
26380 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
26381 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
26382 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
26383 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
26384 Likewise.
26385 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
26386 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
26387 * posix/glob.c (glob_lstat): New function.
26388 (glob): Rename to __glob and add versioned symbol to 2.27.
26389 (glob_in_dir): Use glob_lstat.
26390 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
26391 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26392 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
26393 2.27.
26394 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
26395 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
26396 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
26397 gl_lstat on glob call.
26398 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
26399 and glob64 symbols.
26400 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26401 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26402 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26403 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26404 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26405 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26406 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26407 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26408 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26409 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26410 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26411 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26413 Likewise.
26414 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
26415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26416 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26417 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26418 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26419 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26420 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26423 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26424 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26425 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26426
26427 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
26428
26429 * configure.ac (AS): Require binutils 2.25 or later.
26430 * configure: Regenerated.
26431
26432 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26433
26434 [BZ #22207]
26435 * stdlib/test-atexit-race-common.c (do_test): Minimize required
26436 VM size.
26437
26438 2017-09-25 DJ Delorie <dj@redhat.com>
26439
26440 [BZ #22161]
26441 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
26442 resetting timeout.
26443
26444 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
26445
26446 * sysdeps/ieee754/dbl-64/sincos32.h
26447 [SINCCOS32_H]: Remove define.
26448 [SINCOS32_H]: Define.
26449
26450 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26451
26452 * math/Versions (expf): New libm symbol at GLIBC_2.27.
26453 (exp2f): Likewise.
26454 * math/w_exp2f.c: New file.
26455 * math/w_expf.c: New file.
26456 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
26457 * math/w_expf_compat.c (__expf_compat): Likewise.
26458 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
26459 * sysdeps/ia64/fpu/e_expf.S: Likewise.
26460 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26461 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26462 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26463 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26464 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26465 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26466 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26467 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26468 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26469 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26470 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26471 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26473 Likewise.
26474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26475 Likewise.
26476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26477 Likewise.
26478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26479 Likewise.
26480 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26481 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26482 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26483 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26484 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26485 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26486 Likewise.
26487 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26488 Likewise.
26489 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26490 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26491 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26492
26493 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26494
26495 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
26496 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
26497 (roundtoint, converttoint): Likewise.
26498 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
26499 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
26500 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
26501 * sysdeps/ieee754/flt-32/math_config.h: New file.
26502 * sysdeps/ieee754/flt-32/math_errf.c: New file.
26503 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
26504 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
26505 * sysdeps/i386/fpu/math_errf.c: New file.
26506 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
26507 * sysdeps/ia64/fpu/math_errf.c: New file.
26508 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
26509 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
26510
26511 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
26512
26513 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
26514 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
26515 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
26516 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
26517 to make sure that these symbols are defined.
26518 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
26519 of <limits.h>
26520 (__need_NULL): Do not define.
26521 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
26522 alignment.
26523 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
26524 CMGROUP_MAX, cmsgcred): Do not define.
26525 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
26526 NULL.
26527 * bits/socket.h: Likewise.
26528 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
26529 __gettimeofday instead of gettimeofday.
26530 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
26531 instead of settimeofday.
26532
26533 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26534
26535 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
26536 (asinhf): Define using libm_alias_float.
26537 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
26538 (atanf): Define using libm_alias_float.
26539 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
26540 (cbrtf): Define using libm_alias_float.
26541 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
26542 (ceilf): Define using libm_alias_float.
26543 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
26544 <libm-alias-float.h>.
26545 (copysignf): Define using libm_alias_float.
26546 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
26547 (cosf): Define using libm_alias_float.
26548 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
26549 (erff): Define using libm_alias_float.
26550 (erfcf): Likewise.
26551 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
26552 (expm1f): Define using libm_alias_float.
26553 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
26554 (fabsf): Define using libm_alias_float.
26555 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
26556 (floorf): Define using libm_alias_float.
26557 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
26558 (frexpf): Define using libm_alias_float.
26559 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
26560 libm_alias_float.
26561 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
26562 <libm-alias-float.h>.
26563 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
26564 libm_alias_float.
26565 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
26566 <libm-alias-float.h>.
26567 (getpayloadf): Define using libm_alias_float.
26568 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
26569 <libm-alias-float.h>.
26570 (llrintf): Define using libm_alias_float.
26571 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
26572 <libm-alias-float.h>.
26573 (llroundf): Define using libm_alias_float.
26574 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
26575 (logbf): Define using libm_alias_float.
26576 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
26577 (lrintf): Define using libm_alias_float.
26578 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
26579 (lroundf): Define using libm_alias_float.
26580 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
26581 (modff): Define using libm_alias_float.
26582 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
26583 <libm-alias-float.h>.
26584 (nearbyintf): Define using libm_alias_float.
26585 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
26586 <libm-alias-float.h>.
26587 (nextafterf): Define using libm_alias_float.
26588 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
26589 <libm-alias-float.h>.
26590 (nextupf): Define using libm_alias_float.
26591 * sysdeps/ieee754/flt-32/s_remquof.c: Include
26592 <libm-alias-float.h>.
26593 (remquof): Define using libm_alias_float.
26594 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
26595 (rintf): Define using libm_alias_float.
26596 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
26597 <libm-alias-float.h>.
26598 (roundevenf): Define using libm_alias_float.
26599 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
26600 (roundf): Define using libm_alias_float.
26601 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
26602 using libm_alias_float.
26603 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
26604 <libm-alias-float.h>.
26605 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
26606 Define using libm_alias_float.
26607 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
26608 <libm-alias-float.h>.
26609 (sincosf): Define using libm_alias_float.
26610 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
26611 (sinf): Define using libm_alias_float.
26612 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
26613 (tanf): Define using libm_alias_float.
26614 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
26615 (tanhf): Define using libm_alias_float.
26616 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
26617 <libm-alias-float.h>.
26618 (totalorderf): Define using libm_alias_float.
26619 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
26620 <libm-alias-float.h>.
26621 (totalordermagf): Define using libm_alias_float.
26622 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
26623 (truncf): Define using libm_alias_float.
26624 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
26625 libm_alias_float.
26626 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
26627 libm_alias_float.
26628
26629 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26630
26631 [BZ #22146]
26632 math/math.h: Let fpclassify use the builtin in C++ mode, even
26633 when optimazing for size.
26634
26635 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26636
26637 * csu/Makefile (generated): Do not add version-info.h.
26638 (before-compile): Likewise.
26639 (all-Banner-files): Remove variable.
26640 ($(objpfx)version-info.h): Remove rule.
26641 * csu/version.c (banner): Do not include "version-info.h".
26642 * libidn/Banner: Remove.
26643 * manual/contrib.texi (Simon Josefsson): New entry.
26644
26645 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26646
26647 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26648 Remove conditionals on LDBL_MANT_DIG.
26649 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26650 (__ieee754_lgammal_r): Likewise.
26651
26652 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26653
26654 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
26655 _Float128 and L().
26656 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
26657 _Float128 and L(). Replace _Float128 with long double and L(x)
26658 with xL, throughout the file.
26659 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26660 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26661 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26662 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26663
26664 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26665
26666 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
26667 sysdeps/ieee754/ldbl-128ibm.
26668 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
26669 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
26670 of including it. Keep _Float128 and L() intact. These will be
26671 reviewed by a separate patch.
26672 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26673 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26674 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26675 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26676
26677 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26678
26679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
26680 (__finitef128): Define to __redirect___finitef128.
26681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
26682 (__isinff128): Define to __redirect___isinff128.
26683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
26684 (__isnanf128): Define to __redirect___isnanf128.
26685
26686 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26687
26688 * sysdeps/powerpc/powerpc64le/Makefile
26689 (CFLAGS-tst-strtod-nan-locale.c): New variable.
26690 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
26691
26692 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
26693 Carlos O'Donell <carlos@redhat.com>
26694
26695 [BZ #22180]
26696 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
26697 * stdlib/test-dlclose-exit-race.c: New file.
26698 * stdlib/test-dlclose-exit-race-helper.c: New file.
26699 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
26700
26701 2017-09-21 Joseph Myers <joseph@codesourcery.com>
26702
26703 * crypt/Banner: Remove file.
26704 * nptl/Banner: Likewise.
26705 * resolv/Banner: Likewise.
26706 * soft-fp/Banner: Likewise.
26707 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
26708 ($(objpfx)version.d): Remove dependency on banner.h.
26709 ($(objpfx)version.os): Likewise.
26710 * nptl/version.c (banner): Do not include banner.h.
26711 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
26712 Jelinek and BIND code.
26713
26714 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26715 Carlos O'Donell <carlos@redhat.com>
26716
26717 * support/xdlfcn.h: New file.
26718 * support/xdlfcn.c: New file.
26719 * support/Makefile (libsupport-routines): Add xdlfcn.
26720 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
26721
26722 2017-09-20 Joseph Myers <joseph@codesourcery.com>
26723
26724 [BZ #20142]
26725 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26726 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
26727 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
26728 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
26729 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
26730 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
26731 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
26732 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
26733
26734 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26735 Ricky Zhou <rickyz@google.com>
26736 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26737
26738 [BZ #14333]
26739 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
26740 Remove atomics.
26741 (__new_exitfn): Fail registration when we finished at_exit processing.
26742 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26743 * stdlib/on_exit.c (__on_exit): Likewise.
26744 * stdlib/exit.c (__exit_funcs_done): New variable.
26745 (__run_exit_handlers): Use __exit_funcs_lock.
26746 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
26747 declarations.
26748 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
26749 (test-cxa_atexit-race, test-on_exit-race): New tests.
26750 * stdlib/test-atexit-race-common.c: New file.
26751 * stdlib/test-atexit-race.c: New file.
26752 * stdlib/test-at_quick_exit-race.c: New file.
26753 * stdlib/test-cxa_atexit-race.c: New file.
26754 * stdlib/test-on_exit-race.c: New file.
26755
26756 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
26757
26758 * benchtests/Makefile: Add exp2f and log2f benchmarks.
26759 * benchtests/exp2f-inputs: Copy of expf-inputs.
26760 * benchtests/log2f-inputs: Copy of logf-inputs.
26761
26762 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26763
26764 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
26765 Explicitly take address of first element of array arguments in
26766 call to INLINE_SYSCALL.
26767
26768 2017-09-19 Andreas Schwab <schwab@suse.de>
26769
26770 [BZ #22134]
26771 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
26772 execveat first.
26773 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
26774 unimplemented.
26775 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
26776 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
26777 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26778 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
26779 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26780 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26781 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26782 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26783 * posix/Makefile (tests): Add tst-fexecve.
26784 * posix/tst-fexecve.c: New file.
26785
26786 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26787
26788 * benchtests/Makefile: Add logf benchmark.
26789 * benchtests/logf-inputs: Add reduced trace from wrf_r.
26790
26791 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26792
26793 * benchtests/Makefile: Add expf benchmark.
26794 * benchtests/expf-inputs: Add reduced trace from wrf_r.
26795
26796 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26797
26798 * csu/Makefile: Add -funwind-tables to libc-start.c.
26799 * debug/Makefile: Add -funwind-tables to backtrace.c.
26800 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
26801 * sysdeps/arm/Makefile: Likewise.
26802 * sysdeps/i386/Makefile: Likewise.
26803 * sysdeps/m68k/Makefile: Likewise.
26804 * sysdeps/mips/Makefile: Likewise.
26805 * sysdeps/nios2/Makefile: Likewise.
26806 * sysdeps/sh/Makefile: Likewise.
26807 * sysdeps/sparc/Makefile: Likewise.
26808
26809 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26810
26811 * benchtests/Makefile (bench-math): Add trunc and truncf.
26812 (CFLAGS-bench-trunc.c): New variable.
26813 (CFLAGS-bench-truncf.c): Likewise.
26814 * benchtests/trunc-inputs: New file.
26815 * benchtests/truncf-inputs: Likewise.
26816
26817 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26818
26819 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
26820
26821 2017-09-18 Joseph Myers <joseph@codesourcery.com>
26822
26823 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
26824 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
26825 redefine.
26826 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26827 (exp10l): Define as weak alias.
26828 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
26829 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
26830 and redefine.
26831 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
26832 (remainderl): Define as weak alias.
26833
26834 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
26835 (fmal): Define using libm_alias_ldouble.
26836 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
26837 (acoshl): Define using libm_alias_ldouble.
26838 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
26839 (acosl): Define using libm_alias_ldouble.
26840 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
26841 (asinl): Define using libm_alias_ldouble.
26842 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
26843 (atan2l): Define using libm_alias_ldouble.
26844 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
26845 (atanhl): Define using libm_alias_ldouble.
26846 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
26847 (coshl): Define using libm_alias_ldouble.
26848 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
26849 (exp10l): Define using libm_alias_ldouble.
26850 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
26851 (exp2l): Define using libm_alias_ldouble.
26852 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
26853 (expl): Define using libm_alias_ldouble.
26854 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
26855 (fmodl): Define using libm_alias_ldouble.
26856 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
26857 (hypotl): Define using libm_alias_ldouble.
26858 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
26859 (j0l): Define using libm_alias_ldouble.
26860 (y0l): Likewise.
26861 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
26862 (j1l): Define using libm_alias_ldouble.
26863 (y1l): Likewise.
26864 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
26865 (jnl): Define using libm_alias_ldouble.
26866 (ynl): Likewise.
26867 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
26868 (log10l): Define using libm_alias_ldouble.
26869 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
26870 (log2l): Define using libm_alias_ldouble.
26871 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
26872 (logl): Define using libm_alias_ldouble.
26873 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
26874 (powl): Define using libm_alias_ldouble.
26875 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
26876 (remainderl): Define using libm_alias_ldouble.
26877 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
26878 (sinhl): Define using libm_alias_ldouble.
26879 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
26880 (sqrtl): Define using libm_alias_ldouble.
26881 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
26882 (tgammal): Define using libm_alias_ldouble.
26883 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
26884 (exp10l): Do not use long_double_symbol here.
26885 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26886 [LIBM_SVID_COMPAT] (remainderl): Likewise.
26887 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
26888 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
26889 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
26890 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
26891 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
26892 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
26893 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
26894 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
26895 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
26896 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
26897 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
26898 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
26899 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
26900 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
26901 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
26902 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
26903 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
26904 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
26905 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
26906 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
26907
26908 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
26909
26910 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
26911 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
26912
26913 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
26914
26915 * io/read.c (read): Add libc_hidden_weak.
26916 * sysdeps/mach/hurd/read.c (read): Likewise.
26917 * io/write.c (write): Likewise.
26918 * sysdeps/mach/hurd/write.c (write): Likewise.
26919 * io/pread64.c (__pread64): Likewise.
26920 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
26921 * posix/pread64.c (__pread64): Add libc_hidden_def.
26922
26923 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
26924
26925 * benchtests/scripts/compare_strings.py: New option -g.
26926 (draw_graph): Print a message that a graph is being generated.
26927 (process_results): Generate graph only if -g is passed.
26928 (main): Process option -g.
26929
26930 * benchtests/scripts/compare_strings.py (process_results):
26931 Better spacing for output.
26932
26933 * benchtests/scripts/compare_strings.py: Use argparse.
26934 * benchtests/README: Document existence of compare_strings.py.
26935
26936 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26937
26938 * math/s_fma.c: Include <libm-alias-double.h>.
26939 (fma): Define using libm_alias_double.
26940 * math/s_nextafter.c: Include <libm-alias-double.h>.
26941 (nextafter): Define using libm_alias_double.
26942 * math/w_acos_compat.c: Include <libm-alias-double.h>.
26943 (acos): Define using libm_alias_double.
26944 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
26945 (aocsh): Define using libm_alias_double.
26946 * math/w_asin_compat.c: Include <libm-alias-double.h>.
26947 (asin): Define using libm_alias_double.
26948 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
26949 (atan2): Define using libm_alias_double.
26950 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
26951 (atanh): Define using libm_alias_double.
26952 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
26953 (cosh): Define using libm_alias_double.
26954 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
26955 (exp10): Define using libm_alias_double.
26956 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
26957 (exp2): Define using libm_alias_double.
26958 * math/w_exp_compat.c: Include <libm-alias-double.h>.
26959 (exp): Define using libm_alias_double.
26960 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
26961 (fmod): Define using libm_alias_double.
26962 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
26963 (hypot): Define using libm_alias_double.
26964 * math/w_j0_compat.c: Include <libm-alias-double.h>.
26965 (j0): Define using libm_alias_double.
26966 (y0): Likewise.
26967 * math/w_j1_compat.c: Include <libm-alias-double.h>.
26968 (j1): Define using libm_alias_double.
26969 (y1): Likewise.
26970 * math/w_jn_compat.c: Include <libm-alias-double.h>.
26971 (jn): Define using libm_alias_double.
26972 (yn): Likewise.
26973 * math/w_log10_compat.c: Include <libm-alias-double.h>.
26974 (log10): Define using libm_alias_double.
26975 * math/w_log2_compat.c: Include <libm-alias-double.h>.
26976 (log2): Define using libm_alias_double.
26977 * math/w_log_compat.c: Include <libm-alias-double.h>.
26978 (log): Define using libm_alias_double.
26979 * math/w_pow_compat.c: Include <libm-alias-double.h>.
26980 (pow): Define using libm_alias_double.
26981 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
26982 (remainder): Define using libm_alias_double.
26983 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
26984 (sinh): Define using libm_alias_double.
26985 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
26986 (sqrt): Define using libm_alias_double.
26987 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
26988 (tgamma): Define using libm_alias_double.
26989 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
26990 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
26991 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
26992 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
26993 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
26994 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
26995 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
26996 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
26997 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
26998 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
26999 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
27000 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
27001 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
27002 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
27003 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
27004 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
27005 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
27006 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
27007 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
27008 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
27009 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
27010 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
27011 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
27012 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
27013 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
27014
27015 * math/e_acoshl.c: Remove.
27016 * math/e_acosl.c: Likewise.
27017 * math/e_asinl.c: Likewise.
27018 * math/e_atan2l.c: Likewise.
27019 * math/e_atanhl.c: Likewise.
27020 * math/e_coshl.c: Likewise.
27021 * math/e_expl.c: Likewise.
27022 * math/e_fmodl.c: Likewise.
27023 * math/e_gammal_r.c: Likewise.
27024 * math/e_hypotl.c: Likewise.
27025 * math/e_j0l.c: Likewise.
27026 * math/e_j1l.c: Likewise.
27027 * math/e_jnl.c: Likewise.
27028 * math/e_lgammal_r.c: Likewise.
27029 * math/e_log10l.c: Likewise.
27030 * math/e_log2l.c: Likewise.
27031 * math/e_logl.c: Likewise.
27032 * math/e_powl.c: Likewise.
27033 * math/e_rem_pio2l.c: Likewise.
27034 * math/e_sinhl.c: Likewise.
27035 * math/e_sqrtf128.c: Likewise.
27036 * math/e_sqrtl.c: Likewise.
27037 * math/k_cosl.c: Likewise.
27038 * math/k_sinl.c: Likewise.
27039 * math/k_tanl.c: Likewise.
27040 * math/s_asinhl.c: Likewise.
27041 * math/s_atanl.c: Likewise.
27042 * math/s_cbrtl.c: Likewise.
27043 * math/s_erfl.c: Likewise.
27044 * math/s_expm1l.c: Likewise.
27045 * math/s_log1pl.c: Likewise.
27046 * math/s_tanhl.c: Likewise.
27047
27048 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27049
27050 [BZ #21745]
27051 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
27052 [$(subdir) = math] (sysdep_calls): New variable. Has the
27053 previous contents of sysdep_routines, but re-sorted..
27054 [$(subdir) = math] (sysdep_routines): Re-use the contents from
27055 sysdep_calls.
27056 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
27057 defined in sysdep_calls and replace by the respective m_* names.
27058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
27059 (compat_symbol): Undefine to avoid duplicated compat symbols in
27060 libc.
27061
27062 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27063
27064 * math/s_fmaf.c: Include <libm-alias-float.h>.
27065 (fmaf): Define using libm_alias_float.
27066 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
27067 (acosf): Define using libm_alias_float.
27068 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
27069 (acoshf): Define using libm_alias_float.
27070 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
27071 (asinf): Define using libm_alias_float.
27072 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
27073 (atan2f): Define using libm_alias_float.
27074 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
27075 (atanhf): Define using libm_alias_float.
27076 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
27077 (coshf): Define using libm_alias_float.
27078 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
27079 (exp10f): Define using libm_alias_float.
27080 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
27081 (fmodf): Define using libm_alias_float.
27082 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
27083 (hypotf): Define using libm_alias_float.
27084 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
27085 (j0f): Define using libm_alias_float.
27086 (y0f): Likewise.
27087 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
27088 (j1f): Define using libm_alias_float.
27089 (y1f): Likewise.
27090 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
27091 (jnf): Define using libm_alias_float.
27092 (ynf): Likewise.
27093 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
27094 (log10f): Define using libm_alias_float.
27095 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
27096 (log2f): Define using libm_alias_float.
27097 * math/w_logf_compat.c: Include <libm-alias-float.h>.
27098 (logf): Define using libm_alias_float.
27099 * math/w_powf_compat.c: Include <libm-alias-float.h>.
27100 (powf): Define using libm_alias_float.
27101 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
27102 (remainderf): Define using libm_alias_float.
27103 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
27104 (sinhf): Define using libm_alias_float.
27105 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
27106 (sqrtf): Define using libm_alias_float.
27107 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
27108 (tgammaf): Define using libm_alias_float.
27109
27110 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27111
27112 * include/math.h (roundeven): Change hidden_proto call to
27113 __roundeven.
27114 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
27115 alias.
27116 [NO_LONG_DOUBLE] (__j0l): New strong alias.
27117 (y0): Rename to __y0 and define as weak alias.
27118 [NO_LONG_DOUBLE] (__y0l): New strong alias.
27119 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
27120 alias.
27121 (y0f): Rename to __y0f and define as weak alias.
27122 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
27123 alias.
27124 [NO_LONG_DOUBLE] (__j1l): New strong alias.
27125 (y1): Rename to __y1 and define as weak alias.
27126 [NO_LONG_DOUBLE] (__y1l): New strong alias.
27127 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
27128 alias.
27129 (y1f): Rename to __y1f and define as weak alias.
27130 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
27131 alias.
27132 [NO_LONG_DOUBLE] (__jnl): New strong alias.
27133 (yn): Rename to __yn and define as weak alias.
27134 [NO_LONG_DOUBLE] (__ynl): New strong alias.
27135 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
27136 alias.
27137 (ynf): Rename to __ynf and define as weak alias.
27138 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
27139 (fromfp): Define as weak alias.
27140 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
27141 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
27142 (fromfpx): Define as weak alias.
27143 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
27144 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
27145 __getpayload and define as weak alias.
27146 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27147 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
27148 __roundeven and define as weak alias.
27149 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27150 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
27151 __setpayload.
27152 (setpayload): Define as weak alias.
27153 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
27154 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
27155 __setpayloadsig.
27156 (setpayloadsig): Define as weak alias.
27157 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
27158 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
27159 __totalorder and define as weak alias.
27160 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27161 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
27162 to __totalordermag and define as weak alias.
27163 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27164 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
27165 (ufromfp): Define as weak alias.
27166 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
27167 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
27168 __ufromfpx.
27169 (ufromfpx): Define as weak alias.
27170 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
27171 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
27172 Rename to __getpayload and define as weak alias.
27173 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27174 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
27175 Rename to __roundeven and define as weak alias.
27176 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27177 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
27178 Rename to __totalorder and define as weak alias.
27179 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27180 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
27181 (totalordermag): Rename to __totalordermag and define as weak
27182 alias.
27183 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27184 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
27185 macro.
27186 (__roundevenl): Likewise.
27187 (__totalorderl): Likewise.
27188 (__totalordermagl): Likewise
27189 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
27190 __fromfpf128.
27191 (fromfpf128): Define as weak alias.
27192 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
27193 __fromfpxf128.
27194 (fromfpxf128): Define as weak alias.
27195 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
27196 __setpayloadf128.
27197 (setpayloadf128): Define as weak alias.
27198 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
27199 __setpayloadsigf128.
27200 (setpayloadsigf128): Define as weak alias.
27201 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
27202 __ufromfpf128.
27203 (ufromfpf128): Define as weak alias.
27204 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
27205 __ufromfpxf128.
27206 (ufromfpxf128): Define as weak alias.
27207 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
27208 (fromfpf): Define as weak alias.
27209 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
27210 __fromfpxf.
27211 (fromfpxf): Define as weak alias.
27212 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
27213 __getpayloadf and define as weak alias.
27214 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
27215 __roundevenf and define as weak alias.
27216 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
27217 __setpayloadf.
27218 (setpayloadf): Define as weak alias.
27219 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
27220 __setpayloadsigf.
27221 (setpayloadsigf): Define as weak alias.
27222 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
27223 __totalorderf and define as weak alias.
27224 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
27225 Rename to __totalordermagf and define as weak alias.
27226 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
27227 __ufromfpf.
27228 (ufromfpf): Define as weak alias.
27229 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
27230 __ufromfpxf.
27231 (ufromfpxf): Define as weak alias.
27232 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
27233 __fromfpl.
27234 (fromfpl): Define as weak alias.
27235 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
27236 __fromfpxl.
27237 (fromfpxl): Define as weak alias.
27238 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
27239 to __getpayloadl and define as weak alias.
27240 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
27241 __roundevenl and define as weak alias.
27242 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
27243 __setpayloadl.
27244 (setpayloadl): Define as weak alias.
27245 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
27246 __setpayloadsigl.
27247 (setpayloadsigl): Define as weak alias.
27248 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
27249 to __totalorderl and define as weak alias.
27250 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
27251 Rename to __totalordermagl and define as weak alias.
27252 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
27253 __ufromfpl.
27254 (ufromfpl): Define as weak alias.
27255 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
27256 __ufromfpxl.
27257 (ufromfpxl): Define as weak alias.
27258 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
27259 __fromfpl.
27260 (fromfpl): Define as weak alias.
27261 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
27262 __fromfpxl.
27263 (fromfpxl): Define as weak alias.
27264 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
27265 Rename to __getpayloadl and define as weak alias.
27266 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
27267 to __roundevenl and define as weak alias. Call __roundeven
27268 instead of roundeven.
27269 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
27270 __setpayloadl.
27271 (setpayloadl): Define as weak alias.
27272 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
27273 __setpayloadsigl.
27274 (setpayloadsigl): Define as weak alias.
27275 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
27276 Rename to __totalorderl and define as weak alias.
27277 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
27278 Rename to __totalordermagl and define as weak alias.
27279 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
27280 __ufromfpl.
27281 (ufromfpl): Define as weak alias.
27282 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
27283 __ufromfpxl.
27284 (ufromfpxl): Define as weak alias.
27285 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
27286 __fromfpl.
27287 (fromfpl): Define as weak alias.
27288 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
27289 __fromfpxl.
27290 (fromfpxl): Define as weak alias.
27291 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
27292 __getpayloadl and define as weak alias.
27293 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
27294 __roundevenl and define as weak alias.
27295 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
27296 __setpayloadl.
27297 (setpayloadl): Define as weak alias.
27298 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
27299 __setpayloadsigl.
27300 (setpayloadsigl): Define as weak alias.
27301 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
27302 __totalorderl and define as weak alias.
27303 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
27304 Rename to __totalordermagl and define as weak alias.
27305 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
27306 __ufromfpl.
27307 (ufromfpl): Define as weak alias.
27308 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
27309 __ufromfpxl.
27310 (ufromfpxl): Define as weak alias.
27311
27312 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
27313
27314 * benchtests/bench-string.h (realloc_bufs): New function.
27315 (test_init): Call it.
27316 * benchtests/bench-memset-large.c (do_test): Likewise.
27317 * benchtests/bench-memset.c (do_test): Likewise.
27318
27319 * benchtests/bench-memset-large.c: Print output in JSON
27320 format.
27321 * benchtests/bench-memset.c: Likewise.
27322
27323 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27324
27325 [BZ #21084]
27326 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
27327 * iconvdata/Makefile: Add IBM858.
27328 * iconvdata/gconv-modules: Likewise.
27329 * iconvdata/tst-tables.sh: Likewise.
27330 * iconvdata/ibm858.c: New file.
27331 * localedata/charmaps/IBM858: Likewise.
27332
27333 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
27334
27335 [BZ #22023]
27336 * locales/niu_NZ (LC_TIME): copy "niu_NU".
27337 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
27338
27339 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27340
27341 [BZ #22112]
27342 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
27343 and add tel_int_fmt.
27344
27345 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27346
27347 * sysdeps/generic/libm-alias-float128.h: New file.
27348 * sysdeps/generic/math-type-macros-float128.h: Include
27349 <libm-alias-float128.h>.
27350 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27351
27352 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27353
27354 * sysdeps/generic/libm-alias-ldouble.h: New file.
27355 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
27356 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
27357 * sysdeps/generic/math-type-macros-ldouble.h: Include
27358 <libm-alias-ldouble.h>.
27359 [!declare_mgen_alias] (declare_mgen_alias): Define to use
27360 libm_alias_ldouble.
27361
27362 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
27363
27364 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
27365 * math/w_exp_compat.c: ... here.
27366 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
27367 * math/w_expf_compat.c: ... here.
27368 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
27369 * math/w_expl_compat.c: ... here.
27370 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
27371 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
27372 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
27373 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27374
27375 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27376
27377 * math/w_scalbln_template.c (strong_alias): Do not undefine and
27378 redefine.
27379 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
27380 macro.
27381 (ldexpl): Only define as compat symbol for libc, not libm.
27382 (scalbnl): Define as compat symbol for libc here.
27383 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
27384 define for [IS_IN (libc)].
27385 (__ldexpl_2): Remove alias.
27386 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
27387 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
27388 name in long_double_symbol call.
27389 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
27390 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27391 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27392 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
27393 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
27394 Remove macro.
27395 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
27396 Define as compat symbol.
27397
27398 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27399
27400 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
27401 * sysdeps/unix/sysv/linux/alpha/Makefile
27402 [$(subdir) = csu] (sysdep_routines): Remove rule.
27403
27404 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27405
27406 * sysdeps/generic/libm-alias-double.h: New file.
27407 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
27408 * sysdeps/generic/math-type-macros-double.h: Include
27409 <libm-alias-double.h>.
27410 [declare_mgen_alias] (declare_mgen_alias): Define to use
27411 libm_alias_double.
27412 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
27413 (M_LIBM_NEED_COMPAT): Remove macro.
27414 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
27415 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
27416 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
27417 code.
27418 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27419 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27420 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27421 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27422 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27423 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27424 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27425 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27426 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27427 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27428 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27429 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27430 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27431 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27432 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27433 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27434 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27435 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27436 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27437 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27438 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27439 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27440 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27441 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27442 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27443 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27444 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27445 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
27446 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
27447 macro.
27448 (declare_mgen_alias): New macro.
27449 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
27450 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
27451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
27452 (M_LIBM_NEED_COMPAT): Remove macro.
27453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
27454 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
27455 <first-versions.h>.
27456 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
27457 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
27458
27459 2017-09-12 Joseph Myers <joseph@codesourcery.com>
27460
27461 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
27462 (declare_mgen_alias_2): Remove.
27463 * sysdeps/generic/math-type-macros-double.h
27464 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
27465 Likewise.
27466 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
27467 alias.
27468 (ldexp): Define with declare_mgen_alias.
27469 (scalbn): Likewise.
27470
27471 2017-09-12 Steve Ellcey <sellcey@cavium.com>
27472
27473 * grp/initgroups.c: Include config.h.
27474 (DEFAULT_CONFIG): New macro.
27475 (internal_getgrouplist): Use DEFAULT_CONFIG.
27476 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27477 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
27478 (DEFAULT_DEFCONFIG): New macro.
27479 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
27480 * nss/grp-lookup.c: Include config.h
27481 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
27482 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
27483 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
27484 * manual/nss.texi: Update default values section.
27485
27486 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
27487
27488 [BZ #21967]
27489 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
27490 New.
27491 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
27492 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27493 Handle MathVec_Prefer_No_AVX512.
27494 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
27495 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
27496 is set.
27497
27498 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
27499
27500 * posix/sched_primax.c (__sched_get_priority_max): Add
27501 libc_hidden_def.
27502 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
27503 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
27504 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
27505 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
27506 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
27507 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
27508 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
27509 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
27510 Add aliases.
27511
27512 2017-09-11 Joseph Myers <joseph@codesourcery.com>
27513
27514 * sysdeps/generic/libm-alias-float.h: New file.
27515 * sysdeps/generic/math-type-macros-float.h: Include
27516 <libm-alias-float.h>.
27517 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27518
27519 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
27520
27521 [BZ #22093]
27522 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
27523 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
27524 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
27525 (HWCAP_IMPORTANT): Likewise.
27526 (HWCAP_X86_64): New enum.
27527 (HWCAP_X86_AVX512_1): Updated.
27528 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
27529 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
27530 (modules-names): Add x86_64/tst-x86_64mod-1.
27531 (LDFLAGS-tst-x86_64mod-1.so): New.
27532 ($(objpfx)tst-x86_64-1): Likewise.
27533 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
27534 (tst-x86_64-1-clean): Likewise.
27535 * sysdeps/x86_64/tst-x86_64-1.c: New file.
27536 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
27537
27538 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
27539
27540 * po/sv.po: Update translations.
27541 * po/fr.po: Likewise.
27542
27543 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27544
27545 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
27546 seconds.
27547 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
27548 seconds.
27549 * elf/rtld-Rules: Fix $(error) use.
27550
27551 2017-09-09 Mike FABIAN <mfabian@redhat.com>
27552
27553 [BZ #14925]
27554 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
27555 * locale/iso-639.def: Change “Bengali” to “Bangla”.
27556 * localedata/locales/bn_BD: “Bengali” was still used in some
27557 comments. Change it to “Bangla”.
27558
27559 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
27560
27561 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
27562
27563 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27564
27565 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
27566 thunderx2t99p1 to list of cpu names.
27567 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
27568 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
27569
27570 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27571
27572 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
27573 Use strcmp instead of tunable_is_name.
27574
27575 2017-09-08 Joseph Myers <joseph@codesourcery.com>
27576
27577 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27578 (F_GET_RW_HINT): New macro.
27579 [__USE_GNU] (F_SET_RW_HINT): Likewise.
27580 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
27581 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
27582 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
27583 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
27584 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
27585 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
27586 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
27587 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
27588
27589 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27590 (F_ADD_SEALS): New macro.
27591 [__USE_GNU] (F_GET_SEALS): Likewise.
27592 [__USE_GNU] (F_SEAL_SEAL): Likewise.
27593 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
27594 [__USE_GNU] (F_SEAL_GROW): Likewise.
27595 [__USE_GNU] (F_SEAL_WRITE): Likewise.
27596
27597 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27598
27599 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
27600 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
27601 * posix/glob_internal.h (__glob_pattern_type):
27602 * posix/glob.c (glob):
27603 * posix/glob_pattern_p.c (__glob_pattern_p):
27604 Use them.
27605
27606 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
27607 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27608 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
27609 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
27610 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
27612 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
27613 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
27614 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27615 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27616 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27617 * sysdeps/wordsize-64/glob.c: Likewise.
27618 * sysdeps/wordsize-64/glob64.c: Likewise.
27619 * sysdeps/wordsize-64/globfree.c: Likewise.
27620 * sysdeps/wordsize-64/globfree64.c: Likewise.
27621 * sysdeps/unix/sysv/linux/glob.c: New file.
27622 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
27623 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
27624 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
27625 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27626 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
27627 adds !GLOB_NO_OLD_VERSION as an extra condition.
27628 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
27629 using relative path instead of absolute one.
27630 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
27631 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27632 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27633 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
27634 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
27635 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
27636
27637 [BZ #1062]
27638 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
27639 (glob): Use the same scratch buffer for both getlogin_r and
27640 getpwnam_r. Don’t require preallocation of the login name. This
27641 simplifies storage allocation, and corrects the handling of
27642 long login names.
27643
27644 [BZ #1062]
27645 * posix/glob.c (glob): Port recent patches to platforms
27646 lacking getpwnam_r.
27647 (glob): Fix longstanding misuse of errno after getpwnam_r, which
27648 returns an error number rather than setting errno.
27649
27650 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
27651 instead of GCC extension.
27652 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
27653 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
27654 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
27655
27656 [BZ #866]
27657 [BZ #1062]
27658 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
27659 * posix/bug-glob1.c: Remove file.
27660 * posix/tst-glob_symlinks.c: New file.
27661 * posix/glob.c (__lstat64): New macro.
27662 (is_dir): New function.
27663 (glob, glob_in_dir): Match symlinks even if they are dangling.
27664 (link_stat, link_exists_p): Remove. All uses removed.
27665
27666 [BZ #1062]
27667 [BZ #19971]
27668 * posix/glob.c (struct readdir_result): Remove skip_entry member.
27669 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
27670 All uses removed.
27671
27672 [BZ #1062]
27673 CVE-2017-15671
27674 * posix/Makefile (routines): Add globfree, globfree64, and
27675 glob_pattern_p.
27676 * posix/flexmember.h: New file.
27677 * posix/glob_internal.h: Likewise.
27678 * posix/glob_pattern_p.c: Likewise.
27679 * posix/globfree.c: Likewise.
27680 * posix/globfree64.c: Likewise.
27681 * sysdeps/gnu/globfree64.c: Likewise.
27682 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
27683 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27684 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
27685 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27686 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27687 * sysdeps/wordsize-64/globfree.c: Likewise.
27688 * sysdeps/wordsize-64/globfree64.c: Likewise.
27689 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
27690 [NDEBUG): Remove comments.
27691 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
27692 (dirent_type): New type. Use uint_fast8_t not
27693 uint8_t, as C99 does not require uint8_t.
27694 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
27695 (struct readdir_result): Use dirent_type. Do not define skip_entry
27696 unless it is needed; this saves a byte on platforms lacking d_ino.
27697 (readdir_result_type, readdir_result_skip_entry):
27698 New functions, replacing ...
27699 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
27700 these functions, which were removed. This makes the callers
27701 easier to read. All callers changed.
27702 (D_INO_TO_RESULT): Now empty if there is no d_ino.
27703 (size_add_wrapv, glob_use_alloca): New static functions.
27704 (glob, glob_in_dir): Check for size_t overflow in several places,
27705 and fix some size_t checks that were not quite right.
27706 Remove old code using SHELL since Bash no longer
27707 uses this.
27708 (glob, prefix_array): Separate MS code better.
27709 (glob_in_dir): Remove old Amiga and VMS code.
27710 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
27711 separate files.
27712 (glob_in_dir): Do not rely on undefined behavior in accessing
27713 struct members beyond their bounds. Use a flexible array member
27714 instead
27715 (link_stat): Rename from link_exists2_p and return -1/0 instead of
27716 0/1. Caller changed.
27717 (glob): Fix memory leaks.
27718 * posix/glob64 (globfree64): Move to separate file.
27719 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
27720 (globfree64): Remove hidden alias.
27721 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
27722 oldglob.
27723 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
27724 separate file.
27725 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
27726 define.
27727 Move compat code to separate file.
27728 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
27729 separate file.
27730
27731 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
27732
27733 * resolv/tst-resolv-qtypes.c (domain): Changed to
27734 "const char domain[] =".
27735
27736 2017-09-07 Joseph Myers <joseph@codesourcery.com>
27737
27738 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
27739 version to 3.1.6.
27740
27741 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
27742 (TCP_MD5SIG_EXT): Likewise.
27743 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
27744 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
27745 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
27746
27747 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
27748
27749 2017-09-07 Mike FABIAN <mfabian@redhat.com>
27750
27751 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
27752
27753 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
27754
27755 [BZ #22100]
27756 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
27757
27758 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
27759
27760 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
27761 before assuming that the file is empty. Avoid testing buffer content
27762 when nread == 0.
27763
27764 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27765
27766 [BZ #18858]
27767 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27768 Remove define.
27769 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
27770 Likewise.
27771 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
27772 Likewise.
27773 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
27774 Likewise.
27775 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27776 Likewise.
27777 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
27778 Likewise.
27779 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
27780 Likewise.
27781
27782 2017-09-06 Florian Weimer <fweimer@redhat.com>
27783
27784 * malloc/dynarray_emplace_enlarge.c
27785 (__libc_dynarray_emplace_enlarge): Add missing else.
27786
27787 2017-09-06 Florian Weimer <fweimer@redhat.com>
27788
27789 [BZ #22096]
27790 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
27791 case of failure to obtain the global conf object.
27792
27793 2017-09-06 Florian Weimer <fweimer@redhat.com>
27794
27795 [BZ #22095]
27796 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
27797 dynarray allocation failure.
27798
27799 2017-09-06 Florian Weimer <fweimer@redhat.com>
27800
27801 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
27802 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
27803 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
27804 New functions.
27805 (response): Call them. Add 'p', '6' flag processing.
27806 (test_reverse): New function.
27807 (test_get2_any): Call it.
27808 (test_no_inet6): Add 'p' test.
27809 (test_inet6): Likewise.
27810
27811 2017-09-06 Florian Weimer <fweimer@redhat.com>
27812
27813 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
27814 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
27815 the QNAME.
27816 (test_gai): Adjust query names. Add additional tests.
27817 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
27818 test_get2. Adjust query names. Add additional tests.
27819 (test_no_inet6): New function, extracted from threadfunc.
27820 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
27821 Add additional tests.
27822
27823 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27824
27825 [BZ #22070]
27826 * localedata/unicode-gen/utf8_gen.py: Set the width for
27827 characters with Prepended_Concatenation_Mark property to 1
27828 * localedata/charmaps/UTF-8: Updated using the improved script.
27829
27830 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27831
27832 [BZ #21750]
27833 * localedata/unicode-gen/utf8_gen.py: Improve the script to
27834 use the range notation for all ranges of neighbouring characters
27835 with the same width.
27836
27837 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27838
27839 * sysdeps/generic/math-type-macros-double.h: Include
27840 <math-svid-compat.h>.
27841 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27842 * sysdeps/generic/math-type-macros-float.h: Include
27843 <math-svid-compat.h>.
27844 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27845 * sysdeps/generic/math-type-macros-ldouble.h: Include
27846 <math-svid-compat.h>.
27847 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27848 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
27849 condition.
27850 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
27851 * math/w_acosf_compat.c: Likewise.
27852 * math/w_acosh_compat.c: Likewise.
27853 * math/w_acoshf_compat.c: Likewise.
27854 * math/w_acoshl_compat.c: Likewise.
27855 * math/w_acosl_compat.c: Likewise.
27856 * math/w_asin_compat.c: Likewise.
27857 * math/w_asinf_compat.c: Likewise.
27858 * math/w_asinl_compat.c: Likewise.
27859 * math/w_atan2_compat.c: Likewise.
27860 * math/w_atan2f_compat.c: Likewise.
27861 * math/w_atan2l_compat.c: Likewise.
27862 * math/w_atanh_compat.c: Likewise.
27863 * math/w_atanhf_compat.c: Likewise.
27864 * math/w_atanhl_compat.c: Likewise.
27865 * math/w_cosh_compat.c: Likewise.
27866 * math/w_coshf_compat.c: Likewise.
27867 * math/w_coshl_compat.c: Likewise.
27868 * math/w_exp10_compat.c: Likewise.
27869 * math/w_exp10f_compat.c: Likewise.
27870 * math/w_exp10l_compat.c: Likewise.
27871 * math/w_exp2_compat.c: Likewise.
27872 * math/w_exp2f_compat.c: Likewise.
27873 * math/w_exp2l_compat.c: Likewise.
27874 * math/w_fmod_compat.c: Likewise.
27875 * math/w_fmodf_compat.c: Likewise.
27876 * math/w_fmodl_compat.c: Likewise.
27877 * math/w_hypot_compat.c: Likewise.
27878 * math/w_hypotf_compat.c: Likewise.
27879 * math/w_hypotl_compat.c: Likewise.
27880 * math/w_j0_compat.c: Likewise.
27881 * math/w_j0f_compat.c: Likewise.
27882 * math/w_j0l_compat.c: Likewise.
27883 * math/w_j1_compat.c: Likewise.
27884 * math/w_j1f_compat.c: Likewise.
27885 * math/w_j1l_compat.c: Likewise.
27886 * math/w_jn_compat.c: Likewise.
27887 * math/w_jnf_compat.c: Likewise.
27888 * math/w_jnl_compat.c: Likewise.
27889 * math/w_lgamma_r_compat.c: Likewise.
27890 * math/w_lgammaf_r_compat.c: Likewise.
27891 * math/w_lgammal_r_compat.c: Likewise.
27892 * math/w_log10_compat.c: Likewise.
27893 * math/w_log10f_compat.c: Likewise.
27894 * math/w_log10l_compat.c: Likewise.
27895 * math/w_log2_compat.c: Likewise.
27896 * math/w_log2f_compat.c: Likewise.
27897 * math/w_log2l_compat.c: Likewise.
27898 * math/w_log_compat.c: Likewise.
27899 * math/w_logf_compat.c: Likewise.
27900 * math/w_logl_compat.c: Likewise.
27901 * math/w_pow_compat.c: Likewise.
27902 * math/w_powf_compat.c: Likewise.
27903 * math/w_powl_compat.c: Likewise.
27904 * math/w_remainder_compat.c: Likewise.
27905 * math/w_remainderf_compat.c: Likewise.
27906 * math/w_remainderl_compat.c: Likewise.
27907 * math/w_sinh_compat.c: Likewise.
27908 * math/w_sinhf_compat.c: Likewise.
27909 * math/w_sinhl_compat.c: Likewise.
27910 * math/w_sqrt_compat.c: Likewise.
27911 * math/w_sqrtf_compat.c: Likewise.
27912 * math/w_sqrtl_compat.c: Likewise.
27913 * math/w_tgamma_compat.c: Likewise.
27914 * math/w_tgammaf_compat.c: Likewise.
27915 * math/w_tgammal_compat.c: Likewise.
27916 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
27917 [LIBM_SVID_COMPAT].
27918 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
27919 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
27920 [LIBM_SVID_COMPAT].
27921 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
27922 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
27923 [LIBM_SVID_COMPAT].
27924 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
27925 * sysdeps/i386/fpu/w_sqrt.c: New file.
27926 * sysdeps/ia64/fpu/w_acos.c: Likewise.
27927 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
27928 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
27929 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
27930 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
27931 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
27932 * sysdeps/ia64/fpu/w_asin.c: Likewise.
27933 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
27934 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
27935 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
27936 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
27937 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
27938 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
27939 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
27940 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
27941 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
27942 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
27943 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
27944 * sysdeps/ia64/fpu/w_exp.c: Likewise.
27945 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
27946 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
27947 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
27948 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
27949 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
27950 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
27951 * sysdeps/ia64/fpu/w_expf.c: Likewise.
27952 * sysdeps/ia64/fpu/w_expl.c: Likewise.
27953 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
27954 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
27955 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
27956 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
27957 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
27958 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
27959 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
27960 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
27961 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
27962 * sysdeps/ia64/fpu/w_log.c: Likewise.
27963 * sysdeps/ia64/fpu/w_log10.c: Likewise.
27964 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
27965 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
27966 * sysdeps/ia64/fpu/w_log2.c: Likewise.
27967 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
27968 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
27969 * sysdeps/ia64/fpu/w_logf.c: Likewise.
27970 * sysdeps/ia64/fpu/w_logl.c: Likewise.
27971 * sysdeps/ia64/fpu/w_pow.c: Likewise.
27972 * sysdeps/ia64/fpu/w_powf.c: Likewise.
27973 * sysdeps/ia64/fpu/w_powl.c: Likewise.
27974 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
27975 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
27976 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
27977 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
27978 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
27979 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
27980 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
27981 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
27982 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
27983 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
27984 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
27985 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
27986 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
27987 [LIBM_SVID_COMPAT].
27988 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
27989 * sysdeps/ieee754/k_standard.c: Likewise.
27990 * sysdeps/ieee754/k_standardf.c: Likewise.
27991 * sysdeps/ieee754/k_standardl.c: Likewise.
27992 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
27993 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
27994 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
27995 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
27996 long_double_symbol call on [LIBM_SVID_COMPAT].
27997 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27998 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27999 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28000 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28001 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28002 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28003 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28004 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28005 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28006 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28007 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28008 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28009 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28010 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28011 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28012 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28013 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
28014 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28015 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28016 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28017 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
28018 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
28019
28020 2017-09-05 Steve Ellcey <sellcey@cavium.com>
28021
28022 * include/shlib-compat.h (TEST_COMPAT): New Macro.
28023 * malloc/tst-mallocstate.c: Convert from test-skeleton
28024 to test-driver. Ifdef code using TEST_COMPAT macro.
28025 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
28026 * math/test-matherr.c: Likewise.
28027
28028 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28029
28030 [BZ #22086]
28031 * debug/pcprofiledump.c (main): Use byte-swapped mask when
28032 comparing word with byte-swapped constant.
28033
28034 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
28035
28036 [BZ #20498]
28037 * locale/iso-639.def: add Miskito.
28038 * localedata/SUPPORTED: Add miq_NI/UTF-8.
28039 * localedata/locales/miq_NI: New file.
28040
28041 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
28042
28043 [BZ #18822]
28044 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
28045 (__mkdir): Likewise.
28046 * io/chmod.c (__chmod): Add libc_hidden_def.
28047 * io/mkdir.c (__mkdir): Likewise.
28048 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28049 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28050 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
28051 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
28052
28053 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28054
28055 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
28056 version to 4.13.
28057
28058 [BZ #22082]
28059 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
28060 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
28061
28062 2017-09-04 Florian Weimer <fweimer@redhat.com>
28063
28064 * math/math.h: Issue warning if log is defined.
28065
28066 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28067
28068 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28069 kernel version to 4.13.
28070
28071 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28072
28073 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
28074 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
28075 parameter.
28076 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
28077 just <bits/types.h>.
28078 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
28079 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
28080 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
28081 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
28082 * misc/preadv2.c: Include <errno.h>.
28083 * misc/preadv64v2.c: Include <errno.h>.
28084 * misc/pwritev2.c: Include <errno.h>.
28085 * misc/pwritev64v2.c: Include <errno.h>.
28086 * sysdeps/posix/preadv2.c: Include <errno.h>.
28087 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
28088 Fix <unistd.h> inclusion.
28089 * sysdeps/posix/pwritev2.c: Include <errno.h>.
28090 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
28091 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
28092 __strtoul_internal): New functions.
28093 * sysdeps/posix/pause.c: Include <sigsetops.h>.
28094 * sysdeps/posix/system.c: Include <sigsetops.h>.
28095 * sysdeps/mach/hurd/i386/Makefile
28096 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
28097 [$(subdir) = csu] (sysdep-only-routines): Likewise.
28098 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
28099 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
28100 __feraiseexcept_renamed to feraiseexcept instead of
28101 __GI_feraiseexcept.
28102 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
28103 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
28104 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
28105 RWF_NOWAIT): Define to 0 if undefined already.
28106 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
28107 boils down to 0.
28108 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
28109 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
28110
28111 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28112
28113 * manual/math.texi (pow10): Do not document.
28114 (pow10f): Likewise.
28115 (pow10l): Likewise.
28116 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
28117 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
28118 * math/libm-test-exp10.inc (pow10_test): Remove.
28119 (do_test): Do not call pow10.
28120 * math/w_exp10_compat.c (pow10): Make into compat symbol.
28121 [NO_LONG_DOUBLE] (pow10l): Likewise.
28122 * math/w_exp10f_compat.c (pow10f): Likewise.
28123 * math/w_exp10l_compat.c (pow10l): Likewise.
28124 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
28125 (pow10): Make into compat symbol.
28126 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
28127 (pow10f): Make into compat symbol.
28128 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
28129 (pow10l): Make into compat symbol.
28130 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
28131 pow10.
28132 (CFLAGS-nldbl-pow10.c): Remove variable..
28133 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
28134 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
28135 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
28136 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
28137 Undefine and redefine.
28138 (pow10l): Make into compat symbol.
28139 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
28140 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
28141 * sysdeps/arm/libm-test-ulps: Likewise.
28142 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
28143 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
28144 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28145 * sysdeps/microblaze/libm-test-ulps: Likewise.
28146 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28147 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28148 * sysdeps/nios2/libm-test-ulps: Likewise.
28149 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28150 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
28151 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28152 * sysdeps/sh/libm-test-ulps: Likewise.
28153 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28154 * sysdeps/tile/libm-test-ulps: Likewise.
28155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28156
28157 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28158
28159 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
28160
28161 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28162
28163 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
28164 "../ChangeLog.old/ChangeLog.8".
28165 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
28166 "../ChangeLog.old/ChangeLog.14".
28167
28168 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28169
28170 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
28171 Threads Library.
28172
28173 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28174
28175 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
28176
28177 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28178
28179 * csu/version.c (banner): Remove "by Roland McGrath et al.".
28180 * nptl/Banner: Remove "by Ulrich Drepper et al.".
28181
28182 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28183
28184 * stdlib/tst-atexit-common.c (do_test): Test support for at least
28185 32 atexit handlers.
28186
28187 2017-09-01 Zack Weinberg <zackw@panix.com>
28188
28189 * math/math.h (HUGE_VAL): Improve commentary.
28190
28191 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28192 Andreas Schwab <schwab@suse.de>
28193
28194 [BZ #21530]
28195 * include/stdio.h (__gen_tempfd): New function.
28196 * stdio-common/Makefile (routines): Add gentempfd.
28197 * stdio-common/gentempfd.c: New file.
28198 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
28199 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
28200 unnamed file first.
28201
28202 2017-09-01 Florian Weimer <fweimer@redhat.com>
28203
28204 [BZ #21915]
28205 [BZ #21922]
28206 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
28207 result to determine success or failure, not the errno value.
28208 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
28209 (tst-nss-files-hosts-erange): Link with -ldl.
28210 * nss/tst-nss-files-hosts-erange.c: New file.
28211 * nss/tst-resolv-basic.c (response): Handle nodata.example.
28212 (do_test): Add NO_DATA tests.
28213 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
28214 (do_test): Call it.
28215
28216 2017-09-01 Florian Weimer <fweimer@redhat.com>
28217
28218 [BZ #21922]
28219 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
28220 coming from gethostbyname2_r.
28221
28222 2017-09-01 Florian Weimer <fweimer@redhat.com>
28223
28224 * support/namespace.h (struct support_chroot_configuration): Add
28225 hosts, host_conf.
28226 (struct support_chroot): Add path_hosts, path_host_conf.
28227 * support/support_chroot.c (write_file): New function.
28228 (support_chroot_create): Call it to process /etc/resolv.conf,
28229 /etc/hosts, /etc/host.conf.
28230 (support_chroot_free): Update.
28231
28232 2017-09-01 Florian Weimer <fweimer@redhat.com>
28233
28234 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
28235 status indicates it is set.
28236
28237 2017-09-01 Florian Weimer <fweimer@redhat.com>
28238
28239 [BZ #20532]
28240 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
28241 function lookup failures more reliable.
28242
28243 2017-09-01 Florian Weimer <fweimer@redhat.com>
28244
28245 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
28246 (getcanonname): Likewise.
28247 (gaih_inet): Likewise.
28248
28249 2017-09-01 Florian Weimer <fweimer@redhat.com>
28250
28251 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
28252 (getcanonname): Likewise.
28253 (gaih_inet): Likewise.
28254
28255 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28256 Richard Henderson <rth@twiddle.net>
28257
28258 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
28259 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
28260 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
28261 (IREG_SIZE, OREG_SIZE): New macros.
28262 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
28263 (IREG_SIZE, OREG_SIZE): New macros.
28264 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
28265 (IREG_SIZE): New macro.
28266 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
28267 (IREG_SIZE): New macro.
28268 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
28269 New includes.
28270 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
28271 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28272 (__CONCATX): Handle exceptions correctly on large values that may
28273 set FE_INVALID.
28274 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
28275 Initialize if not already set.
28276 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28277
28278 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28279
28280 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
28281 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
28282 Likewise.
28283 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
28284 Likewise.
28285 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
28286 Likewise.
28287 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
28288 Likewise.
28289 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
28290 Likewise.
28291 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
28292 Likewise.
28293 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
28294 Likewise.
28295 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
28296 (NO_CANCELLATION): Likewise.
28297 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
28298 Likewise.
28299 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
28300 Likewise.
28301 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
28302 Likewise.
28303 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
28304 (NO_CANCELLATION): Likewise.
28305 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
28306 (NO_CANCELLATION): Likewise.
28307 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
28308 Likewise
28309 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
28310 Likewise.
28311 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
28312 Likewise.
28313 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
28314 Likewise.
28315 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
28316 hidden prototype.
28317 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
28318 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
28319
28320 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28321
28322 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
28323 in resolver call.
28324
28325 2017-08-31 Florian Weimer <fweimer@redhat.com>
28326
28327 * include/libc-symbols.h (internal_function): Remove.
28328
28329 2017-08-31 Florian Weimer <fweimer@redhat.com>
28330
28331 * stdlib/fmtmsg.c (internal_addseverity): Remove
28332 internal_function.
28333
28334 2017-08-31 Florian Weimer <fweimer@redhat.com>
28335
28336 * stdio-common/printf_fp.c (group_number): Remove
28337 internal_function.
28338 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
28339
28340 2017-08-31 Florian Weimer <fweimer@redhat.com>
28341
28342 * posix/fnmatch.c (internal_function): Remove definition.
28343 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
28344 * posix/regcomp.c (peek_token, init_word_char)
28345 (duplicate_node_closure, fetch_token, peek_token)
28346 (peek_token_bracket, build_range_exp, build_collating_symbol):
28347 Likewise.
28348 * posix/regex_internal.c (re_string_construct_common)
28349 (create_ci_newstate, create_cd_newstate, re_string_allocate)
28350 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
28351 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
28352 (re_string_translate_buffer, re_string_reconstruct)
28353 (re_string_peek_byte_case, re_string_fetch_byte_case)
28354 (re_string_destruct, re_string_context_at, re_node_set_alloc)
28355 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
28356 (re_node_set_add_intersect, re_node_set_init_union)
28357 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
28358 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
28359 (re_dfa_add_node, calc_state_hash, re_acquire_state)
28360 (re_acquire_state_context): Likewise.
28361 * posix/regex_internal.h (internal_function): Remove definition.
28362 (re_string_realloc_buffers, build_wcs_buffer)
28363 (build_wcs_upper_buffer, build_upper_buffer)
28364 (re_string_translate_buffer, re_string_context_at)
28365 (re_string_char_size_at, re_string_wchar_at)
28366 (re_string_elem_size_at): Likewise.
28367 * posix/regexec.c (match_ctx_init, match_ctx_clean)
28368 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
28369 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
28370 (re_search_internal, re_search_2_stub, re_search_stub)
28371 (re_copy_regs, prune_impossible_nodes, check_matching)
28372 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
28373 (free_fail_stack_return, sift_states_iter_mb)
28374 (sift_states_backward, build_sifted_states)
28375 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
28376 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
28377 (check_subexp_limits, sift_states_bkref, merge_state_array)
28378 (find_recover_state, transit_state, merge_state_with_log)
28379 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
28380 (transit_state_mb, transit_state_bkref, get_subexp)
28381 (get_subexp_sub, find_subexp_node, check_arrival)
28382 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
28383 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
28384 (check_node_accept_bytes, find_collation_sequence_value)
28385 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
28386 (acquire_init_state_context, check_halt_node_context)
28387 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
28388 (sub_epsilon_src_nodes): Likewise.
28389 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
28390 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
28391 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
28392 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
28393 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
28394 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
28395 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
28396 * sysdeps/posix/ttyname.c (getttyname): Likewise.
28397 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
28398 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
28399 (PREADV): Likewise.
28400 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
28401 (PREADV): Likewise.
28402 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
28403 (PWRITEV): Likewise.
28404 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
28405 (PWRITEV): Likewise.
28406 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
28407 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28408
28409 2017-08-31 Florian Weimer <fweimer@redhat.com>
28410
28411 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
28412 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
28413 Remove internal_function.
28414 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28415 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
28416 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
28417 (__deallocate_stack, __libc_pthread_init)
28418 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
28419 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
28420 (__libc_disable_asynccancel, __librt_disable_asynccancel):
28421 Likewise.
28422 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
28423 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
28424 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
28425 Likewise.
28426 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
28427 (__pthread_mutex_unlock_usercnt): Likewise.
28428
28429 2017-08-31 Florian Weimer <fweimer@redhat.com>
28430
28431 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
28432 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
28433 (fts_safe_changedir): Remove internal_function.
28434 * io/ftw.c (internal_function): Remove definition.
28435 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
28436
28437 2017-08-31 Florian Weimer <fweimer@redhat.com>
28438
28439 * inet/deadline.c (__deadline_current_time)
28440 (__deadline_from_timeval, __deadline_to_ms): Remove
28441 internal_function.
28442 * inet/getnameinfo.c (nrl_domainname): Likewise.
28443 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
28444 * inet/inet6_option.c (add_pad): Likewise.
28445 * inet/net-internal.h (__deadline_current_time)
28446 (__deadline_from_timeval, __deadline_to_ms): Likewise.
28447 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
28448 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
28449 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
28450
28451 2017-08-31 Joseph Myers <joseph@codesourcery.com>
28452
28453 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
28454 include <bits/nan.h>.
28455 * math/Makefile (headers): Remove bits/nan.h.
28456 * bits/nan.h: Remove.
28457 * sysdeps/ieee754/bits/nan.h: Likewise.
28458 * sysdeps/mips/bits/nan.h: Likewise.
28459
28460 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
28461 not include <bits/inf.h>.
28462 * math/Makefile (headers): Remove bits/inf.h.
28463 * bits/inf.h: Remove.
28464 * sysdeps/ieee754/bits/inf.h: Likewise.
28465
28466 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
28467 bits/huge_vall.h or bits/huge_val_flt128.h.
28468 (HUGE_VAL): Define directly here.
28469 [__USE_ISOC99] (HUGE_VALF): Likewise.
28470 [__USE_ISOC99] (HUGE_VALL): Likewise.
28471 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28472 (HUGE_VAL_F128): Likewise.
28473 * math/Makefile (headers): Remove bits/huge_val.h,
28474 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
28475 * bits/huge_val.h: Remove.
28476 * bits/huge_val_flt128.h: Likewise.
28477 * bits/huge_valf.h: Likewise.
28478 * bits/huge_vall.h: Likewise.
28479 * sysdeps/ia64/bits/huge_vall.h: Likewise.
28480 * sysdeps/ieee754/bits/huge_val.h: Likewise.
28481 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
28482 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
28483 * sysdeps/sh/bits/huge_val.h: Likewise.
28484 * sysdeps/sparc/bits/huge_vall.h: Likewise.
28485 * sysdeps/x86/bits/huge_vall.h: Likewise.
28486
28487 2017-08-31 Florian Weimer <fweimer@redhat.com>
28488
28489 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
28490 internal_function.
28491 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
28492 Likewise.
28493 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
28494 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
28495 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
28496 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
28497 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28498 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
28499 * elf/dl-libc.c (dlerror_run): Likewise.
28500 * elf/dl-load.c (add_name_to_object, decompose_rpath)
28501 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
28502 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
28503 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
28504 Likewise.
28505 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
28506 (_dl_higher_prime_number, _dl_strtoul): Likewise.
28507 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
28508 * elf/dl-profile.c (_dl_start_profile): Likewise.
28509 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
28510 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
28511 Likewise.
28512 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
28513 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
28514 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
28515 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
28516 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
28517 (_dl_allocate_tls_storage): Likewise.
28518 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
28519 (_dl_check_all_versions): Likewise.
28520 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
28521 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
28522 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
28523 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28524 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
28525 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
28526 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
28527 internal_function from __dl_start.
28528 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
28529 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
28530 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
28531 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
28532 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
28533 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
28534 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
28535 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
28536 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
28537 (_dl_next_ld_env_entry, _dl_important_hwcaps)
28538 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
28539 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
28540 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
28541 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
28542 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
28543 Likewise.
28544 (struct rtld_global_ro): Remove internal_function from the
28545 _dl_lookup_symbol_x member.
28546 (_dl_symbol_value): Remove. No longer defined anywhere.
28547 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
28548 internal_function.
28549 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28550 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28551 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
28552 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
28553 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
28554 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
28555 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
28556 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
28557 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
28558 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
28559 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28560 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28561
28562 2017-08-31 Florian Weimer <fweimer@redhat.com>
28563
28564 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
28565 Remove internal_function.
28566 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28567 Likewise.
28568 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28569 Likewise.
28570
28571 2017-08-31 Florian Weimer <fweimer@redhat.com>
28572
28573 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
28574 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
28575 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
28576
28577 2017-08-31 Florian Weimer <fweimer@redhat.com>
28578
28579 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
28580 (__gai_enqueue_request): Remove internal_function.
28581 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
28582 (__gai_remove_request, __gai_notify, __gai_notify_only)
28583 (__gai_sigqueue): Likewise.
28584 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
28585 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28586 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
28587 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28588 Likewise.
28589
28590 2017-08-31 Florian Weimer <fweimer@redhat.com>
28591
28592 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
28593 * include/dirent.h (__opendirat, __getdents, __getdents64)
28594 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
28595 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
28596 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
28597 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28598 Likewise.
28599 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
28600
28601 2017-08-31 Florian Weimer <fweimer@redhat.com>
28602
28603 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
28604 internal_function.
28605 (GETCWD_RETURN_TYPE): Likewise.
28606
28607 2017-08-31 Florian Weimer <fweimer@redhat.com>
28608
28609 * include/time.h (__tz_compute, __strptime_internal): Remove
28610 internal_function.
28611 * time/strptime_l.c (__strptime_internal): Likewise.
28612 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
28613
28614 2017-08-31 Florian Weimer <fweimer@redhat.com>
28615
28616 * iconv/gconv.c (__gconv): Remove internal_function.
28617 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
28618 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
28619 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
28620 (__gconv_release_cache): Likewise.
28621 * iconv/gconv_close.c (__gconv_close): Likewise.
28622 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
28623 (read_conf_file, __gconv_get_path): Likewise.
28624 * iconv/gconv_db.c (derivation_lookup, add_derivation)
28625 (__gconv_release_step, gen_steps, increment_counter)
28626 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
28627 (__gconv_close_transform, free_modules_db): Likewise.
28628 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
28629 Likewise.
28630 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
28631 (__gconv_find_transform, __gconv_lookup_cache)
28632 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
28633 (__gconv_close_transform, __gconv_release_cache)
28634 (__gconv_loaded_object, __gconv_release_shlib)
28635 (__gconv_compare_alias): Likewise.
28636 * iconv/gconv_open.c (__gconv_open): Likewise.
28637 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
28638 * iconv/iconvconfig.c (add_module): Likewise.
28639 * intl/dcigettext.c (plural_lookup, guess_category_value)
28640 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
28641 * intl/eval-plural.h (plural_eval): Likewise.
28642 * intl/finddomain.c (_nl_find_domain): Likewise.
28643 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
28644 (_nl_load_domain, _nl_find_msg): Likewise.
28645 (internal_function): Remove definition.
28646 * intl/loadinfo.h (internal_function): Likewise.
28647 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
28648 internal_function.
28649 * intl/localealias.c (internal_function): Remove definition.
28650 (read_alias_file): Remove internal_function.
28651 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
28652 * intl/plural-exp.h (internal_function): Remove definition.
28653 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
28654 internal_function.
28655 * intl/plural.c: Regenerate.
28656 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
28657 * locale/coll-lookup.c (__collidx_table_lookup)
28658 (__collseq_table_lookup): Likewise.
28659 * locale/coll-lookup.h (__collidx_table_lookup)
28660 (__collseq_table_lookup): Likewise.
28661 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
28662 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
28663 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
28664 (_nl_unload_locale): Likewise.
28665 * locale/localeinfo.h (struct __locale_data): Remove
28666 internal_function from cleanup member.
28667 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
28668 (_nl_remove_locale, _nl_load_locale_from_archive)
28669 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
28670 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
28671 (_nl_cleanup_time): Remove internal_function.
28672 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
28673 (_nl_parse_alt_digit): Likewise.
28674 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
28675 (_nl_select_era_entry): Likewise.
28676 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
28677 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28678 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28679 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28680 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28681
28682 2017-08-31 Florian Weimer <fweimer@redhat.com>
28683
28684 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
28685 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28686 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
28687 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
28688 Likewise.
28689 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
28690 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
28691 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
28692 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
28693 Likewise.
28694 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
28695
28696 2017-08-31 Florian Weimer <fweimer@redhat.com>
28697
28698 * misc/getttyent.c (skip, value): Remove internal_function.
28699 * misc/syslog.c (openlog_internal): Likewise.
28700 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
28701
28702 2017-08-31 Florian Weimer <fweimer@redhat.com>
28703
28704 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
28705 (__nss_rewrite_field): Remove internal_function.
28706 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
28707 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
28708 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
28709 * nss/nsswitch.c (nss_parse_file, nss_getline)
28710 (nss_parse_service_list, nss_new_service): Likewise.
28711 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
28712 * nss/valid_field.c (__nss_valid_field): Likewise.
28713 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
28714
28715 2017-08-31 Florian Weimer <fweimer@redhat.com>
28716
28717 * malloc/arena.c (__malloc_fork_lock_parent)
28718 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
28719 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
28720 internal_function from defintions.
28721 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
28722 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
28723 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
28724 internal_function from declarations.
28725 * malloc/malloc.c (internal_function): Do not define.
28726 (mem2mem_check): Remove internal_function from declaration.
28727 (munmap_chunk, mremap_chunk): Remove internal_function.
28728 * malloc/mtrace.c (tr_where): Likewise.
28729
28730 2017-08-31 Florian Weimer <fweimer@redhat.com>
28731
28732 * include/rpc/pmap_clnt.h (__get_socket): Remove
28733 internal_function.
28734 * sunrpc/auth_des.c (synchronize): Likewise.
28735 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
28736 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
28737 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
28738 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
28739 (key_call): Likewise.
28740 * sunrpc/pm_getport.c (__get_socket): Likewise.
28741 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
28742 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
28743 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
28744 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
28745 (invalidate): Likewise.
28746 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
28747 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
28748 (set_input_fragment, get_input_bytes): Likewise.
28749
28750 2017-08-31 Florian Weimer <fweimer@redhat.com>
28751
28752 * malloc/malloc.c (_int_free): Remove locked variable and related
28753 asserts.
28754
28755 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
28756
28757 [BZ #22051]
28758 * Makerules (build-module-helper-objlist): Filter out
28759 $(elf-objpfx)sofini.os.
28760 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
28761 needed.
28762
28763 2017-08-31 Florian Weimer <fweimer@redhat.com>
28764
28765 * libio/fcloseall.c: Assume weak_alias is defined.
28766 * libio/feof.c: Likewise.
28767 * libio/fileno.c: Likewise.
28768 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
28769 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28770 definitions.
28771 (_IO_file_open): Call __open directly.
28772 (_IO_new_file_sync): Assume ESPIPE is defined.
28773 (_IO_file_seekoff_maybe_mmap): Call __read directly.
28774 (_IO_new_file_write): Call __write directly.
28775 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
28776 * libio/ftello64.c (__ftello64): Assume EIO is defined.
28777 * libio/genops.c: Assume _LIBC is defined.
28778 (save_for_backup): Remove internal_function.
28779 * libio/getc.c: Assume weak_alias is defined.
28780 * libio/getwc.c: Likewise.
28781 * libio/iofclose.c: Assume _LIBC is defined.
28782 * libio/iofdopen.c: Likewise.
28783 (_IO_fcntl): Remove macro definition.
28784 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
28785 Call __fcntl directly.
28786 * libio/iofflush.c: Assume weak_alias is defined.
28787 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
28788 defined.
28789 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
28790 * libio/iofgets.c: Likewise.
28791 * libio/iofopen.c: Assume _LIBC is defined.
28792 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
28793 * libio/iofputs.c: Assume weak_alias is defined.
28794 * libio/iofread.c: Likewise.
28795 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
28796 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28797 * libio/ioftell.c: Assume weak_alias is defined.
28798 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
28799 * libio/iofwide.c: Assume _LIBC is defined.
28800 (_IO_fwide): Drop SHARED conditional because it is implied by
28801 SHLIB_COMPAT.
28802 * libio/iofwrite.c: Assume weak_alias is defined.
28803 * libio/iogetdelim.c: Likewise.
28804 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
28805 * libio/iogetwline.c (wmemcpy): Remove macro definition.
28806 (_IO_getwline): Call __wmemcpy directly.
28807 * libio/iopopen.c: Assume _LIBC is defined.
28808 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28809 (_IO_close): Remove macro definitions.
28810 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
28811 _exit directly.
28812 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
28813 directly.
28814 * libio/ioputs.c: Assume weak_alias is defined.
28815 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
28816 * libio/iosetbuffer.c: Assume weak_alias is defined.
28817 * libio/iosetvbuf.c: Likewise.
28818 * libio/ioungetc.c: Likewise.
28819 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
28820 libc_hidden_def, libc_hidden_weak, NULL are defined.
28821 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
28822 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
28823 defined.
28824 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28825 definitions.
28826 (_IO_old_file_init_internal): Drop SHARED conditional because it
28827 is implied by SHLIB_COMPAT.
28828 (_IO_old_file_fopen): Call __open directly.
28829 (_IO_old_file_sync): Assume ESPIPE is defined.
28830 (_IO_old_file_write): Call __write directly.
28831 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
28832 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
28833 Call __fcntl directly.
28834 * libio/oldiofgetpos.c: Assume weak_alias is defined.
28835 (_IO_old_fgetpos): Assume EIO is defined.
28836 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
28837 (_IO_old_fgetpos64): Assume EIO is defined.
28838 * libio/oldiofsetpos.c: Assume weak_alias is defined.
28839 (_IO_old_fsetpos): Assume EIO is defined.
28840 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
28841 (_IO_old_fsetpos64): Assume EIO is defined.
28842 * libio/oldiopopen.c: Assume _LIBC is defined.
28843 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28844 (_IO_close): Remove macro definitions.
28845 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
28846 directly.
28847 (_IO_old_proc_close): Call __close, __waitpid directly.
28848 * libio/put.c: Assume weak_alias is defined.
28849 * libio/stdfiles.c: Assume _LIBC is defined.
28850 * libio/stdio.c: Likewise.
28851 * libio/wfileops.c: Likewise.
28852 (_IO_wfile_sync): Assume ESPIPE is defined.
28853 * libio/wgenops.c: Assume _LIBC is defined.
28854 (save_for_wbackup): Remove internal_function.
28855
28856 2017-08-31 Florian Weimer <fweimer@redhat.com>
28857
28858 * malloc/malloc.c (top_check): Change return type to void. Remove
28859 internal_function.
28860 * malloc/hooks.c (top_check): Likewise.
28861 (malloc_check, realloc_check, memalign_check): Adjust.
28862
28863 2017-08-30 Joseph Myers <joseph@codesourcery.com>
28864
28865 [BZ #21457]
28866 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28867 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
28868 sigcontext and namespace requirements.
28869 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28870 * sysdeps/m68k/sys/ucontext.h: Likewise.
28871 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
28872 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
28873 <bits/sigcontext.h>.
28874 (__ctx): Define earlier.
28875 (mcontext_t): Define structure contents rather than using struct
28876 sigcontext.
28877 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
28878 __glibc_reserved1 instead of __reserved.
28879 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
28880 <bits/sigcontext.h>.
28881 (__ctx): Define earlier.
28882 (mcontext_t): Define structure contents rather than using struct
28883 sigcontext.
28884 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
28885 mcontext_t instead of struct sigcontext.
28886 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
28887 <bits/sigcontext.h>.
28888 (__ctx): Define earlier.
28889 (mcontext_t): Define structure contents rather than using struct
28890 sigcontext.
28891 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
28892 <bits/sigcontext.h>.
28893 (__ctx): Define earlier.
28894 (mcontext_t): Define structure contents rather than using struct
28895 sigcontext.
28896 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
28897 mcontext_t instead of struct sigcontext.
28898 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
28899 mcontext_t instead of struct sigcontext.
28900 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
28901 <bits/sigcontext.h>.
28902 (__ctx): New macro.
28903 (struct __ia64_fpreg_mcontext): New type.
28904 (mcontext_t): Define structure contents rather than using struct
28905 sigcontext.
28906 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
28907 (uc_sigmask): Define using __ctx.
28908 (uc_stack): Likewise.
28909 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
28910 <bits/sigcontext.h>.
28911 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28912 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
28913 <bits/sigcontext.h>.
28914 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
28915 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
28916 <bits/sigcontext.h>.
28917 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
28918 <bits/sigcontext.h>.
28919 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
28920 <bits/sigcontext.h>.
28921 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
28922 <bits/sigcontext.h>.
28923 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
28924 <bits/sigcontext.h>.
28925 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
28926 <bits/sigcontext.h>.
28927 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
28928 <bits/sigcontext.h>.
28929 (__ctx): Define earlier.
28930 (mcontext_t): Define structure contents rather than using struct
28931 sigcontext.
28932 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
28933 <bits/sigcontext.h>. Include <bits/types.h>.
28934 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
28935 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
28936 (test-xfail-XPG42/ucontext.h/conform): Likewise.
28937 (test-xfail-UNIX98/signal.h/conform): Likewise.
28938 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
28939 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
28940 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
28941 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
28942 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
28943 (test-xfail-POSIX2008/signal.h/conform): Likewise.
28944 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
28945 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
28946 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
28947
28948 2017-08-30 Florian Weimer <fweimer@redhat.com>
28949
28950 * malloc/dynarray_emplace_enlarge.c
28951 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
28952 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
28953 * malloc/tst-dynarray.c (test_long_overflow): New function.
28954 (do_test): Call it.
28955
28956 2017-08-30 Florian Weimer <fweimer@redhat.com>
28957
28958 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
28959 (set_arena_corrupt): Remove definitions.
28960 (mtrim): Do not check for corrupt arena.
28961 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
28962 Likewise.
28963
28964 2017-08-30 Florian Weimer <fweimer@redhat.com>
28965
28966 [BZ #21754]
28967 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
28968 check_action.
28969 (ptmalloc_init): Do not set or use check_action.
28970 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
28971 call to malloc_printerr. Remove return statement.
28972 (free_check): Likewise. Remove arena unlock.
28973 (top_check): Update comment. Adjust call to malloc_printerr.
28974 Remove heap repair code.
28975 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
28976 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
28977 (sysmalloc): Adjust call to malloc_printerr.
28978 (munmap_chunk, __libc_realloc): Likewise. Remove return
28979 statement.
28980 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
28981 Remove errout label and corresponding gotos.
28982 (_int_free): Likewise. Remove arena unlock.
28983 (do_set_mallopt_check): Do not set check_action.
28984 (malloc_printerr): Adjust parameter list. Do not mark arena as
28985 corrupt.
28986 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
28987 comment.
28988 * manual/probes.texi (Memory Allocation Probes): Remove
28989 memory_mallopt_check_action.
28990
28991 2017-08-30 Steve Ellcey <sellcey@cavium.com>
28992
28993 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
28994 Use pointer to uint64_t instead of long int for sp.
28995
28996 2017-08-30 Florian Weimer <fweimer@redhat.com>
28997
28998 [BZ #21754]
28999 * malloc/malloc.c (malloc_printerr): Always terminate the process,
29000 without printing a backtrace. Do not leak any information in the
29001 error message.
29002 * manual/memory.texi (Heap Consistency Checking): Update.
29003 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
29004
29005 2017-08-30 Florian Weimer <fweimer@redhat.com>
29006
29007 Do not scale NPTL tests with available number of CPUs.
29008 * nptl/tst-cond16.c (count): Set to constant value of 8.
29009 * nptl/tst-cond18.c (count): Likewise.
29010
29011 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29012
29013 [BZ #22035]
29014 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
29015 Define to take a second argument that is a macro that
29016 concatentates a suffix, not the suffix itself.
29017 (__CONCAT_d): New macro.
29018 (__CONCAT_f): Likewise.
29019 (__CONCAT_l): Likewise.
29020
29021 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
29022
29023 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
29024 by child.
29025
29026 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29027 Aurelien Jarno <aurelien@aurel32.net>
29028 Maciej W. Rozycki <macro@imgtec.com>
29029
29030 [BZ #21956]
29031 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
29032 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
29033 `mips16-syscall6' and `mips16-syscall7'.
29034 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
29035 (CFLAGS-mips16-syscall7.c): Remove.
29036 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
29037 Remove `__mips16_syscall5', `__mips16_syscall6' and
29038 `__mips16_syscall7'.
29039 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
29040 (__mips16_syscall0): Rename `__mips16_syscall_return' to
29041 `__mips_syscall_return'.
29042 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
29043 (__mips16_syscall1): Likewise.
29044 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
29045 (__mips16_syscall2): Likewise.
29046 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
29047 (__mips16_syscall3): Likewise.
29048 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
29049 (__mips16_syscall4): Likewise.
29050 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
29051 Remove.
29052 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
29053 Remove.
29054 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
29055 Remove.
29056 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
29057 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
29058 `__mips16_syscall5'. Remove prototype.
29059 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
29060 `__mips16_syscall6'. Remove prototype.
29061 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
29062 `__mips16_syscall7'. Remove prototype.
29063 (__nomips16, __mips16_syscall_return): Move to...
29064 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
29065 (__nomips16, __mips_syscall_return): ... here.
29066 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
29067 `__mips16_syscall_return' to `__mips_syscall_return'.
29068 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
29069 `internal_syscall##nr'.
29070 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
29071 `internal_syscall##nr'.
29072 (FORCE_FRAME_POINTER): Remove.
29073 (__mips_syscall5): New prototype.
29074 (internal_syscall5): Rewrite to call `__mips_syscall5'.
29075 (__mips_syscall6): New prototype.
29076 (internal_syscall6): Rewrite to call `__mips_syscall6'.
29077 (__mips_syscall7): New prototype.
29078 (internal_syscall7): Rewrite to call `__mips_syscall7'.
29079 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
29080 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
29081 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
29082 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
29083 (sysdep_routines): Add libc-do-syscall.
29084 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
29085 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
29086
29087 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29088
29089 [BZ #21672]
29090 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
29091 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
29092 (advise_stack_range): New function.
29093 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
29094 stack non required to advise_stack_range at allocatestack.c
29095
29096 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29097
29098 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
29099
29100 2017-08-29 Florian Weimer <fweimer@redhat.com>
29101
29102 [BZ #22026]
29103 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
29104 __end_fct. Mangle __end_fct after setting it to NULL.
29105 * iconv/Makefile (tests): Add tst-gconv-init-failure.
29106 (modules-names, modules-names-tests): Add
29107 tst-gconv-init-failure-mod.
29108 (gconv-modules): New target.
29109 (tst-gconv-init-failure-mod.so): Link against libsupport.
29110 (tst-gconv-init-failure): Depend on gconv-modules,
29111 tst-gconv-init-failure-mod.so.
29112 * iconv/tst-gconv-init-failure-mod.c: New file.
29113 * iconv/tst-gconv-init-failure.c: Likewise.
29114 * iconv/test-gconv-modules: Likewise.
29115
29116 2017-08-29 Florian Weimer <fweimer@redhat.com>
29117
29118 [BZ #22025]
29119 * iconv/gconv_db.c (free_derivation): Remove redundant
29120 parentheses.
29121 (gen_steps): Unconditionally mangle __btowc_fct after
29122 initialization.
29123 (increment_counter): Likewise. Do not call init_fct for internal
29124 modules.
29125
29126 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29127
29128 [BZ #22028]
29129 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29130 (_MSUF_): Remove macro.
29131 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
29132 Likewise.
29133 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29134 (__REDIRFROM_X): New macro.
29135 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
29136 Likewise.
29137 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
29138 (__REDIRTO_X): Likewise.
29139 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
29140 arguments.
29141 (__MATH_REDIRCALL_2): Likewise.
29142 (__MATH_REDIRCALL_INTERNAL): Likewise.
29143 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29144 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
29145 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
29146 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29147 * math/test-finite-macros.c: New file.
29148 * math/Makefile (tests): Add test-finite-macros.
29149 (CFLAGS-test-finite-macros.c): New variable.
29150
29151 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
29152 Jeff Law <law@redhat.com>
29153
29154 [BZ #22025]
29155 Mangle NULL pointers in iconv/gconv.
29156 * iconv/gconv_cache.c (find_module): Demangle init_fct before
29157 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
29158 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
29159 is non-NULL before demangling the end_fct. Check for NULL
29160 end_fct after demangling.
29161 (__gconv_release_step): Demangle the end_fct before checking
29162 it for NULL. Remove assert on __shlibc_handle != NULL.
29163 (gen_steps): Don't check btowc_fct for NULL before mangling.
29164 Demangle init_fct before checking for NULL.
29165 (increment_counter): Likewise.
29166 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
29167 end_fct for NULL before mangling.
29168 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
29169 for NULL.
29170
29171 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
29172
29173 [BZ #21971]
29174 * locale/iso-639.def: add Morisyen.
29175
29176 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29177
29178 [BZ #21930]
29179 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
29180 (iszero): New C++ implementation that does not use
29181 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
29182 signaling nans are enabled, since __builtin_types_compatible_p
29183 is a C-only feature.
29184 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
29185 defined, include ieee754_float128.h for access to the union and
29186 member ieee854_float128.ieee.
29187 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
29188 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
29189 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29190 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
29191 options of test-math-zero on powerpc64le.
29192
29193 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
29194
29195 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29196 Change double to float.
29197
29198 2017-08-28 Joseph Myers <joseph@codesourcery.com>
29199
29200 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
29201 unconditional.
29202 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
29203 conditional code; define contents only for [LIBM_SVID_COMPAT].
29204
29205 2017-08-28 Florian Weimer <fweimer@redhat.com>
29206
29207 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
29208 (abi-lp64_be-options): Remove.
29209 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
29210 (abi-hard-options): Likewise.
29211 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
29212 (abi-o32_hard-options, abi-o32_soft_2008-options)
29213 (abi-o32_hard_2008-options, abi-n32_soft-options)
29214 (abi-n32_hard-options, abi-n32_soft_2008-options)
29215 (abi-n32_hard_2008-options, abi-n64_soft-options)
29216 (abi-n64_hard-options, abi-n64_soft_2008-options)
29217 (abi-n64_hard_2008-options): Likewise.
29218 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
29219 (abi-64-v1-options, abi-64-v2-options): Likewise.
29220 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
29221 (abi-64-options): Likewise.
29222 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
29223 (abi-64-options): Likewise.
29224 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
29225 (abi-64-options): Likewise.
29226 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
29227 (abi-64-options, abi-x32-options): Likewise.
29228
29229 2017-08-28 Florian Weimer <fweimer@redhat.com>
29230
29231 Store supported list of SYS_* system calls in the source tree.
29232 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
29233 (bits/syscall.h): Generate from list file.
29234 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
29235 [$(subdir) = misc] (tests): Add tst-syscall-list.
29236 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
29237 [$(subdir) = misc] (tst-syscall-list-macros.list)
29238 [$(subdir) = misc] (tst-syscall-list-nr.list)
29239 (tst-syscall-list-sys.list): Helper targets for new
29240 tst-syscall-list test.
29241 [$(subdir) = misc] (tst-syscall-list.out): Run test script
29242 tst-syscall-list.sh.
29243 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
29244 target. Do not include bits/syscall.d.
29245 [$(subdir) = misc] (generated): Do not update.
29246 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
29247 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
29248 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
29249 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
29250
29251 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
29252
29253 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
29254 (tst-cxa_atexit, tst-on_exit): Likewise.
29255 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
29256 tst-cxa_atexit, and tst-on_exit.
29257 * stdlib/tst-atexit-common.c: New file.
29258 * stdlib/tst-atexit.c: New file.
29259 * stdlib/tst-at_quick_exit.c: New file.
29260 * stdlib/tst-cxa_atexit.c: New file.
29261 * stdlib/tst-on_exit.c: New file.
29262
29263 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29264
29265 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
29266 * mach/stack_chk_fail_local.c: New file.
29267 * hurd/stack_chk_fail_local.c: New file.
29268 * mach/Machrules ($(interface-library)-routines): Add
29269 stack_chk_fail_local.
29270 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
29271 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
29272 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
29273 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
29274 * hurd/Makefile (CFLAGS-hurdstartup.o,
29275 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
29276
29277 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
29278
29279 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
29280 (index_cpu_*, index_arch_*): Removed.
29281
29282 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29283
29284 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
29285 Use uint64_t instead of unsigned long.
29286
29287 2017-08-25 Joseph Myers <joseph@codesourcery.com>
29288
29289 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
29290 [__HAVE_DISTINCT_FLOAT128].
29291
29292 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
29293 of <bits/math-finite.h>.
29294 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
29295 inclusion of <bits/math-finite.h>.
29296 * math/bits/math-finite.h (__REDIRTO_X): Do not define
29297 conditionally on [__MATH_DECLARING_LDOUBLE && defined
29298 __NO_LONG_DOUBLE_MATH].
29299 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
29300 (__MATH_REDIRCALL_2): Likewise.
29301 (__MATH_REDIRCALL_INTERNAL): Likewise.
29302 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29303 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
29304 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29305
29306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
29307 Remove file.
29308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
29309 Likewise.
29310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
29311 Likewise.
29312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
29313 Likewise.
29314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
29315 Likewise.
29316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
29317 Likewise.
29318 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29319 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29320 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29321 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
29323 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
29324 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
29325 w_sqrtf_compat-ppc32.
29326
29327 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29328
29329 * math/math.h [defined __cplusplus] (issignaling): In the long
29330 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
29331 is not defined. Call __issignaling, otherwise.
29332
29333 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29334
29335 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
29336 syscall definitions and replace __builtin_expect with __glibc_likely.
29337 * sysdeps/unix/syscall-template.S: Update comment about cancellable
29338 syscall.
29339 (SYSCALL_CANCELLABLE): Removedefinition
29340 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
29341 definition.
29342 (PSEUDO_END): Likewise.
29343 [IS_IN (libpthread)] (CENABLE): Likewise.
29344 [IS_IN (libpthread)] (CDISABLE): Likewise.
29345 [IS_IN (libc)] (CENABLE): Likewise.
29346 [IS_IN (libc)] (CENABLE): Likewise.
29347 [IS_IN (librt)] (CDISABLE): Likewise.
29348 [IS_IN (librt)] (CDISABLE): Likewise.
29349 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29350 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
29351 definition.
29352 (PSEUDO_END): Likewise.
29353 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
29354 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
29355 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29356 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29357 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29358 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29359 (CENABLE): Likewise.
29360 (CDISABLE): Likewise.
29361 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29362 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
29363 defintion.
29364 (PSEUDO_END): Likewise.
29365 [IS_IN (libpthread)] (CENABLE): Likewise.
29366 [IS_IN (libpthread)] (CDISABLE): Likewise.
29367 [IS_IN (libc)] (CENABLE): Likewise.
29368 [IS_IN (libc)] (CENABLE): Likewise.
29369 [IS_IN (librt)] (CDISABLE): Likewise.
29370 [IS_IN (librt)] (CDISABLE): Likewise.
29371 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29372 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
29373 definition.
29374 (PSEUDO_END): Likewise.
29375 [IS_IN (libpthread)] (CENABLE): Likewise.
29376 [IS_IN (libpthread)] (CDISABLE): Likewise.
29377 [IS_IN (libc)] (CENABLE): Likewise.
29378 [IS_IN (libc)] (CENABLE): Likewise.
29379 [IS_IN (librt)] (CDISABLE): Likewise.
29380 [IS_IN (librt)] (CDISABLE): Likewise.
29381 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29382 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
29383 definition.
29384 (PSEUDO_END): Likewise.
29385 [IS_IN (libpthread)] (CENABLE): Likewise.
29386 [IS_IN (libpthread)] (CDISABLE): Likewise.
29387 [IS_IN (libc)] (CENABLE): Likewise.
29388 [IS_IN (libc)] (CENABLE): Likewise.
29389 [IS_IN (librt)] (CDISABLE): Likewise.
29390 [IS_IN (librt)] (CDISABLE): Likewise.
29391 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29392 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
29393 definition.
29394 (PSEUDO_END): Likewise.
29395 [IS_IN (libpthread)] (CENABLE): Likewise.
29396 [IS_IN (libpthread)] (CDISABLE): Likewise.
29397 [IS_IN (libc)] (CENABLE): Likewise.
29398 [IS_IN (libc)] (CENABLE): Likewise.
29399 [IS_IN (librt)] (CDISABLE): Likewise.
29400 [IS_IN (librt)] (CDISABLE): Likewise.
29401 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29402 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
29403 definition.
29404 (PSEUDO_END): Likewise.
29405 [IS_IN (libpthread)] (CENABLE): Likewise.
29406 [IS_IN (libpthread)] (CDISABLE): Likewise.
29407 [IS_IN (libc)] (CENABLE): Likewise.
29408 [IS_IN (libc)] (CENABLE): Likewise.
29409 [IS_IN (librt)] (CDISABLE): Likewise.
29410 [IS_IN (librt)] (CDISABLE): Likewise.
29411 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29412 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
29413 definition.
29414 (PSEUDO_END): Likewise.
29415 [IS_IN (libpthread)] (CENABLE): Likewise.
29416 [IS_IN (libpthread)] (CDISABLE): Likewise.
29417 [IS_IN (libc)] (CENABLE): Likewise.
29418 [IS_IN (libc)] (CENABLE): Likewise.
29419 [IS_IN (librt)] (CDISABLE): Likewise.
29420 [IS_IN (librt)] (CDISABLE): Likewise.
29421 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29422 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
29423 Remove definition.
29424 (PSEUDO_END): Likewise.
29425 [IS_IN (libpthread)] (CENABLE): Likewise.
29426 [IS_IN (libpthread)] (CDISABLE): Likewise.
29427 [IS_IN (libc)] (CENABLE): Likewise.
29428 [IS_IN (libc)] (CENABLE): Likewise.
29429 [IS_IN (librt)] (CDISABLE): Likewise.
29430 [IS_IN (librt)] (CDISABLE): Likewise.
29431 (SINGLE_THREAD_P): Likewise.
29432 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
29433 definition.
29434 (PSEUDO_END): Likewise.
29435 [IS_IN (libpthread)] (CENABLE): Likewise.
29436 [IS_IN (libpthread)] (CDISABLE): Likewise.
29437 [IS_IN (libc)] (CENABLE): Likewise.
29438 [IS_IN (libc)] (CENABLE): Likewise.
29439 [IS_IN (librt)] (CDISABLE): Likewise.
29440 [IS_IN (librt)] (CDISABLE): Likewise.
29441 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29442 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
29443 definition.
29444 (PSEUDO_END): Likewise.
29445 [IS_IN (libpthread)] (CENABLE): Likewise.
29446 [IS_IN (libpthread)] (CDISABLE): Likewise.
29447 [IS_IN (libc)] (CENABLE): Likewise.
29448 [IS_IN (libc)] (CENABLE): Likewise.
29449 [IS_IN (librt)] (CDISABLE): Likewise.
29450 [IS_IN (librt)] (CDISABLE): Likewise.
29451 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29452 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
29453 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29454 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
29455 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
29456 definition.
29457 (PSEUDO_END): Likewise.
29458 [IS_IN (libpthread)] (CENABLE): Likewise.
29459 [IS_IN (libpthread)] (CDISABLE): Likewise.
29460 [IS_IN (libc)] (CENABLE): Likewise.
29461 [IS_IN (libc)] (CENABLE): Likewise.
29462 [IS_IN (librt)] (CDISABLE): Likewise.
29463 [IS_IN (librt)] (CDISABLE): Likewise.
29464 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29465 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
29466 definition.
29467 (PSEUDO_END): Likewise.
29468 [IS_IN (libpthread)] (CENABLE): Likewise.
29469 [IS_IN (libpthread)] (CDISABLE): Likewise.
29470 [IS_IN (libc)] (CENABLE): Likewise.
29471 [IS_IN (libc)] (CENABLE): Likewise.
29472 [IS_IN (librt)] (CDISABLE): Likewise.
29473 [IS_IN (librt)] (CDISABLE): Likewise.
29474 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29475 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
29476 definition.
29477 (PSEUDO_END): Likewise.
29478 [IS_IN (libpthread)] (CENABLE): Likewise.
29479 [IS_IN (libpthread)] (CDISABLE): Likewise.
29480 [IS_IN (libc)] (CENABLE): Likewise.
29481 [IS_IN (libc)] (CENABLE): Likewise.
29482 [IS_IN (librt)] (CDISABLE): Likewise.
29483 [IS_IN (librt)] (CDISABLE): Likewise.
29484 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29485 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
29486 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29487 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
29488 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
29489 definition.
29490 (PSEUDO_END): Likewise.
29491 [IS_IN (libpthread)] (CENABLE): Likewise.
29492 [IS_IN (libpthread)] (CDISABLE): Likewise.
29493 [IS_IN (libc)] (CENABLE): Likewise.
29494 [IS_IN (libc)] (CENABLE): Likewise.
29495 [IS_IN (librt)] (CDISABLE): Likewise.
29496 [IS_IN (librt)] (CDISABLE): Likewise.
29497 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29498 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
29499 definition.
29500 (PSEUDO_END): Likewise.
29501 [IS_IN (libpthread)] (CENABLE): Likewise.
29502 [IS_IN (libpthread)] (CDISABLE): Likewise.
29503 [IS_IN (libc)] (CENABLE): Likewise.
29504 [IS_IN (libc)] (CENABLE): Likewise.
29505 [IS_IN (librt)] (CDISABLE): Likewise.
29506 [IS_IN (librt)] (CDISABLE): Likewise.
29507 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29508
29509 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
29510
29511 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
29512
29513 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29514
29515 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29516
29517 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29518
29519 [BZ #21982]
29520 * string/stratcliff.c (do_test): Declare size, nchars, inner,
29521 middle and outer with size_t instead of int. Repleace %d and
29522 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
29523 "MAX (outer, nchars - 64)" to support unsigned outer and
29524 nchars. Also exit loop when outer == 0.
29525
29526 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29527
29528 * include/fcntl.h (__fcntl_nocancel): Remove definition.
29529 * include/signal.h (__sigsuspend_nocancel): Likewise.
29530 * include/time.h (__nanosleep_nocancel): Likewise.
29531 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
29532 * login/utmp_file.c: Include non cancellable syscall header.
29533 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
29534 prototype.
29535
29536 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29537
29538 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
29539 .byte sequences with AVX512F instructions.
29540 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
29541 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
29542 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
29543 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
29544 Likewise.
29545 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29546 Likewise.
29547
29548 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
29549 Steve Ellcey <sellcey@cavium.com>
29550
29551 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
29552 Use PTR_REG macro in cmp instruction.
29553
29554 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29555
29556 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
29557 Change the return type of the ifunc resolver to match the return
29558 type of the target function.
29559
29560 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29561
29562 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
29563 (preadv64): Likewise.
29564 (pwrite64(: Likewise.
29565 (pwritev64): Likewise.
29566
29567 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
29568 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
29569 (LOAD_ARGS_0): Likewise.
29570 (LOAD_ARGS_1): Likewise.
29571 (LOAD_ARGS_2): Likewise.
29572 (LOAD_ARGS_3): Likewise.
29573 (LOAD_ARGS_4): Likewise.
29574 (LOAD_ARGS_5): Likewise.
29575 (LOAD_ARGS_6): Likewise.
29576 (LOAD_REGS_0): Likewise.
29577 (LOAD_REGS_1): Likewise.
29578 (LOAD_REGS_2): Likewise.
29579 (LOAD_REGS_3): Likewise.
29580 (LOAD_REGS_4): Likewise.
29581 (LOAD_REGS_5): Likewise.
29582 (LOAD_REGS_6): Likewise.
29583 (ASM_ARGS_0): Likewise.
29584 (ASM_ARGS_1): Likewise.
29585 (ASM_ARGS_2): Likewise.
29586 (ASM_ARGS_3): Likewise.
29587 (ASM_ARGS_4): Likewise.
29588 (ASM_ARGS_5): Likewise.
29589 (ASM_ARGS_6): Likewise.
29590 (LOAD_ARGS_TYPES_1): Likewise.
29591 (LOAD_ARGS_TYPES_2): Likewise.
29592 (LOAD_ARGS_TYPES_3): Likewise.
29593 (LOAD_ARGS_TYPES_4): Likewise.
29594 (LOAD_ARGS_TYPES_5): Likewise.
29595 (LOAD_ARGS_TYPES_6): Likewise.
29596 (LOAD_REGS_TYPES_1): Likewise.
29597 (LOAD_REGS_TYPES_2): Likewise.
29598 (LOAD_REGS_TYPES_3): Likewise.
29599 (LOAD_REGS_TYPES_4): Likewise.
29600 (LOAD_REGS_TYPES_5): Likewise.
29601 (LOAD_REGS_TYPES_6): Likewise.
29602 (TYPEFY): New define.
29603 (ARGIFY): Likewise.
29604 (internal_syscall0): Likewise.
29605 (internal_syscall1): Likewise.
29606 (internal_syscall2): Likewise.
29607 (internal_syscall3): Likewise.
29608 (internal_syscall4): Likewise.
29609 (internal_syscall5): Likewise.
29610 (internal_syscall6): Likewise.
29611 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
29612 (INTERNAL_SYSCALL_NCS): Remove define.
29613 (internal_syscall1): Add define.
29614
29615 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29616
29617 * math/w_remainder_compat.c: Remove duplicate inclusion of
29618 math-svid-compat.h.
29619 * math/w_remainderf_compat.c: Likewise.
29620 * math/w_remainderl_compat.c: Likewise.
29621
29622 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29623
29624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29625
29626 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29627
29628 [BZ #21684]
29629 * math/tgmath.h (__floating_type): Simplify definitions.
29630 (__real_integer_type): New macro.
29631 (__complex_integer_type): Likewise.
29632 (__expr_is_real): Likewise.
29633 (__tgmath_real_type_sub): Update comment to describe handling of
29634 complex types.
29635 (__tgmath_complex_type_sub): New macro.
29636 (__tgmath_complex_type): Likewise.
29637 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29638 (__TGMATH_CF128): Use __expr_is_real.
29639 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
29640 __expr_is_real.
29641 (__TGMATH_BINARY_REAL_IMAG): Likewise.
29642 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
29643 * math/gen-tgmath-tests.py (Type.create_type): Create complex
29644 integer types.
29645
29646 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29647
29648 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
29649 macro.
29650 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
29651 alias.
29652 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
29653 Likewise.
29654
29655 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
29656 nanosleep_not_cancel with __nanosleep_nocancel.
29657 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
29658 (__nanosleep_nocancel): New macro.
29659 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
29660 function.
29661 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
29662 macro.
29663 (__nanosleep_nocancel): New prototype.
29664
29665 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
29666 pause_not_cancel with __pause_nocancel.
29667 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
29668 (__pause_nocancel): New macro.
29669 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
29670 macro.
29671 (__pause_nocancel): New prototype.
29672 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
29673
29674 2017-08-22 Martin Sebor <msebor@redhat.com>
29675
29676 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
29677 to return a pointer to the same type as the target function.
29678
29679 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29680
29681 [BZ #18822]
29682 [BZ #21986]
29683 * include/printf.h (__printf_fphex): Add attribute_hidden.
29684 (__guess_grouping): New prototype.
29685 * stdio-common/printf_fp.c (__guess_grouping): Removed.
29686 * stdio-common/reg-printf.c (__register_printf_specifier): Add
29687 libc_hidden_proto and libc_hidden_def.
29688 * stdlib/strfmon_l.c (__guess_grouping): Removed.
29689 (__vstrfmon_l): Remove the third argument passed to
29690 __guess_grouping.
29691
29692 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29693
29694 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
29695 definition for issignaling that does not rely on __MATH_TG,
29696 since __MATH_TG uses __builtin_types_compatible_p, which is only
29697 available in C mode.
29698 (CFLAGS-test-math-issignaling.cc): New variable.
29699 * math/Makefile [CXX] (tests): Add test-math-issignaling.
29700 * math/test-math-issignaling.cc: New test for C++ implementation
29701 of type-generic issignaling.
29702 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29703 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
29704 options of test-math-issignaling on powerpc64le.
29705
29706 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29707
29708 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29709 building libc.a.
29710 (hidden_proto): Likewise.
29711 (hidden_tls_proto): Likewise.
29712 (__hidden_proto): Likewise.
29713
29714 2017-08-22 Florian Weimer <fweimer@redhat.com>
29715
29716 math: Statically link tests of internal functionality.
29717 * math/Makefile (tests): Remove atest-exp, atest-sincos,
29718 atest-exp2.
29719 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
29720 (gmp-objs): Remove assignment.
29721 (atest-exp, atest-sincos, atest-exp2): Remove targets.
29722
29723 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29724
29725 [BZ #21987]
29726 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
29727 and copy to ...
29728 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
29729 ... here.
29730 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
29731 ... and here.
29732
29733 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
29734 variable definitions above inclusion of ../Rules.
29735
29736 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29737
29738 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
29739 case calling __builtin_unreachable.
29740
29741 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29742
29743 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
29744 __waitpid_nocancel.
29745 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
29746 (__waitpid_nocancel): New macro.
29747 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
29748 macro.
29749 (__waitpid_nocancel): Replace macro with a function.
29750 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
29751 function.
29752
29753 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
29754 __fcntl_nocancel.
29755 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
29756 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
29757
29758 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
29759 __writev_nocancel_nostatus.
29760 (write_call_graph): Likewise.
29761 (write_bb_counts): Likewise.
29762 * resolv/herror.c (herror): Likewise.
29763 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
29764 macro.
29765 (__writev_nocancel_nostatus): New macro.
29766 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
29767 Remove macro.
29768 (__writev_nocancel_nostatus): New function.
29769
29770 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29771
29772 Revert:
29773 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29774
29775 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29776 building libc.a.
29777 (hidden_proto): Likewise.
29778 (hidden_tls_proto): Likewise.
29779 (__hidden_proto): Likewise.
29780
29781 [BZ #21973]
29782 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
29783 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29785 Likewise.
29786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
29787 Likewise.
29788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29789 Likewise.
29790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
29791 Likewise.
29792 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
29793 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29794 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29795 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29796 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29797 GLIBC_2.0 sqrtl symbol.
29798
29799 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
29800 [__USE_MISC] (_LIB_VERSION): Likewise.
29801 [__USE_MISC] (struct exception): Likewise.
29802 [__USE_MISC] (matherr): Likewise.
29803 [__USE_MISC] (DOMAIN): Likewise.
29804 [__USE_MISC] (SING): Likewise.
29805 [__USE_MISC] (OVERFLOW): Likewise.
29806 [__USE_MISC] (UNDERFLOW): Likewise.
29807 [__USE_MISC] (TLOSS): Likewise.
29808 [__USE_MISC] (PLOSS): Likewise.
29809 [__USE_MISC] (HUGE): Likewise.
29810 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
29811 * math/math-svid-compat.h: New file.
29812 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
29813 and matherrl.
29814 * include/math.h [!_ISOMAC] (__matherr): Remove.
29815 * manual/arith.texi (FP Exceptions): Do not document matherr.
29816 * math/Makefile (tests): Change test-matherr to test-matherr-3.
29817 (tests-internal): New variable.
29818 (install-lib): Do not add libieee.a.
29819 (non-lib.a): Likewise.
29820 (extra-objs): Do not add libieee.a and ieee-math.o.
29821 (CPPFLAGS-s_lib_version.c): Remove variable.
29822 ($(objpfx)libieee.a): Remove rule.
29823 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
29824 * math/ieee-math.c: Remove.
29825 * math/libm-test-support.c (matherr): Remove.
29826 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
29827 and license notices. Include <math-svid-compat.h> and
29828 <shlib-compat.h>.
29829 (matherr): Undefine as macro. Use compat_symbol_reference.
29830 (_LIB_VERSION): Likewise.
29831 * math/test-matherr-2.c: New file.
29832 * math/test-matherr-3.c: Likewise.
29833 * sysdeps/generic/math_private.h (__kernel_standard): Remove
29834 declaration.
29835 (__kernel_standard_f): Likewise.
29836 (__kernel_standard_l): Likewise.
29837 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
29838 <math_private.h>. Include <math-svid-compat.h>.
29839 (_LIB_VERSION): Undefine as macro.
29840 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
29841 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
29842 [LIBM_SVID_COMPAT], use compat_symbol.
29843 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
29844 <math_private.h>. Include <math-svid-compat.h>.
29845 (matherr): Undefine as macro.
29846 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
29847 compat_symbol.
29848 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
29849 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
29850 compat_symbol_reference.
29851 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
29852 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
29853 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
29854 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
29855 (MATHERR_D): Remove declaration.
29856 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
29857 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
29858 [LIBM_BUILD] (pmatherrf): Likewise.
29859 [LIBM_BUILD] (pmatherr): Likewise.
29860 [LIBM_BUILD] (pmatherrl): Likewise.
29861 (DOMAIN): Likewise.
29862 (SING): Likewise.
29863 (OVERFLOW): Likewise.
29864 (UNDERFLOW): Likewise.
29865 (TLOSS): Likewise.
29866 (PLOSS): Likewise.
29867 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
29868 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
29869 compat_symbol.
29870 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
29871 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
29872 compat_symbol.
29873 * math/lgamma-compat.h: Include <math-svid-compat.h>.
29874 * math/w_acos_compat.c: Likewise.
29875 * math/w_acosf_compat.c: Likewise.
29876 * math/w_acosh_compat.c: Likewise.
29877 * math/w_acoshf_compat.c: Likewise.
29878 * math/w_acoshl_compat.c: Likewise.
29879 * math/w_acosl_compat.c: Likewise.
29880 * math/w_asin_compat.c: Likewise.
29881 * math/w_asinf_compat.c: Likewise.
29882 * math/w_asinl_compat.c: Likewise.
29883 * math/w_atan2_compat.c: Likewise.
29884 * math/w_atan2f_compat.c: Likewise.
29885 * math/w_atan2l_compat.c: Likewise.
29886 * math/w_atanh_compat.c: Likewise.
29887 * math/w_atanhf_compat.c: Likewise.
29888 * math/w_atanhl_compat.c: Likewise.
29889 * math/w_cosh_compat.c: Likewise.
29890 * math/w_coshf_compat.c: Likewise.
29891 * math/w_coshl_compat.c: Likewise.
29892 * math/w_exp10_compat.c: Likewise.
29893 * math/w_exp10f_compat.c: Likewise.
29894 * math/w_exp10l_compat.c: Likewise.
29895 * math/w_exp2_compat.c: Likewise.
29896 * math/w_exp2f_compat.c: Likewise.
29897 * math/w_exp2l_compat.c: Likewise.
29898 * math/w_fmod_compat.c: Likewise.
29899 * math/w_fmodf_compat.c: Likewise.
29900 * math/w_fmodl_compat.c: Likewise.
29901 * math/w_hypot_compat.c: Likewise.
29902 * math/w_hypotf_compat.c: Likewise.
29903 * math/w_hypotl_compat.c: Likewise.
29904 * math/w_j0_compat.c: Likewise.
29905 * math/w_j0f_compat.c: Likewise.
29906 * math/w_j0l_compat.c: Likewise.
29907 * math/w_j1_compat.c: Likewise.
29908 * math/w_j1f_compat.c: Likewise.
29909 * math/w_j1l_compat.c: Likewise.
29910 * math/w_jn_compat.c: Likewise.
29911 * math/w_jnf_compat.c: Likewise.
29912 * math/w_jnl_compat.c: Likewise.
29913 * math/w_lgamma_main.c: Likewise.
29914 * math/w_lgamma_r_compat.c: Likewise.
29915 * math/w_lgammaf_main.c: Likewise.
29916 * math/w_lgammaf_r_compat.c: Likewise.
29917 * math/w_lgammal_main.c: Likewise.
29918 * math/w_lgammal_r_compat.c: Likewise.
29919 * math/w_log10_compat.c: Likewise.
29920 * math/w_log10f_compat.c: Likewise.
29921 * math/w_log10l_compat.c: Likewise.
29922 * math/w_log2_compat.c: Likewise.
29923 * math/w_log2f_compat.c: Likewise.
29924 * math/w_log2l_compat.c: Likewise.
29925 * math/w_log_compat.c: Likewise.
29926 * math/w_logf_compat.c: Likewise.
29927 * math/w_logl_compat.c: Likewise.
29928 * math/w_pow_compat.c: Likewise.
29929 * math/w_powf_compat.c: Likewise.
29930 * math/w_powl_compat.c: Likewise.
29931 * math/w_remainder_compat.c: Likewise.
29932 * math/w_remainderf_compat.c: Likewise.
29933 * math/w_remainderl_compat.c: Likewise.
29934 * math/w_scalb_compat.c: Likewise.
29935 * math/w_scalbf_compat.c: Likewise.
29936 * math/w_scalbl_compat.c: Likewise.
29937 * math/w_sinh_compat.c: Likewise.
29938 * math/w_sinhf_compat.c: Likewise.
29939 * math/w_sinhl_compat.c: Likewise.
29940 * math/w_sqrt_compat.c: Likewise.
29941 * math/w_sqrtf_compat.c: Likewise.
29942 * math/w_sqrtl_compat.c: Likewise.
29943 * math/w_tgamma_compat.c: Likewise.
29944 * math/w_tgammaf_compat.c: Likewise.
29945 * math/w_tgammal_compat.c: Likewise.
29946 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
29947 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29948 * sysdeps/ieee754/k_standard.c: Likewise.
29949 * sysdeps/ieee754/k_standardf.c: Likewise.
29950 * sysdeps/ieee754/k_standardl.c: Likewise.
29951 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29952 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29953 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29954 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29955 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29956 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29957 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29958 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
29959 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29961 Likewise.
29962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29963 Likewise.
29964 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
29965 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29966 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29967 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29968
29969 2017-08-21 Florian Weimer <fweimer@redhat.com>
29970
29971 [BZ #21864]
29972 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
29973 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
29974 Move before inclusion of ../Rules.
29975
29976 2017-08-21 Florian Weimer <fweimer@redhat.com>
29977
29978 [BZ #21972]
29979 * assert/assert.h (assert): Use static_cast (bool) for C++.
29980 Use the ternary operator in the warning branch for GNU C.
29981 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
29982 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
29983 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
29984 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
29985 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
29986
29987 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29988
29989 [BZ #18822]
29990 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29991 (__syscall_clock_gettime): Add attribute_hidden.
29992 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
29993 (__start_context): Likewise.
29994
29995 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29996
29997 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29998 building libc.a.
29999 (hidden_proto): Likewise.
30000 (hidden_tls_proto): Likewise.
30001 (__hidden_proto): Likewise.
30002
30003 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30004
30005 * include/libc-symbols.h (attribute_hidden): Enable hidden
30006 visibility in libc.a compiled with PIE.
30007
30008 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30009
30010 [BZ #18822]
30011 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
30012 Add attribute_hidden.
30013
30014 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30015
30016 [BZ #21864]
30017 * Makerules (all-nonlib): Add $(others-extras).
30018 * catgets/Makefile (others-extras): New.
30019 * elf/Makefile (others-extras): Likewise.
30020 * nss/Makefile (others-extras): Likewise.
30021
30022 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30023
30024 [BZ #18822]
30025 * csu/libc-start.c (__libc_multiple_libcs): Removed.
30026 * elf/dl-open.c: Include <libc-internal.h>.
30027 (__libc_multiple_libcs): Removed.
30028 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
30029 <hp-timing.h>.
30030 * include/libc-internal.h (__libc_multiple_libcs): New.
30031 * misc/sbrk.c: Include <libc-internal.h>.
30032 (__libc_multiple_libcs): Removed.
30033
30034 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30035
30036 [BZ #18822]
30037 * grp/initgroups.c (__nss_group_database): Removed.
30038 (__nss_initgroups_database): Likewise.
30039 * nscd/gai.c (__nss_hosts_database): Likewise.
30040 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
30041 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
30042 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
30043 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
30044 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
30045 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
30046 attribute_hidden.
30047 * nss/nsswitch.c (__nss_database_custom): Define only if
30048 USE_NSCD is defined.
30049 (__nss_configure_lookup): Use __nss_database_custom only if
30050 USE_NSCD is defined.
30051 * nss/nsswitch.h (__nss_database_custom): Declare only if
30052 USE_NSCD is defined. Add attribute_hidden.
30053 (__nss_setent): Add attribute_hidden.
30054 (__nss_endent): Likewise.
30055 (__nss_getent_r): Likewise.
30056 (__nss_getent): Likewise.
30057 (DEFINE_DATABASE): Declare __nss_##arg##_database.
30058
30059 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30060
30061 [BZ #18822]
30062 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
30063 libc_hidden_proto and libc_hidden_def.
30064
30065 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30066
30067 [BZ #18822]
30068 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
30069 Add libc_hidden_proto.
30070 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
30071 Add libc_hidden_def.
30072
30073 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30074
30075 [BZ #21974]
30076 * gmon/Makefile (routines): Remove bb_init_func and
30077 bb_exit_func.
30078 (elide-routines.os): Removed.
30079 * gmon/bb_exit_func.c: Likewise.
30080 * gmon/bb_init_func.c: Likewise.
30081 * include/sys/gmon.h (__bb): Likewise.
30082 (__bb_init_func): Likewise.
30083 (__bb_exit_func): Likewise.
30084 * sysdeps/alpha/bb_init_func.S: Likewise.
30085
30086 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30087
30088 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
30089 * include/setjmp.h (____longjmp_chk): Here. Add
30090 attribute_hidden.
30091
30092 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
30093
30094 [BZ #18822]
30095 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
30096 attribute_hidden.
30097 (__strspn_sse2): Likewise.
30098
30099 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30100
30101 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
30102 (close_not_cancel_no_status): Likewise.
30103 (__close_nocancel): New macro.
30104 (__close_nocancel_nostatus): Likewise.
30105 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
30106 macro.
30107 (close_not_cancel): Likewise.
30108 (close_not_cancel_no_status): Likewise.
30109 (__close_nocancel): New prototype.
30110 (__close_nocancel_nostatus): New function.
30111 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
30112 * catgets/open_catalog.c (__open_catalog): Replace
30113 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
30114 * gmon/gmon.c (write_gmon): Likewise.
30115 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
30116 * intl/loadmsgcat.c (close): Likewise.
30117 * io/ftw.c (open_dir_stream): Likewise.
30118 (ftw_startup): Likewise.
30119 * libio/fileops.c (_IO_file_open): Likewise.
30120 (_IO_file_close_mmap): Likewise.
30121 (_IO_file_close): Likewise.
30122 * libio/iopopen.c (_IO_dup2): Likewise.
30123 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30124 * locale/loadlocale.c (_nl_load_locale): Likewise.
30125 * login/utmp_file.c (pututline_file): Likewise.
30126 (endutent_file): Likewise.
30127 * misc/daemon.c (daemon): Likewise.
30128 * nscd/nscd_getai.c (__nscd_getai): Likewise.
30129 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30130 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30131 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30132 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30133 * nscd/nscd_helper.c (open_socket): Likewise.
30134 (__nscd_open_socket): Likewise.
30135 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
30136 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
30137 (__nscd_innetgr): Likewise.
30138 * nss/nss_db/db-open.c (internal_setent): Likewise.
30139 * resolv/res-close.c (__res_iclose): Likewise.
30140 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
30141 * sysdeps/posix/closedir.c (__closedir): Likewise.
30142 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
30143 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30144 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30145 (opendir_tail): Likewise.
30146 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30147 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
30148 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
30149 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30150 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30151 (gethostid): Likewise.
30152 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30153 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30154 Likewise.
30155 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30156 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
30157 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30158 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30159 Likewise.
30160 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
30161 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
30162 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30163 Likewise.
30164 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
30165 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30166 Likewise.
30167 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30168 Likewise.
30169 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30170 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30171 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30172 __close_nocancel.
30173
30174 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
30175 (openat_not_cancel_3): Likewise.
30176 (openat64_not_cancel_3): Likewise).
30177 (openat_not_cancel_3): Likewise).
30178 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
30179 macro.
30180 (openat_not_cancel_3): Likewise.
30181 (openat64_not_cancel): Likewise.
30182 (openat64_not_cancel_3): Likewise.
30183 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
30184 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
30185 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
30186 __open{64}_nocancel.
30187 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30188 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30189 * sysdeps/posix/opendir.c (__opendirat): Likewise.
30190
30191 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30192
30193 [BZ #18822]
30194 * include/argz.h (__argz_create_sep): New function prototype.
30195 (__argz_append): Likewise.
30196 (__argz_add): Likewise.
30197 (__argz_add_sep): Likewise.
30198 (__argz_delete): Likewise.
30199 (__argz_insert): Likewise.
30200 (__argz_replace): Likewise.
30201 * string/argz.h (__argz_create_sep): Removed.
30202 (__argz_append): Likewise.
30203 (__argz_add): Likewise.
30204 (__argz_add_sep): Likewise.
30205 (__argz_delete): Likewise.
30206 (__argz_insert): Likewise.
30207 (__argz_replace): Likewise.
30208
30209 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30210
30211 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
30212 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
30213 (GNU_PROPERTY_STACK_SIZE): Likewie.
30214 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
30215 (GNU_PROPERTY_LOPROC): Likewise.
30216 (GNU_PROPERTY_HIPROC): Likewise.
30217 (GNU_PROPERTY_LOUSER): Likewise.
30218 (GNU_PROPERTY_HIUSER): Likewise.
30219 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
30220 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
30221 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
30222 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
30223 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
30224 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
30225 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
30226 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
30227 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
30228 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
30229 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
30230 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
30231 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
30232 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
30233 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
30234 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
30235 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
30236 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
30237 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
30238 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
30239 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
30240 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
30241 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
30242
30243 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30244
30245 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
30246 in C++ mode.
30247
30248 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30249
30250 [BZ #21930]
30251 * math/math.h (isinf): Check if in C or C++ mode before using
30252 __builtin_types_compatible_p, since this is a C mode feature.
30253
30254 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30255
30256 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
30257 (__write_nocancel): New macro.
30258 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
30259 Rewrite as a function prototype.
30260 (write_not_cancel): Remove macro.
30261 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
30262 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
30263 (write_gmon): Likewise.
30264 * libio/fileops.c (_IO_new_file_write): Likewise.
30265 * login/utmp_file.c (pututline_file): Likewise.
30266 (updwtmp_file): Likewise.
30267 * stdio-common/psiginfo.c (psiginfo): Likewise.
30268 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30269 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30270 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30271 Likewise.
30272 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30273 Likewise.
30274
30275 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
30276 (__read_nocancel): New macro.
30277 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30278 __read_nocancel.
30279 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
30280 macro.
30281 (__read_nocancel): New prototype.
30282 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
30283 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
30284 with __read_nocancel.
30285 * intl/loadmsgcat.c (read): Likewise.
30286 * libio/fileops.c (_IO_file_read): Likewise.
30287 * locale/loadlocale.c (_nl_load_locale): Likewise.
30288 * login/utmp_file.c (getutent_r_file): Likewise.
30289 (internal_getut_r): Likewise.
30290 (getutline_r_file): Likewise.
30291 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30292 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30293 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30294 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30295 Likewise.
30296 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
30297 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30298 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30299 Likewise.
30300 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30301 Likewise.
30302 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30303 Likewise.
30304 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30305 Likewise.
30306 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30307
30308 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30309
30310 [BZ #21966]
30311 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
30312 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
30313 usable.
30314
30315 2017-08-17 DJ Delorie <dj@redhat.com>
30316
30317 * bug17079.c: Update to new test harness.
30318 * test-digits-dots.c: Likewise.
30319 * test-netdb.c: Likewise.
30320 * tst-field.c: Likewise.
30321 * tst-nss-getpwent.c: Likewise.
30322 * tst-nss-static.c: Likewise.
30323 * tst-nss-test1.c: Likewise.
30324 * tst-nss-test2.c: Likewise.
30325 * tst-nss-test3.c: Likewise.
30326 * tst-nss-test4.c: Likewise.
30327 * tst-nss-test5.c: Likewise.
30328
30329 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30330
30331 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
30332 (open_not_cancel_2): Likewise.
30333 (open_nocancel): New macro.
30334 (open64_nocancel): Likewise.
30335 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
30336 (open_not_cancel_2): Likewise.
30337 (__open_nocancel): New prototype.
30338 (__open64_nocancel): Likewise.
30339 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30340 __open_nocancel.
30341 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
30342 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
30343 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
30344 with __open_nocancel.
30345 * csu/check_fds.c (check_one_fd): Likewise.
30346 * gmon/gmon.c (write_gmon): Likewise.
30347 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
30348 * intl/loadmsgcat.c (open): Likewise.
30349 * libio/fileops.c (_IO_file_open): Likewise.
30350 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30351 * locale/loadlocale.c (_nl_load_locale): Likewise.
30352 * login/utmp_file.c (setutent_file): Likewise.
30353 * misc/daemon.c (daemon): Likewise.
30354 * nss/nss_db/db-open.c (internal_setent): Likewise.
30355 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30356 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
30357 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30358 (__opendir): Likewise.
30359 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30360 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30361 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30362 (gethostid): Likewise.
30363 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30364 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30365 Likewise.
30366 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30367 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
30368 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30369 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30370 Likewise.
30371 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30372 Likewise.
30373 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30374 Likewise.
30375 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
30376 Likewise.
30377 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30378 Likewise.
30379 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30380 Likewise.
30381 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30382 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30383
30384 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
30385
30386 * benchtests/bench-skeleton.c (main): Add support for
30387 latency benchmarking.
30388 * benchtests/scripts/bench.py: Add support for latency benchmarking.
30389
30390 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
30391
30392 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
30393 the startup object.
30394
30395 2017-08-17 Florian Weimer <fweimer@redhat.com>
30396
30397 * include/sys/socket.h (__opensock): Remove internal_function.
30398 * socket/opensock.c (__opensock): Likewise.
30399 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
30400
30401 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30402
30403 [BZ #21944]
30404 * signal/bits/types/__sigval_t.h: New file.
30405 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
30406 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
30407 and define sigval_t using __sigval_t.
30408 * include/bits/types/__sigval_t.h: New file.
30409 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
30410 instead of <bits/types/__sigval_t.h>.
30411 (struct sigevent): Use __sigval_t instead of sigval_t.
30412 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
30413 instead of <bits/types/__sigval_t.h>.
30414 (siginfo_t): Use __sigval_t instead of sigval_t.
30415 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
30416 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30417 (struct sigevent): Use __sigval_t instead of sigval_t.
30418 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
30419 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30420 (siginfo_t): Use __sigval_t instead of sigval_t.
30421 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
30422
30423 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30424
30425 * NEWS: Remove "[Add new features here]" for 2.27.
30426
30427 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30428
30429 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
30430 libc.so.
30431
30432 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30433
30434 * NEWS: Mention x86-64 FMA optimization.
30435
30436 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30437
30438 [BZ #21912]
30439 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30440 Add e_expf-fma.
30441 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
30442 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
30443 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
30444
30445 2017-08-16 Andreas Schwab <schwab@suse.de>
30446
30447 [BZ #16750]
30448 CVE-2009-5064
30449 * elf/ldd.bash.in: Never run file directly.
30450
30451 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
30452
30453 [BZ #21955]
30454 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
30455 (L(SP_INF_0)): Likewise.
30456
30457 2017-08-15 Florian Weimer <fweimer@redhat.com>
30458
30459 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
30460 run-built-tests.
30461
30462 2017-08-15 Florian Weimer <fweimer@redhat.com>
30463
30464 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
30465 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
30466 BROKEN_THREAD_SIGNALS code.
30467 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
30468 request_list): Remove caller_pid member used for
30469 BROKEN_THREAD_SIGNALS.
30470 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
30471 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30472 Remove BROKEN_THREAD_SIGNALS support.
30473 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
30474 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
30475
30476 2017-08-15 Florian Weimer <fweimer@redhat.com>
30477
30478 * gmon/Makefile (tests): Add tst-gmon.
30479 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
30480 Set.
30481 (tests-special): Add tst-gmon-prof.out.
30482 (tst-gmon.out): Depend on clean-tst-gmon-data.
30483 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
30484 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
30485 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
30486 startup object.
30487 * aclocal.m4 (GPROF): Set and substitute.
30488 * config.amke.in (GPROF): Set.
30489 * configure: Regenerate.
30490
30491 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
30492
30493 * elf/elf.h A (NT_PPC_TAR): New macro.
30494 (NT_PPC_PPR): Likewise.
30495 (NT_PPC_DSCR): Likewise.
30496 (NT_PPC_EBB): Likewise.
30497 (NT_PPC_PMU): Likewise.
30498 (NT_PPC_TM_CGPR): Likewise.
30499 (NT_PPC_TM_CFPR): Likewise.
30500 (NT_PPC_TM_CVMX): Likewise.
30501 (NT_PPC_TM_CVSX): Likewise.
30502 (NT_PPC_TM_SPR): Likewise.
30503 (NT_PPC_TM_CTAR): Likewise.
30504 (NT_PPC_TM_CPPR): Likewise.
30505 (NT_PPC_TM_CDSCR): Likewise.
30506
30507 2017-08-15 Florian Weimer <fweimer@redhat.com>
30508
30509 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
30510 regparm (2) instead of internal_function.
30511 (_MCOUNT_DECL): Adjust.
30512
30513 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
30514
30515 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
30516 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
30517
30518 2017-08-14 Joseph Myers <joseph@codesourcery.com>
30519
30520 * conform/data/sys/wait.h-data (si_value): Do not expect for
30521 XPG42.
30522
30523 2017-08-14 Florian Weimer <fweimer@redhat.com>
30524
30525 [BZ #21962]
30526 NSS: Create stubs for accidentally exported lookup functions.
30527 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
30528 Remove declaration.
30529 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
30530 (ether_hostton): Call __nss_ethers_lookup2 instead.
30531 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
30532 (ether_ntohost): Call __nss_ethers_lookup2 instead.
30533 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
30534 (setup): Call __nss_netgroup_lookup2 instead.
30535 * nss/Makefile (routines): Add compat-lookup.
30536 * nss/Versions (GLIBC_2.27): Add symbol version.
30537 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
30538 (DB_COMPAT_FCT): Remove.
30539 * nss/compat-lookup.c: New file.
30540 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
30541 from databases.def.
30542 * nss/service-lookup.c (NO_COMPAT): Remove definition.
30543 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
30544 (netname2user): Call __nss_publickey_lookup2 instead.
30545 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
30546 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
30547 instead.
30548
30549 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30550 Sergei Trofimovich <slyfox@inbox.ru>
30551
30552 [BZ #21908]
30553 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
30554 Rename to MMAP2_PAGE_UNIT.
30555 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
30556 __OFF_T_MATCHES_OFF64_T is not defined.
30557 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
30558 uint64_t.
30559 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
30560 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
30561
30562 2017-08-14 Florian Weimer <fweimer@redhat.com>
30563
30564 i386: Do not set internal_function.
30565 * config.h.in (USE_REGPARMS, internal_function): Remove.
30566 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
30567 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
30568
30569 2017-08-14 Florian Weimer <fweimer@redhat.com>
30570
30571 * elf/dl-init.c (_dl_init): Remove internal_function.
30572 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
30573 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
30574
30575 2017-08-14 Florian Weimer <fweimer@redhat.com>
30576
30577 * elf/rtld.c (_dl_start): Remove internal_function.
30578 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
30579 _dl_start.
30580
30581 2017-08-14 Florian Weimer <fweimer@redhat.com>
30582
30583 * elf/dl-fini.c (_dl_fini): Remove internal_function
30584 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30585
30586 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
30587
30588 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
30589 (bit_cpu_SHSTK): Likewise.
30590 (index_cpu_IBT): Likewise.
30591 (index_cpu_SHSTK): Likewise.
30592 (reg_IBT): Likewise.
30593 (reg_SHSTK): Likewise.
30594 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30595 Handle index_cpu_IBT and index_cpu_SHSTK.
30596
30597 2017-08-14 Mike FABIAN <mfabian@redhat.com>
30598
30599 [BZ #19982]
30600 * po/fr.po: Fix spelling mistake.
30601
30602 2017-08-13 Florian Weimer <fweimer@redhat.com>
30603
30604 * elf/dl-addr.c (_dl_addr): Remove internal_function.
30605 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
30606 (_dl_catch_error, _dl_receive_error): Likewise.
30607 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
30608 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
30609 (_dl_deallocate_tls): Likewise.
30610 * include/dlfcn.h (_dl_addr): Likewise.
30611 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
30612 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
30613 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
30614 Likewise.
30615
30616 2017-08-13 Florian Weimer <fweimer@redhat.com>
30617
30618 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
30619 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
30620 internal_function.
30621 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
30622
30623 2017-08-13 Florian Weimer <fweimer@redhat.com>
30624
30625 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
30626 internal_function.
30627 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
30628 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
30629 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
30630 internal_function from _dl_make_stack_executable_hook member.
30631 (_dl_make_stack_executable): Remove internal_function.
30632 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
30633 Likewise.
30634 * sysdeps/unix/sysv/linux/dl-execstack.c
30635 (_dl_make_stack_executable): Likewise.
30636
30637 2017-08-13 Florian Weimer <fweimer@redhat.com>
30638
30639 * sysdeps/unix/sysv/linux/netlinkaccess.h
30640 (__netlink_assert_response): Remove internal_function.
30641 * sysdeps/unix/sysv/linux/netlink_assert_response.c
30642 (__netlink_assert_response): Likewise.
30643
30644 2017-08-13 Florian Weimer <fweimer@redhat.com>
30645
30646 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
30647 internal_function.
30648 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
30649
30650 2017-08-13 Florian Weimer <fweimer@redhat.com>
30651
30652 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
30653 internal_function.
30654 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
30655 * inet/netgroup.h (__internal_setnetgrent)
30656 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30657 * inet/getnetgrent_r.c (__internal_setnetgrent)
30658 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30659 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
30660 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
30661 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
30662 * nss/nsswitch.h (db_lookup_function): Likewise.
30663
30664 2017-08-13 Florian Weimer <fweimer@redhat.com>
30665
30666 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
30667 Remove internal_function.
30668 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
30669 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
30670 message argument on the stack.
30671 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
30672 Likeweise.
30673
30674 2017-08-12 Mike FABIAN <mfabian@redhat.com>
30675
30676 Adapt test case data to the changes in the thousands
30677 separators.
30678
30679 [BZ #20756]
30680 * localedata/tst-langinfo.sh: Adapt test case data.
30681 * stdlib/tst-strfmon_l.c: Likewise.
30682 * stdlib/tst-strtod4.c: Likewise.
30683 * stdlib/tst-strtod5i.c: Likewise.
30684
30685 2017-08-11 Florian Weimer <fweimer@redhat.com>
30686
30687 [BZ #21242]
30688 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
30689 Suppress pedantic warning resulting from statement expression.
30690 (__ASSERT_FUNCTION): Add missing __extension__.
30691
30692 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30693
30694 * benchtests/bench-memmove-large.c: Print output in JSON
30695 format.
30696 * benchtests/bench-memmove.c: Likewise.
30697
30698 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
30699 * benchtests/bench-memchr.c (do_one_test): Likewise.
30700 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
30701 * benchtests/bench-memcpy.c (do_one_test): Likewise.
30702 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
30703 * benchtests/bench-memmove.c (do_one_test): Likewise.
30704 * benchtests/bench-memset-large.c (do_one_test): Likewise.
30705 * benchtests/bench-memset.c (do_one_test): Likewise.
30706 * benchtests/bench-string.h (test_init): Remove memsets.
30707
30708 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30709
30710 * manual/lang.texi
30711 (Computing the Width of an Integer Data Type): Rename section to
30712 "Width of an Integer Type". Remove inaccurate statement regarding
30713 lack of C language facilities for determining width of integer
30714 types, and reorder content to improve flow and context of
30715 discussion.
30716
30717 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30718
30719 * lang.texi (va_copy): Change standard from ISO to C99.
30720 (__va_copy): Add standard and header annotation.
30721 Update description for clarity of origins and current use.
30722
30723 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30724
30725 [BZ #21941]
30726 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
30727 xssqrtqp requires operands to be in Vector Registers
30728 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
30729 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
30730 (__ieee754_sqrtf128): Likewise.
30731
30732 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
30733
30734 * sysdeps/aarch64/memcmp.S (memcmp):
30735 Rewrite of optimized memcmp.
30736
30737 2017-08-10 Florian Weimer <fweimer@redhat.com>
30738
30739 Introduce ld.so exceptions.
30740 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
30741 (_dl_exception_create, _dl_exception_create_format)
30742 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
30743 (_dl_catch_exception): Declare.
30744 (_dl_catch_error): Update comment.
30745 * elf/dl-error-skeleton.c (struct catch): Replace objname,
30746 errstring, malloced members with exception member.
30747 (_dl_out_of_memory): Remove.
30748 (fatal_error): New function, extracted from _dl_signal_error.
30749 (_dl_signal_exception, _dl_signal_cexception): New functions.
30750 (_dl_signal_error): Call _dl_exception_create to allocate an
30751 exception object.
30752 (_dl_catch_exception): New function, based on _dl_catch_error.
30753 (_dl_catch_error): Implement using _dl_catch_exception.
30754 * elf/dl-exception.c: New file.
30755 * elf/Makefile (dl-routines): Add dl-exception.
30756 (elide-routines.os): Likewise.
30757 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
30758 _dl_exception_create_format, _dl_exception_free.
30759 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
30760 _dl_signal_exception.
30761 * elf/dl-lookup.c (make_string): Remove.
30762 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
30763 _dl_signal_cexception, _dl_exception_free.
30764 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
30765 _dl_signal_exception.
30766 * elf/dl-sym.c (do_sym): Likewise.
30767 * elf/dl-version.c (make_string): Remove.
30768 (match_symbol): Use _dl_exception_create_format,
30769 _dl_signal_cexception, _dl_exception_free.
30770 (_dl_check_map_versions): Likewise.
30771 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
30772 _dl_catch_exception.
30773 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
30774 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
30775 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
30776 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
30777 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
30778 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
30779 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
30780 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
30781 Likewise.
30782 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
30783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
30784 (ld.so): Likewise.
30785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
30786 (ld.so): Likewise.
30787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
30788 Likewise.
30789 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
30790 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
30791 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
30792 Likewise.
30793 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
30794 Likewise.
30795 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
30796
30797 2017-08-10 Florian Weimer <fweimer@redhat.com>
30798
30799 * inet/net-internal.h (__inet6_scopeid_pton): Remove
30800 attribute_hidden, internal_function.
30801 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
30802 internal_function.
30803
30804 2017-08-10 Florian Weimer <fweimer@redhat.com>
30805
30806 * malloc/malloc.c (get_max_fast): Reimplement as an inline
30807 function which calls __builtin_unreachable.
30808
30809 2017-08-10 Mike FABIAN <mfabian@redhat.com>
30810
30811 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
30812 Indian monetary formatting
30813 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
30814 test cases.
30815
30816 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
30817
30818 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
30819 Fix typo in comment.
30820
30821 [BZ #21928]
30822 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
30823 PTRACE_SEIZE_DEVEL): Remove.
30824 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
30825 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30826 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30827 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30828 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30829
30830 2017-08-09 Joseph Myers <joseph@codesourcery.com>
30831
30832 * posix/bits/types.h (__qaddr_t): Remove.
30833
30834 [BZ #21457]
30835 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
30836 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30837 __glibc_reserved1.
30838 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
30839 (ucontext_t): Use __ctx with uc_flags.
30840 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
30841 (__ctxt): Likewise.
30842 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30843 __glibc_reserved1.
30844 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
30845 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30846 __glibc_reserved1.
30847 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
30848 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30849 __glibc_reserved1.
30850 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
30851 macro.
30852 (ucontext_t): Use __ctx with uc_flags.
30853 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
30854 (ucontext_t): Use __ctx with uc_flags.
30855 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
30856 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
30857 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
30858 (ucontext_t): Use __ctx with uc_flags.
30859 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
30860 undefine further down.
30861 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30862 __glibc_reserved1.
30863 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
30864 undefine further down.
30865 (ucontext_t): Use __ctx with uc_flags.
30866 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
30867 undefine further down.
30868 (ucontext_t): Use __ctx with uc_flags.
30869 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
30870 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
30871 Rename uc_pad to __glibc_reserved1.
30872 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
30873 undefine further down.
30874 (ucontext_t): Use __ctx with uc_flags.
30875 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
30876 further down.
30877 (ucontext_t): Use __ctx with uc_flags.
30878 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
30879 __ctx with uc_flags.
30880 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
30881 (ucontext_t): Use __ctx with uc_flags.
30882 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
30883 __ctx with uc_flags.
30884
30885 2017-08-09 Florian Weimer <fweimer@redhat.com>
30886
30887 [BZ #21932]
30888 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
30889 before early return.
30890
30891 2017-08-09 Andreas Schwab <schwab@suse.de>
30892
30893 [BZ #21041]
30894 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
30895 renamed alias.
30896
30897 [BZ #21041]
30898 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
30899 tst-compat-forwarder.
30900 (modules-names): Add tst-compat-forwarder-mod.
30901 ($(objpfx)tst-compat-forwarder): Depend on
30902 $(objpfx)tst-compat-forwarder-mod.so.
30903 * nptl/tst-compat-forwarder.c: New file.
30904 * nptl/tst-compat-forwarder-mod.c: New file.
30905
30906 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
30907
30908 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
30909 comments.
30910
30911 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
30912 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
30913 memcpy_falkor.
30914 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
30915 Bump.
30916 (__libc_ifunc_impl_list): Add __memcpy_falkor.
30917 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
30918 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
30919 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30920 Add falkor.
30921 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
30922 New macro.
30923
30924 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30925
30926 [BZ #759]
30927 * manual/setjmp.texi (getcontex): Document uc_stack value
30928 compatibility differences.
30929
30930 2017-08-08 Joseph Myers <joseph@codesourcery.com>
30931
30932 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
30933 (old_malloc_hook): Likewise.
30934 (old_memalign_hook): Likewise.
30935 (old_realloc_hook): Likewise.
30936 (struct hdr): Likewise.
30937 (flood): Likewise.
30938 (freehook): Likewise.
30939 (mallochook): Likewise.
30940 (memalignhook): Likewise.
30941 (reallochook): Likewise.
30942 (mprobe): Likewise.
30943 * malloc/mtrace.c (mallwatch): Likewise.
30944 (tr_old_free_hook): Likewise.
30945 (tr_old_malloc_hook): Likewise.
30946 (tr_old_realloc_hook): Likewise.
30947 (tr_old_memalign_hook): Likewise.
30948 (tr_where): Likewise.
30949 (lock_and_info): Likewise.
30950 (tr_freehook): Likewise.
30951 (tr_mallochook): Likewise.
30952 (tr_reallochook): Likewise.
30953 (tr_memalignhook): Likewise.
30954 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
30955 * misc/mmap.c (__mmap): Likewise.
30956 * misc/mmap64.c (__mmap64): Likewise.
30957 * misc/mprotect.c (__mprotect): Likewise.
30958 * misc/msync.c (msync): Likewise.
30959 * misc/munmap.c (__munmap): Likewise.
30960 * posix/posix_madvise.c (posix_madvise): Likewise.
30961 * socket/send.c (__send): Likewise.
30962 * socket/sendto.c (__sendto): Likewise.
30963 * socket/setsockopt.c (__setsockopt): Likewise.
30964 * string/memcmp.c (__ptr_t): Remove macro.
30965 (MEMCMP): Use void * instead of ptr_t.
30966 * string/memrchr.c (__ptr_t): Remove macro.
30967 (__memrchr): Use void * instead of ptr_t.
30968 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
30969 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30970 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30971 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
30972 * sysdeps/mach/msync.c (msync): Likewise.
30973 * sysdeps/mach/munmap.c (__munmap): Likewise.
30974 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
30975 Likewise.
30976 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30977 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
30978 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
30979 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
30980 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
30981 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
30982 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
30983 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
30984 Likewise.
30985 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
30986 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
30987 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
30988 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
30989 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
30990 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
30991 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
30992 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
30993 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
30994 Likewise.
30995 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
30996 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
30997 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
30998 (MEMCMP): Use void * instead of ptr_t.
30999 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
31000 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
31001
31002 2017-08-08 Florian Weimer <fweimer@redhat.com>
31003
31004 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
31005 return statement.
31006
31007 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
31008
31009 [BZ #21913]
31010 * csu/libc-tls.c: Include <startup.h> first.
31011 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
31012 * elf/dl-tunables.c: Include <startup.h> first.
31013 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
31014 * sysdeps/generic/startup.h: New file.
31015 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
31016 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
31017 (I386_USE_SYSENTER): New. Defined to 0.
31018
31019 2017-08-08 Andreas Schwab <schwab@suse.de>
31020
31021 [BZ #21041]
31022 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
31023 * nptl/pt-system.c (system): Likewise.
31024
31025 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31026
31027 [BZ #21780]
31028 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
31029 EOPNOTSUPP.
31030 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
31031 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
31032 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
31033 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
31034 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
31035 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
31036 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
31037
31038 2017-08-07 Joseph Myers <joseph@codesourcery.com>
31039
31040 [BZ #21899]
31041 * bits/sigaction.h (struct sigaction): Define sa_handler and
31042 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
31043 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31044 [__USE_XOPEN_EXTENDED].
31045 (SA_RESTART): Likewise.
31046 (SA_NODEFER): Likewise.
31047 (SA_RESETHAND): Likewise.
31048 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
31049 (struct sigaction): Define sa_handler and sa_sigaction using union
31050 also for [__USE_XOPEN_EXTENDED].
31051 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31052 [__USE_XOPEN_EXTENDED].
31053 (SA_RESTART): Likewise.
31054 (SA_NODEFER): Likewise.
31055 (SA_RESETHAND): Likewise.
31056 * sysdeps/unix/sysv/linux/bits/sigaction.h
31057 (struct sigaction): Define sa_handler and sa_sigaction using union
31058 also for [__USE_XOPEN_EXTENDED].
31059 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31060 [__USE_XOPEN_EXTENDED].
31061 (SA_RESTART): Likewise.
31062 (SA_NODEFER): Likewise.
31063 (SA_RESETHAND): Likewise.
31064 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
31065 (struct sigaction): Define sa_handler and sa_sigaction using union
31066 also for [__USE_XOPEN_EXTENDED].
31067 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31068 [__USE_XOPEN_EXTENDED].
31069 (SA_RESTART): Likewise.
31070 (SA_NODEFER): Likewise.
31071 (SA_RESETHAND): Likewise.
31072 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
31073 (struct sigaction): Define sa_handler and sa_sigaction using union
31074 also for [__USE_XOPEN_EXTENDED].
31075 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31076 [__USE_XOPEN_EXTENDED].
31077 (SA_RESTART): Likewise.
31078 (SA_NODEFER): Likewise.
31079 (SA_RESETHAND): Likewise.
31080 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
31081 (struct sigaction): Define sa_handler and sa_sigaction using union
31082 also for [__USE_XOPEN_EXTENDED].
31083 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31084 [__USE_XOPEN_EXTENDED].
31085 (SA_RESTART): Likewise.
31086 (SA_NODEFER): Likewise.
31087 (SA_RESETHAND): Likewise.
31088 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
31089 (struct sigaction): Define sa_handler and sa_sigaction using union
31090 also for [__USE_XOPEN_EXTENDED].
31091 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31092 [__USE_XOPEN_EXTENDED].
31093 (SA_RESTART): Likewise.
31094 (SA_NODEFER): Likewise.
31095 (SA_RESETHAND): Likewise.
31096 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
31097 (struct sigaction): Define sa_handler and sa_sigaction using union
31098 also for [__USE_XOPEN_EXTENDED].
31099 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31100 [__USE_XOPEN_EXTENDED].
31101 (SA_RESTART): Likewise.
31102 (SA_NODEFER): Likewise. Define directly rather than as alias.
31103 (SA_RESETHAND): Likewise.
31104 (SA_INTERRUPT): Define only for [__USE_MISC].
31105 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
31106 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
31107 [__USE_MISC].
31108 (SA_STACK): Define only for [__USE_MISC].
31109 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
31110 (struct sigaction): Define sa_handler and sa_sigaction using union
31111 also for [__USE_XOPEN_EXTENDED].
31112 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31113 [__USE_XOPEN_EXTENDED].
31114 (SA_RESTART): Likewise.
31115 (SA_NODEFER): Likewise.
31116 (SA_RESETHAND): Likewise.
31117 (SA_NOPTRACE): Define only for [__USE_MISC].
31118
31119 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
31120 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
31121 (struct catalog_info): Likewise.
31122 * inet/htontest.c (lo): Likewise.
31123 (foo): Likewise.
31124 * inet/inet_lnaof.c (inet_lnaof): Likewise.
31125 * inet/inet_net.c (inet_network): Likewise.
31126 * inet/inet_netof.c (inet_netof): Likewise.
31127 * inet/rcmd.c (__ivaliduser): Likewise.
31128 (iruserok): Likewise.
31129 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
31130 * locale/programs/locale-spec.c (locale_special): Likewise.
31131 * nis/nis_findserv.c (struct findserv_req): Likewise.
31132 (__nis_findfastest_with_timeout): Likewise.
31133 * nss/test-netdb.c (test_network): Likewise.
31134 * resolv/inet_neta.c (inet_neta): Likewise.
31135 * resolv/ns_date.c (ns_datetosecs): Likewise.
31136 (SECS_PER_DAY): Likewise.
31137 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
31138 Likewise.
31139 * resolv/res_comp.c (__putlong): Likewise.
31140 (__putshort): Likewise.
31141 (_getlong): Likewise.
31142 (_getshort): Likewise.
31143 * resolv/res_debug.c (p_time): Likewise.
31144 (precsize_ntoa): Likewise.
31145 (precsize_aton): Likewise.
31146 (latlon2ul): Likewise.
31147 (loc_aton): Likewise.
31148 (loc_ntoa): Likewise.
31149 * resolv/res_hconf.c (struct netaddr): Likewise.
31150 (_res_hconf_reorder_addrs): Likewise.
31151 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
31152 (clnttcp_control): Likewise.
31153 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31154 (clntudp_control): Likewise.
31155 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
31156 (clntunix_control): Likewise.
31157 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
31158 * sunrpc/rpc/auth.h (union des_block): Likewise.
31159 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
31160 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
31161 (xdrrec_create): Likewise.
31162 (xdrrec_endofrecord): Likewise.
31163 (flush_out): Likewise.
31164 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
31165 (xdrstdio_putlong): Likewise.
31166 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
31167 Likewise.
31168
31169 * misc/sys/cdefs.h (__long_double_t): Remove.
31170 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
31171 instead of __long_double_t,
31172 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
31173
31174 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
31175
31176 * benchtests/scripts/compare_strings.py: Avoid display error when
31177 running on a text terminal.
31178
31179 * benchtests/scripts/compare_strings.py (main): Add an
31180 optional -base option.
31181 (process_results): New argument base_func.
31182
31183 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
31184 hardcoding memcpy.
31185 * benchtests/bench-memcpy-large.c (test_name): Likewise.
31186 * benchtests/bench-memcpy-random.c (test_name): Likewise.
31187
31188 2017-08-07 Andreas Schwab <schwab@suse.de>
31189
31190 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
31191 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
31192 * intl/Makefile ($(objpfx)tst-gettext.out)
31193 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
31194 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
31195 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
31196 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
31197 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
31198 * posix/Makefile ($(objpfx)globtest.out)
31199 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
31200 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
31201 ($(objpfx)tst-printf.out): Likewise.
31202 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
31203 ($(objpfx)tst-setcontext3.out): Likewise.
31204
31205 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
31206
31207 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31208 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
31209 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
31210 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
31211 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
31212 and mptan-fma.
31213 (CFLAGS-doasin-fma.c): New.
31214 (CFLAGS-dosincos-fma.c): Likewise.
31215 (CFLAGS-e_asin-fma.c): Likewise.
31216 (CFLAGS-e_atan2-fma.c): Likewise.
31217 (CFLAGS-e_exp-fma.c): Likewise.
31218 (CFLAGS-e_log-fma.c): Likewise.
31219 (CFLAGS-e_pow-fma.c): Likewise.
31220 (CFLAGS-halfulp-fma.c): Likewise.
31221 (CFLAGS-mpa-fma.c): Likewise.
31222 (CFLAGS-mpatan-fma.c): Likewise.
31223 (CFLAGS-mpatan2-fma.c): Likewise.
31224 (CFLAGS-mpexp-fma.c): Likewise.
31225 (CFLAGS-mplog-fma.c): Likewise.
31226 (CFLAGS-mpsqrt-fma.c): Likewise.
31227 (CFLAGS-mptan-fma.c): Likewise.
31228 (CFLAGS-s_atan-fma.c): Likewise.
31229 (CFLAGS-sincos32-fma.c): Likewise.
31230 (CFLAGS-slowexp-fma.c): Likewise.
31231 (CFLAGS-slowpow-fma.c): Likewise.
31232 (CFLAGS-s_sin-fma.c): Likewise.
31233 (CFLAGS-s_tan-fma.c): Likewise.
31234 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
31235 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
31236 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
31237 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
31238 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
31239 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
31240 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
31241 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
31242 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
31243 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
31244 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
31245 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
31246 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
31247 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
31248 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
31249 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
31250 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
31251 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
31252 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
31253 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
31254 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
31255 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
31256 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
31257 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
31258 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31259 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31260 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31261 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
31262 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31263 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31264 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31265
31266 2017-08-04 Joseph Myers <joseph@codesourcery.com>
31267
31268 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
31269 (min_of_type_f): New macro.
31270 (min_of_type_): Likewise.
31271 (min_of_type_l): Likewise.
31272 (min_of_type_f128): Likewise.
31273 (min_of_type): Define using __MATH_TG and taking an expression
31274 argument.
31275 (math_check_force_underflow): Pass expression instead of type to
31276 min_of_type.
31277 (math_check_force_underflow_nonneg): Likewise.
31278
31279 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31280
31281 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31282 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
31283 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
31284
31285 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31286
31287 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31288 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
31289 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
31290 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
31291 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
31292 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
31293 memcpy_chk-nonshared, mempcpy_chk-nonshared,
31294 memmove_chk-nonshared and memset_chk-nonshared
31295 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
31296 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
31297 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
31298 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
31299 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
31300 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
31301 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
31302 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
31303 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
31304 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
31305 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
31306 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
31307 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
31308 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
31309 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
31310 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
31311 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
31312 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
31313 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
31314 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
31315 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
31316 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
31317 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
31318 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
31319 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
31320 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
31321 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
31322 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
31323 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
31324 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
31325 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
31326 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
31327 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
31328 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31329 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31330 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
31331 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
31332 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
31333 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
31334 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
31335 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
31336 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
31337 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
31338 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
31339 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
31340 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
31341 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
31342 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
31343 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
31344 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
31345 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
31346 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
31347 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
31348 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
31349 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
31350 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
31351 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
31352 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
31353 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
31354 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
31355 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
31356 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
31357 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
31358 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
31359 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
31360 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
31361 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
31362 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
31363 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
31364 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
31365 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
31366 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31367 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31368 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31369 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31370 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31371 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31372 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31373 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31374 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31375 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31376 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31377 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31378 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31379 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31380 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31381 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31382 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31383 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31384 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31385 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31386 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31387 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31388 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31389 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31390 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31391 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31392 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31393 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31394 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31395 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31396 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31397 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31398 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31399 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31400 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31401 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31402 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31403
31404 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31405
31406 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
31407 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
31408 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
31409 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
31410 svml_d_log2_core-sse2, svml_d_log4_core-sse,
31411 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
31412 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
31413 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
31414 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
31415 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
31416 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
31417 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
31418 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
31419 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
31420 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
31421 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
31422 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
31423 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
31424 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
31425 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
31426 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
31427 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
31428 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
31429 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
31430 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
31431 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
31432 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
31433 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
31434 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
31435 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
31436 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
31437 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
31438 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
31439 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
31440 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
31441 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
31442 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
31443 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
31444 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
31445 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
31446 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
31447 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
31448 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
31449 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
31450 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
31451 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
31452 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
31453 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
31454 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
31455 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
31456 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
31457 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
31458 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
31459 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
31460 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
31461 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
31462 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
31463 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
31464 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
31465 ...
31466 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
31467 Don't include <sysdep.h> nor <init-arch.h>.
31468 (_ZGVbN2v_cos): Removed.
31469 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
31470 ...
31471 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
31472 Don't include <sysdep.h> nor <init-arch.h>.
31473 (_ZGVdN4v_cos): Removed.
31474 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
31475 ...
31476 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
31477 Don't include <sysdep.h> nor <init-arch.h>.
31478 (_ZGVeN8v_cos): Removed.
31479 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
31480 ...
31481 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
31482 Don't include <sysdep.h> nor <init-arch.h>.
31483 (_ZGVbN2v_exp): Removed.
31484 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
31485 ...
31486 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
31487 Don't include <sysdep.h> nor <init-arch.h>.
31488 (_ZGVdN4v_exp): Removed.
31489 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
31490 ...
31491 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
31492 Don't include <sysdep.h> nor <init-arch.h>.
31493 (_ZGVeN8v_exp): Removed.
31494 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
31495 ...
31496 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
31497 Don't include <sysdep.h> nor <init-arch.h>.
31498 (_ZGVbN2v_log): Removed.
31499 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
31500 ...
31501 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
31502 Don't include <sysdep.h> nor <init-arch.h>.
31503 (_ZGVdN4v_log): Removed.
31504 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
31505 ...
31506 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
31507 Don't include <sysdep.h> nor <init-arch.h>.
31508 (_ZGVeN8v_log): Removed.
31509 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
31510 ...
31511 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
31512 Don't include <sysdep.h> nor <init-arch.h>.
31513 (_ZGVbN2vv_pow): Removed.
31514 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
31515 ...
31516 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
31517 Don't include <sysdep.h> nor <init-arch.h>.
31518 (_ZGVdN4vv_pow): Removed.
31519 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
31520 ...
31521 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
31522 Don't include <sysdep.h> nor <init-arch.h>.
31523 (_ZGVeN8vv_pow): Removed.
31524 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
31525 ...
31526 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
31527 Don't include <sysdep.h> nor <init-arch.h>.
31528 (_ZGVbN2v_sin): Removed.
31529 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
31530 ...
31531 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
31532 Don't include <sysdep.h> nor <init-arch.h>.
31533 (_ZGVbN4v_sin): Removed.
31534 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
31535 ...
31536 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
31537 Don't include <sysdep.h> nor <init-arch.h>.
31538 (_ZGVbN8v_sin): Removed.
31539 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
31540 ...
31541 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
31542 Don't include <sysdep.h> nor <init-arch.h>.
31543 (_ZGVbN2vvv_sincos): Removed.
31544 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
31545 ...
31546 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
31547 Don't include <sysdep.h> nor <init-arch.h>.
31548 (_ZGVdN4vvv_sincos): Removed.
31549 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
31550 ...
31551 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
31552 Don't include <sysdep.h> nor <init-arch.h>.
31553 (_ZGVeN8vvv_sincos): Removed.
31554 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
31555 ...
31556 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
31557 Don't include <sysdep.h> nor <init-arch.h>.
31558 (_ZGVeN16v_cosf): Removed.
31559 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
31560 ...
31561 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
31562 Don't include <sysdep.h> nor <init-arch.h>.
31563 (_ZGVbN4v_cosf): Removed.
31564 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
31565 ...
31566 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
31567 Don't include <sysdep.h> nor <init-arch.h>.
31568 (_ZGVdN8v_cosf): Removed.
31569 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
31570 ...
31571 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
31572 Don't include <sysdep.h> nor <init-arch.h>.
31573 (_ZGVeN16v_expf): Removed.
31574 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
31575 ...
31576 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
31577 Don't include <sysdep.h> nor <init-arch.h>.
31578 (_ZGVbN4v_expf): Removed.
31579 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
31580 ...
31581 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
31582 Don't include <sysdep.h> nor <init-arch.h>.
31583 (_ZGVdN8v_expf): Removed.
31584 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
31585 ...
31586 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
31587 Don't include <sysdep.h> nor <init-arch.h>.
31588 (_ZGVeN16v_logf): Removed.
31589 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
31590 ...
31591 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
31592 Don't include <sysdep.h> nor <init-arch.h>.
31593 (_ZGVbN4v_logf): Removed.
31594 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
31595 ...
31596 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
31597 Don't include <sysdep.h> nor <init-arch.h>.
31598 (_ZGVdN8v_logf): Removed.
31599 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
31600 ...
31601 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
31602 Don't include <sysdep.h> nor <init-arch.h>.
31603 (_ZGVeN16vv_powf): Removed.
31604 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
31605 ...
31606 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
31607 Don't include <sysdep.h> nor <init-arch.h>.
31608 (_ZGVbN4vv_powf): Removed.
31609 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
31610 ...
31611 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
31612 Don't include <sysdep.h> nor <init-arch.h>.
31613 (_ZGVdN8vv_powf): Removed.
31614 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
31615 ...
31616 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
31617 Don't include <sysdep.h> nor <init-arch.h>.
31618 (_ZGVeN16vvv_sincosf): Removed.
31619 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
31620 ...
31621 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
31622 Don't include <sysdep.h> nor <init-arch.h>.
31623 (_ZGVbN4vvv_sincosf): Removed.
31624 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
31625 ...
31626 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
31627 Don't include <sysdep.h> nor <init-arch.h>.
31628 (_ZGVdN8vvv_sincosf): Removed.
31629 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
31630 ...
31631 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
31632 Don't include <sysdep.h> nor <init-arch.h>.
31633 (_ZGVeN16v_sinf): Removed.
31634 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
31635 ...
31636 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
31637 Don't include <sysdep.h> nor <init-arch.h>.
31638 (_ZGVbN4v_sinf): Removed.
31639 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
31640 ...
31641 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
31642 Don't include <sysdep.h> nor <init-arch.h>.
31643 (_ZGVdN8v_sinf): Removed.
31644
31645 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31646
31647 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31648 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
31649 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
31650 s_rint-sse4_1 and s_rintf-sse4_1.
31651 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
31652 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
31653 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
31654 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
31655 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
31656 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
31657 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
31658 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
31659 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
31660 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
31661 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
31662 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31663 (__ceil): Removed.
31664 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
31665 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
31666 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31667 (__ceilf): Removed.
31668 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
31669 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
31670 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31671 (__floor): Removed.
31672 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
31673 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
31674 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31675 (__floorf): Removed.
31676 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
31677 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
31678 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31679 (__nearbyint): Removed.
31680 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
31681 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
31682 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31683 (__nearbyintf): Removed.
31684 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
31685 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
31686 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31687 (__rint): Removed.
31688 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
31689 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
31690 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31691 (__rintf): Removed.
31692
31693 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31694
31695 * sysdeps/i386/start.S (_start): Check Check PIC instead of
31696 SHARED. Avoid dynamic relocation against main in static PIE.
31697
31698 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31699
31700 [BZ #21815]
31701 * elf/Makefile (CFLAGS-tst-prelink.c): New.
31702 (LDFLAGS-tst-prelink): Likewise.
31703
31704 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31705
31706 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
31707 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
31708 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
31709 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
31710 (INTERNAL_SYSCALL_NCS): Likewise.
31711 (LOADARGS_1): Likewise.
31712 (LOADARGS_5): Likewise.
31713 (RESTOREARGS_1): Likewise.
31714 (RESTOREARGS_5): Likewise.
31715
31716 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31717
31718 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
31719 (MEMPCPY_SYMBOL): Likewise.
31720 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31721 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
31722 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
31723 in libc.a.
31724 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31725 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
31726 Likewise.
31727 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
31728 (__hidden_ver1): Don't use in libc.a.
31729 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
31730 (__mempcpy): Don't create a weak alias in libc.a.
31731 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
31732 libc.a.
31733 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
31734 (__hidden_ver1): Don't use in libc.a.
31735
31736 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31737
31738 * config.make.in (have-insert): New.
31739 * configure.ac (libc_cv_insert): New. Set to yes if linker
31740 supports INSERT in linker script.
31741 (AC_SUBST(libc_cv_insert): New.
31742 * configure: Regenerated.
31743 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
31744 if $(have-insert) == yes.
31745
31746 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31747
31748 * elf/Makefile (tests): Add vismain only if
31749 $(have-protected-data) == yes.
31750 (tests-pie): Likewise.
31751
31752 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31753
31754 [BZ #21871]
31755 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
31756 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
31757
31758 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31759
31760 [BZ #21790]
31761 * sysdeps/i386/i586/memset.S
31762 (__memset_zero_constant_len_parameter): Removed.
31763 * sysdeps/i386/i686/memset.S
31764 (__memset_zero_constant_len_parameter): Likewise.
31765 * sysdeps/i386/i686/multiarch/memset_chk.S
31766 (__memset_zero_constant_len_parameter): Likewise.
31767 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
31768 Likewise.
31769
31770 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31771
31772 * stdlib/getentropy.c (getentropy): Change return type to int.
31773
31774 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31775
31776 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
31777
31778 2017-08-03 Joseph Myers <joseph@codesourcery.com>
31779
31780 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
31781 u_intN_t.
31782 * math/s_nexttowardf.c (__nexttowardf): Likewise.
31783 * sysdeps/generic/math_private.h (ieee_double_shape_type):
31784 Likewise.
31785 (ieee_float_shape_type): Likewise.
31786 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
31787 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
31788 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31789 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31790 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
31791 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
31792 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
31793 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
31794 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
31795 Likewise.
31796 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
31797 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
31798 (__ieee754_yn): Likewise.
31799 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31800 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31801 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
31802 Likewise.
31803 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31804 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
31805 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
31806 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
31807 (__erfc): Likewise.
31808 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
31809 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
31810 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
31811 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
31812 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
31813 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
31814 Likewise.
31815 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
31816 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
31817 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
31818 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
31819 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
31820 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
31821 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
31822 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
31823 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
31824 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
31825 (__issignaling): Likewise.
31826 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
31827 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
31828 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31829 Likewise.
31830 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31831 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
31832 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
31833 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
31834 Likewise.
31835 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
31836 Likewise.
31837 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
31838 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
31839 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
31840 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
31841 (__erfcf): Likewise.
31842 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
31843 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31844 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
31845 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
31846 Likewise.
31847 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
31848 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
31849 Likewise.
31850 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
31851 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
31852 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
31853 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
31854 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
31855 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31856 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
31857 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
31858 Likewise.
31859 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
31860 Likewise.
31861 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
31862 Likewise.
31863 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
31864 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31865 Likewise.
31866 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
31867 Likewise.
31868 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31869 (__ieee754_ynl): Likewise.
31870 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
31871 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
31872 Likewise.
31873 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
31874 Likewise.
31875 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
31876 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
31877 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31878 Likewise.
31879 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
31880 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
31881 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
31882 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
31883 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
31884 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31885 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
31886 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
31887 Likewise.
31888 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
31889 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
31890 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
31891 Likewise.
31892 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
31893 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
31894 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
31895 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
31896 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
31897 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31898 Likewise.
31899 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31900 Likewise.
31901 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31902 Likewise.
31903 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31904 Likewise.
31905 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
31906 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31907 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31908 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
31909 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
31910 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
31911 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
31912 Likewise.
31913 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31914 Likewise.
31915 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31916 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31917 Likewise.
31918 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
31919 (__ieee754_remainderl): Likewise.
31920 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31921 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31922 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31923 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31924 Likewise.
31925 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31926 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31927 Likewise.
31928 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31929 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
31930 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
31931 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
31932 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
31933 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31934 Likewise.
31935 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
31936 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
31937 (__ieee754_y0l): Likewise.
31938 (pzero): Likewise.
31939 (qzero): Likewise.
31940 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31941 (__ieee754_y1l): Likewise.
31942 (pone): Likewise.
31943 (qone): Likewise.
31944 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31945 (__ieee754_ynl): Likewise.
31946 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
31947 (__ieee754_lgammal_r): Likewise.
31948 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
31949 Likewise.
31950 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
31951 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
31952 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
31953 (__erfcl): Likewise.
31954 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
31955 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
31956 Likewise.
31957 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
31958 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
31959 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
31960 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
31961 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
31962 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31963 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31964 Likewise.
31965 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
31966 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31967 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
31968 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
31969 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31970 Likewise.
31971 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
31972 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
31973 Likewise.
31974 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
31975 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
31976 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
31977 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31978 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
31979
31980 2017-08-03 Florian Weimer <fweimer@redhat.com>
31981
31982 [BZ #21885]
31983 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
31984 on memory allocation failure.
31985
31986 2017-08-03 Alan Modra <amodra@gmail.com>
31987
31988 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
31989 tst-tlsopt-powerpc.c with function name change and no test harness.
31990 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
31991 Call tls_get_addr_opt_test.
31992 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
31993 (modules-names): Add mod-tlsopt-powerpc.
31994 (mod-tlsopt-powerpc.so-no-z-defs): Define.
31995 (tst-tlsopt-powerpc): Depend on .so.
31996 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
31997 define. Expand use in TLS_GD and TLS_LD.
31998
31999 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32000
32001 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
32002 function.
32003 * sysdeps/posix/shm_open.c: Include <pthread.h>.
32004
32005 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32006
32007 [BZ #21686]
32008 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
32009 comparing size with that of double.
32010 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32011 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32012 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32013 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32014 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32015 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
32016 unsigned __int128 types.
32017
32018 2017-08-02 Steve Ellcey <sellcey@cavium.com>
32019
32020 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
32021 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
32022 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
32023 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
32024 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
32025
32026 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32027
32028 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
32029
32030 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32031
32032 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
32033 of SHARED.
32034 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
32035 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32036 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32037 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32038 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32039 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32040 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32041
32042 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32043
32044 [BZ #21685]
32045 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
32046 bit-field expressions passed to sizeof or typeof.
32047 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32048 (__TGMATH_F128): Likewise.
32049 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32050 (__TGMATH_CF128): Likewise.
32051 (__TGMATH_UNARY_REAL_ONLY): Likewise.
32052 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
32053 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
32054 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
32055 (__TGMATH_BINARY_REAL_ONLY): Likewise.
32056 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32057 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32058 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32059 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32060 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
32061 (__TGMATH_UNARY_REAL_IMAG): Likewise.
32062 (__TGMATH_UNARY_IMAG): Likewise.
32063 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
32064 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32065 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
32066 type.
32067 (define_vars_for_type): Handle bit_field type specially.
32068 (Tests.__init__): Declare structure with bit-field element.
32069
32070 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32071
32072 [BZ #21791]
32073 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
32074 (MEMCPY_CHK): Define only if SHARED is defined.
32075 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
32076 Likewise.
32077 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
32078 Likewise.
32079
32080 See ChangeLog.18 for earlier changes.