]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
elf: Disable some subtests of ifuncmain1, ifuncmain5 for !PIE
[thirdparty/glibc.git] / ChangeLog
1 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
2
3 * stdlib/isomac.c: Include <unistd.h>.
4
5 2019-06-06 Florian Weimer <fweimer@redhat.com>
6
7 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
8 internal GCC preprocessor identifier __has_include__.
9
10 2019-07-24 Florian Weimer <fweimer@redhat.com>
11
12 [BZ #24532]
13 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
14 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
15 (sysdep_headers): Add bits/socket-constants.h.
16 (tests-special): Add tst-socket-consts.out.
17 (tst-socket-consts.out): New target.
18 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
19 around <asm/unistd.h>.
20 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
21 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
22 <asm/socket.h>.
23 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
24 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
25 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
26 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
27 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
28 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
29 Likewise.
30 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
31
32 2019-08-15 Florian Weimer <fweimer@redhat.com>
33
34 * malloc/Makefile (tests): Only add tst-mxfast for
35 $(have-tunables).
36 * malloc/tst-mxfast.c: Fix copyright year.
37 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
38 assert for checks.
39
40 2019-08-09 DJ Delorie <dj@redhat.com>
41
42 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
43 * manual/tunables.texi: Document it.
44 * malloc/malloc.c (do_set_mxfast): New.
45 (__libc_mallopt): Call it.
46 * malloc/arena.c: Add mxfast tunable.
47 * malloc/tst-mxfast.c: New.
48 * malloc/Makefile: Add it.
49
50 2019-08-08 Niklas Hambüchen <mail@nh2.me>
51 Carlos O'Donell <carlos@redhat.com>
52
53 [BZ #24026]
54 * malloc/malloc.c (__malloc_info): Account for top chunk.
55
56 2019-08-01 Florian Weimer <fweimer@redhat.com>
57
58 [BZ #24867]
59 * malloc/malloc.c (__malloc_info): Remove unwanted leading
60 whitespace.
61
62 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
63
64 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
65 (tcache_put): Remove redundant assert.
66 (tcache_get): Remove redundant asserts.
67 (__libc_malloc): Check tcache count is not zero.
68 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
69
70 2019-02-04 Joseph Myers <joseph@codesourcery.com>
71
72 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
73 with 0, not tcache->entries[tc_idx].
74
75 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
76
77 [BZ #23403]
78 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
79 TLS_TCB_AT_TP tls variant.
80 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
81 Add alignment checks.
82 * support/Makefile (libsupport-routines): Add xposix_memalign and
83 xpthread_setstack.
84 * support/support.h: Add xposix_memalign.
85 * support/xthread.h: Add xpthread_attr_setstack.
86 * support/xposix_memalign.c: New File.
87 * support/xpthread_attr_setstack.c: Likewise.
88
89 2019-06-18 Florian Weimer <fweimer@redhat.com>
90
91 [BZ #24323]
92 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
93 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
94 fail when called from dlopen.
95 * elf/Makefile [have-fpie && build-shared] (tests): Add
96 tst-dlopen-pie.
97 (tst-dlopen-pie): Link with -ldl.
98 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
99 * elf/tst-dlopen-pie.c (do_test): New file.
100
101 2019-07-10 DJ Delorie <dj@redhat.com>
102 Sergei Trofimovich <slyfox@inbox.ru>
103
104 [BZ #24696]
105 [BZ #24695]
106 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
107 mappings.
108 * nss/tst-nss-db-endgrent.c: New.
109 * nss/tst-nss-db-endgrent.root: New.
110 * nss/tst-nss-db-endpwent.c: New.
111 * nss/tst-nss-db-endpwent.root: New.
112 * nss/Makefile: Add new tests.
113 * support/links-dso-program-c.c: Add selinux dependency.
114 * support/links-dso-program.cc: Add selinux dependency.
115 * support/Makefile: Build those with -lselinux if enabled.
116
117 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
118
119 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
120 * support/support.h (support_bindir_prefix): New variable.
121 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
122
123 * config.make.in (bindir): New variable.
124
125 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
126
127 [BZ #24259]
128 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
129 relocation.
130 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
131 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
132 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
133 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
134 and tst-cet-legacy-mod-6c.
135 (CFLAGS-tst-cet-legacy-5a.c): New.
136 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
137 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
138 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
139 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
140 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
141 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
142 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
143 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
144 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
145 ($(objpfx)tst-cet-legacy-5a): Likewise.
146 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
147 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
148 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
149 ($(objpfx)tst-cet-legacy-5b): Likewise.
150 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
151 (tst-cet-legacy-5b-ENV): Likewise.
152 ($(objpfx)tst-cet-legacy-6a): Likewise.
153 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
154 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
155 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
156 ($(objpfx)tst-cet-legacy-6b): Likewise.
157 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
158 (tst-cet-legacy-6b-ENV): Likewise.
159 * sysdeps/x86/tst-cet-legacy-5.c: New file.
160 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
161 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
162 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
163 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
164 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
165 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
166 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
167 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
168 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
169 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
170 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
171 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
172 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
173
174 2019-09-20 Joseph Myers <joseph@codesourcery.com>
175
176 * sysdeps/unix/sysv/linux/riscv/vfork.S: Do not include
177 <linux/sched.h>.
178 (CLONE_VM): New macro.
179 (CLONE_VFORK): Likewise.
180
181 2019-09-14 Aurelien Jarno <aurelien@aurel32.net>
182
183 [BZ #24986]
184 * sysdeps/unix/alpha/getegid.S: Move to ...
185 * sysdeps/unix/sysv/linux/alpha/getegid.S: ... here.
186 * sysdeps/unix/alpha/geteuid.S: Move to ...
187 * sysdeps/unix/sysv/linux/alpha/geteuid.S: ... here.
188 * sysdeps/unix/alpha/getppid.S: Move to ...
189 * sysdeps/unix/sysv/linux/alpha/getppid.S: ... here
190
191 2019-09-13 Wilco Dijkstra <wdijkstr@arm.com>
192
193 * string/memmem.c (__memmem): Rewrite to improve performance.
194
195 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
196
197 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
198 warning.
199 (two_way_long_needle): Block inlining.
200 * string/strstr.c (strstr2): Add new function.
201 (strstr3): Likewise.
202 (STRSTR): Completely rewrite strstr to improve performance.
203
204 2019-09-03 Aurelien Jarno <aurelien@aurel32.net>
205
206 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated using GCC 9.2.
207
208 2019-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
209
210 * sysdeps/hppa/fpu/libm-test-ulps: Update.
211
212 2019-08-15 Richard Henderson <rth@twiddle.net>
213
214 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
215 Do not redefine.
216 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
217 Do not redefine.
218
219 2019-07-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
220
221 [BZ #24699]
222 * posix/tst-mmap-offset.c: Mention BZ #24699.
223 (do_test_bz21270): Rename to do_test_large_offset and use
224 mmap64_maximum_offset to check for maximum expected offset value.
225 * sysdeps/generic/mmap_info.h: New file.
226 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
227 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
228 __NR_mmap2 is used.
229
230 2019-07-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
231
232 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Check
233 STO_AARCH64_VARIANT_PCS and bind such symbols at load time.
234
235 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
236
237 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
238 (DT_AARCH64_VARIANT_PCS): Define.
239
240 2019-06-28 Florian Weimer <fweimer@redhat.com>
241
242 [BZ #24744]
243 io: Remove the copy_file_range emulation.
244 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
245 not define and call copy_file_range_compat.
246 * io/Makefile (tests-static, tests-internal): Do not add
247 tst-copy_file_range-compat.
248 * io/copy_file_range-compat.c: Remove file.
249 * io/copy_file_range.c (copy_file_range): Define as stub.
250 * io/tst-copy_file_range-compat.c: Remove file.
251 * io/tst-copy_file_range.c (xdevfile): Remove variable.
252 (typical_sizes): Update comment. Remove 16K sizes.
253 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
254 Remove variables.
255 (find_maximum_offset, pipe_as_source, pipe_as_destination)
256 (delayed_write_failure_beginning, delayed_write_failure_end)
257 (cross_device_failure, enospc_failure_1, enospc_failure)
258 (oappend_failure): Remove functions.
259 (tests): Adjust test case list.
260 (do_test): Remove file system search code. Check for ENOSYS from
261 copy_file_range. Do not free xdevfile.
262 * manual/llio.texi (Copying File Data): Document ENOSYS error from
263 copy_file_range. Do not document the EXDEV error, which future
264 kernels may not report. Update the wording to reflect that
265 further errors are possible.
266 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
267 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
268 not undefine.
269 * sysdeps/unix/sysv/linux/arm/kernel-features.h
270 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
271 Likewise.
272 * sysdeps/unix/sysv/linux/kernel-features.h
273 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
274 Remove definition.
275 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
276 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
277 not undefine.
278 * sysdeps/unix/sysv/linux/sh/kernel-features.h
279 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
280 Likewise.
281
282 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
283 Florian Weimer <fweimer@redhat.com>
284
285 [BZ #24228]
286 * libio/genops.c (_IO_unbuffer_all)
287 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
288 buffers and access _IO_FILE_complete members of legacy libio streams.
289 * libio/tst-bz24228.c: New file.
290 * libio/tst-bz24228.map: Likewise.
291 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
292 [build-shared] (generated): Add tst-bz24228.mtrace and
293 tst-bz24228.check.
294 [run-built-tests && build-shared] (tests-special): Add
295 $(objpfx)tst-bz24228-mem.out.
296 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
297 ($(objpfx)tst-bz24228-mem.out): New rule.
298
299 2019-03-13 Zack Weinberg <zackw@panix.com>
300
301 * scripts/check-obsolete-constructs.py: New test script.
302 * scripts/check-installed-headers.sh: Remove tests for
303 obsolete typedefs, superseded by check-obsolete-constructs.py.
304 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
305 as a special test. Update commentary.
306 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
307 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
308 Update commentary.
309 * posix/sys/types.h (__u_intN_t): Remove.
310 (u_int8_t): Typedef using __uint8_t.
311 (u_int16_t): Typedef using __uint16_t.
312 (u_int32_t): Typedef using __uint32_t.
313 (u_int64_t): Typedef using __uint64_t.
314
315 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
316
317 * malloc/tst-memalign.c (do_test): Disable
318 -Walloc-size-larger-than= around tests of malloc with negative
319 sizes.
320 * malloc/tst-malloc-too-large.c (do_test): Likewise.
321
322 2019-05-22 Wilco Dijkstra <wdijkstr@arm.com>
323
324 [BZ #24531]
325 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
326 (do_set_tcache_count): Only update if count is small enough.
327 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
328
329 2019-05-15 Mark Wielaard <mark@klomp.org>
330
331 [BZ#24476]
332 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
333 __libc_once_get (once) and static_buf == NULL.
334 (__dlerror): Check we have a valid key, set result to static_buf
335 otherwise.
336
337 2019-05-15 Andreas Schwab <schwab@suse.de>
338
339 [BZ #20568]
340 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
341 __codecvt_do_length.
342 * libio/Makefile (tests): Add tst-wfile-sync.
343 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
344 * libio/tst-wfile-sync.c: New file.
345 * libio/tst-wfile-sync.input: New file.
346
347 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
348
349 [BZ #18035]
350 * elf/Makefile (tests-container): Add tst-pldd.
351 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
352 (E(find_maps)): Avoid use alloca, use default read file operations
353 instead of explicit LFS names, and fix infinite loop.
354 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
355 (get_process_info): Use _Static_assert instead of assert, use default
356 directory operations instead of explicit LFS names, and free some
357 leadek pointers.
358 * elf/tst-pldd.c: New file.
359
360 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
361
362 * support/Makefile (libsupport-routines): Add support_subprocess,
363 xposix_spawn, xposix_spawn_file_actions_addclose, and
364 xposix_spawn_file_actions_adddup2.
365 (tst-support_capture_subprocess-ARGS): New rule.
366 * support/capture_subprocess.h (support_capture_subprogram): New
367 prototype.
368 * support/support_capture_subprocess.c (support_capture_subprocess):
369 Refactor to use support_subprocess and support_capture_poll.
370 (support_capture_subprogram): New function.
371 * support/tst-support_capture_subprocess.c (write_mode_to_str,
372 str_to_write_mode, test_common, parse_int, handle_restart,
373 do_subprocess, do_subprogram, do_multiple_tests): New functions.
374 (do_test): Add support_capture_subprogram tests.
375 * support/subprocess.h: New file.
376 * support/support_subprocess.c: Likewise.
377 * support/xposix_spawn.c: Likewise.
378 * support/xposix_spawn_file_actions_addclose.c: Likewise.
379 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
380 * support/xspawn.h: Likewise.
381
382 2019-04-09 Carlos O'Donell <carlos@redhat.com>
383 Kwok Cheung Yeung <kcy@codesourcery.com>
384
385 [BZ #16573]
386 * malloc/mtrace.c: Define prototypes for all hooks.
387 (set_default_hooks): New function.
388 (set_trace_hooks): Likewise.
389 (save_default_hooks): Likewise.
390 (tr_freehook): Use new s*_hooks functions.
391 (tr_mallochook): Likewise.
392 (tr_reallochook): Likewise.
393 (tr_memalignhook): Likewise.
394 (mtrace): Likewise.
395 (muntrace): Likewise.
396
397 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
398
399 [BZ #22964]
400 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
401 era.
402
403 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
404
405 [BZ #24162]
406 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
407 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
408
409 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
410
411 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
412 Add HWCAP_S390_VX and HWCAP_S390_VXE.
413
414 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
415
416 CVE-2019-9169
417 regex: fix read overrun [BZ #24114]
418 Problem found by AddressSanitizer, reported by Hongxu Chen in:
419 https://debbugs.gnu.org/34140
420 * posix/regexec.c (proceed_next_node):
421 Do not read past end of input buffer.
422
423 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
424
425 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
426 call _dl_procinfo.
427 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
428 Ignore types other than AT_HWCAP.
429 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
430 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
431 Likewise.
432 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
433 in the case of falling back to generic output mechanism.
434 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
435 Likewise.
436
437 2019-02-15 Florian Weimer <fweimer@redhat.com>
438
439 [BZ #24211]
440 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
441 pd->result after the thread descriptor has been freed.
442
443 2019-02-08 Florian Weimer <fweimer@redhat.com>
444
445 [BZ #24161]
446 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
447 argument.
448 * nptl/register-atfork.c (__run_fork_handlers): Only perform
449 locking if the new do_locking argument is true.
450 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
451 __run_fork_handlers.
452
453 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
454
455 [BZ #24180]
456 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
457 Add compiler barriers and comments.
458
459 2019-02-05 Florian Weimer <fweimer@redhat.com>
460
461 [BZ #24164]
462 arm: Use "nr" constraint for Systemtap probes, to avoid the
463 compiler using memory operands for constants, due to the "o"
464 alternative in the default "nor" constraint.
465 * include/stap-probe.h [USE_STAP_PROBE]: Include
466 <stap-probe-machine.h>
467 * sysdeps/generic/stap-probe-machine.h: New file.
468 * sysdeps/arm/stap-probe-machine.h: Likewise.
469
470 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
471
472 [BZ #24155]
473 CVE-2019-7309
474 * NEWS: Updated for CVE-2019-7309.
475 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
476 upper 32 bits of RDX register for x32. Use unsigned Jcc
477 instructions, instead of signed.
478 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
479 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
480
481 2019-01-31 Carlos O'Donell <carlos@redhat.com>
482 Torvald Riegel <triegel@redhat.com>
483 Rik Prohaska <prohaska7@gmail.com>
484
485 [BZ# 23844]
486 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
487 tst-rwlock-trywrlock-stall.
488 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
489 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
490 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
491 Set __wrphase_fute to 1 only if we started the write phase.
492 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
493 * nptl/tst-rwlock-trywrlock-stall.c: New file.
494 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
495 * support/xpthread_rwlock_destroy.c: New file.
496 * support/xthread.h: Declare xpthread_rwlock_destroy.
497
498 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
499
500 * version.h (RELEASE): Set to "stable".
501 (VERSION): Set to "2.29".
502 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
503
504 * NEWS: Add the list of bugs fixed in 2.29.
505 * manual/contrib.texi: Update contributors list with some more
506 names.
507 * manual/install.texi: Update latest versions of packages
508 tested.
509 * INSTALL: Regenerated.
510
511 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
512
513 * po/be.po: Update translations.
514 * po/bg.po: Likewise.
515 * po/ca.po: Likewise.
516 * po/cs.po: Likewise.
517 * po/da.po: Likewise.
518 * po/de.po: Likewise.
519 * po/el.po: Likewise.
520 * po/eo.po: Likewise.
521 * po/es.po: Likewise.
522 * po/fi.po: Likewise.
523 * po/fr.po: Likewise.
524 * po/gl.po: Likewise.
525 * po/hr.po: Likewise.
526 * po/hu.po: Likewise.
527 * po/ia.po: Likewise.
528 * po/id.po: Likewise.
529 * po/it.po: Likewise.
530 * po/ja.po: Likewise.
531 * po/ko.po: Likewise.
532 * po/lt.po: Likewise.
533 * po/nb.po: Likewise.
534 * po/nl.po: Likewise.
535 * po/pl.po: Likewise.
536 * po/pt_BR.po: Likewise.
537 * po/ru.po: Likewise.
538 * po/rw.po: Likewise.
539 * po/sk.po: Likewise.
540 * po/sl.po: Likewise.
541 * po/sv.po: Likewise.
542 * po/tr.po: Likewise.
543 * po/uk.po: Likewise.
544 * po/vi.po: Likewise.
545 * po/zh_CN.po: Likewise.
546 * po/zh_TW.po: Likewise.
547
548 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
549
550 [BZ #24130]
551 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
552 of $f3 register on $y_is_neg path.
553
554 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
555
556 [BZ #24110]
557 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
558 sigaltstack.ss_flags.
559
560 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
561
562 [BZ #23758]
563 * manual/time.texi (strftime): Document "%Ey".
564 * time/strftime_l.c (__strftime_internal): Set the default width
565 padding with zero of "%Ey" to 2.
566
567 [BZ #24096]
568 * manual/time.texi (strftime): Document "%EC" and "%EY".
569 * time/Makefile (tests): Add tst-strftime2.
570 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
571 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
572 override padding for "%Ey".
573 If an optional flag ('_' or '-') is specified to "%EY", interpret the
574 "%Ey" in the subformat as if decorated with that flag.
575 * time/tst-strftime2.c: New file.
576
577 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
578
579 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
580 are not defined.
581
582 [BZ #24122]
583 * elf/Makefile (tests): Add tst-audit13.
584 (modules-names): Add tst-audit13mod1.
585 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
586 rule.
587 * elf/rtld.c (dl_main): Handle invalid audit module version.
588 * elf/tst-audit13.c: New file.
589 * elf/tst-audit13mod1.c: Likewise.
590
591 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
592
593 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
594 returned by __hurd_at_flags.
595 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
596 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
597 directly instead of __hurd_file_name_lookup.
598
599 2019-01-21 Joseph Myers <joseph@codesourcery.com>
600
601 * scripts/build-many-glibcs.py (Context.checkout): Default
602 binutils version to 2.32 branch.
603
604 2019-01-21 Florian Weimer <fweimer@redhat.com>
605
606 [BZ #20018]
607 CVE-2016-10739
608 resolv: Reject trailing characters in host names
609 * include/arpa/inet.h (__inet_aton_exact): Declare.
610 (inet_aton): Remove hidden prototype. No longer used internally.
611 * nscd/gai.c (__inet_aton): Do not define.
612 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
613 * nss/digits_dots.c (__inet_aton): Likewise.
614 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
615 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
616 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
617 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
618 (tst-resolv-trailing): Likewise.
619 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
620 libc.
621 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
622 Make static. Add endp parameter.
623 (__inet_aton_exact): New function.
624 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
625 (__inet_addr): Call inet_aton_end.
626 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
627 not just IPv6. Call __inet_aton_exact.
628 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
629 (tests): Make const. Add additional test cases with trailing
630 characters.
631 (do_test): Use array_length.
632 * resolv/tst-inet_aton_exact.c: New file.
633 * resolv/tst-resolv-trailing.c: Likewise.
634 * resolv/tst-resolv-nondecimal.c: Likewise.
635 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
636
637 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
638
639 [BZ# 24097]
640 CVE-2019-6488
641 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
642 Clear the upper 32 bits of RSI register.
643 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
644 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
645 and tst-size_t-wcsnlen.
646 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
647 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
648
649 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
650
651 [BZ# 24097]
652 CVE-2019-6488
653 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
654 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
655 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
656 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
657 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
658
659 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
660
661 [BZ# 24097]
662 CVE-2019-6488
663 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
664 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
665 * sysdeps/x86_64/strcmp.S: Likewise.
666 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
667 tst-size_t-strncmp and tst-size_t-wcsncmp.
668 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
669 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
670 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
671
672 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
673
674 [BZ# 24097]
675 CVE-2019-6488
676 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
677 RDX_LP for length. Clear the upper 32 bits of RDX register.
678 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
679 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
680 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
681 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
682
683 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
684
685 [BZ# 24097]
686 CVE-2019-6488
687 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
688 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
689 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
690 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
691
692 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
693
694 [BZ# 24097]
695 CVE-2019-6488
696 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
697 length. Clear the upper 32 bits of RDX register.
698 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
699 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
700 Likewise.
701 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
702 Likewise.
703 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
704 tst-size_t-wmemchr.
705 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
706
707 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
708
709 [BZ# 24097]
710 CVE-2019-6488
711 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
712 length. Clear the upper 32 bits of RDX register.
713 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
714 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
715 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
716 tst-size_t-wmemcmp.
717 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
718 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
719
720 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
721
722 [BZ# 24097]
723 CVE-2019-6488
724 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
725 upper 32 bits of RDX register.
726 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
727 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
728 tst-size_t-wmemchr.
729 * sysdeps/x86_64/x32/test-size_t.h: New file.
730 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
731 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
732
733 2019-01-18 Florian Weimer <fweimer@redhat.com>
734
735 [BZ #24112]
736 resolv: Do not send queries for non-host-names in nss_dns.
737 * resolv/nss_dns/dns-host.c (check_name): New function.
738 (_nss_dns_gethostbyname2_r): Use it.
739 (_nss_dns_gethostbyname_r): Likewise.
740 (_nss_dns_gethostbyname4_r): Likewise.
741
742 2019-01-21 Florian Weimer <fweimer@redhat.com>
743
744 * resolv/inet_addr.c: Reformat to GNU style.
745 (__inet_addr, __inet_aton): Update comment.
746
747 2019-01-18 Florian Weimer <fweimer@redhat.com>
748
749 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
750 ("malloc: Use current (C11-style) atomics for fastbin access").
751 This commit introduces a substantial performance regression on
752 POWER and Aarch64.
753 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
754 (REMOVE_FB): Define.
755 (_int_malloc): Use it and reindent.
756 (_int_free): Use CAS loop with
757 catomic_compare_and_exchange_val_rel.
758 (malloc_consolidate): Use atomic_exchange_acq.
759
760
761 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
762
763 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
764 -Wl,-z,now.
765 (LDFLAGS-tst-minsigstksz-2): Likewise.
766 (LDFLAGS-tst-minsigstksz-3): Likewise.
767 (LDFLAGS-tst-minsigstksz-3a): Likewise.
768 (LDFLAGS-tst-minsigstksz-4): Likewise.
769
770 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
771
772 * manual/time.texi (strftime): Fix the wording to "alternative" rather
773 than "alternate".
774
775 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
776
777 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
778
779 2019-01-16 Zack Weinberg <zackw@panix.com>
780
781 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
782 (xget_sigstack_location): New test support functions.
783 * support/xsigstack.c: New file, implementing them.
784 * support/tst-xsigstack.c: New test for them.
785 * support/Makefile: Update.
786
787 * signal/tst-minsigstksz-1.c
788 * signal/tst-minsigstksz-2.c
789 * signal/tst-minsigstksz-3.c
790 * signal/tst-minsigstksz-3a.c
791 * signal/tst-minsigstksz-4.c: New tests.
792 * signal/Makefile: Run them.
793
794 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
795
796 * po/libc.pot: Regenerate.
797
798 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
799
800 * math/libm-test-fma.inc (fma_test_data): Set
801 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
802
803 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
804
805 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
806 (do_test): Changed __vector __int128_t to __vector unsigned int.
807
808 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
809
810 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
811 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
812 stpcpy-avx2 and stpncpy-avx2.
813 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
814 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
815 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
816 and __stpncpy_avx2.
817 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
818 ifunc-strcpy.h}: rename header for a more generic name.
819 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
820 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
821 AVX unaligned load is fast and vzeroupper is preferred.
822 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
823 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
824 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
825 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
826 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
827 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
828
829 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
830
831 * argp/argp-help.c: Fix typo in comment.
832 * misc/sys/cdefs.h: Likewise.
833 * posix/regexec.c (sift_states_iter_mb): Likewise.
834 * socket/sockatmark.c: Likewise.
835 * socket/sys/socket.h: Likewise.
836 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
837 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
838 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
839 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
840 * sysdeps/unix/sockatmark.c: Likewise.
841 * time/strptime_l.c: Likewise.
842
843 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
844
845 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
846 missing space after the cast of "_NL_CURRENT".
847
848 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
849
850 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
851 ifdef to fix read of VSCR.
852 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
853 tst-ucontext-ppc64-vscr.c to test list.
854 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
855
856 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
857
858 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
859 fall-through.
860
861 2019-01-09 Jim Wilson <jimw@sifive.com>
862
863 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
864
865 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
866
867 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
868 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
869 __memcpy_falkor for ares.
870 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
871 Add new define.
872 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
873 Add ares cpu.
874
875 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
876
877 [BZ #24066]
878 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
879 4_FP_W_TYPEs are used for IEEE quad precision.
880 * soft-fp/extendhftf2.c: Likewise.
881 * soft-fp/extendsftf2.c: Likewise.
882 * soft-fp/extendxftf2.c: Likewise.
883 * soft-fp/trunctfdf2.c: Likewise.
884 * soft-fp/trunctfhf2.c: Likewise.
885 * soft-fp/trunctfsf2.c: Likewise.
886 * soft-fp/trunctfxf2.c: Likewise.
887 * sysdeps/alpha/ots_cvttx.c: Likewise.
888 * sysdeps/alpha/ots_cvtxt.c: Likewise.
889 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
890 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
891 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
892 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
893 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
894 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
895 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
896 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
897 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
898 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
899 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
900 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
901 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
902 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
903 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
904 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
905
906 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
907
908 [BZ #24024]
909 * Makeconfig: Build libm with -fno-math-errno but build the remaining
910 code with -fmath-errno.
911 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
912 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
913 * string/test-strerror-errno.c: New file.
914
915 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
916
917 [BZ #24046]
918 * localedata/locales/en_US (date_fmt): Add, set to
919 "%a %d %b %Y %r %Z".
920
921 2019-01-07 Florian Weimer <fweimer@redhat.com>
922
923 [BZ #24063]
924 * manual/arith.texi (Math Error Reporting): Use @code{errno}
925 instead of @var{errno}.
926 (Parsing of Integers): Likewise.
927 (Parsing of Floats): Likewise.
928 * manual/filesys.texi (Working with Directory Trees): Likewise.
929 (Temporary Files): Likewise.
930 * manual/job.texi (Terminal Access Functions): Likewise.
931 * manual/llio.texi (Synchronizing I/O): Likewise.
932 * manual/math.texi (SVID Random): Likewise.
933 * manual/message.texi (The catgets Functions): Likewise.
934 (Translation with gettext): Likewise.
935 (Locating gettext catalog): Likewise.
936 (Charset conversion in gettext): Likewise.
937 * manual/nss.texi (NSS Module Function Internals): Likewise.
938 * manual/search.texi (Hash Search Function): Likewise.
939 * manual/setjmp.texi (System V contexts): Likewise.
940 * manual/time.texi (Sleeping): Likewise.
941 * manual/users.texi (Lookup User): Likewise.
942 (Lookup Group): Likewise.
943
944 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
945
946 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
947 fix typo.
948
949 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
950
951 [BZ #19444]
952 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
953 __builtin_unreachable for default case in switch.
954 (__ieee754_yn): Likewise.
955 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
956 (__ieee754_ynl): Likewise.
957 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
958 (__ieee754_ynl): Likewise.
959 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
960 (__ieee754_ynl): Likewise.
961
962 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
963
964 * manual/maint.texi: Use @{ and @}.
965
966 2019-01-04 Florian Weimer <fweimer@redhat.com>
967
968 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
969 function.
970 (do_in_chroot_1): Call it.
971 (run_chroot_tests):
972 Improve error reporting in case it is not possible to create a
973 collision for the PTY name required by the test.
974
975 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
976
977 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
978 lll_wait_tid with timeout.
979 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
980 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
981 futex_reltimed_wait_cancelable for cancelabla mode.
982 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
983 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
984 macros.
985 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
986 * sysdeps/posix/waitid.c (__sigwait): Likewise.
987 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
988 SYSCALL_CANCEL_NCS): New macro.
989 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
990 (lll_timedwait_tid): Remove macro.
991 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
992 Likewise.
993 (lll_timedwait_tid): Likewise.
994 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
995 Likewise.
996 (lll_timedwait_tid): Likewise.
997 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
998 Likewise.
999 (lll_timedwait_tid): Likewise.
1000 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
1001 Use INTERNAL_SYSCALL_CANCEL.
1002 * sysdeps/unix/sysv/linux/futex-internal.h
1003 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
1004 instead of __pthread_{enable,disable}_asynccancel.
1005 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1006 (lll_futex_wait_cancel): New macro.
1007
1008 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1009 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1010
1011 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1012 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1013
1014 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
1015 in backtrace analysis.
1016 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
1017 side-effects.
1018 (tf_send): Likewise.
1019
1020 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
1021 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
1022 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
1023 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
1024 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1025 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1026 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
1027 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
1028 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
1029 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
1030 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
1031 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
1032 Likewise.
1033 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
1034 tst-cancel-wrappers.sh.
1035 (generated): Remove tst-cancel-wrappers.out.
1036 (tst-cancel-wrappers.out): Remove rule.
1037 * nptl/tst-cancel-wrappers.sh: Remove file.
1038
1039 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1040
1041 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
1042 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1043 Update.
1044
1045 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1046
1047 [BZ #23640]
1048 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
1049 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
1050 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
1051 close-on-exec reset for adddup2 file action.
1052 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
1053
1054 2019-01-03 Zack Weinberg <zackw@panix.com>
1055
1056 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
1057 parameter. Only use deprecated scanf when __USE_GNU is defined
1058 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
1059 than 201103L, whichever is relevant for the language being compiled.
1060
1061 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
1062 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
1063 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
1064 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
1065 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
1066
1067 * libio/iovsscanf.c
1068 * libio/fwscanf.c
1069 * libio/iovswscanf.c
1070 * libio/swscanf.c
1071 * libio/vscanf.c
1072 * libio/vwscanf.c
1073 * libio/wscanf.c
1074 * stdio-common/fscanf.c
1075 * stdio-common/scanf.c
1076 * stdio-common/vfscanf.c
1077 * stdio-common/vfwscanf.c
1078 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1079 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
1080 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
1081 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
1082 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
1083 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
1084 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
1085 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
1086 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
1087 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
1088 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
1089 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
1090 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
1091 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
1092 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
1093
1094 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
1095 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
1096 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
1097 not sscanf.
1098 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
1099 with a preprocessor macro.
1100
1101 * stdio-common/bug21.c, stdio-common/scanf14.c:
1102 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
1103 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1104 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
1105 to xscanf, xfscanf, xsscanf.
1106
1107 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
1108 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1109 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
1110 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
1111 xfscanf, xsscanf.
1112 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
1113 override feature selection macros or provide definitions of u_char etc.
1114 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
1115 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
1116 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
1117 with -std=gnu89.
1118
1119 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1120
1121 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1122 bits/termios-misc.h.
1123 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
1124 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1125 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1126 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1127 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
1128 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
1129
1130 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
1131 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1132 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
1133 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
1134 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
1135 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
1136 termios-misc.h.
1137 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
1138 (sysdep_headers): Add termios-misc.h.
1139
1140 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
1141 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1142 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1143
1144 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1145 termios-tcflow.h.
1146 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
1147 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
1148 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
1149 TCSAFLUSH): Move to termios-tcflow.h.
1150 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1151 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1152 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1153 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1154
1155 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1156 termios-c_lflag.h.
1157 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
1158 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
1159 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
1160 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
1161 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
1162 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
1163 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
1164 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
1165 Likewise.
1166 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1167 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1168 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1169 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1170
1171 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1172 termios-c_cflag.h.
1173 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
1174 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
1175 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
1176 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
1177 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
1178 termios-c_cflag.h.
1179 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1180 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1181 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1182 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1183
1184 [BZ #23783]
1185 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1186 termios-baud.h.
1187 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
1188 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
1189 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
1190 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
1191 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
1192 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
1193 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
1194 __MAX_BAUD): Move to termios-baud.h.
1195 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
1196 * sysdeps/unix/sysv/linux/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 (sysdep_routines): Add
1202 termios-c_oflag.h.
1203 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
1204 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
1205 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
1206 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
1207 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
1208 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
1209 termios-c_oflag.h.
1210 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
1211 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
1212 FFR1): Likewise.
1213 [USE_MISC] (XTABS): Likewise.
1214 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1215 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1216 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1217 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
1218
1219 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1220 termios-c_iflag.h.
1221 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
1222 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
1223 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
1224 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
1225 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
1226 IUTF8): Move to termios-c_iflag.h.
1227 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1228 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1229 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1230 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1231
1232 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1233 termios-cc.h.
1234 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
1235 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
1236 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
1237 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
1238 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
1239 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
1240 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
1241 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
1242 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1243 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1244 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1245 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1246
1247 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
1248 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
1249 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
1250 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
1251 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1252 termios-struct.h.
1253 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
1254 termios-struct.h.
1255 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
1256 Likewise.
1257 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
1258 Likewise.
1259 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
1260 Likewise.
1261 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
1262 Likewise.
1263 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
1264 _HAVE_C_OSPEED): Define.
1265 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
1266 _HAVE_C_OSPEED): Likewise.
1267 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
1268 _HAVE_C_OSPEED): Likewise.
1269 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
1270 (cfsetospeed): Check for define value instead of existence.
1271 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
1272 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1273 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
1274 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1275 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
1276
1277 [BZ #17783]
1278 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
1279 Define.
1280 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1281 (TIOCSER_TEMT): Likewise.
1282 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
1283 (TEOCSER_TEMT): Likewise.
1284
1285 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
1286
1287 [BZ #24011]
1288 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
1289
1290 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1291
1292 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
1293
1294 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
1295
1296 * sysdeps/htl/pt-barrierattr-setpshared.c
1297 (pthread_barrierattr_setpshared): Add stub warning.
1298 * sysdeps/htl/pt-condattr-setpshared.c
1299 (pthread_condattr_setpshared): Likewise.
1300 * sysdeps/htl/pt-mutexattr-setpshared.c
1301 (pthread_mutexattr_setpshared): Likewise.
1302 * sysdeps/htl/pt-rwlockattr-setpshared.c
1303 (pthread_rwlockattr_setpshared): Likewise.
1304 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
1305 (pthread_mutexattr_setpshared): Likewise.
1306
1307 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1308
1309 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
1310 constants to match with Linux 4.20.
1311
1312 * sysdeps/mips/mips32/libm-test-ulps: Update.
1313 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1314
1315 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
1316
1317 [BZ #24034]
1318 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
1319 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
1320 than __typeof (...) for the a_ptr variable.
1321
1322 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1323
1324 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
1325 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
1326 * libio/Makefile (tests): Add tst-sprintf-ub and
1327 tst-sprintf-chk-ub.
1328 (CFLAGS-tst-sprintf-ub.c): New variable.
1329 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
1330 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
1331 destination buffer and check for overflows in fortified mode.
1332 * libio/libioP.h (PRINTF_CHK): New macro.
1333 * libio/tst-sprintf-chk-ub.c: New file.
1334 * libio/tst-sprintf-ub.c: Likewise.
1335
1336 2019-01-02 Florian Weimer <fweimer@redhat.com>
1337
1338 [BZ #24018]
1339 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
1340 failure.
1341
1342 2019-01-02 Florian Weimer <fweimer@redhat.com>
1343
1344 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
1345
1346 2019-01-01 Joseph Myers <joseph@codesourcery.com>
1347
1348 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
1349 macro.
1350
1351 * sysdeps/unix/sysv/linux/netpacket/packet.h
1352 (PACKET_IGNORE_OUTGOING): New macro.
1353
1354 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
1355 macro.
1356
1357 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1358 version to 4.20.
1359 (riscv_flush_icache): New syscall.
1360
1361 * manual/texinfo.tex: Update to version 2018-12-28.17 with
1362 trailing whitespace removed.
1363 * scripts/config.guess: Update to version 2019-01-01.
1364 * scripts/config.sub: Update to version 2019-01-01.
1365 * scripts/move-if-change: Update from gnulib.
1366
1367 * NEWS: Update copyright dates.
1368 * catgets/gencat.c (print_version): Likewise.
1369 * csu/version.c (banner): Likewise.
1370 * debug/catchsegv.sh: Likewise.
1371 * debug/pcprofiledump.c (print_version): Likewise.
1372 * debug/xtrace.sh (do_version): Likewise.
1373 * elf/ldconfig.c (print_version): Likewise.
1374 * elf/ldd.bash.in: Likewise.
1375 * elf/pldd.c (print_version): Likewise.
1376 * elf/sotruss.sh: Likewise.
1377 * elf/sprof.c (print_version): Likewise.
1378 * iconv/iconv_prog.c (print_version): Likewise.
1379 * iconv/iconvconfig.c (print_version): Likewise.
1380 * locale/programs/locale.c (print_version): Likewise.
1381 * locale/programs/localedef.c (print_version): Likewise.
1382 * login/programs/pt_chown.c (print_version): Likewise.
1383 * malloc/memusage.sh (do_version): Likewise.
1384 * malloc/memusagestat.c (print_version): Likewise.
1385 * malloc/mtrace.pl: Likewise.
1386 * manual/libc.texinfo: Likewise.
1387 * nptl/version.c (banner): Likewise.
1388 * nscd/nscd.c (print_version): Likewise.
1389 * nss/getent.c (print_version): Likewise.
1390 * nss/makedb.c (print_version): Likewise.
1391 * posix/getconf.c (main): Likewise.
1392 * scripts/test-installation.pl: Likewise.
1393 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1394
1395 * All files with FSF copyright notices: Update copyright dates
1396 using scripts/update-copyrights.
1397 * locale/programs/charmap-kw.h: Regenerated.
1398 * locale/programs/locfile-kw.h: Likewise.
1399
1400 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1401
1402 * timezone/zdump.c: Update from tzcode 2018i.
1403 * timezone/zic.c: Likewise.
1404
1405 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
1406
1407 regex: improve Gnulib port to AIX
1408 From the glibc point of view, this removes duplicate macro
1409 definitions and is obviously safe.
1410 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
1411 * posix/regex_internal.h:
1412 (__attribute__, __attribute_warn_unused_result__):
1413 Remove; already defined elsewhere.
1414
1415 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
1416
1417 [BZ #24027]
1418 * malloc/malloc.c (_int_realloc): Always call memcpy for the
1419 copying operation. (ncopies had the wrong type, resulting in an
1420 integer wraparound and too few elements being copied.)
1421
1422 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
1423
1424 [BZ #24022]
1425 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
1426 <asm/syscalls.h> exists with __has_include__ before including it.
1427
1428 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1429
1430 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1431 version to 4.20.
1432
1433 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
1434
1435 * hurd/lookup-retry: Include <unistd.h>.
1436 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
1437 Release it on return. Handle "pid" magical lookup retry.
1438
1439 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1440
1441 [BZ #10496]
1442 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
1443 (t_fmt_ampm): Likewise.
1444 * localedata/locales/aa_ER (t_fmt): Likewise.
1445 (t_fmt_ampm): Likewise.
1446 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
1447 (t_fmt_ampm): Likewise.
1448 * localedata/locales/aa_ET (t_fmt): Likewise.
1449 (t_fmt_ampm): Likewise.
1450 * localedata/locales/am_ET (t_fmt): Likewise.
1451 (t_fmt_ampm): Likewise.
1452 * localedata/locales/byn_ER (t_fmt): Likewise.
1453 (t_fmt_ampm): Likewise.
1454 * localedata/locales/om_ET (t_fmt): Likewise.
1455 (t_fmt_ampm): Likewise.
1456 * localedata/locales/sid_ET (t_fmt): Likewise.
1457 (t_fmt_ampm): Likewise.
1458 * localedata/locales/so_DJ (t_fmt): Likewise.
1459 (t_fmt_ampm): Likewise.
1460 * localedata/locales/so_ET (t_fmt): Likewise.
1461 (t_fmt_ampm): Likewise.
1462 * localedata/locales/so_SO (t_fmt): Likewise.
1463 (t_fmt_ampm): Likewise.
1464 * localedata/locales/ti_ER (t_fmt): Likewise.
1465 (t_fmt_ampm): Likewise.
1466 * localedata/locales/ti_ET (t_fmt): Likewise.
1467 (t_fmt_ampm): Likewise.
1468 * localedata/locales/tig_ER (t_fmt): Likewise.
1469 (t_fmt_ampm): Likewise.
1470 * localedata/locales/wal_ET (t_fmt): Likewise.
1471 (t_fmt_ampm): Likewise.
1472
1473 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
1474 * localedata/locales/ar_IN (t_fmt): Likewise.
1475 * localedata/locales/bhb_IN (t_fmt): Likewise.
1476 * localedata/locales/bho_IN (t_fmt): Likewise.
1477 * localedata/locales/bi_VU (t_fmt): Likewise.
1478 * localedata/locales/bn_BD (t_fmt): Likewise.
1479 * localedata/locales/bn_IN (t_fmt): Likewise.
1480 * localedata/locales/brx_IN (t_fmt): Likewise.
1481 * localedata/locales/doi_IN (t_fmt): Likewise.
1482 * localedata/locales/en_HK (t_fmt): Likewise.
1483 (t_fmt_ampm): Likewise.
1484 * localedata/locales/en_IN (t_fmt): Likewise.
1485 * localedata/locales/en_PH (t_fmt): Likewise.
1486 * localedata/locales/gu_IN (t_fmt): Likewise.
1487 * localedata/locales/hi_IN (t_fmt): Likewise.
1488 * localedata/locales/hif_FJ (t_fmt): Likewise.
1489 * localedata/locales/hne_IN (t_fmt): Likewise.
1490 * localedata/locales/kn_IN (t_fmt): Likewise.
1491 * localedata/locales/kok_IN (t_fmt): Likewise.
1492 * localedata/locales/ks_IN (t_fmt): Likewise.
1493 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
1494 * localedata/locales/mag_IN (t_fmt): Likewise.
1495 * localedata/locales/mai_IN (t_fmt): Likewise.
1496 * localedata/locales/mjw_IN (t_fmt): Likewise.
1497 * localedata/locales/ml_IN (t_fmt): Likewise.
1498 * localedata/locales/mni_IN (t_fmt): Likewise.
1499 * localedata/locales/mr_IN (t_fmt): Likewise.
1500 * localedata/locales/ms_MY (t_fmt): Likewise.
1501 * localedata/locales/pa_IN (t_fmt): Likewise.
1502 * localedata/locales/raj_IN (t_fmt): Likewise.
1503 * localedata/locales/sa_IN (t_fmt): Likewise.
1504 * localedata/locales/sat_IN (t_fmt): Likewise.
1505 * localedata/locales/sd_IN (t_fmt): Likewise.
1506 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
1507 * localedata/locales/tcy_IN (t_fmt): Likewise.
1508 * localedata/locales/the_NP (t_fmt): Likewise.
1509 * localedata/locales/to_TO (t_fmt): Likewise.
1510 * localedata/locales/ur_IN (t_fmt): Likewise.
1511
1512 * localedata/locales/hif_FJ (d_t_fmt): Set to
1513 "%A %d %b %Y %I:%M:%S %p".
1514 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
1515
1516 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
1517 * localedata/locales/ar_BH (t_fmt): Likewise.
1518 * localedata/locales/ar_DZ (t_fmt): Likewise.
1519 * localedata/locales/ar_EG (t_fmt): Likewise.
1520 * localedata/locales/ar_IQ (t_fmt): Likewise.
1521 * localedata/locales/ar_JO (t_fmt): Likewise.
1522 * localedata/locales/ar_KW (t_fmt): Likewise.
1523 * localedata/locales/ar_LB (t_fmt): Likewise.
1524 * localedata/locales/ar_LY (t_fmt): Likewise.
1525 * localedata/locales/ar_OM (t_fmt): Likewise.
1526 * localedata/locales/ar_QA (t_fmt): Likewise.
1527 * localedata/locales/ar_SD (t_fmt): Likewise.
1528 * localedata/locales/ar_SS (t_fmt): Likewise.
1529 * localedata/locales/ar_SY (t_fmt): Likewise.
1530 * localedata/locales/ar_TN (t_fmt): Likewise.
1531 * localedata/locales/ar_YE (t_fmt): Likewise.
1532
1533 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
1534 (t_fmt_ampm): Likewise.
1535 * localedata/locales/gez_ET (t_fmt): Likewise.
1536 (t_fmt_ampm): Likewise.
1537
1538 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
1539 (t_fmt_ampm): Likewise.
1540 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
1541
1542 * localedata/locales/zh_HK (t_fmt):
1543 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
1544
1545 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
1546 because this locale does not use the 12-hour clock.
1547 (t_fmt): Set to "%Z %H:%M:%S".
1548 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
1549
1550 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
1551 because this locale does not use the 12-hour clock.
1552 (t_fmt): Set to "%H:%M:%S %Z".
1553 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
1554
1555 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
1556 because this locale does not use the 12-hour clock.
1557 (t_fmt): Set to "%T".
1558 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
1559 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
1560
1561 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
1562 because this locale does not use the 12-hour clock.
1563 (t_fmt): Set to "%H:%M:%S %Z".
1564 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
1565
1566 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
1567 because this locale does not use the 12-hour clock.
1568 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
1569 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
1570
1571 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1572
1573 [BZ #10496]
1574 [BZ #23724]
1575 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
1576 (t_fmt_ampm): Likewise.
1577 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
1578 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
1579 (d_fmt): Set to "%-d.%-m.%y".
1580
1581 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1582
1583 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
1584 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
1585 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
1586 Likewise.
1587 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
1588 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
1589 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
1590 function.
1591 * support/blob_repeat.c (check_mul_overflow_size_t,
1592 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
1593
1594 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
1595
1596 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
1597
1598 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
1599
1600 regex: simplify Gnulib port
1601 This simplifies the code, by removing stuff intended for porting
1602 to Gnulib but no longer needed there.
1603 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
1604 uses of libc_hidden_def, weak_alias.
1605 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
1606 _Restrict_ except for public-facing headers.
1607 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
1608 Remove; already defined elsewhere.
1609 * posix/regex.c, posix/regex_internal.h:
1610 Use __GNUC_PREREQ instead of rolling our own.
1611 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
1612
1613 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
1614
1615 * benchtests/bench-strlen.c (generic_strlen): New function.
1616 (memchr_strlen): New function.
1617
1618 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1619
1620 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
1621 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
1622 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
1623
1624 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1625
1626 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1627
1628 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1629
1630 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
1631 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
1632 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
1633 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
1634 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
1635 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
1636 <sysdeps/ieee754/flt-32/s_sincosf.c>.
1637
1638 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1639
1640 [BZ #24023]
1641 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
1642 PLT reference in libc.so.
1643 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
1644 _Q_lltoq and _Q_qtod PLT references in libc.so.
1645
1646 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
1647
1648 * benchtests/bench-memchr.c: Cleanup defines.
1649 * benchtests/bench-memcmp.c: Likewise.
1650 * benchtests/bench-memset.c: Likewise.
1651 * benchtests/bench-memset-large.c: Likewise.
1652 * benchtests/bench-memset-walk.c: Likewise.
1653 * benchtests/bench-stpcpy.c: Likewise.
1654 * benchtests/bench-stpncpy.c: Likewise.
1655 * benchtests/bench-strcat.c: Likewise.
1656 * benchtests/bench-strchr.c: Likewise.
1657 * benchtests/bench-strcmp.c: Likewise.
1658 * benchtests/bench-strcpy.c: Likewise.
1659 * benchtests/bench-strcspn.c: Likewise.
1660 * benchtests/bench-string.h: Likewise.
1661 * benchtests/bench-strlen.c: Likewise.
1662 * benchtests/bench-strncat.c: Likewise.
1663 * benchtests/bench-strncmp.c: Likewise.
1664 * benchtests/bench-strncpy.c: Likewise.
1665 * benchtests/bench-strnlen.c: Likewise.
1666 * benchtests/bench-strpbrk.c: Likewise.
1667 * benchtests/bench-strrchr.c: Likewise.
1668 * benchtests/bench-strspn.c: Likewise.
1669
1670 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1671
1672 * stdlib/longlong.h: Update from GCC.
1673
1674 [BZ #23993]
1675 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
1676 * configure: Regenerated.
1677 * manual/install.texi (Tools for Compilation): Update minimum GCC
1678 version.
1679 * INSTALL: Regenerated.
1680
1681 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
1682
1683 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
1684
1685 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
1686
1687 * malloc/malloc.c (mremap_chunk): Additional checks.
1688
1689 2018-12-21 Mao Han <han_mao@c-sky.com>
1690
1691 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
1692 * scripts/build-many-glibcs.py: Add C-SKY targets.
1693 * sysdeps/csky/Implies: New file.
1694 * sysdeps/csky/Makefile: Likewise.
1695 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
1696 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
1697 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
1698 * sysdeps/csky/abiv2/memcmp.S: Likewise.
1699 * sysdeps/csky/abiv2/memcpy.S: Likewise.
1700 * sysdeps/csky/abiv2/memmove.S: Likewise.
1701 * sysdeps/csky/abiv2/memset.S: Likewise.
1702 * sysdeps/csky/abiv2/setjmp.S: Likewise.
1703 * sysdeps/csky/abiv2/start.S: Likewise.
1704 * sysdeps/csky/abiv2/strcmp.S: Likewise.
1705 * sysdeps/csky/abiv2/strcpy.S: Likewise.
1706 * sysdeps/csky/abiv2/strlen.S: Likewise.
1707 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
1708 * sysdeps/csky/abort-instr.h: Likewise.
1709 * sysdeps/csky/atomic-machine.h: Likewise.
1710 * sysdeps/csky/bits/endian.h: Likewise.
1711 * sysdeps/csky/bits/fenv.h: Likewise.
1712 * sysdeps/csky/bits/link.h: Likewise.
1713 * sysdeps/csky/bits/setjmp.h: Likewise.
1714 * sysdeps/csky/bsd-_setjmp.S: Likewise.
1715 * sysdeps/csky/bsd-setjmp.S: Likewise.
1716 * sysdeps/csky/configure: Likewise.
1717 * sysdeps/csky/configure.ac: Likewise.
1718 * sysdeps/csky/dl-machine.h: Likewise.
1719 * sysdeps/csky/dl-procinfo.c: Likewise.
1720 * sysdeps/csky/dl-procinfo.h: Likewise.
1721 * sysdeps/csky/dl-sysdep.h: Likewise.
1722 * sysdeps/csky/dl-tls.h: Likewise.
1723 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
1724 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
1725 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
1726 * sysdeps/csky/fpu/fegetenv.c: Likewise.
1727 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
1728 * sysdeps/csky/fpu/fegetmode.c: Likewise.
1729 * sysdeps/csky/fpu/fegetround.c: Likewise.
1730 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
1731 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
1732 * sysdeps/csky/fpu/fenv_private.h: Likewise.
1733 * sysdeps/csky/fpu/fesetenv.c: Likewise.
1734 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
1735 * sysdeps/csky/fpu/fesetmode.c: Likewise.
1736 * sysdeps/csky/fpu/fesetround.c: Likewise.
1737 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
1738 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
1739 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
1740 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
1741 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
1742 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
1743 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
1744 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
1745 * sysdeps/csky/fpu_control.h: Likewise.
1746 * sysdeps/csky/gccframe.h: Likewise.
1747 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
1748 * sysdeps/csky/ldsodefs.h: Likewise.
1749 * sysdeps/csky/libc-tls.c: Likewise.
1750 * sysdeps/csky/linkmap.h: Likewise.
1751 * sysdeps/csky/machine-gmon.h: Likewise.
1752 * sysdeps/csky/memusage.h: Likewise.
1753 * sysdeps/csky/nofpu/Implies: Likewise.
1754 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
1755 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
1756 * sysdeps/csky/nptl/Makefile: Likewise.
1757 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
1758 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
1759 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
1760 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
1761 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
1762 * sysdeps/csky/nptl/tls.h: Likewise.
1763 * sysdeps/csky/preconfigure: Likewise.
1764 * sysdeps/csky/sfp-machine.h: Likewise.
1765 * sysdeps/csky/sotruss-lib.c: Likewise.
1766 * sysdeps/csky/stackinfo.h: Likewise.
1767 * sysdeps/csky/sysdep.h: Likewise.
1768 * sysdeps/csky/tininess.h: Likewise.
1769 * sysdeps/csky/tst-audit.h: Likewise.
1770 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
1771 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
1772 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
1773 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
1774 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1775 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
1776 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1777 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
1778 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
1779 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
1780 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
1781 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
1782 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
1783 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
1784 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
1785 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
1786 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
1787 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
1788 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
1789 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
1790 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
1791 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
1792 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
1793 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1794 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
1795 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
1796 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1797 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
1798 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
1799 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
1800 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
1801 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
1802 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
1803 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
1804 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
1805 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
1806 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
1807 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
1808 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
1809 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
1810 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
1811 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
1812 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
1813 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
1814
1815 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1816
1817 * include/time.h (__difftime64): Add.
1818 * time/difftime.c (subtract): convert to 64-bit time.
1819 * time/difftime.c (__difftime64): Add.
1820 * time/difftime.c (__difftime): Wrap around __difftime64.
1821
1822 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1823
1824 * manual/examples/add.c: Remove redundant "if not".
1825 * manual/examples/argp-ex1.c: Likewise.
1826 * manual/examples/argp-ex2.c: Likewise.
1827 * manual/examples/argp-ex3.c: Likewise.
1828 * manual/examples/argp-ex4.c: Likewise.
1829 * manual/examples/atexit.c: Likewise.
1830 * manual/examples/db.c: Likewise.
1831 * manual/examples/dir.c: Likewise.
1832 * manual/examples/dir2.c: Likewise.
1833 * manual/examples/execinfo.c: Likewise.
1834 * manual/examples/filecli.c: Likewise.
1835 * manual/examples/filesrv.c: Likewise.
1836 * manual/examples/fmtmsgexpl.c: Likewise.
1837 * manual/examples/genpass.c: Likewise.
1838 * manual/examples/inetcli.c: Likewise.
1839 * manual/examples/inetsrv.c: Likewise.
1840 * manual/examples/isockad.c: Likewise.
1841 * manual/examples/longopt.c: Likewise.
1842 * manual/examples/memopen.c: Likewise.
1843 * manual/examples/memstrm.c: Likewise.
1844 * manual/examples/mkdirent.c: Likewise.
1845 * manual/examples/mkfsock.c: Likewise.
1846 * manual/examples/mkisock.c: Likewise.
1847 * manual/examples/mygetpass.c: Likewise.
1848 * manual/examples/pipe.c: Likewise.
1849 * manual/examples/popen.c: Likewise.
1850 * manual/examples/rprintf.c: Likewise.
1851 * manual/examples/search.c: Likewise.
1852 * manual/examples/select.c: Likewise.
1853 * manual/examples/setjmp.c: Likewise.
1854 * manual/examples/sigh1.c: Likewise.
1855 * manual/examples/sigusr.c: Likewise.
1856 * manual/examples/stpcpy.c: Likewise.
1857 * manual/examples/strdupa.c: Likewise.
1858 * manual/examples/strftim.c: Likewise.
1859 * manual/examples/subopt.c: Likewise.
1860 * manual/examples/swapcontext.c: Likewise.
1861 * manual/examples/termios.c: Likewise.
1862 * manual/examples/testopt.c: Likewise.
1863 * manual/examples/testpass.c: Likewise.
1864 * manual/examples/timeval_subtract.c: Likewise.
1865
1866 2018-12-19 Joseph Myers <joseph@codesourcery.com>
1867
1868 * sysdeps/x86/fpu/math_private.h: New file.
1869 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
1870
1871 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
1872 definition.
1873 (cosh): Likewise.
1874 (tanh): Likewise.
1875
1876 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1877
1878 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
1879 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
1880 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
1881 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
1882 fields.
1883 (_dl_show_auxv): Give a special treatment to
1884 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
1885 and AT_L3_CACHEGEOMETRY.
1886 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
1887 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
1888 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
1889 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
1890
1891 2018-12-19 Andreas Schwab <schwab@suse.de>
1892
1893 * nscd/connections.c (check_use): Don't abort on invalid len.
1894
1895 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
1896
1897 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
1898 values in the 64bit value cases.
1899
1900 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1901
1902 * include/time.h
1903 (__ctime64_r): Add.
1904 * time/ctime_r.c
1905 (__ctime64_r): Add.
1906 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
1907
1908 * include/time.h
1909 (__ctime64): Add.
1910 * time/gmtime.c
1911 (__ctime64): Add.
1912 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
1913
1914 * include/time.h
1915 (__gmtime64_r): Add.
1916 * time/gmtime.c
1917 (__gmtime64_r): Add.
1918 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1919
1920 * include/time.h
1921 (__gmtime64): Add.
1922 * time/gmtime.c
1923 (__gmtime64): Add.
1924 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1925
1926 * include/time.h
1927 (__localtime64_r): Add.
1928 * time/localtime.c
1929 (__localtime64_r): Add.
1930 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
1931
1932 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1933
1934 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
1935 kernel_sigction definition.
1936
1937 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
1938
1939 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
1940
1941 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
1942 __syscall_rt_sigaction.
1943 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
1944 (kernel_sigaction): Use Linux generic defintion.
1945 (STUB): Define.
1946 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
1947 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
1948 (__syscall_rt_sigaction): Remove implementation.
1949 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
1950 hidden.
1951 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
1952 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
1953 INTERNAL_SYSCALL): Remove definitions.
1954 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
1955 action and signal set size.
1956 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
1957 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
1958
1959 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1960 James Clarke <jrtc27@jrtc27.com>
1961
1962 [BZ #23967]
1963 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
1964 Define if SA_RESTORER is defined.
1965 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
1966 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
1967 already defined.
1968 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
1969 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
1970 definitions.
1971 (HAS_SA_RESTORER): Define.
1972 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
1973 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
1974 (HAS_SA_RESTORER): Define.
1975 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
1976 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
1977 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
1978 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
1979 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1980
1981 2018-12-18 Joseph Myers <joseph@codesourcery.com>
1982
1983 * sysdeps/unix/sysv/linux/kernel-features.h
1984 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
1985 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1986 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
1987 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1988 (__ASSUME_ST_INO_64_BIT): Likewise.
1989 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1990 <kernel-features.h>.
1991 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1992 Remove conditional code.
1993 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1994 <kernel-features.h>.
1995 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1996 Remove conditional code.
1997 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
1998 <kernel-features.h>.
1999 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2000 Remove conditional code.
2001 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
2002 <kernel-features.h>.
2003 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
2004 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
2005
2006 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2007
2008 * sysdeps/s390/multiarch/ifunc-resolve.h
2009 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
2010 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
2011 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
2012 Delete macro definition.
2013 (s390_libc_ifunc_init): Rename to
2014 s390_libc_ifunc_expr_stfle_init.
2015 * sysdeps/s390/bzero: Use
2016 s390_libc_ifunc_expr_stfle_init instead of
2017 s390_libc_ifunc_init.
2018 * sysdeps/s390/memcmp.c: Likewise.
2019 * sysdeps/s390/memcpy.c: Likewise.
2020 * sysdeps/s390/mempcpy.c: Likewise.
2021 * sysdeps/s390/memset.c: Likewise.
2022
2023 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2024
2025 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
2026 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
2027
2028 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2029
2030 * sysdeps/s390/multiarch/Makefile
2031 (sysdep_routines): Remove wmemcmp variants.
2032 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
2033 * sysdeps/s390/multiarch/ifunc-impl-list.c
2034 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
2035 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
2036 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
2037 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
2038 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
2039 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
2040 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
2041 * sysdeps/s390/ifunc-wmemcmp.h: New file.
2042
2043 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2044
2045 * sysdeps/s390/multiarch/Makefile
2046 (sysdep_routines): Remove wmemset variants.
2047 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
2048 * sysdeps/s390/multiarch/ifunc-impl-list.c
2049 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
2050 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
2051 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
2052 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
2053 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
2054 * sysdeps/s390/multiarch/wmemset.c: Move to ...
2055 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
2056 * sysdeps/s390/ifunc-wmemset.h: New file.
2057
2058 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2059
2060 * sysdeps/s390/multiarch/Makefile
2061 (sysdep_routines): Remove wmemchr variants.
2062 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
2063 * sysdeps/s390/multiarch/ifunc-impl-list.c
2064 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
2065 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
2066 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
2067 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
2068 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
2069 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
2070 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
2071 * sysdeps/s390/ifunc-wmemchr.h: New file.
2072
2073 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2074
2075 * sysdeps/s390/multiarch/Makefile
2076 (sysdep_routines): Remove wcscspn variants.
2077 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
2078 * sysdeps/s390/multiarch/ifunc-impl-list.c
2079 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
2080 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
2081 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
2082 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
2083 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
2084 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
2085 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
2086 * sysdeps/s390/ifunc-wcscspn.h: New file.
2087
2088 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2089
2090 * sysdeps/s390/multiarch/Makefile
2091 (sysdep_routines): Remove wcspbrk variants.
2092 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
2093 * sysdeps/s390/multiarch/ifunc-impl-list.c
2094 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
2095 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
2096 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
2097 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
2098 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
2099 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
2100 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
2101 * sysdeps/s390/ifunc-wcspbrk.h: New file.
2102
2103 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2104
2105 * sysdeps/s390/multiarch/Makefile
2106 (sysdep_routines): Remove wcsspn variants.
2107 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
2108 * sysdeps/s390/multiarch/ifunc-impl-list.c
2109 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
2110 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
2111 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
2112 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
2113 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
2114 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
2115 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
2116 * sysdeps/s390/ifunc-wcsspn.h: New file.
2117
2118 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2119
2120 * sysdeps/s390/multiarch/Makefile
2121 (sysdep_routines): Remove wcsrchr variants.
2122 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
2123 * sysdeps/s390/multiarch/ifunc-impl-list.c
2124 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
2125 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
2126 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
2127 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
2128 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
2129 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
2130 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
2131 * sysdeps/s390/ifunc-wcsrchr.h: New file.
2132
2133 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2134
2135 * sysdeps/s390/multiarch/Makefile
2136 (sysdep_routines): Remove wcschrnul variants.
2137 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
2138 * sysdeps/s390/multiarch/ifunc-impl-list.c
2139 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
2140 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
2141 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
2142 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
2143 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
2144 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
2145 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
2146 * sysdeps/s390/ifunc-wcschrnul.h: New file.
2147
2148 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2149
2150 * sysdeps/s390/multiarch/Makefile
2151 (sysdep_routines): Remove wcschr variants.
2152 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
2153 * sysdeps/s390/multiarch/ifunc-impl-list.c
2154 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
2155 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
2156 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
2157 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
2158 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
2159 * sysdeps/s390/multiarch/wcschr.c: Move to ...
2160 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
2161 * sysdeps/s390/ifunc-wcschr.h: New file.
2162
2163 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2164
2165 * sysdeps/s390/multiarch/Makefile
2166 (sysdep_routines): Remove wcsncmp variants.
2167 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
2168 * sysdeps/s390/multiarch/ifunc-impl-list.c
2169 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
2170 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
2171 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
2172 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
2173 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
2174 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
2175 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
2176 * sysdeps/s390/ifunc-wcsncmp.h: New file.
2177
2178 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2179
2180 * sysdeps/s390/multiarch/Makefile
2181 (sysdep_routines): Remove wcscmp variants.
2182 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
2183 * sysdeps/s390/multiarch/ifunc-impl-list.c
2184 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
2185 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
2186 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
2187 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
2188 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
2189 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
2190 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
2191 * sysdeps/s390/ifunc-wcscmp.h: New file.
2192
2193 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2194
2195 * sysdeps/s390/multiarch/Makefile
2196 (sysdep_routines): Remove wcsncat variants.
2197 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
2198 * sysdeps/s390/multiarch/ifunc-impl-list.c
2199 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
2200 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
2201 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
2202 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
2203 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
2204 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
2205 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
2206 * sysdeps/s390/ifunc-wcsncat.h: New file.
2207
2208 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2209
2210 * sysdeps/s390/multiarch/Makefile
2211 (sysdep_routines): Remove wcscat variants.
2212 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
2213 * sysdeps/s390/multiarch/ifunc-impl-list.c
2214 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
2215 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
2216 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
2217 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
2218 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
2219 * sysdeps/s390/multiarch/wcscat.c: Move to ...
2220 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
2221 * sysdeps/s390/ifunc-wcscat.h: New file.
2222
2223 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2224
2225 * sysdeps/s390/multiarch/Makefile
2226 (sysdep_routines): Remove wcpncpy variants.
2227 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
2228 * sysdeps/s390/multiarch/ifunc-impl-list.c
2229 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
2230 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
2231 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
2232 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
2233 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
2234 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
2235 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
2236 * sysdeps/s390/ifunc-wcpncpy.h: New file.
2237
2238 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2239
2240 * sysdeps/s390/multiarch/Makefile
2241 (sysdep_routines): Remove wcsncpy variants.
2242 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
2243 * sysdeps/s390/multiarch/ifunc-impl-list.c
2244 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
2245 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
2246 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
2247 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
2248 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
2249 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
2250 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
2251 * sysdeps/s390/ifunc-wcsncpy.h: New file.
2252
2253 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2254
2255 * sysdeps/s390/multiarch/Makefile
2256 (sysdep_routines): Remove wcpcpy variants.
2257 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
2258 * sysdeps/s390/multiarch/ifunc-impl-list.c
2259 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
2260 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
2261 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
2262 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
2263 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
2264 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
2265 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
2266 * sysdeps/s390/ifunc-wcpcpy.h: New file.
2267
2268 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2269
2270 * sysdeps/s390/multiarch/Makefile
2271 (sysdep_routines): Remove wcscpy variants.
2272 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
2273 * sysdeps/s390/multiarch/ifunc-impl-list.c
2274 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
2275 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
2276 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
2277 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
2278 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
2279 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
2280 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
2281 * sysdeps/s390/ifunc-wcscpy.h: New file.
2282
2283 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2284
2285 * sysdeps/s390/multiarch/Makefile
2286 (sysdep_routines): Remove wcsnlen variants.
2287 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
2288 * sysdeps/s390/multiarch/ifunc-impl-list.c
2289 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
2290 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
2291 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
2292 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
2293 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
2294 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
2295 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
2296 * sysdeps/s390/ifunc-wcsnlen.h: New file.
2297
2298 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2299
2300 * sysdeps/s390/multiarch/Makefile
2301 (sysdep_routines): Remove wcslen variants.
2302 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
2303 * sysdeps/s390/multiarch/ifunc-impl-list.c
2304 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
2305 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
2306 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
2307 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
2308 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
2309 * sysdeps/s390/multiarch/wcslen.c: Move to ...
2310 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
2311 * sysdeps/s390/ifunc-wcslen.h: New file.
2312
2313 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2314
2315 * sysdeps/s390/multiarch/Makefile
2316 (sysdep_routines): Remove memrchr variants.
2317 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
2318 * sysdeps/s390/multiarch/ifunc-impl-list.c
2319 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
2320 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
2321 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
2322 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
2323 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
2324 * sysdeps/s390/multiarch/memrchr.c: Move to ...
2325 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
2326 * sysdeps/s390/ifunc-memrchr.h: New file.
2327
2328 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2329
2330 * sysdeps/s390/multiarch/Makefile
2331 (sysdep_routines): Remove memccpy variants.
2332 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
2333 * sysdeps/s390/multiarch/ifunc-impl-list.c
2334 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
2335 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
2336 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
2337 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
2338 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
2339 * sysdeps/s390/multiarch/memccpy.c: Move to ...
2340 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
2341 * sysdeps/s390/ifunc-memccpy.h: New file.
2342
2343 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2344
2345 * sysdeps/s390/multiarch/Makefile
2346 (sysdep_routines): Remove rawmemchr variants.
2347 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
2348 * sysdeps/s390/multiarch/ifunc-impl-list.c
2349 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
2350 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
2351 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
2352 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
2353 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
2354 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
2355 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
2356 * sysdeps/s390/ifunc-rawmemchr.h: New file.
2357
2358 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2359
2360 * sysdeps/s390/multiarch/Makefile
2361 (sysdep_routines): Remove memchr variants.
2362 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
2363 * sysdeps/s390/multiarch/ifunc-impl-list.c
2364 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
2365 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
2366 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
2367 * sysdeps/s390/multiarch/memchr.c: Move to ...
2368 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
2369 * sysdeps/s390/ifunc-memchr.h: New file.
2370 * sysdeps/s390/s390-64/memchr.S: Move to ...
2371 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
2372 for 31/64bit and ifunc handling.
2373 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
2374 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2375 * sysdeps/s390/s390-32/memchr.S: Likewise.
2376
2377 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2378
2379 * sysdeps/s390/multiarch/Makefile
2380 (sysdep_routines): Remove strcspn variants.
2381 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
2382 * sysdeps/s390/multiarch/ifunc-impl-list.c
2383 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
2384 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
2385 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
2386 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
2387 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
2388 * sysdeps/s390/multiarch/strcspn.c: Move to ...
2389 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
2390 * sysdeps/s390/ifunc-strcspn.h: New file.
2391
2392 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2393
2394 * sysdeps/s390/multiarch/Makefile
2395 (sysdep_routines): Remove strpbrk variants.
2396 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
2397 * sysdeps/s390/multiarch/ifunc-impl-list.c
2398 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
2399 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
2400 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
2401 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
2402 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
2403 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
2404 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
2405 * sysdeps/s390/ifunc-strpbrk.h: New file.
2406
2407 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2408
2409 * sysdeps/s390/multiarch/Makefile
2410 (sysdep_routines): Remove strspn variants.
2411 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
2412 * sysdeps/s390/multiarch/ifunc-impl-list.c
2413 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
2414 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
2415 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
2416 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
2417 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
2418 * sysdeps/s390/multiarch/strspn.c: Move to ...
2419 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
2420 * sysdeps/s390/ifunc-strspn.h: New file.
2421
2422 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2423
2424 * sysdeps/s390/multiarch/Makefile
2425 (sysdep_routines): Remove strrchr variants.
2426 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
2427 * sysdeps/s390/multiarch/ifunc-impl-list.c
2428 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
2429 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
2430 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
2431 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
2432 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
2433 * sysdeps/s390/multiarch/strrchr.c: Move to ...
2434 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
2435 * sysdeps/s390/ifunc-strrchr.h: New file.
2436
2437 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2438
2439 * sysdeps/s390/multiarch/Makefile
2440 (sysdep_routines): Remove strchrnul variants.
2441 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
2442 * sysdeps/s390/multiarch/ifunc-impl-list.c
2443 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
2444 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
2445 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
2446 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
2447 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
2448 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
2449 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
2450 * sysdeps/s390/ifunc-strchrnul.h: New file.
2451
2452 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2453
2454 * sysdeps/s390/multiarch/Makefile
2455 (sysdep_routines): Remove strchr variants.
2456 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
2457 * sysdeps/s390/multiarch/ifunc-impl-list.c
2458 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
2459 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
2460 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
2461 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
2462 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
2463 * sysdeps/s390/multiarch/strchr.c: Move to ...
2464 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
2465 * sysdeps/s390/ifunc-strchr.h: New file.
2466
2467 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2468
2469 * sysdeps/s390/multiarch/Makefile
2470 (sysdep_routines): Remove strncmp variants.
2471 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
2472 * sysdeps/s390/multiarch/ifunc-impl-list.c
2473 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
2474 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
2475 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
2476 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
2477 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
2478 * sysdeps/s390/multiarch/strncmp.c: Move to ...
2479 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
2480 * sysdeps/s390/ifunc-strncmp.h: New file.
2481
2482 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2483
2484 * sysdeps/s390/multiarch/Makefile
2485 (sysdep_routines): Remove strcmp variants.
2486 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
2487 * sysdeps/s390/multiarch/ifunc-impl-list.c
2488 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
2489 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
2490 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
2491 * sysdeps/s390/multiarch/strcmp.c: Move to ...
2492 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
2493 * sysdeps/s390/ifunc-strcmp.h: New file.
2494 * sysdeps/s390/s390-64/strcmp.S: Move to ...
2495 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
2496 for 31/64bit and ifunc handling.
2497 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
2498 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2499 * sysdeps/s390/s390-32/strcmp.S: Likewise.
2500
2501 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2502
2503 * sysdeps/s390/multiarch/Makefile
2504 (sysdep_routines): Remove strncat variants.
2505 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
2506 * sysdeps/s390/multiarch/ifunc-impl-list.c
2507 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
2508 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
2509 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
2510 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
2511 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
2512 * sysdeps/s390/multiarch/strncat.c: Move to ...
2513 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
2514 * sysdeps/s390/ifunc-strncat.h: New file.
2515
2516 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2517
2518 * sysdeps/s390/multiarch/Makefile
2519 (sysdep_routines): Remove strcat variants.
2520 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
2521 * sysdeps/s390/multiarch/ifunc-impl-list.c
2522 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
2523 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
2524 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
2525 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
2526 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
2527 * sysdeps/s390/multiarch/strcat.c: Move to ...
2528 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
2529 * sysdeps/s390/ifunc-strcat.h: New file.
2530
2531 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2532
2533 * sysdeps/s390/multiarch/Makefile
2534 (sysdep_routines): Remove stpncpy variants.
2535 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
2536 * sysdeps/s390/multiarch/ifunc-impl-list.c
2537 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
2538 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
2539 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
2540 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
2541 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
2542 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
2543 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
2544 * sysdeps/s390/ifunc-stpncpy.h: New file.
2545
2546 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2547
2548 * sysdeps/s390/multiarch/Makefile
2549 (sysdep_routines): Remove strncpy variants.
2550 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
2551 * sysdeps/s390/multiarch/ifunc-impl-list.c
2552 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
2553 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
2554 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
2555 * sysdeps/s390/multiarch/strncpy.c: Move to ...
2556 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
2557 * sysdeps/s390/ifunc-strncpy.h: New file.
2558 * sysdeps/s390/s390-64/strncpy.S: Move to ...
2559 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
2560 and adjust ifunc handling.
2561 * sysdeps/s390/s390-32/strncpy.S: Move to ...
2562 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
2563 and adjust ifunc handling.
2564 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
2565 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2566
2567 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2568
2569 * sysdeps/s390/multiarch/Makefile
2570 (sysdep_routines): Remove stpcpy variants.
2571 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
2572 * sysdeps/s390/multiarch/ifunc-impl-list.c
2573 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
2574 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
2575 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
2576 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
2577 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
2578 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
2579 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
2580 * sysdeps/s390/ifunc-stpcpy.h: New file.
2581
2582 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2583
2584 * sysdeps/s390/multiarch/Makefile
2585 (sysdep_routines): Remove strcpy variants.
2586 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
2587 * sysdeps/s390/multiarch/ifunc-impl-list.c
2588 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
2589 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
2590 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
2591 * sysdeps/s390/multiarch/strcpy.c: Move to ...
2592 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
2593 * sysdeps/s390/ifunc-strcpy.h: New file.
2594 * sysdeps/s390/s390-64/strcpy.S: Move to ...
2595 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
2596 for 31/64bit and ifunc handling.
2597 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
2598 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2599 * sysdeps/s390/s390-32/strcpy.S: Likewise.
2600
2601 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2602
2603 * sysdeps/s390/multiarch/Makefile
2604 (sysdep_routines): Remove strnlen variants.
2605 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
2606 * sysdeps/s390/multiarch/ifunc-impl-list.c
2607 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
2608 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
2609 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
2610 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
2611 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
2612 * sysdeps/s390/multiarch/strnlen.c: Move to ...
2613 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
2614 * sysdeps/s390/ifunc-strnlen.h: New file.
2615
2616 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2617
2618 * sysdeps/s390/multiarch/Makefile
2619 (sysdep_routines): Remove strlen variants.
2620 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
2621 * sysdeps/s390/multiarch/ifunc-impl-list.c
2622 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
2623 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
2624 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
2625 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
2626 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
2627 * sysdeps/s390/multiarch/strlen.c: Move to ...
2628 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
2629 * sysdeps/s390/ifunc-strlen.h: New file.
2630
2631 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2632
2633 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
2634 * sysdeps/s390/multiarch/ifunc-impl-list.c
2635 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
2636 * sysdeps/s390/ifunc-memmem.h: New file.
2637 * sysdeps/s390/memmem.c: Likewise.
2638 * sysdeps/s390/memmem-c.c: Likewise.
2639 * sysdeps/s390/memmem-vx.c: Likewise.
2640
2641 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2642
2643 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
2644 * sysdeps/s390/multiarch/ifunc-impl-list.c
2645 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
2646 * sysdeps/s390/ifunc-strstr.h: New file.
2647 * sysdeps/s390/strstr.c: Likewise.
2648 * sysdeps/s390/strstr-c.c: Likewise.
2649 * sysdeps/s390/strstr-vx.c: Likewise.
2650
2651 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2652
2653 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
2654 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
2655 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
2656 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
2657 New defines.
2658 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
2659 * sysdeps/s390/memmove-c.c: New file.
2660 * sysdeps/s390/memmove.c: Likewise.
2661 * sysdeps/s390/multiarch/ifunc-impl-list.c
2662 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
2663
2664 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2665
2666 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
2667 * sysdeps/s390/configure.ac: Add check for z13 support.
2668 * sysdeps/s390/configure: Regenerated.
2669
2670 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2671
2672 * sysdeps/s390/memcopy.h: New file.
2673
2674 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2675
2676 * sysdeps/s390/s390-32/bcopy.S: Remove.
2677 * sysdeps/s390/s390-64/bcopy.S: Likewise.
2678
2679 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2680
2681 * sysdeps/s390/ifunc-memcpy.h: New File.
2682 * sysdeps/s390/memcpy.S: Move to ...
2683 * sysdeps/s390/memcpy-z900.S ... here.
2684 Move implementations from memcpy-s390x.s to here.
2685 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
2686 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2687 Remove memcpy/mempcpy variants.
2688 * sysdeps/s390/Makefile (sysdep_routines):
2689 Add memcpy/mempcpy variants.
2690 * sysdeps/s390/multiarch/ifunc-impl-list.c
2691 (__libc_ifunc_impl_list): Adjust ifunc variants for
2692 memcpy and mempcpy.
2693 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
2694 to ...
2695 * sysdeps/s390/memcpy.c: ... here.
2696 Adjust ifunc variants for memcpy.
2697 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
2698 * sysdeps/s390/mempcpy.c: ... here.
2699 Adjust ifunc variants for mempcpy.
2700 * sysdeps/s390/mempcpy.S: Delete file.
2701
2702 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2703
2704 * sysdeps/s390/s390-64/memcpy.S: Move to ...
2705 * sysdeps/s390/memcpy.S: ... here.
2706 Adjust to be usable for 31/64bit.
2707 * sysdeps/s390/s390-32/memcpy.S: Delete File.
2708 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
2709 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
2710 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2711 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
2712 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
2713 Adjust to be usable for 31/64bit.
2714 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
2715 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
2716 * sysdeps/s390/multiarch/memcpy.c: ... here.
2717 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
2718
2719 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2720
2721 * sysdeps/s390/ifunc-memcmp.h: New File.
2722 * sysdeps/s390/memcmp.S: Move to ...
2723 * sysdeps/s390/memcmp-z900.S ... here.
2724 Move implementations from memcmp-s390x.s to here.
2725 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
2726 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2727 Remove memcmp variants.
2728 * sysdeps/s390/Makefile (sysdep_routines):
2729 Add memcmp variants.
2730 * sysdeps/s390/multiarch/ifunc-impl-list.c
2731 (__libc_ifunc_impl_list): Adjust ifunc variants for
2732 memcmp.
2733 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
2734 to ...
2735 * sysdeps/s390/memcmp.c: ... here.
2736 Adjust ifunc variants for memcmp.
2737
2738 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2739
2740 * sysdeps/s390/s390-64/memcmp.S: Move to ...
2741 * sysdeps/s390/memcmp.S: ... here.
2742 Adjust to be usable for 31/64bit.
2743 * sysdeps/s390/s390-32/memcmp.S: Delete File.
2744 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
2745 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2746 Remove memcmp.
2747 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2748 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
2749 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
2750 Adjust to be usable for 31/64bit.
2751 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
2752 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
2753 * sysdeps/s390/multiarch/memcmp.c: ... here.
2754 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
2755
2756 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2757
2758 * sysdeps/s390/s390-32/bzero.S: Delete file.
2759 * sysdeps/s390/s390-64/bzero.S: Likewise.
2760 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
2761 * sysdeps/s390/bzero.c: New file.
2762 * sysdeps/s390/memset-z900.S: Add bzero entry points.
2763 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
2764 * sysdeps/s390/multiarch/ifunc-impl-list.c
2765 (__libc_ifunc_impl_list): Add bzero ifunc variants.
2766
2767 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2768
2769 * sysdeps/s390/ifunc-memset.h: New File.
2770 * sysdeps/s390/memset.S: Move to ...
2771 * sysdeps/s390/memset-z900.S ... here.
2772 Move implementations from memset-s390x.s to here.
2773 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
2774 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2775 Remove memset variants.
2776 * sysdeps/s390/Makefile (sysdep_routines):
2777 Add memset variants.
2778 * sysdeps/s390/multiarch/ifunc-impl-list.c
2779 (__libc_ifunc_impl_list): Adjust ifunc variants for
2780 memset.
2781 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
2782 to ...
2783 * sysdeps/s390/memset.c: ... here.
2784 Adjust ifunc variants for memset.
2785
2786 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2787
2788 * sysdeps/s390/s390-64/memset.S: Move to ...
2789 * sysdeps/s390/memset.S: ... here.
2790 Adjust to be usable for 31/64bit.
2791 * sysdeps/s390/s390-32/memset.S: Delete File.
2792 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
2793 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2794 Remove memset.
2795 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2796 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
2797 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
2798 Adjust to be usable for 31/64bit.
2799 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
2800 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
2801 * sysdeps/s390/multiarch/memset.c: ... here.
2802 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
2803
2804 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2805
2806 * sysdeps/s390/multiarch/ifunc-resolve.h
2807 (s390_libc_ifunc_init, s390_libc_ifunc,
2808 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
2809
2810 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2811
2812 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
2813 * sysdeps/s390/configure.ac: Add check for z10 support.
2814 * sysdeps/s390/configure: Regenerated.
2815
2816 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
2817
2818 * sysdeps/i386/atomic-machine.h: Merged with ...
2819 * sysdeps/x86_64/atomic-machine.h: To ...
2820 * sysdeps/x86/atomic-machine.h: This. New file.
2821
2822 2018-12-18 Florian Weimer <fweimer@redhat.com>
2823
2824 Rewrite locale/gen-translit.pl in Python.
2825 * locale/Makefile (generated): Add C-translit.h.
2826 (before-compile): Add $(objpfx)C-translit.h.
2827 (C-translit.h): Move to $(objpfx). Create target directory.
2828 Build using Python script.
2829 * locale/gen-translit.py: New file.
2830 * locale/gen-translit.pl: Remove file.
2831 * locale/C-translit.h.in: Change comment character to '#' for
2832 easier parsing without a C preprocessor.
2833 * locale/C-translit.h: Remove generated file.
2834 * manual/install.texi (Tools for Compilation): Do not mention
2835 C-translit.h.
2836 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
2837 Remove locale/C-translit.h.
2838 * scripts/update-copyrights: Likewise.
2839 * INSTALL: Regenerate.
2840
2841 2018-12-18 Florian Weimer <fweimer@redhat.com>
2842
2843 [BZ #23995]
2844 * localedata/locales/bi_VU: Remove executable bit from file.
2845
2846 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
2847
2848 * include/time.h
2849 (__localtime64): Add.
2850 * manual/maint.texi: Document Y2038 symbol handling.
2851 * time/localtime.c
2852 (__localtime64): Add.
2853 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
2854
2855 2018-12-17 Joseph Myers <joseph@codesourcery.com>
2856
2857 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
2858 Do not clobber r12.
2859
2860 * scripts/glibcextract.py (compare_macro_consts): Take parameters
2861 to allow extra macros from first or second sources.
2862 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
2863 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2864 (tests-special): Add $(objpfx)tst-mman-consts.out.
2865 ($(objpfx)tst-mman-consts.out): New makefile target.
2866
2867 2018-12-17 Mao Han <han_mao@c-sky.com>
2868
2869 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
2870 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
2871 without stat64 system call support.
2872 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
2873 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
2874 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2875 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
2876 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
2877 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
2878 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
2879 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
2880 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
2881 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
2882 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
2883
2884 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
2885
2886 regex: fix storage-exhaustion error
2887 [BZ #18040]
2888 * posix/regexec.c (get_subexp):
2889 Do not continue if storage is exhausted.
2890
2891 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
2892
2893 regex: fix heap-use-after-free error
2894 [BZ #18040]
2895 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
2896 https://debbugs.gnu.org/32592
2897 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
2898 call extend_buffers which reallocates the re_string_t internal buffer.
2899 Local variable 'buf' was not updated in such case, resulting in
2900 use-after-free.
2901 * posix/regexec.c (get_subexp): Update 'buf' after call to
2902 get_subexp_sub.
2903
2904 2018-12-15 Florian Weimer <fweimer@redhat.com>
2905
2906 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
2907 (minimum_stride_size): Use it.
2908 (support_blob_repeat_allocate): Likewise.
2909
2910 2018-12-14 Joseph Myers <joseph@codesourcery.com>
2911
2912 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
2913 definition.
2914 (acosh): Likewise.
2915 (atanh): Likewise.
2916
2917 2018-12-14 Florian Weimer <fweimer@redhat.com>
2918
2919 * manual/process.texi (Process Creation Concepts): Remove
2920 documentation of process (ID) lifetime. List more process
2921 creation functions. Reference Process Identification section.
2922 (Process Identification): Add information about process ID
2923 lifetime. Describe Linux thread/task IDs.
2924 * manual/signal.texi (Signaling Another Process): Mention that the
2925 signal is always sent to the process.
2926
2927 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2928
2929 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
2930 and tst-ldbl-efgcvt.
2931 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
2932 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
2933 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
2934 (fcvt_tests, output_error, output_r_error, do_test): Use the
2935 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
2936 select the type of floating-point variables and arguments; to
2937 produce extra tests for double and conversion specifiers for
2938 printf; and to set the names of called functions.
2939 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
2940 in tst-efgcvt-template.c.
2941 * misc/tst-ldbl-efgcvt.c: Likewise.
2942
2943 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
2944
2945 * nss/Makefile (tst-nss-test3.out): New rule.
2946
2947 2018-12-13 Joseph Myers <joseph@codesourcery.com>
2948
2949 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
2950 clobber sp.
2951
2952 2018-12-13 fanjinke <fanjinke@hygon.cn>
2953
2954 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
2955 "HygonGenuine".
2956
2957 2018-12-13 Andreas Schwab <schwab@suse.de>
2958
2959 [BZ #23861]
2960 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
2961 (__pthread_rwlock_rdlock_full): Update expected value for
2962 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
2963 * nptl/tst-rwlock-pwn.c: New file.
2964 * nptl/Makefile (tests): Add tst-rwlock-pwn.
2965
2966 2018-12-12 Joseph Myers <joseph@codesourcery.com>
2967
2968 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
2969 definition.
2970
2971 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2972
2973 * benchtests/scripts/compare_bench.py (do_compare): write to
2974 stderr in casestat is not present.
2975 * benchtests/scripts/compare_bench.py (plot_graphs): write to
2976 stderr in case timings field is not present. Also string showing
2977 the output filename goes into the stderr.
2978
2979 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2980
2981 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
2982 and ZeroDivisorError exceptions.
2983 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
2984 argument to loop through user provided statistics.
2985 * benchtests/scripts/compare_bench.py (main): Include the --stats
2986 argument.
2987
2988 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2989
2990 * benchtests/scripts/compare_bench.py (compare_runs): Continue
2991 instead of return.
2992
2993 2018-12-12 Florian Weimer <fweimer@redhat.com>
2994
2995 * sysdeps/posix/timespec_get.c: Add missing “any later version”
2996 clause to copyright header.
2997
2998 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2999
3000 [BZ #23614]
3001 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
3002 registers saved in the stack frame.
3003 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
3004 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
3005
3006 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3007
3008 * include/bits/monetary-ldbl.h: New file.
3009 * include/bits/printf-ldbl.h: Likewise.
3010 * include/bits/stdio-ldbl.h: Likewise.
3011 * include/bits/stdlib-ldbl.h: Likewise.
3012 * include/bits/syslog-ldbl.h: Likewise.
3013 * include/bits/wchar-ldbl.h: Likewise.
3014
3015 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3016
3017 * libio/libio.h: Remove redirection for _IO_vfprintf.
3018
3019 2018-12-11 Andreas Schwab <schwab@suse.de>
3020
3021 * Makerules: Remove all references to abilist-pattern.
3022 (update-all-abi): Simplify find expression.
3023
3024 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3025
3026 [BZ #23961]
3027 * math/auto-libm-test-in: Add new test case.
3028 * math/auto-libm-test-out-pow: Regenerated.
3029 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
3030
3031 2018-12-10 DJ Delorie <dj@redhat.com>
3032
3033 [BZ #23948]
3034 * support/test-container.c: Move postclean step to before we
3035 change namespaces.
3036
3037 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3038
3039 * scripts/gen-as-const.py (main): Handle --python option.
3040 * scripts/gen-py-const.awk: Remove.
3041 * Makerules (py-const-script): Use gen-as-const.py.
3042 ($(py-const)): Likewise.
3043 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
3044 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
3045 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
3046 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
3047 ~PTHREAD_MUTEX_NO_ELISION_NP.
3048 * manual/README.pretty-printers: Update reference to
3049 gen-py-const.awk.
3050
3051 * scripts/glibcextract.py: New file.
3052 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
3053 or tempfile. Import glibcexctract.
3054 (compute_c_consts): Remove. Moved to glibcextract.py.
3055 (gen_test): Update reference to compute_c_consts.
3056 (main): Likewise.
3057 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
3058 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
3059 * sysdeps/unix/sysv/linux/Makefile
3060 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
3061 Redirect stderr as well as stdout.
3062
3063 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
3064
3065 [BZ #19767]
3066 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
3067 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
3068 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
3069 ALWAYS_USE_VSYSCALL.
3070 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
3071 ALWAYS_USE_VSYSCALL.
3072 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
3073 ALWAYS_USE_VSYSCALL.
3074
3075 2018-12-10 Florian Weimer <fweimer@redhat.com>
3076
3077 [BZ #23972]
3078 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
3079 offset instead of count for clarity. Fix typo in comment.
3080 (__old_getdents64): Keep track of previous offset. Use it to call
3081 handle_overflow.
3082 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
3083 that d_off is never zero.
3084
3085 2018-12-10 Andreas Schwab <schwab@suse.de>
3086
3087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
3088 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
3089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
3090 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
3091 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
3092
3093 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3094
3095 * timezone/private.h: Update from tzcode 2018g.
3096 * timezone/tzfile.h: Likewise.
3097 * timezone/tzselect.ksh: Likewise.
3098 * timezone/zdump.c: Likewise.
3099 * timezone/zic.c: Likewise.
3100
3101 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3102
3103 [BZ #23490]
3104 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
3105 (do_test): Adjust buffer size and fix format.
3106
3107 2018-12-07 DJ Delorie <dj@redhat.com>
3108
3109 [BZ #23907]
3110 * malloc/tst-tcfree3.c: New.
3111 * malloc/Makefile: Add it.
3112
3113 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3114
3115 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
3116
3117 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3118
3119 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
3120 used as a mask for the mode argument of __vfscanf_internal and
3121 __vfwscanf_internal.
3122 * stdio-common/vfscanf-internal.c
3123 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
3124 (__strtof128_internal): Define to __wcstof128_internal.
3125 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
3126 __strtof128_internal or __wcstof128_internal when the format of
3127 long double is the same as _Float128.
3128
3129 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
3130
3131 * include/unistd.h (__confstr): Add prototype and hidden prototype.
3132 * posix/confstr.c (confstr): Rename to __confstr.
3133 (__confstr): Add hidden def.
3134 (confstr): Add weak alias for __confstr.
3135 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
3136 confstr.
3137
3138 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3139
3140 * NEWS: Mention getcpu.
3141 * include/sched.h (__getcpu): New libc_hidden_proto.
3142 * manual/resource.texi: Document getcpu.
3143 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
3144 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
3145 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
3146 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3147 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3148 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3149 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3150 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3151 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3152 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3153 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3154 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3155 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3156 Likewise.
3157 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3158 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3159 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3161 Likewise.
3162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3163 Likewise.
3164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3165 Likewise.
3166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3167 Likewise.
3168 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3169 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3170 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3171 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3172 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3173 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3174 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3175 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3176 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
3177 * sysdeps/unix/sysv/linux/getcpu.c: New file.
3178 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
3179 Also check getcpu.
3180
3181 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3182
3183 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
3184 functions.
3185 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
3186
3187 2018-12-07 Florian Weimer <fweimer@redhat.com>
3188
3189 [BZ #17405]
3190 * posix/Makefile (routines): Add spawn_faction_addfchdir.
3191 * posix/Versions (GLIBC_2.29): Export
3192 posix_spawn_file_actions_addfchdir_np.
3193 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
3194 * posix/spawn_faction_destroy.c
3195 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
3196 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
3197 and the field action.fchdir_action.
3198 * posix/tst-spawn-chdir.c (add_chdir): New function.
3199 (do_test): Add do_fchdir loop. Call add_chdir.
3200 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
3201 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3202 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
3203 posix_spawn_file_actions_addfchdir_np.
3204 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
3205 Likewise.
3206 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
3207 Likewise.
3208 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
3209 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
3210 Likewise.
3211 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
3212 Likewise.
3213 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
3214 Likewise.
3215 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
3216 Likewise.
3217 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
3218 Likewise.
3219 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
3220 Likewise.
3221 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3222 (GLIBC_2.29): Likewise.
3223 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3224 (GLIBC_2.29): Likewise.
3225 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3226 (GLIBC_2.29): Likewise.
3227 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3228 (GLIBC_2.29): Likewise.
3229 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
3230 Likewise.
3231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3232 (GLIBC_2.29): Likewise.
3233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3234 (GLIBC_2.29): Likewise.
3235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3236 (GLIBC_2.29): Likewise.
3237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3238 (GLIBC_2.29): Likewise.
3239 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
3240 Likewise.
3241 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
3242 Likewise.
3243 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
3244 Likewise.
3245 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
3246 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
3247 Likewise.
3248 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
3249 Likewise.
3250 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
3251 Likewise.
3252 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
3253 Likewise.
3254
3255 2018-12-06 Joseph Myers <joseph@codesourcery.com>
3256
3257 * manual/texinfo.tex: Update to version 2018-09-21.20 with
3258 trailing whitespace removed.
3259 * scripts/config.guess: Update to version 2018-11-28.
3260 * scripts/config.sub: Update to version 2018-11-28.
3261 * scripts/install-sh: Update to version 2018-03-11.20.
3262 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
3263 * scripts/move-if-change: Update to version 2018-03-07 03:47.
3264
3265 2018-12-07 Florian Weimer <fweimer@redhat.com>
3266
3267 [BZ #23927]
3268 CVE-2018-19591
3269 * inet/tst-if_index-long.c: New file.
3270 * inet/Makefile (tests): Add tst-if_index-long.
3271
3272 2018-12-07 Florian Weimer <fweimer@redhat.com>
3273
3274 * support/check.h (support_record_failure_is_failed): Declare.
3275 * support/descriptors.h: New file.
3276 * support/support_descriptors.c: Likewise.
3277 * support/tst-support_descriptors.c: Likewise.
3278 * support/support_record_failure.c
3279 (support_record_failure_is_failed): New function.
3280 * support/Makefile (libsupport-routines): Add support_descriptors.
3281 (tests): Add tst-support_descriptors.
3282
3283 2018-12-05 Zack Weinberg <zackw@panix.com>
3284 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3285
3286 * stdio-common/vfprintf-internal.c
3287 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
3288 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
3289 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
3290 and __no_long_double.
3291 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
3292 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
3293 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
3294 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
3295 and __nldbl_*syslog* functions.
3296 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
3297 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
3298 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
3299 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
3300 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
3301 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
3302 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
3303 (__nldbl_vwprintf, __nldbl_wprintf):
3304 Directly call the appropriate __v*printf_internal routine, passing
3305 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
3306 variable names.
3307 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
3308 (__nldbl___printf_chk, __nldbl___snprintf_chk)
3309 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
3310 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
3311 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
3312 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3313 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
3314 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
3315 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
3316 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
3317 Likewise, and also pass PRINTF_FORTIFY when appropriate.
3318 (__nldbl_syslog, __nldbl_vsyslog):
3319 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
3320 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3321 appropriate.
3322 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3323 appropriate.
3324
3325 2018-12-05 Zack Weinberg <zackw@panix.com>
3326 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3327
3328 [BZ #11319]
3329 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
3330 Moved here from debug/vsprintf_chk.c.
3331 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
3332 and completion logic for the strfile to match exactly what
3333 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
3334 _IO_str_init_static_internal instead of maxlen-1.
3335 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3336 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
3337 __vsprintf_internal.
3338
3339 * debug/vsprintf_chk.c (__vsprintf_chk)
3340 * debug/sprintf_chk.c (__sprintf_chk):
3341 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
3342 'flags' argument is positive, and slen as maxlen. No need to lock
3343 the FILE and/or construct a temporary FILE. Minimize and normalize
3344 header inclusions and variable names. Do not libc_hidden_def anything.
3345
3346 * debug/asprintf_chk.c (__asprintf_chk)
3347 * debug/dprintf_chk.c (__dprintf_chk)
3348 * debug/fprintf_chk.c (__fprintf_chk)
3349 * debug/fwprintf_chk.c (__fwprintf_chk)
3350 * debug/printf_chk.c (__printf_chk)
3351 * debug/snprintf_chk.c (__snprintf_chk)
3352 * debug/swprintf_chk.c (__swprintf_chk)
3353 * debug/vasprintf_chk.c (__vasprintf_chk)
3354 * debug/vdprintf_chk.c (__vdprintf_chk)
3355 * debug/vfprintf_chk.c (__vfprintf_chk)
3356 * debug/vfwprintf_chk.c (__vfwprintf_chk)
3357 * debug/vprintf_chk.c (__vprintf_chk)
3358 * debug/vsnprintf_chk.c (__vsnprintf_chk)
3359 * debug/vswprintf_chk.c (__vswprintf_chk)
3360 * debug/vwprintf_chk.c (__vwprintf_chk)
3361 * debug/wprintf_chk.c (__wprintf_chk):
3362 Directly call the corresponding vxxprintf_internal function, passing
3363 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
3364 the FILE and/or construct a temporary FILE. Minimize and normalize
3365 header inclusions and variable names. Do not libc_hidden_def anything.
3366
3367 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
3368 __obstack_vprintf_internal.
3369 (__obstack_vprintf_chk): Convert into a wrapper that calls
3370 __obstack_vprintf_internal (these two functions already had the
3371 same code) and move to new file...
3372 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
3373 file.
3374 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
3375 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
3376 * debug/Makefile (routines): Add vobprintf_chk.
3377
3378 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3379 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3380 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
3381 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3382 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
3383 (__nldbl___obstack_vfprintf_chk):
3384 Directly call the corresponding vxxprintf_internal function,
3385 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
3386 duplicate comparison of slen with 0 or maxlen from the corresponding
3387 non-__nldbl function.
3388
3389 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
3390 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
3391 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
3392 Remove libc_hidden_proto.
3393
3394 * stdio-common/vfprintf-internal.c
3395 (__vfprintf_internal, __vfwprintf_internal):
3396 Do not check _IO_FLAGS2_FORTIFY.
3397 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
3398 * libio/libioP.h: Update prototype of __vsprintf_internal and add
3399 a comment explaining why it has the maxlen argument.
3400 (_IO_acquire_lock_clear_flags2_fct): Remove.
3401 (_IO_acquire_lock_clear_flags2): Remove.
3402 (_IO_release_lock): Remove conditional statement which will
3403 now never execute.
3404 (_IO_acquire_lock): Remove variable which is now unused.
3405 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3406 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3407
3408 * stdio-common/Makefile (tests): Add tst-bz11319 and
3409 tst-bz11319-fortify2.
3410 (CFLAGS-tst-bz11319-fortify2.c): New macro.
3411 * stdio-common/tst-bz11319-fortify2.c: New file.
3412 * stdio-common/tst-bz11319.c: Likewise.
3413
3414 2018-12-05 Zack Weinberg <zackw@panix.com>
3415 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3416
3417 * misc/syslog.c: Include libioP.h, not iolibio.h.
3418 (__vsyslog_internal): New function with the former body of
3419 __vsyslog_chk; takes mode_flags argument same as
3420 __v*printf_internal. Call __vfprintf_internal directly.
3421
3422 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
3423 Remove libc_hidden_def.
3424 (__syslog, __syslog_chk): Use __vsyslog_internal.
3425 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
3426
3427 * include/sys/syslog.h: Add multiple inclusion guard.
3428 Add prototype for __vsyslog_internal.
3429 Remove declaration and libc_hidden_proto for __vsyslog_chk.
3430
3431 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
3432 Use __vsyslog_internal.
3433
3434 2018-12-05 Zack Weinberg <zackw@panix.com>
3435 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3436
3437 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
3438 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
3439 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
3440 New functions.
3441 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
3442 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
3443
3444 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
3445 Include wctype.h here if COMPILE_WPRINTF is defined.
3446 Define __vfprintf_internal or __vfwprintf_internal, depending
3447 on COMPILE_WPRINTF.
3448 Temporarily, on entry to this function, update mode_flags
3449 according to the environmental settings corresponding to
3450 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
3451 Throughout, check mode_flags instead of __ldbl_is_dbl and
3452 _IO_FLAGS2_FORTIFY on the destination FILE.
3453 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
3454 Include vfprintf-internal.c. Don't include wctype.h.
3455 * stdio-common/vfprintf.c: New file. Just define __vfprintf
3456 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
3457 and vfprintf.
3458 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
3459 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
3460 and vfwprintf.
3461 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
3462
3463 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
3464 and add mode_flags argument; use __vfprintf_internal.
3465 (__vdprintf): New function. Alias vdprintf to this.
3466 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
3467 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
3468 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
3469 (__obstack_printf): Use __obstack_printf_internal.
3470 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
3471 public aliases __vsnprintf and vsnprintf.
3472 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
3473 called internally.
3474 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
3475 public aliases _IO_vsprintf and vsprintf.
3476 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
3477 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
3478 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
3479 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
3480 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
3481
3482 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
3483 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
3484 * stdio-common/fprintf.c, stdio-common/fxprintf.c
3485 * stdio-common/printf.c: Use __vfprintf_internal.
3486
3487 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
3488 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
3489 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
3490
3491 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
3492 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
3493 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
3494 __vfwprintf_internal.
3495
3496 * libio/libio.h: Remove libc_hidden_proto and declaration for
3497 _IO_vfprintf.
3498 Remove declaration of _IO_vfwprintf.
3499 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
3500 _IO_vsprintf.
3501 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
3502 _IO_obstack_printf.
3503 * include/stdio.h: Add prototype for __vasprintf.
3504 (__vsnprintf): Remove declaration, because there are no more
3505 internal calls.
3506 * include/wchar.h (__vfwprintf, __vswprintf): Remove
3507 declaration, because there are no more internal calls.
3508
3509 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
3510 __vsnprintf_internal, instead of _IO_vsnprintf.
3511 * argp/argp-help.c (__argp_error, __argp_failure): Use
3512 __vasprintf_internal, instead of _IO_vasprintf.
3513 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
3514 redefine, because there are no more internal calls.
3515
3516 2018-12-05 Zack Weinberg <zackw@panix.com>
3517 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3518
3519 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
3520 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
3521 Include libio/strfile.h instead of libioP.h.
3522 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
3523 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
3524 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
3525 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
3526 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
3527 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
3528 necessary. Do not set __no_long_double. Normalize variable names.
3529 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
3530 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
3531 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
3532 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
3533 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
3534 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
3535 Call __vfscanf_internal / __vfwscanf_internal directly, passing
3536 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
3537 Do not set __no_long_double. Normalize variable names.
3538
3539 2018-12-05 Zack Weinberg <zackw@panix.com>
3540 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3541
3542 * stdio-common/isoc99_scanf.c
3543 * stdio-common/isoc99_fscanf.c
3544 * stdio-common/isoc99_sscanf.c
3545 * stdio-common/isoc99_vscanf.c
3546 * stdio-common/isoc99_vfscanf.c
3547 * stdio-common/isoc99_vsscanf.c
3548 * wcsmbs/isoc99_wscanf.c
3549 * wcsmbs/isoc99_fwscanf.c
3550 * wcsmbs/isoc99_swscanf.c
3551 * wcsmbs/isoc99_vwscanf.c
3552 * wcsmbs/isoc99_vfwscanf.c
3553 * wcsmbs/isoc99_vswscanf.c:
3554 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
3555 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
3556 No need to lock and unlock the FILE passed to that function.
3557
3558 * stdio-common/vfscanf-internal.c
3559 (__vfscanf_internal, __vfwscanf_internal):
3560 Don't look at _IO_FLAGS2_SCANF_STD.
3561 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
3562 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
3563 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
3564
3565 2018-12-05 Zack Weinberg <zackw@panix.com>
3566 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3567
3568 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
3569 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
3570 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
3571 * libio/strfile.h: Add multiple inclusion guard.
3572 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
3573
3574 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
3575 consistency with the other version of this file.
3576 (ldbl_compat_symbol): New macro.
3577 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
3578 New macro.
3579
3580 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
3581 Define __vfscanf_internal or __vfwscanf_internal, depending on
3582 COMPILE_WSCANF; don't define any other public symbols.
3583 Remove errval and code to set errp.
3584 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
3585 as the mode_flags argument.
3586 (encode_error, conv_error, input_error): Don't set errval.
3587 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
3588 Include vfscanf-internal.c.
3589 * stdio-common/vfscanf.c: New file defining the public entry
3590 point vfscanf, which calls __vfscanf_internal.
3591 * stdio-common/vfwscanf.c: New file defining the public entry
3592 point vfwscanf, which calls __vfwscanf_internal.
3593
3594 * stdio-common/iovfscanf.c: New file.
3595 * stdio-common/iovfwscanf.c: Likewise.
3596
3597 * stdio-common/Makefile (routines): Add vfscanf-internal,
3598 vfwscanf-internal, iovfscanf, iovfwscanf.
3599 * stdio-common/Versions: Mention GLIBC_2.29, so that
3600 it can be used in SHLIB_COMPAT expressions.
3601 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
3602 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
3603 Call __vfscanf_internal, instead of _IO_vfscanf.
3604 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
3605 _IO_vfscanf.
3606 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
3607 _IO_vfwscanf.
3608
3609 * libio/iovsscanf.c: Clean up includes, when possible. Use
3610 _IO_strfile_read or _IO_strfile_readw, when needed. Call
3611 __vfscanf_internal or __vfwscanf_internal directly.
3612 * libio/iovswscanf.c: Likewise.
3613 * libio/swscanf.c: Likewise.
3614 * libio/vscanf.c: Likewise.
3615 * libio/vwscanf.c: Likewise.
3616 * libio/wscanf.c: Likewise.
3617 * stdio-common/isoc99_fscanf.c: Likewise.
3618 * stdio-common/isoc99_scanf.c: Likewise.
3619 * stdio-common/isoc99_sscanf.c: Likewise.
3620 * stdio-common/isoc99_vfscanf.c: Likewise.
3621 * stdio-common/isoc99_vscanf.c: Likewise.
3622 * stdio-common/isoc99_vsscanf.c: Likewise.
3623 * stdio-common/scanf.c: Likewise.
3624 * stdio-common/sscanf.c: Likewise.
3625 * wcsmbs/isoc99_fwscanf.c: Likewise.
3626 * wcsmbs/isoc99_swscanf.c: Likewise.
3627 * wcsmbs/isoc99_vfwscanf.c: Likewise.
3628 * wcsmbs/isoc99_vswscanf.c: Likewise.
3629 * wcsmbs/isoc99_vwscanf.c: Likewise.
3630 * wcsmbs/isoc99_wscanf.c: Likewise.
3631
3632 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
3633
3634 * include/time.h
3635 (__tz_compute): Replace time_t with __time64_t.
3636 (__tz_convert): Replace time_t* with __time64_t.
3637 (__offtime): Replace time_t* with __time64_t.
3638 * time/gmtime.c
3639 (__gmtime_r): Adjust call to __tz_convert.
3640 (gmtime): Likewise.
3641 * time/localtime.c
3642 (__localtime_r): Likewise.
3643 (localtime): Likewise.
3644 * time/offtime.c: Replace time_t with __time64_t.
3645 * time/tzset.c: Likewise.
3646
3647 2018-12-04 Joseph Myers <joseph@codesourcery.com>
3648
3649 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
3650 dynamic linker unless [$(run-built-tests) = yes].
3651
3652 2018-12-03 DJ Delorie <dj@delorie.com>
3653
3654 * support/test-container.c (check_for_unshare_hints): New.
3655 (main): Call it if unshare fails. Add support for "su" scriptlet
3656 command.
3657
3658 2018-12-03 Joseph Myers <joseph@codesourcery.com>
3659
3660 * scripts/gen-as-const.py (compute_c_consts): Take an argument
3661 'START' to indicate that start text should be output.
3662 (gen_test): Likewise.
3663 (main): Generate 'START' for first symbol or '--' line, or at end
3664 of input if not previously generated.
3665
3666 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
3667
3668 [BZ #19767]
3669 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
3670 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
3671 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
3672 ALWAYS_USE_VSYSCALL.
3673
3674 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3675
3676 [BZ #23913]
3677 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
3678 new_argv by one.
3679
3680 2018-12-03 Carlos O'Donell <carlos@redhat.com>
3681
3682 [BZ #23923]
3683 * locale/programs/localedef.c: Declare boolean hard_links default true.
3684 (options): Add --no-hard-links option.
3685 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
3686 * locale/programs/localedef.h: Declare prototype for hard_links.
3687 * locale/programs/locfile.c (write_locale_data): Don't use hard
3688 links if hard_links is false.
3689
3690 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
3691
3692 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
3693 cpu_features_basic.
3694 (__cache_sysconf): Likewise.
3695 (init_cacheinfo): Likewise.
3696 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
3697 populate COMMON_CPUID_INDEX_80000007 and
3698 COMMON_CPUID_INDEX_80000008.
3699 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
3700 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
3701 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
3702 (init_cpu_features): Use _Static_assert on
3703 index_arch_Fast_Unaligned_Load.
3704 __get_cpuid_registers and __get_arch_feature. Updated for
3705 cpu_features_basic. Set stepping in cpu_features.
3706 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
3707 (FEATURE_INDEX_2): New.
3708 (FEATURE_INDEX_MAX): Changed to enum.
3709 (COMMON_CPUID_INDEX_D_ECX_1): New.
3710 (COMMON_CPUID_INDEX_80000007): Likewise.
3711 (COMMON_CPUID_INDEX_80000008): Likewise.
3712 (cpuid_registers): Likewise.
3713 (cpu_features_basic): Likewise.
3714 (CPU_FEATURE_USABLE): Likewise.
3715 (bit_arch_XXX_Usable): Likewise.
3716 (cpu_features): Use cpuid_registers and cpu_features_basic.
3717 (bit_arch_XXX): Reweritten.
3718 (bit_cpu_XXX): Likewise.
3719 (index_cpu_XXX): Likewise.
3720 (reg_XXX): Likewise.
3721 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
3722 <support/check.h>.
3723 (CHECK_CPU_FEATURE): New.
3724 (CHECK_CPU_FEATURE_USABLE): Likewise.
3725 (cpu_kinds): Likewise.
3726 (do_test): Print vendor, family, model and stepping. Check
3727 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
3728 (TEST_FUNCTION): Removed.
3729 Include <support/test-driver.c> instead of
3730 "../../test-skeleton.c".
3731 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
3732 Check POPCNT instead of POPCOUNT.
3733 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
3734
3735 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3736
3737 * scripts/gen-as-const.py (main): Avoid emitting empty line when
3738 there is no element in `consts'.
3739
3740 2018-12-01 Florian Weimer <fweimer@redhat.com>
3741
3742 * support/support_capture_subprocess.c
3743 (support_capture_subprocess): Check that pipe descriptors have
3744 expected values. Close original pipe descriptors in subprocess.
3745
3746 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
3747
3748 [BZ #23032]
3749 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
3750 attr with __pthread_default_barrierattr.
3751 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
3752 attr with __pthread_default_condattr.
3753 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
3754 attr with __pthread_default_mutexattr.
3755 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
3756 attr with __pthread_default_rwlockattr.
3757
3758 2018-12-01 Kemi Wang <kemi.wang@intel.com>
3759
3760 * manual/tunables.texi (POSIX Thread Tunables): New node.
3761 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
3762 * nptl/nptl-init.c: Include pthread_mutex_conf.h
3763 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
3764 __pthread_tunables_init.
3765 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
3766 (max_adaptive_count): Define.
3767 * nptl/pthread_mutex_conf.c: New file.
3768 * nptl/pthread_mutex_conf.h: New file.
3769 * sysdeps/generic/adaptive_spin_count.h: New file.
3770 * sysdeps/nptl/dl-tunables.list: New file.
3771 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3772 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
3773 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
3774 Likewise.
3775
3776 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
3777
3778 [BZ #20544]
3779 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
3780 * stdlib/on_exit.c (__on_exit): Likewise.
3781 * stdlib/Makefile (tests): Add tst-bz20544.
3782 * stdlib/tst-bz20544.c: New test.
3783
3784 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
3785
3786 [BZ #19767]
3787 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
3788 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
3789 New.
3790
3791 2018-11-30 Florian Weimer <fweimer@redhat.com>
3792
3793 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
3794 Extend error logging.
3795 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
3796 symbol.
3797
3798 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3799
3800 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
3801 __sigismember instead of sigismember.
3802 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
3803 cancel_handler): New definitions.
3804 (do_system): Use posix_spawn instead of fork and execl and remove
3805 reentracy code.
3806 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
3807 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
3808 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
3809 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3810 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3811 * sysdeps/unix/sysv/linux/system.c: Likewise.
3812
3813 [BZ #22834]
3814 [BZ #17490]
3815 * NEWS: Add new semantic for atfork with popen and system.
3816 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
3817 fork and execl.
3818
3819 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3820
3821 [BZ #23690]
3822 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
3823 modification order when accessing reloc_result->addr.
3824 * include/link.h (reloc_result): Add field init.
3825 * nptl/Makefile (tests): Add tst-audit-threads.
3826 (modules-names): Add tst-audit-threads-mod1 and
3827 tst-audit-threads-mod2.
3828 Add rules to build tst-audit-threads.
3829 * nptl/tst-audit-threads-mod1.c: New file.
3830 * nptl/tst-audit-threads-mod2.c: Likewise.
3831 * nptl/tst-audit-threads.c: Likewise.
3832 * nptl/tst-audit-threads.h: Likewise.
3833
3834 2018-11-30 Joseph Myers <joseph@codesourcery.com>
3835
3836 * scripts/gen-as-const.py: New file.
3837 * scripts/gen-as-const.awk: Remove.
3838 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
3839 gen-as-const.py.
3840 ($(objpfx)test-as-const-%.c): Likewise.
3841
3842 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3843
3844 * elf/dl-exception.c: Include <_itoa.h>.
3845
3846 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
3847
3848 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
3849 returned by __f_setlk.
3850
3851 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3852 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3853
3854 * elf/Makefile (tests-internal): Add tst-create_format1.
3855 * elf/dl-exception.c (_dl_exception_create_format): Support
3856 %x, %lx and %zx.
3857 * elf/tst-create_format1.c: New file.
3858
3859 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
3860
3861 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
3862 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
3863 gnulib.)
3864 * argp/argp-help.c (__argp_failure): Likewise.
3865
3866 2018-11-29 Mao Han <han_mao@c-sky.com>
3867
3868 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
3869 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
3870 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
3871 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
3872 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
3873 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
3874 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
3875 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
3876 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
3877 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
3878 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
3879 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
3880 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
3881 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
3882 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
3883 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
3884 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
3885 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
3886 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
3887 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
3888 (R_CKCORE_TLS_TPOFF32): New defines.
3889
3890 2018-11-29 Florian Weimer <fweimer@redhat.com>
3891
3892 * posix/Makefile (before-compile): Remove testcases.h and
3893 ptestcases.h.
3894 (generated): Add testcases.h and ptestcases.h.
3895 (testcases.h, ptestcases.h): Move to $(objpfx).
3896 (runtests.o): Add dependency on testcases.h.
3897 (runptests.o): Add dependency on ptestcases.h.
3898 * posix/testcases.h, posix/ptestcases.h: Remove files.
3899 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
3900 not touch posix/testcases.h and posix/ptestcases.h.
3901
3902 2018-11-28 Florian Weimer <fweimer@redhat.com>
3903
3904 support: Add signal support to support_capture_subprocess_check.
3905 * support/capture_subprocess.h (support_capture_subprocess_check):
3906 Adjust comment and rename parameter.
3907 * support/support_capture_subprocess_check.c
3908 (print_actual_status): New function.
3909 (support_capture_subprocess_check): Support negative
3910 status_or_signal. Call print_actual_status.
3911 * support/tst-support_capture_subprocess.c (do_test): Call
3912 support_capture_subprocess_check.
3913 * libio/tst-vtables-common.c (termination_status)
3914 (init_termination_status): Remove.
3915 (check_for_termination): Adjust support_capture_subprocess_check
3916 call.
3917 (do_test): Remove call to init_termination_status.
3918
3919 2018-11-28 Joseph Myers <joseph@codesourcery.com>
3920
3921 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
3922 source directory instead of a copy.
3923 (CommandList.create_copy_dir): Remove.
3924
3925 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
3926
3927 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3928
3929 2018-11-28 Florian Weimer <fweimer@redhat.com>
3930
3931 * support/support.h (support_quote_string): Do not use str
3932 parameter name.
3933
3934 2018-11-27 Joseph Myers <joseph@codesourcery.com>
3935
3936 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
3937 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
3938
3939 2018-11-27 Florian Weimer <fweimer@redhat.com>
3940
3941 * support/support.h (support_quote_string): Declare.
3942 * support/support_quote_string.c: New file.
3943 * support/tst-support_quote_string.c: Likewise.
3944 * support/Makefile (libsupport-routines): Add
3945 support_quote_string.
3946 (tests): Add tst-support_quote_string.
3947
3948 2018-11-27 Florian Weimer <fweimer@redhat.com>
3949
3950 [BZ #23927]
3951 CVE-2018-19591
3952 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
3953 descriptor leak in case of ENODEV error.
3954
3955 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
3956
3957 [BZ #19767]
3958 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
3959 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
3960 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
3961
3962 2018-11-26 Carlos O'Donell <carlos@redhat.com>
3963
3964 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
3965 Error for unknown lines.
3966
3967 2018-11-26 Joseph Myers <joseph@codesourcery.com>
3968
3969 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3970 Touch additional files.
3971
3972 2018-11-26 Florian Weimer <fweimer@redhat.com>
3973
3974 [BZ #23907]
3975 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
3976 double-frees.
3977
3978 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
3979
3980 [BZ #19767]
3981 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
3982 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
3983 SHARED. Include sysdep.h.
3984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
3985 ALWAYS_USE_VSYSCALL.
3986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
3987 ALWAYS_USE_VSYSCALL.
3988
3989 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
3990
3991 [BZ #19767]
3992 * nptl/Makefile (tests-static): Add tst-cond11-static.
3993 (tests): Likewise.
3994 * nptl/tst-cond11-static.c: New File.
3995 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
3996 tst-affinity-static.
3997 (tests): Likewise.
3998 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
3999 instead of SHARED.
4000 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
4001 (USE_VSYSCALL): Likewise.
4002 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
4003 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
4004 instead of SHARED.
4005 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
4006 SHARED.
4007 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
4008 New.
4009
4010 2018-11-23 Joseph Myers <joseph@codesourcery.com>
4011
4012 [BZ #23915]
4013 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4014 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
4015 Undefine.
4016
4017 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
4018
4019 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
4020 (tst-cet-legacy-1a-ARGS): New.
4021 ($(objpfx)tst-cet-legacy-1a): New target.
4022 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
4023
4024 2018-11-22 Joseph Myers <joseph@codesourcery.com>
4025
4026 * conform/conformtest.py (CompileSubTest.__init__): Set
4027 self.run_early to False.
4028 (ExecuteSubTest.__init__): Likewise.
4029 (HeaderTests.run): Try running all non-optional, non-XFAILed
4030 compilation tests in a single execution of the compiler.
4031
4032 * conform/conformtest.py (CompileSubTest): New class.
4033 (ExecuteSubTest): Likewise.
4034 (ElementTest.run): Rename to gen_subtests. Append tests to
4035 self.subtests instead of running them.
4036 (ConstantTest.run): Likewise.
4037 (SymbolTest.run): Likewise.
4038 (TypeTest.run): Likewise.
4039 (TagTest.run): Likewise.
4040 (FunctionTest.run): Likewise.
4041 (VariableTest.run): Likewise.
4042 (MacroFunctionTest.run): Likewise.
4043 (MacroStrTest.run): Likewise.
4044 (HeaderTests.handle_test_line): Generate subtests for tests.
4045 (HeaderTests.run): Run subtests for tests.
4046
4047 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4048
4049 * math/Versions (GLIBC_2.29): Add pow.
4050 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
4051 symbol.
4052 * math/w_pow.c: New file.
4053 * sysdeps/i386/fpu/w_pow.c: New file.
4054 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
4055 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
4056 and add necessary aliases.
4057 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
4058 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
4059 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4060 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4061 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4062 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4063 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4064 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4065 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4066 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4067 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4068 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4069 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4070 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4071 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4076 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4077 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4078 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4079 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4080 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4081 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4082 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4083 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
4084 __pow.
4085 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
4086 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
4087 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
4088
4089 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4090
4091 * math/Versions (GLIBC_2.29): Add log2.
4092 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
4093 symbol.
4094 * math/w_log2.c: New file.
4095 * sysdeps/i386/fpu/w_log2.c: New file.
4096 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
4097 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
4098 and add necessary aliases.
4099 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
4100 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
4101 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4102 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4103 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4104 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4105 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4106 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4107 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4108 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4109 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4110 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4111 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4112 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4113 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4118 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4119 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4120 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4121 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4122 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4123 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4124 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4125
4126 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4127
4128 * math/Versions (GLIBC_2.29): Add log.
4129 * math/w_log_compat.c (__log_compat): Change to versioned compat
4130 symbol.
4131 * math/w_log.c: New file.
4132 * sysdeps/i386/fpu/w_log.c: New file.
4133 * sysdeps/ia64/fpu/e_log.S: Update.
4134 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
4135 and add necessary aliases.
4136 * sysdeps/ieee754/dbl-64/w_log.c: New file.
4137 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
4138 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4139 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4140 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4141 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4142 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4143 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4144 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4145 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4146 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4147 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4148 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4149 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4150 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4155 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4156 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4157 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4158 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4159 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4160 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4161 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4162 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
4163 __log.
4164 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
4165 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
4166 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
4167 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
4168
4169 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4170
4171 * math/Versions (GLIBC_2.29): Add exp and exp2.
4172 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
4173 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
4174 * math/w_exp_compat.c (__exp_compat): Likewise.
4175 * math/w_exp.c: New file.
4176 * math/w_exp2.c: New file.
4177 * sysdeps/i386/fpu/w_exp.c: New file.
4178 * sysdeps/i386/fpu/w_exp2.c: New file.
4179 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
4180 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
4181 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
4182 and add necessary aliases.
4183 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
4184 and add necessary aliases.
4185 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
4186 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
4187 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
4188 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
4189 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4190 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4191 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4192 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4193 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4194 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4195 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4196 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4197 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4198 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4199 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4200 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4201 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4206 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4207 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4208 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4209 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4210 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4211 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4212 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4213 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
4214 (__ieee754_exp): Rename to __exp.
4215 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
4216 (__ieee754_exp): Rename to __exp.
4217 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
4218 (__ieee754_exp): Rename to __exp.
4219 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
4220 __exp.
4221 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
4222
4223 2018-11-20 DJ Delorie <dj@redhat.com>
4224
4225 * malloc/malloc.c (tcache_entry): Add key field.
4226 (tcache_put): Set it.
4227 (tcache_get): Likewise.
4228 (_int_free): Check for double free in tcache.
4229 * malloc/tst-tcfree1.c: New.
4230 * malloc/tst-tcfree2.c: New.
4231 * malloc/Makefile: Run the new tests.
4232 * manual/probes.texi: Document memory_tcache_double_free probe.
4233
4234 * dlfcn/dlerror.c (check_free): Prevent double frees.
4235
4236 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
4237
4238 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
4239
4240 2018-11-20 Joseph Myers <joseph@codesourcery.com>
4241
4242 * conform/conformtest.py (ElementTest.run): Use unique identifiers
4243 in tests. Use names for format arguments.
4244 (ConstantTest.run): Likewise.
4245 (SymbolTest.run): Likewise.
4246 (TypeTest.run): Likewise.
4247 (TagTest.run): Likewise.
4248 (FunctionTest.run): Likewise.
4249 (VariableTest.run): Likewise.
4250 (MacroFunctionTest.run): Likewise.
4251 (MacroStrTest.run): Likewise.
4252 (HeaderTests.__init__): Set self.num_tests.
4253 (HeaderTests.handle_test_line): Set test.num. Increment
4254 self.num_tests.
4255
4256 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
4257
4258 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
4259 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
4260 SEEK_SET.
4261
4262 2018-11-19 Mao Han <han_mao@c-sky.com>
4263
4264 * scripts/config.guess: Update to version 2018-08-29.
4265 * scripts/config.sub: Update to version 2018-08-29.
4266
4267 2018-11-19 Florian Weimer <fweimer@redhat.com>
4268
4269 support: Print timestamps in timeout handler.
4270 * support/support_test_main.c (print_timestamp): New function.
4271 (signal_handler): Use it to print the termination time and the
4272 time of the last write to standard output.
4273
4274 2018-11-16 Zack Weinberg <zackw@panix.com>
4275 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4276
4277 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
4278 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
4279 argument.
4280 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
4281 and add flags argument. Check flags instead of __ldbl_is_dbl when
4282 deciding whether to set is_long_double.
4283 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
4284 passing zero for flags argument.
4285 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
4286
4287 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4288 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
4289 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
4290 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
4291 variable names. Remove libc_hidden_def/libc_hidden_proto from
4292 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
4293 longer called from within the library.
4294 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
4295 for __nldbl___vstrfmon_l, declare it explicitly.
4296
4297 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
4298
4299 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
4300
4301 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
4302 macros
4303 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
4304 F_SETLK64, F_SETLKW64, respectively.
4305 * sysdeps/mach/hurd/f_setlk.c: New file.
4306 * sysdeps/mach/hurd/f_setlk.h: New file.
4307 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
4308 f_setlk.
4309 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
4310 (__libc_fcntl): Move non-flock operations to...
4311 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
4312 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
4313
4314 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
4315
4316 mktime: DEBUG_MKTIME cleanup
4317 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
4318 And it’s no longer needed now that glibc and Gnulib both have
4319 their own testing mechanisms for mktime.
4320 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
4321
4322 mktime: fix non-EOVERFLOW errno handling
4323 [BZ#23789]
4324 mktime was not properly reporting failures when the underlying
4325 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
4326 them like EOVERFLOW failures, and set errno to EOVERFLOW.
4327 The problem could happen on non-glibc platforms, with Gnulib.
4328 * time/mktime.c (guess_time_tm): Remove, replacing with ...
4329 (tm_diff): ... this simpler function, which does not change errno.
4330 All callers changed to deal with errno themselves.
4331 (ranged_convert, __mktime_internal): Return failure immediately if
4332 the underlying function reports any failure other than EOVERFLOW.
4333 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
4334 gap code fails.
4335
4336 mktime: fix bug with Y2038 DST transition
4337 [BZ#23789]
4338 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
4339 mishandle a DST transition that jumps over the Y2038 boundary.
4340 No such DST transitions are known so this is only a theoretical
4341 bug, but we might as well do things right.
4342
4343 mktime: make more room for overflow
4344 [BZ#23789]
4345 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
4346 This is so that we can add tm_diff results to a previous guess,
4347 which will be useful in a later patch.
4348
4349 mktime: simplify offset guess
4350 [BZ#23789]
4351 * time/mktime.c (__mktime_internal): Omit excess precision.
4352
4353 mktime: new test for mktime failure
4354 [BZ#23789]
4355 Based on a test suggested by Albert Aribaud in:
4356 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
4357 * time/Makefile (tests): Add bug-mktime4.
4358 * time/bug-mktime4.c: New file.
4359
4360 mktime: fix EOVERFLOW bug
4361 [BZ#23789]
4362 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
4363 Include libc-config.h, not config.h, for __set_errno.
4364 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
4365
4366 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
4367
4368 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
4369 __attribute_copy__ to copy attributes from name. Drop static qualifier
4370 to avoid warnings about leaf attribute not having effect on static
4371 functions.
4372
4373 2018-11-13 Florian Weimer <fweimer@redhat.com>
4374
4375 * malloc/malloc.c (fastbin_push_entry): New function.
4376 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
4377 (REMOVE_FB): Remove macro.
4378 (_int_malloc): Use fastbin_pop_entry and reindent.
4379 (_int_free): Use fastbin_push_entry.
4380 (malloc_consolidate): Use atomic_exchange_acquire.
4381
4382 2018-11-13 Joseph Myers <joseph@codesourcery.com>
4383
4384 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
4385 alias attribute, not with strong_alias.
4386
4387 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
4388 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
4389 with additional parameter thread.
4390 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
4391 in terms of __hidden_ver2.
4392 (hidden_tls_def): New macro.
4393 (libc_hidden_tls_def): Likewise.
4394 (rtld_hidden_tls_def): Likewise.
4395 (libm_hidden_tls_def): Likewise.
4396 (libmvec_hidden_tls_def): Likewise.
4397 (libresolv_hidden_tls_def): Likewise.
4398 (librt_hidden_tls_def): Likewise.
4399 (libdl_hidden_tls_def): Likewise.
4400 (libnss_files_hidden_tls_def): Likewise.
4401 (libnsl_hidden_tls_def): Likewise.
4402 (libnss_nisplus_hidden_tls_def): Likewise.
4403 (libutil_hidden_tls_def): Likewise.
4404 (libutil_hidden_tls_def): Likweise.
4405 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
4406 libc_hidden_tls_def.
4407 (__sim_disabled_exceptions_thread): Likewise.
4408 (__sim_round_mode_thread): Likewise.
4409
4410 * sysdeps/sparc/sparc-ifunc.h [SHARED]
4411 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
4412 copy attributes from name.
4413
4414 2018-11-12 Joseph Myers <joseph@codesourcery.com>
4415
4416 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
4417 Use __attribute_copy__ to copy attributes from name.
4418
4419 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
4420 with __hidden_ver1 call.
4421 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
4422 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
4423 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
4424 (__cosf): Do not declare here.
4425 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
4426 (__sincosf): Do not declare here.
4427 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
4428 (__sinf): Do not declare here.
4429
4430 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
4431 (__BIG_ENDIAN): Likewise.
4432 (__BYTE_ORDER): Likewise.
4433 (strong_alias): Likewise.
4434 (_strong_alias): Likewise.
4435
4436 2018-11-12 Florian Weimer <fweimer@redhat.com>
4437
4438 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
4439 function. Move after the definition of in_smallbin_range. Do not
4440 use __builtin_expect for paths that lead to a noreturn function.
4441 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
4442 because it is unclear whether this is in fact an unlikely
4443 condition.
4444 (_int_malloc, _int_free): Adjust.
4445 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
4446 variables.
4447 * malloc/arena.c (heap_trim): Likewise.
4448
4449 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4450
4451 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
4452 it, free it if needed.
4453 (reauthenticate): Test and use ccwdir.
4454 (child_init_port): In non-resetids case, test and use ccwdir.
4455 (child_chdir): New nested function to set ccwdir.
4456 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
4457 * hurd/hurd/port.h (_hurd_port_move): New function.
4458 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
4459 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
4460 * hurd/Versions (_hurd_port_move): Export function.
4461 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
4462 symbol.
4463 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
4464 of dtablesize for allocating dtable_cloexec.
4465
4466 2018-11-09 Martin Sebor <msebor@redhat.com>
4467
4468 * include/libc-symbols.h (__attribute_copy__): Define macro unless
4469 it's already defined.
4470 (_strong_alias): Use __attribute_copy__.
4471 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
4472 * misc/sys/cdefs.h (__attribute_copy__): New macro.
4473 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
4474 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
4475 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
4476 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
4477 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
4478 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
4479 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
4480 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
4481 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
4482 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
4483 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
4484 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
4485 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
4486 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
4487 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
4488 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
4489 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
4490
4491 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4492
4493 * misc/tst-efgcvt.c: Include support/check.h and
4494 support/test-driver.c. Do not include test-skeleton.c.
4495 (error_count): Remove.
4496 (output_error): Replace increments to error_count with calls to
4497 support_record_failure.
4498 (output_r_error): Likewise.
4499 (special): Likewise.
4500 (do_test): Unconditionally return zero.
4501 (TEST_FUNCTION): Remove.
4502
4503 2018-11-09 Joseph Myers <joseph@codesourcery.com>
4504
4505 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
4506 not $(@D)/scratch.
4507 ($(linknamespace-header-tests)): Likewise.
4508
4509 * conform/conformtest.py: New file.
4510 * conform/conformtest.pl: Remove.
4511 * conform/GlibcConform.pm: Likewise.
4512 * conform/glibcconform.py (KEYWORDS_C90): New constant.
4513 (KEYWORDS_C99): Likewise.
4514 (KEYWORDS): Likewise.
4515 * conform/Makefile ($(conformtest-header-tests)): Use
4516 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
4517 option. Use --header instead of --headers.
4518 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
4519 function entries.
4520 * conform/data/spawn.h-data: Likewise.
4521 * conform/data/fcntl.h-data (openat): Add space after function
4522 name.
4523 * conform/data/wchar.h-data (wcscasecmp): Likewise.
4524 (wcscasecmp_l): Likewise.
4525 * conform/data/termios.h-data (c_cc): Add space after element
4526 name.
4527
4528 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4529
4530 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
4531 instead of manually comparing and reporting mismatching strings.
4532 * misc/tst-ldbl-error.c (do_one_test): Likewise.
4533 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
4534
4535 2018-11-08 Joseph Myers <joseph@codesourcery.com>
4536
4537 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
4538 __ASSUME_SOCKETCALL.
4539 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4540 (__ASSUME_SOCKETCALL): Remove.
4541 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4542 (__ASSUME_SOCKETCALL): Likewise.
4543 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4544 (__ASSUME_SOCKETCALL): Likewise.
4545 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4546 (__ASSUME_SOCKETCALL): Likewise.
4547 * sysdeps/unix/sysv/linux/s390/kernel-features.h
4548 (__ASSUME_SOCKETCALL): Likewise.
4549 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4550 (__ASSUME_SOCKETCALL): Likewise.
4551 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4552 (__ASSUME_SOCKETCALL): Likewise.
4553
4554 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
4555
4556 [BZ #23509]
4557 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
4558 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
4559 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
4560 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
4561 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
4562 lc_unknown.
4563
4564 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
4565
4566 [BZ #17630]
4567 * resolv/tst-resolv-network.c: Add test for getnetbyname.
4568
4569 2018-11-07 Joseph Myers <joseph@codesourcery.com>
4570
4571 [BZ #23867]
4572 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4573 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4574 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4575 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4576
4577 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4578
4579 * support/support_test_compare_string.c
4580 (support_test_compare_string): Fix printf format.
4581
4582 2018-11-07 Florian Weimer <fweimer@redhat.com>
4583
4584 Implement TEST_COMPARE_STRING.
4585 * support/check.h (TEST_COMPARE_STRING): Define.
4586 (support_test_compare_string): Declare.
4587 * support/Makefile (libsupport-routines): Add
4588 support_test_compare_string.
4589 (tests): Add tst-test_compare_string.
4590 * support/support_test_compare_string.c: New file.
4591 * support/tst-test_compare_string.c: Likewise.
4592
4593 2018-11-07 Andreas Schwab <schwab@suse.de>
4594
4595 [BZ #23864]
4596 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
4597 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
4598 Undef.
4599
4600 2018-11-06 Joseph Myers <joseph@codesourcery.com>
4601
4602 [BZ #23862]
4603 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4604 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
4605 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
4606 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
4607 Likewise.
4608
4609 2018-11-06 Florian Weimer <fweimer@redhat.com>
4610
4611 [BZ #17405]
4612 * posix/Makefile (routines): Add spawn_faction_addchdir.
4613 (tests): Add tst-spawn-chdir.
4614 * posix/Versions (GLIBC_2.29): Add
4615 posix_spawn_file_actions_addchdir_np.
4616 * posix/spawn_faction_addchdir.c: New file.
4617 * posix/spawn_faction_destroy.c
4618 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
4619 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
4620 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
4621 chdir_action.
4622 * posix/tst-spawn-chdir.c: New file.
4623 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
4624 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4625 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4626 posix_spawn_file_actions_addchdir_np.
4627 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4628 Likewise.
4629 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4630 Likewise.
4631 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4632 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4633 Likewise.
4634 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4635 Likewise.
4636 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4637 Likewise.
4638 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4639 Likewise.
4640 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4641 Likewise.
4642 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4643 Likewise.
4644 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4645 (GLIBC_2.29): Likewise.
4646 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4647 (GLIBC_2.29): Likewise.
4648 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4649 (GLIBC_2.29): Likewise.
4650 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4651 (GLIBC_2.29): Likewise.
4652 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4653 Likewise.
4654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4655 (GLIBC_2.29): Likewise.
4656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4657 (GLIBC_2.29): Likewise.
4658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4659 (GLIBC_2.29): Likewise.
4660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4661 (GLIBC_2.29): Likewise.
4662 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4663 Likewise.
4664 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4665 Likewise.
4666 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4667 Likewise.
4668 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4669 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4670 Likewise.
4671 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4672 Likewise.
4673 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4674 Likewise.
4675 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4676 Likewise.
4677
4678 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4679
4680 * misc/Makefile (tests): Add tst-ldbl-error.
4681 * misc/tst-ldbl-error.c: New file.
4682
4683 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4684
4685 * misc/Makefile (tests): Add tst-ldbl-warn.
4686 * misc/tst-ldbl-warn.c: New file.
4687
4688 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4689
4690 * argp/Makefile (tests): Add tst-ldbl-argp.
4691 * argp/tst-ldbl-argp.c: New file.
4692
4693 2018-11-05 Arjun Shankar <arjun@redhat.com>
4694
4695 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
4696 __gconv_path_elem and call __gconv_get_path unconditionally.
4697
4698 2018-11-05 Andreas Schwab <schwab@suse.de>
4699
4700 [BZ #22927]
4701 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
4702 creating the first helper thread failed.
4703
4704 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4705
4706 * sysdeps/mach/hurd/msync.c: New file.
4707
4708 2018-11-02 Florian Weimer <fweimer@redhat.com>
4709
4710 * support/shell-container.c (copy_func): Call
4711 support_copy_file_range instead of copy_file_range to support
4712 cross-device copies.
4713
4714 2018-11-02 Florian Weimer <fweimer@redhat.com>
4715
4716 * support/test-container.c: Include <libc-pointer-arith.h> for
4717 ALIGN_UP.
4718
4719 2018-11-01 Zong Li <zong@andestech.com>
4720
4721 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
4722 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
4723 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
4724 (__FP_FRAC_SET_8): Add implementation for RV32 use.
4725
4726 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
4727 variable to avoid overlap arguments.
4728
4729 2018-11-01 Joseph Myers <joseph@codesourcery.com>
4730
4731 * posix/bug-regex22.c (main): Use puts with distinct error
4732 messages for unexpected success of re_compile_pattern, not printf
4733 with NULL argument to %s.
4734
4735 * stdio-common/bug22.c: Include <libc-diag.h>.
4736 (do_test): Disable -Wformat-overflow= warnings around fprintf
4737 calls outputting more than INT_MAX characters.
4738 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
4739 around printf call with NULL %s argument.
4740
4741 [BZ #23848]
4742 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
4743 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
4744 Undefine.
4745 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4746 (__ASSUME_RECVMSG_SYSCALL): Likewise.
4747 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4748 (__ASSUME_SENDTO_SYSCALL): Likewise.
4749 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4750 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
4751 [!__arch64__].
4752 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4753 (__ASSUME_CONNECT_SYSCALL): Likewise.
4754 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4755 (__ASSUME_RECVFROM_SYSCALL): Likewise.
4756 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
4757 Define.
4758 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
4759 Likewise.
4760 [__LINUX_KERNEL_VERSION >= 0x040400]
4761 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4762 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
4763 Remove.
4764 (listen): Likewise.
4765 (setsockopt): Likewise.
4766
4767 2018-11-01 Fredrik Noring <noring@nocrew.org>
4768
4769 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
4770 with the ISA override.
4771
4772 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
4773
4774 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
4775 #endif.
4776
4777 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
4778
4779 * manual/errno.texi (EIEIO): Document how translators should
4780 translate the error message.
4781 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
4782 printing trailing whitespaces refused by git.
4783 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
4784 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4785 * hurd/Makefile (user-interfaces): Add pci.
4786
4787 2018-10-30 Joseph Myers <joseph@codesourcery.com>
4788
4789 * conform/linknamespace.py: New file.
4790 * conform/linknamespace.pl: Remove file.
4791 * conform/Makefile ($(linknamespace-header-tests)): Use
4792 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
4793 option.
4794
4795 2018-10-30 Florian Weimer <fweimer@redhat.com>
4796
4797 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
4798 memory leaks.
4799
4800 2018-10-30 Florian Weimer <fweimer@redhat.com>
4801
4802 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
4803
4804 2018-10-30 Florian Weimer <fweimer@redhat.com>
4805
4806 * stdlib/tst-strtod-overflow.c (do_test): Switch to
4807 support_blob_repeat.
4808
4809 2018-10-30 Florian Weimer <fweimer@redhat.com>
4810
4811 Avoid spurious test failures in stdlib/test-bz22786.
4812 * support/Makefile (libsupport-routines): Add blob_repeat.
4813 (tests): Add tst-support_blob_repeat.
4814 * support/blob_repeat.h: New file.
4815 * support/blob_repeat.c: Likewise.
4816 * support/tst-support_blob_repeat.c: Likewise.
4817 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
4818 support_blob_repeat_allocate.
4819
4820 2018-10-30 Andreas Schwab <schwab@suse.de>
4821
4822 [BZ #23125]
4823 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
4824 Don't use tail call.
4825 * elf/tst-unwind-main.c: New file.
4826 * elf/Makefile (tests): Add tst-unwind-main.
4827 (CFLAGS-tst-unwind-main.c): Define.
4828
4829 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
4830
4831 [BZ #23791]
4832 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
4833 n_cs_precedes to 0.
4834 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
4835
4836 2018-10-29 Joseph Myers <joseph@codesourcery.com>
4837
4838 * conform/glibcconform.py: Do not import shutil.
4839 (list_exported_functions): Use tempfile.TemporaryDirectory instead
4840 of mkdtemp.
4841
4842 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
4843 critic_missing for versions before 3.4.
4844 * configure: Regenerated.
4845 * manual/install.texi (Tools for Compilation): Document
4846 requirement for Python to build glibc.
4847 * INSTALL: Regenerated.
4848 * Rules [PYTHON]: Make code unconditional.
4849 * benchtests/Makefile [PYTHON]: Likewise.
4850 * conform/Makefile [PYTHON]: Likewise.
4851 * manual/Makefile [PYTHON]: Likewise.
4852 * math/Makefile [PYTHON]: Likewise.
4853
4854 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4855
4856 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
4857 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
4858 answer to interrupt_operation, return EIEIO instead of EINTR.
4859 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
4860 _hurd_intr_rpc_msg_about_to global point to start of controlled
4861 assembly snippet. Make it check canceled flag.
4862 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
4863 the _hurd_intr_rpc_msg_about_to point.
4864 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
4865 issue, remove cancel flag check.
4866
4867 2018-10-26 Joseph Myers <joseph@codesourcery.com>
4868
4869 * scripts/build-many-glibcs.py: Remove compatibility for missing
4870 os.cpu_count and re.fullmatch.
4871
4872 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
4873
4874 [BZ #23822]
4875 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
4876 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
4877 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
4878
4879 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4880
4881 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
4882 macro.
4883
4884 2018-10-25 Florian Weimer <fweimer@redhat.com>
4885
4886 [BZ #23562]
4887 [BZ #23821]
4888 XFAIL siginfo_t si_band conform test on sparc64.
4889 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4890 (__SI_BAND_TYPE): Only override long int default type on sparc64.
4891 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4892 (conformtest-xfail-conds): Add sparc64-linux.
4893 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
4894 sparc64.
4895 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
4896
4897 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4898
4899 * elf/elf.h (NT_MIPS_DSP): New macro.
4900 (NT_MIPS_FP_MODE): Likewise.
4901
4902 2018-10-25 Zong Li <zong@andestech.com>
4903
4904 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
4905 name by adding the file extension (.so).
4906
4907 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
4908
4909 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
4910 (test-xfail-ISO11/threads.h/linknamespace,
4911 test-xfail-ISO11/threads.h/conform): Add.
4912
4913 2018-10-24 Joseph Myers <joseph@codesourcery.com>
4914
4915 * math/gen-libm-test.py: Import os.
4916 (ALL_FLOATS_MANUAL): New constant.
4917 (ALL_FLOATS_SUFFIX): Likewise.
4918 (Ulps.all_functions): New function.
4919 (real_all_ulps): Likewise.
4920 (generate_err_table_sub): Likewise.
4921 (generate_err_table): Likewise.
4922 (main): Handle -s and -m options.
4923 * manual/libm-err-tab.pl: Remove.
4924 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
4925 instead of libm-err-tab.pl.
4926 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
4927 != no].
4928 * manual/install.texi (Tools for Compilation): Document
4929 requirement for Python to build manual.
4930 * INSTALL: Regenerated.
4931
4932 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4933
4934 * bits/time64.h: New file.
4935 * include/time.h: Replace internal_time_t with __time64_t.
4936 * posix/bits/types (__time64_t): Add.
4937 * stdlib/Makefile: Add bits/time64.h to includes.
4938 * time/tzfile.c: Replace internal_time_t with __time64_t.
4939
4940 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4941
4942 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
4943 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
4944 __posix_spawn_file_actions_init, __posix_spawnattr_init,
4945 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
4946 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
4947 prototype.
4948 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
4949 * posix/spawn_faction_addclose.c
4950 (__posix_spawn_file_actions_addclose): Add hidden definition.
4951 * posix/spawn_faction_adddup2.c
4952 (__posix_spawn_file_actions_adddup2): Likewise.
4953 * posix/spawn_faction_destroy.c
4954 (__posix_spawn_file_actions_destroy): Likewise.
4955 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
4956 Likewise.
4957 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
4958 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
4959 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
4960 Likewise.
4961 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
4962 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
4963 Likewise.
4964
4965 2018-10-24 Andreas Schwab <schwab@suse.de>
4966
4967 [BZ #18093]
4968 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
4969 format cache.
4970 * elf/cache.c (print_cache): Likewise.
4971
4972 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4973
4974 * bits/timesize.h: New file.
4975 * stdlib/Makefile (headers): Add bits/timesize.h.
4976 * sysdeps/unix/sysv/linux/bits/msq-pad.h
4977 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
4978 * sysdeps/unix/sysv/linux/bits/sem-pad.h
4979 (__SEM_PAD_AFTER_TIME): Likewise.
4980 * sysdeps/unix/sysv/linux/bits/shm-pad.h
4981 (__SHM_PAD_AFTER_TIME): Likewise.
4982 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
4983 (__MSQ_PAD_BEFORE_TIME): Likewise.
4984 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
4985 (__SEM_PAD_BEFORE_TIME): Likewise.
4986 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
4987 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4988 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
4989 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
4990 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
4991 (__MSQ_PAD_BEFORE_TIME): Likewise.
4992 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
4993 (__SEM_PAD_BEFORE_TIME): Likewise.
4994 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
4995 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4996 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
4997 (__MSQ_PAD_BEFORE_TIME): Likewise.
4998 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
4999 (__SEM_PAD_BEFORE_TIME): Likewise.
5000 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
5001 (__SHM_PAD_BEFORE_TIME): Likewise.
5002 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
5003 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5004 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
5005
5006 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
5007
5008 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
5009 USE_RDTSCP is defined.
5010 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
5011 USE_RDTSCP is defined.
5012
5013 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5014
5015 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
5016 defined.
5017
5018 [BZ #23709]
5019 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
5020 independently of other flags.
5021
5022 2018-10-23 Florian Weimer <fweimer@redhat.com>
5023
5024 * time/tst-mktime2.c (N_STRINGS): Remove.
5025 (set_timezone): New function.
5026 (spring_forward_gap): Call it. Use FAIL_EXIT1.
5027 (mktime_test1): Report localtime failure and check errno value.
5028 Use TEST_COMPARE.
5029 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
5030 (do_test): Remove alarm call. Use set_timezone and array_length.
5031
5032 2018-10-23 Andreas Schwab <schwab@suse.de>
5033
5034 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
5035 (__start_context): Use END instead of PSEUDO_END.
5036
5037 2018-10-22 Joseph Myers <joseph@codesourcery.com>
5038
5039 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5040 version to 4.19.
5041
5042 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5043 version to 4.19.
5044
5045 [BZ #23793]
5046 * wcsmbs/c32rtomb.c: New file.
5047 * wcsmbs/mbrtoc32.c: Likewise.
5048 * wcsmbs/tst-c32-state.c: Likewise.
5049 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
5050 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
5051 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
5052 (tests): Add tst-c32-state.
5053 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
5054 $(gen-locales).
5055
5056 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
5057
5058 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
5059 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
5060
5061 2018-10-19 Joseph Myers <joseph@codesourcery.com>
5062
5063 [BZ #23794]
5064 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
5065 pair and return 0 in that case, and use saved character to
5066 interpret following character.
5067 * wcsmbs/tst-c16-surrogate.c: New file.
5068 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
5069 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
5070 Depend on $(gen-locales)
5071
5072 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
5073
5074 [BZ #23562]
5075 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
5076 (struct siginfo_t): Use correct type for si_band.
5077
5078 2018-10-19 Florian Weimer <fweimer@redhat.com>
5079
5080 [BZ #23689]
5081 * resource/bits/types/struct_rusage.h (struct rusage): Update
5082 comment on struct. Remove extraneous field comment.
5083
5084 2018-10-18 David S. Miller <davem@davemloft.net>
5085
5086 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
5087 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
5088 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
5089 sysdep_routines in subdir elf.
5090 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
5091 version for __vdso_clock_gettime.
5092 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
5093 Define.
5094 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5095 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5096
5097 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
5098
5099 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
5100
5101 * sysdeps/i386/init-arch.h: Removed.
5102 * sysdeps/i386/i586/init-arch.h: Likewise.
5103 * sysdeps/i386/i686/init-arch.h: Likewise.
5104 * sysdeps/i386/i686/hp-timing.h: Likewise.
5105 * sysdeps/x86_64/hp-timing.h: Likewise.
5106 * sysdeps/i386/isa.h: New file.
5107 * sysdeps/i386/i586/isa.h: Likewise.
5108 * sysdeps/i386/i686/isa.h: Likewise.
5109 * sysdeps/x86_64/isa.h: Likewise.
5110 * sysdeps/x86/hp-timing.h: New file.
5111 * sysdeps/x86/init-arch.h: Include <isa.h>.
5112
5113 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5114
5115 * math/libm-test-pow.inc (pow_test_data): Do not allow
5116 divide-by-zero exception for pow(+/- 0, -Inf).
5117
5118 2018-10-17 Zack Weinberg <zackw@panix.com>
5119
5120 * manual/job.texi (Job Control is Optional): Remove node, as
5121 job control has not been optional in quite some time.
5122 (Job Control): Mention briefly that systems older than
5123 POSIX.1-2001 might not support job control.
5124 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
5125 defined on systems conforming to POSIX.1-2001.
5126
5127 2018-10-17 Arjun Shankar <arjun@redhat.com>
5128
5129 [BZ #22062]
5130 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
5131 indentation.
5132 * (__gconv_read_conf): Mark function static.
5133 * (once): New static variable.
5134 * (__gconv_load_conf): New function.
5135 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
5136 * iconv/gconv_db.c (once): Remove static variable.
5137 * (__gconv_compare_alias): Use __gconv_load_conf instead of
5138 __gconv_read_conf.
5139 * (__gconv_find_transform): Likewise.
5140 * iconv/tst-iconv-mt.c: New test.
5141 * iconv/Makefile: Add tst-iconv_mt.
5142
5143 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5144
5145 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5146 bits/shm-pad.h.
5147 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
5148 (shmatt_t): Define as __syscall_ulong_t.
5149 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
5150 and [__SHM_PAD_AFTER_TIME].
5151 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
5152 Define shm_segsz and associated padding based on
5153 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
5154 Use __syscall_ulong_t instead of unsigned long int.
5155 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
5156 unsigned long int.
5157 [__USE_MISC] (struct shm_info): Likewise.
5158 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
5159 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
5160 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
5161 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
5162 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
5163 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5164 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
5165 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
5166 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5167 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5168 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5169
5170 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5171 bits/shmlba.h.
5172 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
5173 (SHMLBA): Remove macro.
5174 (__getpagesize): Remove function declaration.
5175 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
5176 <bits/shmlba.h>.
5177 (SHMLBA): Remove macro.
5178 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
5179 <bits/shmlba.h>.
5180 (SHMLBA): Remove macro.
5181 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
5182 <bits/shmlba.h>.
5183 (SHMLBA): Remove macro.
5184 (__getpagesize): Remove function declaration.
5185 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
5186 <bits/shmlba.h>.
5187 (SHMLBA): Remove macro.
5188 (__getshmlba): Remove function declaration.
5189 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
5190 (SHMLBA): Remove macro.
5191 (__getpagesize): Remove function declaration.
5192 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
5193 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
5194 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5195 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
5196 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
5197 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
5198 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
5199 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
5200 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
5201 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
5202
5203 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
5204
5205 [BZ #23275]
5206 * nptl/tst-mutex10.c: New File.
5207 * nptl/Makefile (tests): Add tst-mutex10.
5208 (tst-mutex10-ENV): New variable.
5209 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
5210 Ensure that elision path is used if elision is available.
5211 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
5212 Likewise.
5213 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
5214 Likewise.
5215 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
5216 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
5217 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
5218 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
5219 Likewise.
5220 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
5221 (__pthread_mutex_cond_lock_adjust): Likewise.
5222 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5223 Likewise.
5224 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
5225 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5226 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5227 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
5228 Add comments.
5229 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5230 Use atomic_load_relaxed and atomic_store_relaxed.
5231 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
5232 Use atomic_store_relaxed.
5233
5234 2018-10-17 Andreas Schwab <schwab@suse.de>
5235
5236 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
5237 * crypt/badsalttest.c (TIMEOUT): Likewise.
5238 * crypt/sha256c-test.c (TIMEOUT): Likewise.
5239 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
5240 * io/test-lfs.c (TIMEOUT): Likewise.
5241 * libio/tst-atime.c (TIMEOUT): Likewise.
5242 * localedata/tst-leaks.c (TIMEOUT): Likewise.
5243 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
5244 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
5245 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
5246 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
5247 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
5248 * nptl/tst-cond11.c (TIMEOUT): Likewise.
5249 * nptl/tst-cond14.c (TIMEOUT): Likewise.
5250 * nptl/tst-cond15.c (TIMEOUT): Likewise.
5251 * nptl/tst-cond24.c (TIMEOUT): Likewise.
5252 * nptl/tst-cond25.c (TIMEOUT): Likewise.
5253 * nptl/tst-kill2.c (TIMEOUT): Likewise.
5254 * nptl/tst-kill3.c (TIMEOUT): Likewise.
5255 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
5256 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
5257 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
5258 * nptl/tst-once2.c (TIMEOUT): Likewise.
5259 * nptl/tst-once3.c (TIMEOUT): Likewise.
5260 * nptl/tst-once4.c (TIMEOUT): Likewise.
5261 * nptl/tst-robust8.c (TIMEOUT): Likewise.
5262 * nptl/tst-robust9.c (TIMEOUT): Likewise.
5263 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
5264 * nptl/tst-sem14.c (TIMEOUT): Likewise.
5265 * nptl/tst-sem6.c (TIMEOUT): Likewise.
5266 * nptl/tst-signal3.c (TIMEOUT): Likewise.
5267 * nptl/tst-spin4.c (TIMEOUT): Likewise.
5268 * nptl/tst-tls3.c (TIMEOUT): Likewise.
5269 * nptl/tst-tls4.c (TIMEOUT): Likewise.
5270 * posix/tst-chmod.c (TIMEOUT): Likewise.
5271 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
5272 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
5273 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
5274 * posix/tst-regex2.c (TIMEOUT): Likewise.
5275 * posix/tst-waitid.c (TIMEOUT): Likewise.
5276 * rt/tst-aio.c (TIMEOUT): Likewise.
5277 * rt/tst-aio10.c (TIMEOUT): Likewise.
5278 * rt/tst-aio4.c (TIMEOUT): Likewise.
5279 * rt/tst-aio5.c (TIMEOUT): Likewise.
5280 * rt/tst-aio6.c (TIMEOUT): Likewise.
5281 * rt/tst-aio64.c (TIMEOUT): Likewise.
5282 * rt/tst-aio7.c (TIMEOUT): Likewise.
5283 * rt/tst-aio9.c (TIMEOUT): Likewise.
5284 * rt/tst-clock.c (TIMEOUT): Likewise.
5285 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
5286 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
5287 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
5288 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
5289 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
5290 * rt/tst-timer4.c (TIMEOUT): Likewise.
5291 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
5292 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
5293 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
5294 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
5295 * time/tst-ftime.c (TIMEOUT): Likewise.
5296 * timezone/tst-tzset.c (TIMEOUT): Likewise.
5297
5298 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
5299
5300 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
5301 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
5302 for thunderX2.
5303
5304 2018-10-15 Joseph Myers <joseph@codesourcery.com>
5305
5306 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5307 bits/sem-pad.h.
5308 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
5309 instead of <bits/wordsize.h>.
5310 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
5311 and [__SEM_PAD_AFTER_TIME].
5312 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
5313 __syscall_ulong_t instead of unsigned long int.
5314 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
5315 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
5316 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
5317 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
5318 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
5319 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
5320 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
5321 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
5322 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5323 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5324 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5325
5326 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
5327
5328 regex: simplify by using intprops.h
5329 [BZ#23744]
5330 * posix/regex_internal.h [_LIBC]: Include intprops.h.
5331 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
5332 intprops.h defines them.
5333
5334 regex: __builtin_expect → __glibc_unlikely
5335 [BZ#23744]
5336 This refactoring was prompted by a problem when the regex code is
5337 used as part of Gnulib and when the builder’s compiler does not grok
5338 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
5339 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
5340 Although this refactoring does not fix the problem directly,
5341 we might as well have Gawk use the now-preferred glibc style for when
5342 __builtin_expect is unavailable.
5343 * posix/regex_internal.h (BE): Remove.
5344 All uses replaced by __glibc_unlikely or __glibc_likely.
5345
5346 2018-10-11 Joseph Myers <joseph@codesourcery.com>
5347
5348 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5349 bits/msq-pad.h.
5350 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
5351 instead of <bits/wordsize.h>.
5352 (msgqnum_t): Define as __syscall_ulong_t.
5353 (msglen_t): Likewise.
5354 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
5355 and [__MSQ_PAD_AFTER_TIME].
5356 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
5357 __syscall_ulong_t instead of unsigned long int.
5358 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
5359 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
5360 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
5361 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
5362 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
5363 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
5364 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
5365 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
5366 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5367 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5368 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5369
5370 2018-10-10 Joseph Myers <joseph@codesourcery.com>
5371
5372 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
5373 (struct shmid_ds): Condition padding after time fields on
5374 [__WORDSIZE == 32].
5375 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
5376 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
5377 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5378
5379 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
5380 (struct semid_ds): Condition padding after time fields on
5381 [__WORDSIZE == 32].
5382 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
5383 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
5384 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
5385 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5386
5387 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
5388 (struct msqid_ds): Condition padding after time fields on
5389 [__WORDSIZE == 32].
5390 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
5391 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
5392 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
5393 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5394
5395 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5396
5397 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
5398
5399 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5400
5401 * libio/tst-readline.c (TIMEOUT): Define.
5402
5403 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
5404
5405 mktime fix for Gnulib + coreutils
5406 [BZ#23745]
5407 This fix affects only Gnulib. Problem discovered when
5408 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
5409 * time/mktime.c:
5410 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
5411 Do not define since it is not used. Defining an unused static
5412 function prompts a warning from GCC when Coreutils is configured
5413 with --enable-gcc-warnings.
5414
5415 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5416
5417 * benchtests/scripts/compare_bench.py (main): set float type on
5418 threshold argument.
5419
5420 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
5421
5422 [BZ #23740]
5423 * localedata/locales/kl_GL (mon): Update, the relative case.
5424 (alt_mon): Add, fill with month names in the nominative case.
5425 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
5426 (d_fmt): Set to "%b %d %Y".
5427
5428 2018-10-04 Joseph Myers <joseph@codesourcery.com>
5429
5430 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
5431 <bits/mman-linux.h>.
5432 (PROT_READ): Don't define here.
5433 (PROT_WRITE): Likewise.
5434 (PROT_EXEC): Likewise.
5435 (PROT_NONE): Likewise.
5436 (PROT_GROWSDOWN): Likewise.
5437 (PROT_GROWSUP): Likewise.
5438 (MAP_SHARED): Likewise.
5439 (MAP_PRIVATE): Likewise.
5440 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
5441 [__USE_MISC] (MAP_FILE): Likewise.
5442 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
5443 [__USE_MISC] (MAP_ANON): Likewise.
5444 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
5445 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
5446 (MCL_CURRENT): Likewise.
5447 (MCL_FUTURE): Likewise.
5448 (MCL_ONFAULT): Likewise.
5449 [__USE_MISC] (MADV_NORMAL): Likewise.
5450 [__USE_MISC] (MADV_RANDOM): Likewise.
5451 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
5452 [__USE_MISC] (MADV_WILLNEED): Likewise.
5453 [__USE_MISC] (MADV_DONTNEED): Likewise.
5454 [__USE_MISC] (MADV_FREE): Likewise.
5455 [__USE_MISC] (MADV_REMOVE): Likewise.
5456 [__USE_MISC] (MADV_DONTFORK): Likewise.
5457 [__USE_MISC] (MADV_DOFORK): Likewise.
5458 [__USE_MISC] (MADV_HWPOISON): Likewise.
5459 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
5460 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
5461 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
5462 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
5463 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
5464 (__MAP_ANONYMOUS): New macro.
5465 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
5466 <bits/mman-linux.h> inclusion.
5467 (MAP_FIXED): Likewise.
5468 (MS_SYNC): Likewise.
5469 (MS_ASYNC): Likewise.
5470 (MS_INVALIDATE): Likewise.
5471 [__USE_MISC] (MADV_MERGEABLE): Likewise.
5472 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
5473 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
5474 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
5475 [__USE_MISC] (MADV_DONTDUMP): Likewise.
5476 [__USE_MISC] (MADV_DODUMP): Likewise.
5477 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
5478 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
5479
5480 [BZ #23735]
5481 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
5482 Define.
5483 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
5484 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
5485 Add test-nldbl-redirect.
5486 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
5487 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
5488 $(objpfx)libnldbl_nonshared.a.
5489
5490 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
5491
5492 * support/support.h (support_objdir_elf_ldso): New variable.
5493 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
5494 * support/Makefile (CFLAGS-support_paths.c): Add definition
5495 for OBJDIR_ELF_LDSO_PATH.
5496 * support/test-container.c (main): Search for the ld.so
5497 which is also used by the testsuite.
5498
5499 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
5500
5501 [BZ #20209]
5502 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
5503 should be "sap" rather than "sab".
5504 (day): Fix spelling of Sunday, should be "sapaat" rather than
5505 "sabaat".
5506
5507 2018-10-02 Joseph Myers <joseph@codesourcery.com>
5508
5509 * math/libm-test-fma.inc (fma_test_data): Add more tests.
5510
5511 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
5512
5513 [BZ #19444]
5514 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
5515 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
5516 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
5517
5518 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5519
5520 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
5521
5522 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
5523
5524 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
5525 Add -mrtm.
5526 (CFLAGS-elision-unlock.c): Likewise.
5527 (CFLAGS-elision-timed.c): Likewise.
5528 (CFLAGS-elision-trylock.c): Likewise.
5529 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
5530
5531 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5532
5533 [BZ #21037]
5534 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
5535 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
5536 new fd_to_filename interface.
5537 * libio/freopen64.c (freopen64): Likewise.
5538 * libio/tst-memstream.h: New file.
5539 * libio/tst-memstream4.c: Likewise.
5540 * libio/tst-wmemstream4.c: Likewise.
5541 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
5542 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
5543 and remove internal dynamic allocation.
5544
5545 2018-10-01 Joseph Myers <joseph@codesourcery.com>
5546
5547 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
5548 (MREMAP_MAYMOVE): Do not define here.
5549 [__USE_GNU] (MREMAP_FIXED): Likewise.
5550 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
5551 (MREMAP_MAYMOVE): Define here instead.
5552 [__USE_GNU] (MREMAP_FIXED): Likewise.
5553 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
5554 (MREMAP_MAYMOVE): Remove.
5555 [__USE_GNU] (MREMAP_FIXED): Likewise.
5556
5557 2018-09-28 Joseph Myers <joseph@codesourcery.com>
5558
5559 * math/fromfp.h: Do not include <math_private.h>.
5560 * math/s_cacosh_template.c: Likewise.
5561 * math/s_casin_template.c: Likewise.
5562 * math/s_casinh_template.c: Likewise.
5563 * math/s_ccos_template.c: Likewise.
5564 * math/s_cproj_template.c: Likewise.
5565 * math/s_fdim_template.c: Likewise.
5566 * math/s_fmaxmag_template.c: Likewise.
5567 * math/s_fminmag_template.c: Likewise.
5568 * math/s_iseqsig_template.c: Likewise.
5569 * math/s_ldexp_template.c: Likewise.
5570 * math/s_nextdown_template.c: Likewise.
5571 * math/w_log1p_template.c: Likewise.
5572 * math/w_scalbln_template.c: Likewise.
5573 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
5574 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
5575 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
5576 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
5577 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
5578 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
5579 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
5580 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
5581 * sysdeps/i386/fpu/s_atanl.c: Likewise.
5582 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
5583 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
5584 * sysdeps/i386/fpu/s_fdim.c: Likewise.
5585 * sysdeps/i386/fpu/s_logbl.c: Likewise.
5586 * sysdeps/i386/fpu/s_rintl.c: Likewise.
5587 * sysdeps/i386/fpu/s_significandl.c: Likewise.
5588 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
5589 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
5590 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5591 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5592 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
5593 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5594 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5595 * sysdeps/ieee754/k_standardf.c: Likewise.
5596 * sysdeps/ieee754/k_standardl.c: Likewise.
5597 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5598 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5599 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
5600 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5601 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5602 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5603 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5604 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5605 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5606 * sysdeps/ieee754/s_signgam.c: Likewise.
5607 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5608 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
5609 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
5610 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5611 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5612 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
5613 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5614 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
5615 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5616 * sysdeps/riscv/rvd/s_finite.c: Likewise.
5617 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
5618 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
5619 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
5620 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
5621 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
5622 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
5623 * sysdeps/riscv/rvf/fegetround.c: Likewise.
5624 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
5625 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
5626 * sysdeps/riscv/rvf/fesetround.c: Likewise.
5627 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
5628 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
5629 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
5630 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5631 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
5632 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5633 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
5634 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
5635 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
5636 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
5637 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
5638 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
5639 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
5640 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
5641 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5642 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5643 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
5644 <math_private.h>.
5645 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
5646
5647 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
5648
5649 [BZ #23716]
5650 * sysdeps/i386/dl-cet.c: Removed.
5651 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
5652 prototype.
5653 (_dl_runtime_profile_shstk): Likewise.
5654 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
5655 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
5656
5657 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5658
5659 [BZ #23579]
5660 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
5661 do_test_with_invalid_iov): New tests.
5662 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
5663 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
5664 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
5665 errno is ENOSYS.
5666 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
5667 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
5668 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
5669
5670 2018-09-27 Joseph Myers <joseph@codesourcery.com>
5671
5672 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5673 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
5674 (MATH_REDIRECT_BINARY_ARGS): New macro.
5675 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5676 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
5677 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
5678 header inclusion.
5679 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
5680 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5681 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
5682 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5683 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5684 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5685 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5687 Likewise.
5688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
5689 Likewise.
5690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
5692 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
5693 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
5694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
5695 Likewise.
5696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
5697 Likewise.
5698 * sysdeps/generic/math_private_calls.h
5699 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
5700 Do not declare and define as an inline function.
5701 * math/divtc3.c (__divtc3): Use copysign functions instead of
5702 __copysign variants.
5703 * math/multc3.c (__multc3): Likewise.
5704 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
5705 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
5706 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5707 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5708 Likewise.
5709 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5710 (__ieee754_yn): Likewise.
5711 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5712 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
5713 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5714 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5715 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
5716 (__sin): Likewise.
5717 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
5718 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5719 Likewise.
5720 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5721 Likewise.
5722 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5723 Likewise.
5724 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5725 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5726 Likewise.
5727 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5728 (__ieee754_ynf): Likewise.
5729 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
5730 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5731 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
5732 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5733 Likewise.
5734 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5735 (__ieee754_ynl): Likewise.
5736 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5737 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5738 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5739 Likewise.
5740 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5741 (__ieee754_ynl): Likewise.
5742 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
5743 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5744 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5745 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5746 Likewise.
5747 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5748 (__ieee754_ynl)
5749 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
5750 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5751 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
5752 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5753 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5754
5755 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5756 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
5757 using MATH_REDIRECT.
5758 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
5759 header inclusion.
5760 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
5761 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5762 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5763 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
5764 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5765 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5766 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
5768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
5769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
5770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
5771 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5772 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5773 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5774 (round): Redirect to __round.
5775 (__roundl): Call round instead of __round.
5776 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
5777 Remove macro.
5778 [_ARCH_PWR5X] (__roundf): Likewise.
5779 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
5780 functions instead of __round variants.
5781 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5782 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5783 Likewise.
5784 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5785 Likewise.
5786 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5787 Likewise.
5788 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
5789 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
5790 __lroundl.
5791 (__ieee754_expl): Call roundl instead of __roundl.
5792
5793 2018-09-27 Andreas Schwab <schwab@suse.de>
5794
5795 [BZ #23717]
5796 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
5797 (do_test): Make st1 static.
5798
5799 2018-09-26 Andreas Schwab <schwab@suse.de>
5800
5801 [BZ #23707]
5802 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
5803 * elf/Makefile (tests): Add tst-unwind-ctor.
5804 (modules-names): Add tst-unwind-ctor-lib.
5805 ($(objpfx)tst-unwind-ctor): Depend on
5806 $(objpfx)tst-unwind-ctor-lib.so.
5807
5808 2018-09-26 Joseph Myers <joseph@codesourcery.com>
5809
5810 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
5811 file. Most contents moved from ....
5812 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
5813 and include <bits/mman-map-flags-generic.h>.
5814 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5815 (sysdep_headers): Add bits/mman-map-flags-generic.h.
5816 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
5817 <bits/mman-map-flags-generic.h>.
5818 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
5819 macros defined in <bits/mman-map-flags-generic.h>.
5820 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
5821 <bits/mman-map-flags-generic.h>.
5822 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
5823 defined in <bits/mman-map-flags-generic.h>.
5824
5825 2018-09-26 Andreas Schwab <schwab@suse.de>
5826
5827 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
5828 output.
5829
5830 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
5831 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5832 Fangrui Song <maskray@google.com>
5833
5834 [BZ #20480]
5835 * config.make.in (have-textrel_ifunc): New define.
5836 * configure.ac: Add check if linker supports textrel relocation with
5837 ifunc.
5838 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
5839 tst-ifunc-textrel.
5840 (CFLAGS-tst-ifunc-textrel.c): New rule.
5841 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
5842 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
5843 * elf/tst-ifunc-textrel.c: New file.
5844
5845 2018-09-25 Joseph Myers <joseph@codesourcery.com>
5846
5847 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5848 <bits/procfs-prregset.h>.
5849 (prgregset_t): Define using __prgregset_t.
5850 (prfpregset_t): Define using __prfpregset_t.
5851 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5852 (sysdep_headers): Add bits/procfs-prregset.h.
5853 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
5854 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
5855 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
5856 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
5857
5858 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5859 <bits/procfs-id.h> and <bits/procfs-extra.h>.
5860 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
5861 pr_uid and pr_gid.
5862 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5863 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
5864 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
5865 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
5866 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
5867 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
5868 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
5869 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
5870 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
5871 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
5872 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
5873 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
5874 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
5875 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
5876 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
5877 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
5878 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
5879 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
5880 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
5881 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
5882 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
5883 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
5884 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5885 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
5886
5887 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
5888 AArch64 version. Include <bits/procfs.h>.
5889 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5890 (sysdep_headers): Add bits/procfs.h.
5891 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
5892 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
5893 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
5894 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
5895 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
5896 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
5897 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
5898 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
5899 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
5900 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
5901 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
5902 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
5903 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
5904 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
5905 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
5906 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5907 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
5908
5909 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5910
5911 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
5912 Use libsupport.
5913
5914 2018-09-25 Arjun Shankar <arjun@redhat.com>
5915
5916 * iconv/gconv_int.h (__gconv_path_elem): Remove.
5917 (__gconv_max_path_elem_len): Likewise.
5918 (__gconv_nmodules): Likewise.
5919 (__gconv_get_path): Likewise.
5920 (path_elem): Move to ...
5921 * iconv/gconv_conf.c: ... here.
5922 (__gconv_get_path): Mark function static.
5923 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
5924 * iconv/gconv_open.c: ... here.
5925
5926 2018-09-24 Andreas Schwab <schwab@suse.de>
5927
5928 * scripts/haveversions.awk: New file.
5929 * Makerules ($(common-objpfx)Versions.def)
5930 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5931 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5932 Move rules ...
5933 * Makeconfig ($(common-objpfx)Versions.def)
5934 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5935 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5936 ... here.
5937 ($(common-objpfx)Versions.mk): New rule. Include it.
5938 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
5939 Emit error if build-obsolete-nsl = yes.
5940 * manual/install.texi (Configuring and compiling): Describe
5941 --enable-obsolete-nsl as unavaiable after version 2.28.
5942 * INSTALL: Regenerate.
5943
5944 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5945
5946 * NEWS: Add note about new TLE support on powerpc64le.
5947 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
5948 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
5949 __ununsed1.
5950 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
5951 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
5952 * sysdeps/powerpc/powerpc32/sysdep.h,
5953 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
5954 ABORT_TRANSACTION): Remove macros.
5955 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
5956 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
5957 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
5958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
5959 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5960 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
5961 usage.
5962 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
5963
5964 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
5965
5966 [BZ #10425]
5967 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
5968 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
5969 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
5970 which is the same as in it_IT.
5971 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
5972 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
5973
5974 2018-09-20 Joseph Myers <joseph@codesourcery.com>
5975
5976 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5977 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
5978 using MATH_REDIRECT.
5979 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
5980 header inclusion.
5981 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
5982 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5983 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
5984 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5985 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5986 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
5988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
5989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
5990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
5991 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5992 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5993 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5994 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5995 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
5996 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
5997 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
5998 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5999 (ceil): Redirect to __ceil.
6000 (floor): Redirect to __floor.
6001 (trunc): Redirect to __trunc.
6002 (__truncl): Call trunc instead of __trunc.
6003 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
6004 Remove macro.
6005 [_ARCH_PWR5X] (__truncf): Likewise.
6006 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
6007 trunc functions instead of __trunc variants.
6008 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6009 Likewise.
6010 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6011 Likewise.
6012 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6013 Likewise.
6014 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6015 Likewise.
6016
6017 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
6018 [__i586__ || __pentium__].
6019 [__i486__]: Handle explicitly.
6020 (HAS_CPUID): Define to 1 if above macros are undefined.
6021 (HAS_I586): Likewise.
6022 (HAS_I686): Likewise.
6023
6024 2018-09-20 Florian Weimer <fweimer@redhat.com>
6025
6026 * misc/tst-gethostid.c: New file.
6027 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
6028 (tst-gethostid): Link with -ldl.
6029
6030 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
6031
6032 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
6033 value from gethostbyname_r.
6034
6035 2018-09-19 Carlos O'Donell <carlos@redhat.com>
6036
6037 * stdlib/tst-setcontext9.c (f1): Rename to...
6038 (f1a): ... this.
6039 (f1b): New function implementing lower half of f1 in alternate stack.
6040
6041 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
6042
6043 Fix mktime localtime offset confusion
6044 [BZ #23603]
6045 * include/time.h (__mktime_internal): The localtime offset is now
6046 of type long int instead of time_t. This is the longstanding type
6047 in glibc, and it is more than enough to represent difference
6048 between localtime and gmtime even if it is 32 bits and time_t is
6049 64. Changing it now will let us avoid an unnecessary change when
6050 time_t is widened to 64 bits on 32-bit platforms.
6051 * time/mktime-internal.h (mktime_offset_t): Now long int.
6052
6053 Merge mktime, timegm from upstream Gnulib
6054 [BZ #23603][BZ #16346]
6055 This fixes some obscure problems with integer overflow.
6056 Although it looks scary, it is almost all a byte-for-byte copy
6057 from Gnulib, and the Gnulib code has been tested reasonably well.
6058 * include/intprops.h: New file, copied from Gnulib.
6059 * include/verify.h, time/mktime-internal.h:
6060 New tiny files, simplified from Gnulib.
6061 * time/mktime.c: Copy from Gnulib. This has the following changes:
6062 Do not include config.h if DEBUG_MKTIME is nonzero.
6063 Include stdbool.h, intprops.h, verify.h.
6064 Include string.h only if needed.
6065 Include stdlib.h on MS-Windows.
6066 Include mktime-internal.h.
6067 (DEBUG_MKTIME): Default to 0, and simplify later uses.
6068 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
6069 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
6070 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
6071 simplify later conditionals; default the others to zero. Use
6072 these conditionals to express only the code needed on the current
6073 platform. In uses of these conditionals, explicitly spell out how
6074 _LIBC affects things, so it’s easier to review from a glibc
6075 viewpoint.
6076 (WRAPV): Remove; no longer needed now that we have
6077 systematic overflow checking.
6078 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
6079 compartmentalize tzset issues. Move system-dependent tzsettish
6080 code here from mktime.
6081 (verify): Remove; now done by verify.h. All uses changed.
6082 (long_int): Use a more-conservative definition, to avoid
6083 integer overflow.
6084 (SHR): Remove, replacing with ...
6085 (shr): New function, which means we needn’t worry about side
6086 effects in args, and conversion analysis is simpler.
6087 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
6088 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
6089 (time_t_avg, time_t_add_ok): Remove.
6090 (mktime_min, mktime_max): New constants.
6091 (leapyear, isdst_differ): Use bool for booleans.
6092 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
6093 Use long_int, not time_t, for mktime differences.
6094 (long_int_avg): New function, replacing time_t_avg.
6095 INT_ADD_WRAPV replaces time_t_add_ok.
6096 (guess_time_tm): 6th arg is now long_int, not time_t const *.
6097 All uses changed.
6098 (convert_time): New function.
6099 (ranged_convert): Use it.
6100 (__mktime_internal): Last arg now points to mktime_offset_t, not
6101 time_t. All uses changed. This is a no-op on glibc, where
6102 mktime_offset_t is always time_t. Use int, not time_t, for UTC
6103 offset guess. Directly check for integer overflow instead of
6104 using a heuristic that works only 99.9...% of the time.
6105 Access *OFFSET only once, to avoid an unlikely race if the
6106 compiler delays a load and if this cascades into a signed integer
6107 overflow.
6108 (mktime): Move tzsettish code to my_tzset, and move
6109 localtime_offset to within mktime so that it doesn’t
6110 need a separate ifdef.
6111 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
6112 instead of localtime.
6113 * time/timegm.c: Copy from Gnulib. This has the following changes:
6114 Include mktime-internal.h.
6115 [!_LIBC]: Include config.h and time.h. Do not include
6116 timegm.h or time_r.h. Make __mktime_internal a macro,
6117 and include mktime-internal.h to get its declaration.
6118 (timegm): Temporary is now mktime_offset_t, not time_t.
6119 This affects only Gnulib.
6120
6121 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
6122
6123 [BZ #23637]
6124 * string/test-strstr.c (pr23637): New function.
6125 (test_main): Add tests with longer needles.
6126 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
6127 * string/strstr.c (AVAILABLE): Likewise.
6128
6129 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6130
6131 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
6132
6133 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6134
6135 * NEWS: Mention pow improvements.
6136 * math/Makefile (type-double-routines): Add e_pow_log_data.
6137 * sysdeps/generic/math_private.h (__exp1): Remove.
6138 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
6139 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
6140 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
6141 contraction.
6142 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
6143 (exp_inline): Remove.
6144 (__ieee754_exp): Only single double input is handled.
6145 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
6146 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
6147 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
6148 (__pow_log_data): Define.
6149 * sysdeps/ieee754/dbl-64/upow.h: Remove.
6150 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
6151 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
6152 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
6153 contraction.
6154 (CFLAGS-e_pow-fma4.c): Likewise.
6155
6156 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
6157
6158 Simplify tzfile fstat failure code
6159 [BZ #21716]
6160 * time/tzfile.c (__tzfile_read): Simplify slightly.
6161
6162 Fix tzfile low-memory assertion failure
6163 [BZ #21716]
6164 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
6165 when registering time zone abbreviations.
6166
6167 2018-09-18 Joseph Myers <joseph@codesourcery.com>
6168
6169 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
6170 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
6171 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
6172 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
6173 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
6174 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
6175 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
6176 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6177 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6178
6179 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
6180 __ceil.
6181 (__ceill): Call ceil instead of __ceil.
6182 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
6183 __floor.
6184 (__floorl): Call floor instead of __floor.
6185
6186 2018-09-17 Joseph Myers <joseph@codesourcery.com>
6187
6188 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6189 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
6190 using MATH_REDIRECT.
6191 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
6192 header inclusion.
6193 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
6194 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6195 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6196 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
6197 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6198 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6199 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6200 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
6201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
6202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
6203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
6204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
6205 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6206 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6207 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
6208 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
6209 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
6210 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
6211 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
6212 Remove macro.
6213 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
6214 functions instead of __ceil variants.
6215 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6216 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6217 Likewise.
6218 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6219 Likewise.
6220 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6221 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6222 Likewise.
6223 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6224 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6225
6226 [BZ #21286]
6227 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
6228 constant.
6229 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
6230 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
6231 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
6232 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
6233 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
6234 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
6235 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
6236 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
6237 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
6238 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
6239 (ILL_BADIADDR): Remove constant.
6240 (TRAP_BRANCH): Likewise.
6241 (TRAP_HWBKPT): Likewise.
6242
6243 2018-09-14 Joseph Myers <joseph@codesourcery.com>
6244
6245 [BZ #23656]
6246 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
6247 Remove [_MIPS_SIM = _ABIN32] conditional case.
6248 (struct elf_prpsinfo): Likewise.
6249
6250 [BZ #23649]
6251 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
6252 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
6253 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
6254 Likewise.
6255 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
6256 elf_prpsinfo): Likewise.
6257 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
6258 elf_prpsinfo): Likewise.
6259 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
6260 Likewise.
6261
6262 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6263 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
6264 using MATH_REDIRECT.
6265 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
6266 header inclusion.
6267 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
6268 * sysdeps/alpha/fpu/s_rint.c: Likewise.
6269 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
6270 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6271 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6272 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6273 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
6274 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6275 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6276 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6277 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
6278 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
6279 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
6280 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
6281 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
6282 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6283 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6284 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
6285 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
6287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
6288 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
6289 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
6290 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
6291 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
6292 * sysdeps/x86_64/fpu/math_private.h: Remove file.
6293 * math/e_scalb.c (invalid_fn): Use rint functions instead of
6294 __rint variants.
6295 * math/e_scalbf.c (invalid_fn): Likewise.
6296 * math/e_scalbl.c (invalid_fn): Likewise.
6297 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6298 Likewise.
6299 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6300 Likewise.
6301 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6302 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
6303 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6304 Likewise.
6305 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6306 Likewise.
6307 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6308 Likewise.
6309 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
6310 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
6311
6312 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6313 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
6314 New macro.
6315 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6316 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
6317 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6318 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
6319 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6320 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
6321 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6322 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
6323 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6324 && !NO_MATH_REDIRECT] (floor): Likewise.
6325 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
6326 header inclusion.
6327 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
6328 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6329 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6330 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
6331 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6332 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6333 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6334 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
6335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
6336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
6337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
6338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
6339 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6340 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6341 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
6342 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
6343 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
6344 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
6345 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
6346 Remove macro.
6347 [_ARCH_PWR5X] (__floorf): Likewise.
6348 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
6349 inline function.
6350 [__SSE4_1__] (__floorf): Likewise.
6351 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
6352 instead of __floor variants.
6353 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
6354 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
6355 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
6356 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
6357 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
6358 * math/w_tgamma_compat.c (__tgamma): Likewise.
6359 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
6360 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
6361 * math/w_tgammal_compat.c (__tgammal): Likewise.
6362 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
6363 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6364 Likewise.
6365 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
6366 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
6367 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
6368 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6369 Likewise.
6370 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6371 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
6372 Likewise.
6373 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6374 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
6375 Likewise.
6376 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6377 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
6378 Likewise.
6379 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6380 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6381 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
6382 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
6383 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6384 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6385
6386 2018-09-12 Joseph Myers <joseph@codesourcery.com>
6387
6388 * elf/Makefile (modules-names-tests): New variable.
6389
6390 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6391
6392 * NEWS: Mention log2 improvements.
6393 * math/Makefile (type-double-routines): Add e_log2_data.
6394 * sysdeps/i386/fpu/e_log2_data.c: New file.
6395 * sysdeps/ia64/fpu/e_log2_data.c: New file.
6396 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
6397 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
6398 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
6399 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
6400 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
6401
6402 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6403
6404 * NEWS: Mention log improvement.
6405 * math/Makefile (type-double-routines): Add e_log_data.
6406 * sysdeps/i386/fpu/e_log_data.c: New file.
6407 * sysdeps/ia64/fpu/e_log_data.c: New file.
6408 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
6409 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
6410 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
6411 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
6412 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
6413 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
6414
6415 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
6416 Xuepeng Guo <xuepeng.guo@intel.com>
6417
6418 [BZ #23606]
6419 * sysdeps/i386/start.S: Include <sysdep.h>
6420 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
6421 enabled. Add cfi_undefined (eip).
6422
6423 2018-09-11 Joseph Myers <joseph@codesourcery.com>
6424
6425 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
6426 (MOVQ): Likewise.
6427 (EXTRACT_WORDS64): Likewise.
6428 (INSERT_WORDS64): Likewise.
6429 (GET_FLOAT_WORD): Likewise.
6430 (SET_FLOAT_WORD): Likewise.
6431
6432 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
6433 argument.
6434 (Config.build_gcc): Use --disable-libsanitizer for first GCC
6435 build, but not for second build if --full-gcc. Use
6436 --enable-languages=all for second build if --full-gcc.
6437 (get_parser): Add --full-gcc option.
6438 (main): Update call to Context.
6439
6440 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
6441
6442 [BZ #10797]
6443 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
6444 Single Quotation Mark).
6445 (thousands_sep): Likewise.
6446 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
6447 * localedata/locales/it_IT (thousands_sep): Use ".".
6448 (grouping): Use "3;3".
6449
6450 2018-09-10 Joseph Myers <joseph@codesourcery.com>
6451
6452 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
6453 x86_64 and i686 configs using --enable-obsolete-rpc
6454 --enable-obsolete-nsl.
6455
6456 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6457
6458 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6459
6460 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6461
6462 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
6463 Increment size of new_argv by one.
6464
6465 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
6466
6467 [BZ #17426]
6468 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
6469 * localedata/locales/ar_IN (d_fmt): Likewise.
6470 * localedata/locales/bhb_IN (d_fmt): Likewise.
6471 * localedata/locales/bho_IN (d_fmt): Likewise.
6472 * localedata/locales/bn_BD (d_fmt): Likewise.
6473 * localedata/locales/bn_IN (d_fmt): Likewise.
6474 * localedata/locales/doi_IN (d_fmt): Likewise.
6475 * localedata/locales/gu_IN (d_fmt): Likewise.
6476 * localedata/locales/hi_IN (d_fmt): Likewise.
6477 * localedata/locales/hne_IN (d_fmt): Likewise.
6478 * localedata/locales/kn_IN (d_fmt): Likewise.
6479 * localedata/locales/mag_IN (d_fmt): Likewise.
6480 * localedata/locales/mai_IN (d_fmt): Likewise.
6481 * localedata/locales/mjw_IN (d_fmt): Likewise.
6482 * localedata/locales/ml_IN (d_fmt): Likewise.
6483 * localedata/locales/mni_IN (d_fmt): Likewise.
6484 * localedata/locales/mr_IN (d_fmt): Likewise.
6485 * localedata/locales/pa_IN (d_fmt): Likewise.
6486 * localedata/locales/raj_IN (d_fmt): Likewise.
6487 * localedata/locales/sat_IN (d_fmt): Likewise.
6488 * localedata/locales/sd_IN (d_fmt): Likewise.
6489 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
6490 * localedata/locales/ta_IN (d_fmt): Likewise.
6491 * localedata/locales/ta_LK (d_fmt): Likewise.
6492 * localedata/locales/tcy_IN (d_fmt): Likewise.
6493 * localedata/locales/ur_IN (d_fmt): Likewise.
6494
6495 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
6496 * localedata/locales/ks_IN (d_fmt): Likewise.
6497 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
6498
6499 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
6500 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
6501 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
6502 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
6503
6504 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
6505
6506 * NEWS: Mention exp and exp2 improvements.
6507 * math/Makefile (libm-support): Remove t_exp.
6508 (type-double-routines): Add math_err and e_exp_data.
6509 * sysdeps/aarch64/libm-test-ulps: Update.
6510 * sysdeps/arm/libm-test-ulps: Update.
6511 * sysdeps/i386/fpu/e_exp_data.c: New file.
6512 * sysdeps/i386/fpu/math_err.c: New file.
6513 * sysdeps/i386/fpu/t_exp.c: Remove.
6514 * sysdeps/ia64/fpu/e_exp_data.c: New file.
6515 * sysdeps/ia64/fpu/math_err.c: New file.
6516 * sysdeps/ia64/fpu/t_exp.c: Remove.
6517 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
6518 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
6519 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
6520 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
6521 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
6522 * sysdeps/ieee754/dbl-64/math_config.h: New file.
6523 * sysdeps/ieee754/dbl-64/math_err.c: New file.
6524 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
6525 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
6526 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
6527 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
6528 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
6529 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
6530 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
6531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6532 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6533
6534 2018-09-05 Joseph Myers <joseph@codesourcery.com>
6535
6536 * sysdeps/alpha/fpu/math_private.h: Remove.
6537
6538 * sysdeps/generic/math_private.h
6539 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
6540 Move this inline function ....
6541 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
6542 * include/math.h [!_ISOMAC]: To here....
6543
6544 2018-09-04 Joseph Myers <joseph@codesourcery.com>
6545
6546 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
6547 code ....
6548 [!FE_HAVE_ROUNDING_MODES]: And this code ....
6549 * include/fenv.h [!_ISOMAC]: ... to here.
6550 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
6551 (feraiseexcept): Likewise.
6552 * math/fromfp.h: Do not include <fenv_private.h>.
6553 * math/s_cexp_template.c: Likewise.
6554 * math/s_csin_template.c: Likewise.
6555 * math/s_csinh_template.c: Likewise.
6556 * math/s_ctan_template.c: Likewise.
6557 * math/s_ctanh_template.c: Likewise.
6558 * math/s_iseqsig_template.c: Likewise.
6559 * math/w_acos_compat.c: Likewise.
6560 * math/w_acosf_compat.c: Likewise.
6561 * math/w_acosl_compat.c: Likewise.
6562 * math/w_asin_compat.c: Likewise.
6563 * math/w_asinf_compat.c: Likewise.
6564 * math/w_asinl_compat.c: Likewise.
6565 * math/w_j0_compat.c: Likewise.
6566 * math/w_j0f_compat.c: Likewise.
6567 * math/w_j0l_compat.c: Likewise.
6568 * math/w_j1_compat.c: Likewise.
6569 * math/w_j1f_compat.c: Likewise.
6570 * math/w_j1l_compat.c: Likewise.
6571 * math/w_jn_compat.c: Likewise.
6572 * math/w_jnf_compat.c: Likewise.
6573 * math/w_log10_compat.c: Likewise.
6574 * math/w_log10f_compat.c: Likewise.
6575 * math/w_log10l_compat.c: Likewise.
6576 * math/w_log2_compat.c: Likewise.
6577 * math/w_log2f_compat.c: Likewise.
6578 * math/w_log2l_compat.c: Likewise.
6579 * math/w_log_compat.c: Likewise.
6580 * math/w_logf_compat.c: Likewise.
6581 * math/w_logl_compat.c: Likewise.
6582 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6583 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6584 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6585 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6586 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6587 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6588 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6589 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6590 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6591 * sysdeps/ieee754/k_standardl.c: Likewise.
6592 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6593 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6594 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6595 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6596 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6597 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6598 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6599 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6600 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6601 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6602 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6603 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6604 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6605 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6606 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6607 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6608 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6609 * math/w_ilogb_template.c: Include <fenv.h> instead of
6610 <fenv_private.h>.
6611 * math/w_llogb_template.c: Likewise.
6612 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6613 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6614
6615 2018-09-03 Joseph Myers <joseph@codesourcery.com>
6616
6617 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
6618 * math/fromfp.h: Include <fenv_private.h>.
6619 * math/math-narrow.h: Likewise.
6620 * math/s_cexp_template.c: Likewise.
6621 * math/s_csin_template.c: Likewise.
6622 * math/s_csinh_template.c: Likewise.
6623 * math/s_ctan_template.c: Likewise.
6624 * math/s_ctanh_template.c: Likewise.
6625 * math/s_iseqsig_template.c: Likewise.
6626 * math/w_acos_compat.c: Likewise.
6627 * math/w_acosf_compat.c: Likewise.
6628 * math/w_acosl_compat.c: Likewise.
6629 * math/w_asin_compat.c: Likewise.
6630 * math/w_asinf_compat.c: Likewise.
6631 * math/w_asinl_compat.c: Likewise.
6632 * math/w_ilogb_template.c: Likewise.
6633 * math/w_j0_compat.c: Likewise.
6634 * math/w_j0f_compat.c: Likewise.
6635 * math/w_j0l_compat.c: Likewise.
6636 * math/w_j1_compat.c: Likewise.
6637 * math/w_j1f_compat.c: Likewise.
6638 * math/w_j1l_compat.c: Likewise.
6639 * math/w_jn_compat.c: Likewise.
6640 * math/w_jnf_compat.c: Likewise.
6641 * math/w_llogb_template.c: Likewise.
6642 * math/w_log10_compat.c: Likewise.
6643 * math/w_log10f_compat.c: Likewise.
6644 * math/w_log10l_compat.c: Likewise.
6645 * math/w_log2_compat.c: Likewise.
6646 * math/w_log2f_compat.c: Likewise.
6647 * math/w_log2l_compat.c: Likewise.
6648 * math/w_log_compat.c: Likewise.
6649 * math/w_logf_compat.c: Likewise.
6650 * math/w_logl_compat.c: Likewise.
6651 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6652 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6653 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6654 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6655 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6656 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6657 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6658 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6659 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6660 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6661 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6662 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6663 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
6664 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
6665 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6666 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6667 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6668 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6669 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6670 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6671 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6672 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6673 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6674 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6675 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6676 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6677 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6678 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
6679 * sysdeps/ieee754/float128/float128_private.h: Likewise.
6680 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6681 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6682 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6683 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
6684 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6685 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6686 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6687 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6688 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6689 * sysdeps/ieee754/k_standardl.c: Likewise.
6690 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6691 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6692 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6693 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6694 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6695 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6696 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6697 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6698 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6699 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6700 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6701 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6702 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6703 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6704 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6705 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6706 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6707 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
6708 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6709 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6710 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6711 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6712 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6713 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6714 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6715 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6716 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6717 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6718 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
6719 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6720 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6721 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6722 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6723 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6724 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6725 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6726 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6727 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6728 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6729 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6730 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6731 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6732 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6733 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6734 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6735 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6736 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6737 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6738 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6739 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6740 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6741 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6742 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6743 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6744 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6745 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6746 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6747 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6748 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6749 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6750 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6751 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6752 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6753 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6754 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6755 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6756 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6757 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6758 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6759 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6760 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6761
6762 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6763
6764 [BZ #20271]
6765 * include/stdio.h (__libc_fatal): Mention newline in comment.
6766 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
6767 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
6768 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6769 * nss/nsswitch.c (__nss_next2): Likewise.
6770 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
6771 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
6772 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
6773 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6774 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
6775 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
6776 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
6777 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
6778 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
6779 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
6780 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
6781 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6782 (__netlink_assert_response): Likewise.
6783
6784 2018-08-31 Joseph Myers <joseph@codesourcery.com>
6785
6786 * conform/glibcconform.py: New file.
6787 * conform/list-header-symbols.py: Likewise.
6788 * conform/list-header-symbols.pl: Remove.
6789 * conform/Makefile (tests-special): Only add linknamespace tests
6790 if [PYTHON].
6791 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
6792
6793 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
6794
6795 [BZ #23597]
6796 * support/Makefile (libsupport-routines): Add
6797 support_copy_file_range and xcopy_file_range.
6798 * support/support.h: Include <sys/types.h>.
6799 (support_copy_file_range): New prototype.
6800 * support/support_copy_file_range.c: New file. Copied and
6801 modified from io/copy_file_range-compat.c.
6802 * support/test-container.c (copy_one_file): Call xcopy_file_rang
6803 instead of copy_file_range.
6804 * support/xcopy_file_range.c: New file.
6805 * support/xunistd.h (xcopy_file_range): New prototype.
6806
6807 2018-08-30 Carlos O'Donell <carlos@redhat.com>
6808
6809 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
6810 xpthread_create and xpthread_join.
6811
6812 2018-08-30 Florian Weimer <fweimer@redhat.com>
6813
6814 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
6815
6816 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
6817
6818 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
6819 if malloc fails.
6820
6821 2018-08-29 Joseph Myers <joseph@codesourcery.com>
6822
6823 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
6824 and minus_oflow as non-finite.
6825
6826 2018-08-28 Joseph Myers <joseph@codesourcery.com>
6827
6828 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
6829 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
6830 moved to fenv_private.h except for ...
6831 (TOINT_INTRINSICS): Kept in math_private.h.
6832 (roundtoint): Likewise.
6833 (converttoint): Likewise.
6834 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
6835 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6836 * sysdeps/arm/math_private.h: Remove.
6837 * sysdeps/generic/fenv_private.h: New file. Contents moved from
6838 ....
6839 * sysdeps/generic/math_private.h: ... this file. Include
6840 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
6841 Include <fenv_private.h>. Remove functions and macros moved to
6842 fenv_private.h.
6843 * sysdeps/i386/fpu/math_private.h: Remove.
6844 * sysdeps/mips/math_private.h: Move to ....
6845 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
6846 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
6847 [__mips_hard_float] conditional. Include next <fenv_private.h>.
6848 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
6849 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6850 * sysdeps/powerpc/fpu/math_private.h: Do not include
6851 <fenv_private.h>.
6852 * sysdeps/riscv/rvf/math_private.h: Move to ....
6853 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
6854 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
6855 <fenv_private.h>.
6856 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
6857 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6858 * sysdeps/sparc/fpu/math_private.h: Remove.
6859 * sysdeps/i386/fpu/fenv_private.h: Move to ....
6860 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
6861 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
6862 <fenv_private.h>.
6863 * sysdeps/x86_64/fpu/math_private.h: Do not include
6864 <sysdeps/i386/fpu/fenv_private.h>.
6865
6866 2018-08-28 Florian Weimer <fweimer@redhat.com>
6867
6868 [BZ #23578]
6869 * posix/tst-regcomp-truncated.c: New file.
6870 * posix/Makefile (tests): Add it.
6871 (tst-regcomp-truncated.out): Depend on generated locales.
6872
6873 2018-08-28 Florian Weimer <fweimer@redhat.com>
6874
6875 * support/test-container.c (main): Treat unshare failure with
6876 EPERM as an unsupported test.
6877
6878 2018-08-28 Florian Weimer <fweimer@redhat.com>
6879
6880 [BZ #23520]
6881 nscd: Fix use-after-free in addgetnetgrentX and its callers.
6882 * nscd/netgroupcache.c
6883 (addgetnetgrentX): Add tofreep parameter. Do not free
6884 heap-allocated buffer.
6885 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
6886 (addgetnetgrentX_ignore): New function.
6887 (addgetnetgrent): Call it.
6888 (readdgetnetgrent): Likewise.
6889
6890 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6891
6892 * string/memmem.c: Use memcmp for first match.
6893
6894 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6895
6896 [BZ #17426]
6897 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
6898
6899 2018-08-27 DJ Delorie <dj@redhat.com>
6900
6901 * support/Makefile (others): Don't list programs explicitly as a
6902 dependency of "others".
6903
6904 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6905
6906 * sysdeps/generic/math-tests-trap-force.h: New file.
6907 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
6908 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
6909 * sysdeps/powerpc/math-tests.h: Remove file.
6910 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
6911
6912 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
6913 Torvald Riegel <triegel@redhat.com>
6914
6915 [BZ #23538]
6916 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
6917 Update r to include the set wake-request flag if waiters are
6918 remaining after spinning.
6919
6920 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6921
6922 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
6923
6924 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
6925
6926 [BZ #23578]
6927 regex: fix uninitialized memory access
6928 I introduced this bug into gnulib in commit
6929 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
6930 eventually it was merged into glibc. The bug was found by
6931 project-repo <bugs@feusi.co> and reported here:
6932 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
6933 Diagnosis and draft fix reported by Assaf Gordon here:
6934 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
6935 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
6936 * posix/regex_internal.c (build_wcs_upper_buffer):
6937 Fix bug when mbrtowc returns 0.
6938
6939 2018-08-24 Carlos O'Donell <carlos@redhat.com>
6940
6941 * po/be.po: Update translation.
6942
6943 2018-08-24 DJ Delorie <dj@delorie.com>
6944
6945 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
6946 $(libunwind).
6947
6948 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6949
6950 [BZ #23400]
6951 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
6952 create temporary files in source tree.
6953
6954 2018-08-24 Joseph Myers <joseph@codesourcery.com>
6955
6956 * sysdeps/generic/math-tests-trap.h: New file.
6957 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
6958 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
6959 * sysdeps/aarch64/math-tests.h: Remove file.
6960 * sysdeps/arm/math-tests.h: Likewise.
6961 * sysdeps/riscv/math-tests.h: Likewise.
6962 * sysdeps/aarch64/math-tests-trap.h: New file.
6963 * sysdeps/arm/math-tests-trap.h: Likewise.
6964 * sysdeps/riscv/math-tests-trap.h: Likewise.
6965
6966 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
6967
6968 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
6969 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
6970 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
6971 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
6972 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
6973 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
6974 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6975 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
6976 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
6977 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6978 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6979 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6980 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6981 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
6982 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
6983 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
6984 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6985 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6986
6987 2018-08-23 Joseph Myers <joseph@codesourcery.com>
6988
6989 * sysdeps/generic/math-tests-exceptions.h: New file.
6990 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
6991 (EXCEPTION_TESTS_float): Do not define here.
6992 (EXCEPTION_TESTS_double): Likewise.
6993 (EXCEPTION_TESTS_long_double): Likewise.
6994 (EXCEPTION_TESTS_float128): Likewise.
6995 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
6996 Likewise.
6997 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
6998 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
6999 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
7000 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
7001 * sysdeps/mips/math-tests.h: Likewise.
7002 * sysdeps/nios2/math-tests.h: Likewise.
7003 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7004 (EXCEPTION_TESTS_float): Do not define here.
7005 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
7006 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
7007 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
7008
7009 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7010
7011 * NEWS: Move optimized sinf entry to 2.29.
7012
7013 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7014
7015 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
7016
7017 2018-08-22 DJ Delorie <dj@redhat.com>
7018
7019 * Makefile (testroot.pristine): New rules to initialize the
7020 test-in-container "testroot".
7021 * Makerules (all-testsuite): Add tests-container.
7022 * Rules (tests-expected): Add tests-container.
7023 (binaries-all-tests): Likewise.
7024 (tests-container): New, run these tests in the testroot container.
7025 * support/Makefile (others): Add *-container, support_paths.c,
7026 xmkdirp, and links-dso-program.
7027 * support/links-dso-program-c.c: New.
7028 * support/links-dso-program.cc: New.
7029 * support/test-container.c: New.
7030 * support/shell-container.c: New.
7031 * support/echo-container.c: New.
7032 * support/true-container.c: New.
7033 * support/xmkdirp.c: New.
7034 * support/xsymlink.c: New.
7035 * support/support_paths.c: New.
7036 * support/support.h: Add support paths prototypes.
7037 * support/xunistd.h: Add xmkdirp () and xsymlink ().
7038
7039 * nss/tst-nss-test3.c: Convert to test-in-container.
7040 * nss/tst-nss-test3.root/: New.
7041
7042 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
7043
7044 regex: port Gnulib code to z/OS POSIX environment
7045 Problem reported by Arnold Robbins in:
7046 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
7047 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
7048 Undef.
7049
7050 2018-08-22 Joseph Myers <joseph@codesourcery.com>
7051
7052 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
7053 (ROUNDING_TESTS_double): Remove.
7054 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
7055 (ROUNDING_TESTS_double): Remove.
7056 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
7057 (ROUNDING_TESTS_double): Remove.
7058 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
7059 (ROUNDING_TESTS_float): Remove.
7060 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
7061 (ROUNDING_TESTS_float): Remove.
7062 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
7063 (ROUNDING_TESTS_float): Remove.
7064 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
7065 !TEST_MATHVEC here.
7066 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7067 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7068
7069 * sysdeps/generic/math-tests-rounding.h: New file.
7070 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
7071 (ROUNDING_TESTS_float): Do not define here.
7072 (ROUNDING_TESTS_double): Likewise.
7073 (ROUNDING_TESTS_long_double): Likewise.
7074 (ROUNDING_TESTS_float128): Likewise.
7075 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
7076 (ROUNDING_TESTS_double): Undefine before defining.
7077 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
7078 (ROUNDING_TESTS_double): Undefine before defining.
7079 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
7080 (ROUNDING_TESTS_double): Undefine before defining.
7081 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
7082 (ROUNDING_TESTS_float): Undefine before defining.
7083 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
7084 (ROUNDING_TESTS_float): Undefine before defining.
7085 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
7086 (ROUNDING_TESTS_float): Undefine before defining.
7087 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
7088 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
7089 not define here.
7090 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
7091 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
7092 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
7093 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7094 (ROUNDING_TESTS_float): Do not define here.
7095 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
7096 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
7097 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
7098 (ROUNDING_TESTS_float): Likewise.
7099 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
7100 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
7101 * sysdeps/mips/math-tests.h [__mips_soft_float]
7102 (ROUNDING_TESTS_float): Likewise.
7103 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
7104 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
7105 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
7106 (ROUNDING_TESTS_double): Likewise.
7107 (ROUNDING_TESTS_long_double): Likewise.
7108
7109 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
7110
7111 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
7112 (PF_XDP): New macro.
7113 (AF_XDP): New macro.
7114 (SOL_XDP): New macro.
7115
7116 2018-08-21 Joseph Myers <joseph@codesourcery.com>
7117
7118 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
7119 (TCP_INQ): Likewise.
7120 (TCP_CM_INQ): Likewise.
7121 (TCP_REPAIR_ON): Likewise.
7122 (TCP_REPAIR_OFF): Likewise.
7123 (TCP_REPAIR_OFF_NO_WP): Likewise.
7124 (struct tcp_zerocopy_receive): New type.
7125
7126 2018-08-21 Florian Weimer <fweimer@redhat.com>
7127
7128 * support/support.h (support_descriptor_supports_holes): Declare.
7129 * support/Makefile (libsupport-routines): Add
7130 support_descriptor_supports_holes.
7131 * support/support_descriptor_supports_holes.c: New file.
7132 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
7133 and stop testing if holes are not supported.
7134 * io/test-lfs.c (do_prepare): Likewise.
7135 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
7136 Likewise.
7137 * timezone/tst-tzset.c (create_tz_file): Likewise.
7138 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
7139 variable.
7140 (do_prepare): Set it.
7141 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
7142
7143 2018-08-21 Florian Weimer <fweimer@redhat.com>
7144
7145 [BZ #17248]
7146 * Makeconfig (+cflags): Do not sort (and deduplicate).
7147
7148 2018-08-21 Florian Weimer <fweimer@redhat.com>
7149
7150 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
7151 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
7152
7153 2018-08-20 Florian Weimer <fweimer@redhat.com>
7154
7155 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
7156 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
7157
7158 2018-08-20 Joseph Myers <joseph@codesourcery.com>
7159
7160 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
7161 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
7162 and ssi_arch members.
7163
7164 * elf/elf.c (NT_VMCOREDD): New macro.
7165 (AT_MINSIGSTKSZ): Likewise.
7166
7167 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7168
7169 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7170 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
7171 s_cosf-ppc64 and s_cosf-power8.
7172 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
7173 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7174 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7175 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
7177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
7178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
7179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
7180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
7181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
7182 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
7183 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
7184
7185 2018-08-17 Florian Weimer <fweimer@redhat.com>
7186
7187 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7188
7189 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
7190
7191 * malloc/malloc.c (_int_malloc): Additional binning code checks.
7192
7193 2018-08-16 Florian Weimer <fweimer@redhat.com>
7194
7195 * configure.ac: Add --with-nonshared-cflags option.
7196 * config.make.in (extra-nonshared-cflags): Set variable.
7197 * Makeconfig (CFLAGS-.oS): Use it.
7198 * manual/install.texi (Configuring and compiling): Document
7199 --with-nonshared-cflags.
7200 * configure: Regenerate.
7201 * INSTALL: Likewise.
7202
7203 2018-08-16 Florian Weimer <fweimer@redhat.com>
7204
7205 * Makeconfig (ASFLAGS): Always append required assembler flags.
7206
7207 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
7208
7209 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
7210 (malloc_consolidate): Likewise.
7211
7212 2018-08-16 Pochang Chen <johnchen902@gmail.com>
7213
7214 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
7215
7216 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7217
7218 * benchtests/bench-strlen.c (do_test): Allocate buffers before
7219 every strlen call.
7220
7221 * benchtests/bench-strlen.c: Print performance numbers in json.
7222
7223 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7224
7225 * sysdeps/powerpc/powerpc64/multiarch/Makefile
7226 (sysdep_routines): Build strcmp-power9 and strncmp-power9
7227 only for little endian.
7228 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7229 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
7230 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
7231 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
7232 Add check for little endian.
7233 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
7234 (__strcmp_power9): Add check for little endian.
7235 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
7236 Add check for little endian.
7237 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
7238 (__strncmp_power9): Add check for little endian.
7239 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
7240 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
7241 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
7242 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
7243 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
7244
7245 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
7246
7247 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
7248 [!STRLEN](STRLEN): Set to __strlen.
7249 * sysdeps/aarch64/multiarch/strlen.c: New file.
7250 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
7251 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
7252 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7253 (__libc_ifunc_impl_list): Add strlen.
7254 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
7255 strlen_generic and strlen_asimd.
7256
7257 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7258
7259 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
7260 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
7261 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7262
7263 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7264
7265 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
7266
7267 2018-08-14 Florian Weimer <fweimer@redhat.com>
7268
7269 [BZ #23519]
7270 * include/stdio.h (__vfxprintf): Declare.
7271 * stdio-common/fxprintf.c (__vfxprintf): New function.
7272 (__fxprintf): Call it.
7273 * misc/err.c (convert_and_print): Remove function.
7274 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
7275 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
7276 * misc/Makefile (tests): Add tst-warn-wide.
7277 * misc/tst-warn-wide.c: New file.
7278
7279 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
7280 Szabolcs Nagy <szabolcs.nagy@arm.com>
7281
7282 * NEWS: Mention sinf, cosf, sincosf.
7283 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
7284 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
7285 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
7286 constants rather than including generic sincosf.h.
7287 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
7288 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
7289 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
7290 (reduced_cos): Remove.
7291 (sinf_poly): New function.
7292 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
7293
7294 2018-08-14 Florian Weimer <fweimer@redhat.com>
7295
7296 [BZ #23521]
7297 [BZ #23522]
7298 * nss/nss_files/files-alias.c (get_next_alias): During :include:
7299 processing, bail out if no room, and close the stream before
7300 returning ERANGE.
7301 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
7302 (tst-nss-files-alias-leak): Link with libdl.
7303 (tst-nss-files-alias-leak.out): Depend on nss_files.
7304
7305 * nss/tst-nss-files-alias-leak.c: New file.
7306
7307 2018-08-14 Florian Weimer <fweimer@redhat.com>
7308
7309 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
7310 server_user, stat_user.
7311
7312 2018-08-13 Joseph Myers <joseph@codesourcery.com>
7313
7314 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7315 version to 4.18.
7316 (io_pgetevents): New syscall.
7317 (rseq): Likewise.
7318
7319 * manual/install.texi (Configuring and compiling): Do not list
7320 tools used for testing pretty printers here.
7321 (Tools for Compilation): List Python, PExpect and GDB here.
7322 Update descriptions of uses of Perl and Python.
7323 * INSTALL: Regenerate.
7324
7325 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7326 version to 4.18.
7327
7328 2018-08-13 Florian Weimer <fweimer@redhat.com>
7329
7330 * misc/error.c (error): Add missing va_end call.
7331 (error_at_line): Likewise.
7332
7333 2018-08-13 Florian Weimer <fweimer@redhat.com>
7334
7335 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
7336
7337 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
7338
7339 * benchtests/scripts/benchout.schema.json (properties): Add
7340 new properties.
7341
7342 * benchtests/bench-skeleton.c (main): Add duration and
7343 iterations attributes.
7344
7345 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
7346
7347 regex: Gnulib unibyte RRI uses bytes not chars
7348 Adjust the non-glibc code to agree with what Gawk needs for
7349 rational range interpretation (RRI) for regular expression ranges.
7350 In unibyte locales, Gawk wants ranges to use the underlying byte
7351 rather than the character code point. This change does not affect
7352 glibc proper.
7353 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
7354 In unibyte locales, use the byte value rather than
7355 running it through btowc.
7356
7357 2018-08-10 Joseph Myers <joseph@codesourcery.com>
7358
7359 * sysdeps/generic/math-tests-snan.h: New file.
7360 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
7361 (SNAN_TESTS_float): Do not define here.
7362 (SNAN_TESTS_double): Likewise.
7363 (SNAN_TESTS_long_double): Likewise.
7364 (SNAN_TESTS_float128): Likewise.
7365 * sysdeps/i386/fpu/math-tests-snan.h: New file.
7366 * sysdeps/i386/fpu/math-tests.h: Remove file.
7367 * sysdeps/ia64/math-tests-snan.h: New file.
7368 * sysdeps/ia64/math-tests.h: Remove file.
7369 * sysdeps/x86/math-tests.h: Likewise.
7370 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
7371
7372 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7373 Szabolcs Nagy <szabolcs.nagy@arm.com>
7374
7375 * math/Makefile: Add s_sincosf_data.c.
7376 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
7377 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
7378 (sincosf_poly): Likewise.
7379 (reduce_small): Likewise.
7380 (reduce_large): Likewise.
7381 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
7382 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
7383 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
7384 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
7385
7386 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7387 Szabolcs Nagy <szabolcs.nagy@arm.com>
7388
7389 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
7390 (converttoint): Use lround.
7391 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
7392 document the semantics when TOINT_INTRINSICS is set.
7393 (converttoint): Likewise.
7394 (TOINT_RINT): Remove.
7395 (TOINT_SHIFT): Remove.
7396 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
7397 path.
7398
7399 2018-08-10 Florian Weimer <fweimer@redhat.com>
7400
7401 [BZ #23497]
7402 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
7403 function.
7404 (__old_getdents64): Use getdents64. Convert entries without
7405 moving them.
7406 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
7407 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
7408 tst-readdir64-compat.
7409
7410 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7411
7412 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
7413 Fix unwind.
7414
7415 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7416
7417 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
7418 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
7419 code to s390x-mcount.h and #include it.
7420 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
7421 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7422 (__fentry__): Add.
7423
7424 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7425
7426 * stdlib/Versions: Remove __fentry__.
7427 * sysdeps/i386/Versions: Add __fentry__.
7428 * sysdeps/x86_64/Versions: Add __fentry__.
7429
7430 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7431
7432 * sysdeps/s390/Makefile: Register the new tests.
7433 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
7434 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
7435 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
7436 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
7437 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
7438 * sysdeps/s390/tst-dl-runtime.c: New file.
7439
7440 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7441
7442 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7443 Do not clobber R0.
7444
7445 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7446
7447 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7448 Do not clobber R0.
7449
7450 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7451
7452 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7453 Do not clobber R0.
7454
7455 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7456
7457 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7458 Do not clobber R0.
7459
7460 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7461
7462 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7463 Use symbolic offsets for stack variables.
7464
7465 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7466
7467 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7468 Use symbolic offsets for stack variables.
7469
7470 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7471
7472 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7473 Use symbolic offsets for stack variables.
7474
7475 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7476
7477 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7478 Use symbolic offsets for stack variables.
7479
7480 2018-08-09 Joseph Myers <joseph@codesourcery.com>
7481
7482 * math/gen-libm-test.py: New file.
7483 * math/gen-libm-test.pl: Remove.
7484 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
7485 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
7486 gen-libm-test.pl.
7487 ($(libm-test-c-noauto-obj)): Likewise.
7488 ($(libm-test-c-auto-obj)): Likewise.
7489 ($(libm-test-c-narrow-obj)): Likewise.
7490 (regen-ulps): Likewise.
7491 * math/README.libm-test: Update references to gen-libm-test.pl.
7492 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
7493 referencing gen-libm-test.pl.
7494 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
7495 * math/libm-test-support.c: Likewise.
7496 * math/libm-test-support.h: Likewise.
7497 * sysdeps/generic/libm-test-ulps: Likewise.
7498
7499 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
7500
7501 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
7502 Fix value.
7503
7504 2018-08-08 Joseph Myers <joseph@codesourcery.com>
7505
7506 * math/libm-test-nextdown.inc (do_test): Move comment to ....
7507 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
7508
7509 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7510
7511 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
7512 symbols.
7513 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
7514 __pthread_setspecific): Add hidden proto.
7515 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
7516 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
7517
7518 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7519
7520 * benchtests/bench-string.h (buf1_size, buf2_size): New
7521 variables.
7522 (init_sizes): New function.
7523 (test_init): Use it.
7524 (alloc_buf, exit_error): New functions.
7525 (alloc_bufs): Use ALLOC_BUF.
7526 (realloc_bufs): Remove.
7527 * benchtests/bench-memcmp.c (do_test): Adjust.
7528 * benchtests/bench-memset-large.c (do_test): Likewise.
7529 * benchtests/bench-memset-walk.c (do_test): Likewise.
7530 * benchtests/bench-memset.c (do_test): Likewise.
7531 * benchtests/bench-strncmp.c (do_test): Likewise.
7532
7533 2018-08-06 Andreas Schwab <schwab@suse.de>
7534
7535 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
7536 of CONST_THREAD_AREA.
7537
7538 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
7539
7540 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
7541 (STATE_SAVE_MASK): Likewise.
7542 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
7543 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
7544 (STATE_SAVE_MASK): Likewise.
7545 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
7546 instead of <cpu-features.h>.
7547
7548 2018-08-03 DJ Delorie <dj@redhat.com>
7549
7550 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
7551 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
7552
7553 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7554
7555 2018-08-03 Joseph Myers <joseph@codesourcery.com>
7556
7557 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
7558 after TEST_* calls.
7559 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
7560 * math/libm-test-logb.inc (logb_test_data): Likewise.
7561
7562 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
7563
7564 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
7565 * string/strstr.c (AVAILABLE): Likewise.
7566
7567 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7568
7569 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
7570 <init-arch.h>.
7571 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
7572 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
7573 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
7574
7575 2018-08-03 Carlos O'Donell <carlos@redhat.com>
7576
7577 * po/be.po: Update translation.
7578
7579 * po/be.po: Update translation.
7580
7581 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7582
7583 * sysdeps/x86/cpu-features-offsets.sym
7584 (rtld_global_ro_offsetof): Removed.
7585 (CPU_FEATURES_SIZE): Likewise.
7586 (CPUID_OFFSET): Likewise.
7587 (CPUID_SIZE): Likewise.
7588 (CPUID_EAX_OFFSET): Likewise.
7589 (CPUID_EBX_OFFSET): Likewise.
7590 (CPUID_ECX_OFFSET): Likewise.
7591 (CPUID_EDX_OFFSET): Likewise.
7592 (FAMILY_OFFSET): Likewise.
7593 (MODEL_OFFSET): Likewise.
7594 (FEATURE_OFFSET): Likewise.
7595 (FEATURE_SIZ): Likewise.
7596 (COMMON_CPUID_INDEX_1): Likewise.
7597 (COMMON_CPUID_INDEX_7): Likewise.
7598 (FEATURE_INDEX_1): Likewise.
7599 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
7600
7601 2018-08-02 Carlos O'Donell <carlos@redhat.com>
7602
7603 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
7604 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
7605 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
7606 (install-locales): Depend on install-locale-archive.
7607 (install-locale-archive): Define.
7608 (install-locale-files): Define.
7609 (build-one-locale): Define macro.
7610 * manual/install.texi (Running make install): Document.
7611 * manual/INSTALL: Regenerate.
7612
7613 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
7614
7615 * benchtests/scripts/compare_strings.py: Import traceback.
7616 (parse_file): Pretty-print error.
7617
7618 * NEWS: Mention the change.
7619 * elf/dl-tunables.list: Rename tune namespace to cpu.
7620 * sysdeps/powerpc/dl-tunables.list: Likewise.
7621 * sysdeps/x86/dl-tunables.list: Likewise.
7622 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
7623 cpu.name.
7624 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
7625 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
7626 * manual/README.tunables: Likewise.
7627 * manual/tunables.texi: Likewise.
7628 * sysdeps/powerpc/cpu-features.c: Likewise.
7629 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
7630 (init_cpu_features): Likewise.
7631 * sysdeps/x86/cpu-features.c: Likewise.
7632 * sysdeps/x86/cpu-features.h: Likewise.
7633 * sysdeps/x86/cpu-tunables.c: Likewise.
7634 * sysdeps/x86_64/Makefile: Likewise.
7635 * sysdeps/x86/dl-cet.c: Likewise.
7636
7637 2018-08-02 Joseph Myers <joseph@codesourcery.com>
7638
7639 [BZ #23479]
7640 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
7641 [__mips_hard_float].
7642 (FE_UNDERFLOW): Likewise.
7643 (FE_OVERFLOW): Likewise.
7644 (FE_DIVBYZERO): Likewise.
7645 (FE_INVALID): Likewise.
7646 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
7647 (FE_TOWARDZERO): Define only if [__mips_hard_float].
7648 (FE_UPWARD): Likewise.
7649 (FE_DOWNWARD): Likewise.
7650 (__FE_UNDEFINED): Define if [!__mips_hard_float]
7651 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
7652 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
7653 [__mips_hard_float].
7654 (FP_ROUNDMODE): Likewise.
7655 (FP_RND_NEAREST): Likewise.
7656 (FP_RND_ZERO): Likewise.
7657 (FP_RND_PINF): Likewise.
7658 (FP_RND_MINF): Likewise.
7659 (FP_EX_INVALID): Likewise.
7660 (FP_EX_OVERFLOW): Likewise.
7661 (FP_EX_UNDERFLOW): Likewise.
7662 (FP_EX_DIVZERO): Likewise.
7663 (FP_EX_INEXACT): Likewise.
7664 (FP_INIT_ROUNDMODE): Likewise.
7665 * sysdeps/mips/nofpu/fesetenv.c: New file.
7666 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
7667
7668 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7669
7670 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
7671 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
7672 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
7673 conditional on [FE_UPWARD].
7674
7675 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
7676
7677 regex: fix memory leak in Gnulib
7678 Problem and fix reported by Assaf Gordon in:
7679 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
7680 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
7681 range_ends members too, as they are defined in 'struct
7682 re_charset_t' even if not _LIBC. This affects only Gnulib.
7683
7684 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
7685
7686 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
7687 ...
7688 (get_common_indices): This.
7689 (init_cpu_features): Updated.
7690
7691 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7692
7693 * sysdeps/generic/math-tests-snan-payload.h: New file.
7694 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
7695 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
7696 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
7697 * sysdeps/generic/math-tests.h: Include
7698 <math-tests-snan-payload.h>.
7699 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7700 * sysdeps/hppa/math-tests.h: Remove file.
7701 * sysdeps/mips/math-tests.h [!__mips_nan2008]
7702 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7703 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
7704 Likewise.
7705
7706 * sysdeps/generic/math-tests-snan-cast.h: New file.
7707 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
7708 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
7709 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
7710 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
7711
7712 2018-08-01 Carlos O'Donel <carlos@redhat.com>
7713
7714 * version.h (RELEASE): Set to "development".
7715 (VERSION): Set to "2.28.9000".
7716 * NEWS (2.29): New section.
7717
7718 * version.h (RELEASE): Set to "stable".
7719 (VERSION): Set to "2.28".
7720 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
7721 * NEWS: Add the list of bugs fixed in 2.28.
7722
7723 * po/ca.po: Update to latest version.
7724 * po/cs.po: Likewise
7725 * po/da.po: Likewise
7726 * po/el.po: Likewise
7727 * po/eo.po: Likewise
7728 * po/es.po: Likewise
7729 * po/fi.po: Likewise
7730 * po/fr.po: Likewise
7731 * po/gl.po: Likewise
7732 * po/hu.po: Likewise
7733 * po/ia.po: Likewise
7734 * po/id.po: Likewise
7735 * po/it.po: Likewise
7736 * po/ja.po: Likewise
7737 * po/ko.po: Likewise
7738 * po/lt.po: Likewise
7739 * po/nb.po: Likewise
7740 * po/nl.po: Likewise
7741 * po/pt_BR.po: Likewise
7742 * po/ru.po: Likewise
7743 * po/rw.po: Likewise
7744 * po/sk.po: Likewise
7745 * po/sl.po: Likewise
7746 * po/tr.po: Likewise
7747 * po/zh_CN.po: Likewise
7748 * po/zh_TW.po: Likewise
7749
7750 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7751
7752 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
7753 initialization...
7754 (init): ... before initializing libpthread.
7755
7756 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
7757 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
7758 (__mach_setup_tls): ... new function.
7759 (mach_setup_tls): New alias.
7760 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
7761 __mach_setup_thread.
7762 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
7763 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
7764 * mach/Versions [libc] (mach_setup_tls): Add symbol.
7765 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
7766
7767 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7768
7769 * manual/install.texi: Update versions.
7770 * INSTALL: Regenerate.
7771
7772 * manual/contrib.texi (Contributors): Update contributions.
7773
7774 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7775
7776 * po/be.po: Update translations.
7777
7778 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7779
7780 * sysdeps/sh/libm-test-ulps: Update.
7781
7782 2018-07-30 Carlos O'Donell <carlos@redhat.com>
7783
7784 * po/bg.po: Update translations.
7785 * po/de.po: Likewise.
7786 * po/hr.po: Likewise.
7787 * po/pt_BR.po: Likewise.
7788 * po/sv.po: Likewise.
7789 * po/vi.po: Likewise.
7790
7791 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7792
7793 [BZ #23467]
7794 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7795 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
7796 (CFLAGS-tst-cet-property-1.o): New.
7797 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
7798 ($(objpfx)tst-cet-property-2): Likewise.
7799 ($(objpfx)tst-cet-property-2.out): Likewise.
7800 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
7801 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
7802 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
7803 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
7804 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
7805
7806 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7807
7808 [BZ #23458]
7809 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
7810
7811 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7812
7813 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
7814 __sbrk): Do not set attribute_hidden.
7815 * sysdeps/mach/hurd/not-errno.h: New file.
7816 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7817 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
7818
7819 2018-07-27 Carlos O'Donell <carlos@redhat.com>
7820
7821 * po/uk.po: Update translations.
7822 * po/cs.po: Likewise.
7823 * po/pl.po: Likewise.
7824
7825 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
7826
7827 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
7828 parse beyond the note end.
7829
7830 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7831
7832 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
7833 kernel does not support OFD locks.
7834 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
7835
7836 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7837
7838 * sysdeps/mach/hurd/Versions (libc): Make __access and
7839 __access_noerrno external so they can override the ld symbols.
7840 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
7841 __writev, __open64, __access_noerrno extern so they can be overrided.
7842 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
7843 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7844
7845 2018-07-26 Carlos O'Donell <carlos@redhat.com>
7846
7847 * po/libc.pot: Regenerate.
7848
7849 2018-07-26 Joseph Myers <joseph@codesourcery.com>
7850
7851 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7852
7853 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7854
7855 [BZ #23459]
7856 * sysdeps/x86/cpu-features.c (get_extended_indices): New
7857 function.
7858 (init_cpu_features): Call get_extended_indices for both Intel
7859 and AMD CPUs.
7860 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
7861 Remove "for AMD" comment.
7862
7863 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7864
7865 [BZ # 23456]
7866 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
7867 COMMON_CPUID_INDEX_80000001.
7868
7869 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
7870
7871 * string/tst-xbzero-opt.c (use_test_buffer): New function.
7872 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
7873
7874 2018-07-26 Florian Weimer <fweimer@redhat.com>
7875
7876 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
7877 aliases for symbols not in the implementation namespace.
7878
7879 2018-07-25 Carlos O'Donell <carlos@redhat.com>
7880
7881 [BZ #23393]
7882 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
7883 lowercase in LATIN script.
7884 * localedata/Makefile (test-input): Add en_US.UTF-8.
7885 * localedata/en_US.UTF-8.in: New file.
7886 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
7887 and restore old tests.
7888 * posix/tst-regexloc.c (do_test): Add back range expression test.
7889
7890 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7891
7892 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
7893
7894 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7895
7896 * nptl/threads.h: Move to ...
7897 * sysdeps/nptl/threads.h: ... here.
7898 * sysdeps/hurd/stdc-predef.h: New file.
7899
7900 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7901
7902 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7903 tst-cet-setcontext-1 if CET is enabled.
7904 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
7905 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
7906
7907 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7908
7909 * include/threads.h: Move to ...
7910 * sysdeps/nptl/threads.h: ... here.
7911 * sysdeps/htl/threads.h: New file.
7912 * conform/Makefile (linknamespace-libs-ISO11): Use
7913 static-thread-library instead of linking libpthread.
7914 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
7915
7916 2018-07-25 Florian Weimer <fweimer@redhat.com>
7917
7918 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
7919 nanoseconds into seconds.
7920 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
7921 (do_test): Likewise.
7922 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
7923 (do_test): Likewise. Avoid nanosecond overflow and spurious
7924 timeouts due to system load.
7925 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
7926 (child_wait): Increment it.
7927 (do_test): Wait as long as necessary until all expected threads
7928 have arrived.
7929
7930 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
7931 H.J. Lu <hongjiu.lu@intel.com>
7932
7933 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
7934 __ssp.
7935 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
7936 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
7937 (__push___start_context): New.
7938 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
7939 <asm/prctl.h>.
7940 (__getcontext): Record the current shadow stack base. Save the
7941 caller's shadow stack pointer and base.
7942 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
7943 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
7944 (__push___start_context): New prototype.
7945 (__makecontext): Call __push___start_context to allocate a new
7946 shadow stack, push __start_context onto the new stack as well
7947 as the new shadow stack.
7948 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
7949 <asm/prctl.h>.
7950 (__setcontext): Restore the target shadow stack.
7951 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
7952 <asm/prctl.h>.
7953 (__swapcontext): Record the current shadow stack base. Save
7954 the caller's shadow stack pointer and base. Restore the target
7955 shadow stack.
7956 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7957 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
7958 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
7959
7960 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7961
7962 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
7963 tst-setcontext8 and tst-setcontext9.
7964 * stdlib/tst-setcontext6.c: New file.
7965 * stdlib/tst-setcontext7.c: Likewise.
7966 * stdlib/tst-setcontext8.c: Likewise.
7967 * stdlib/tst-setcontext9.c: Likewise.
7968
7969 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7970
7971 * stdlib/Makefile ((tests): Add tst-setcontext5.
7972 * stdlib/tst-setcontext5.c: New file.
7973
7974 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7975
7976 * stdlib/Makefile (tests): Add tst-setcontext4.
7977 * stdlib/tst-setcontext4.c: New file.
7978
7979 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7980
7981 * stdlib/Makefile (tests): Add tst-swapcontext1.
7982 * stdlib/tst-swapcontext1.c: New test.
7983
7984 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7985
7986 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
7987 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
7988 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
7989 and tst-cet-legacy-4c.
7990 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
7991 and tst-cet-legacy-mod-4.
7992 (CFLAGS-tst-cet-legacy-2.c): New.
7993 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
7994 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
7995 (CFLAGS-tst-cet-legacy-3.c): Likewise.
7996 (CFLAGS-tst-cet-legacy-4.c): Likewise.
7997 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
7998 ($(objpfx)tst-cet-legacy-1): Likewise.
7999 ($(objpfx)tst-cet-legacy-2): Likewise.
8000 ($(objpfx)tst-cet-legacy-2.out): Likewise.
8001 ($(objpfx)tst-cet-legacy-2a): Likewise.
8002 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
8003 ($(objpfx)tst-cet-legacy-4): Likewise.
8004 ($(objpfx)tst-cet-legacy-4.out): Likewise.
8005 ($(objpfx)tst-cet-legacy-4a): Likewise.
8006 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
8007 (tst-cet-legacy-4a-ENV): Likewise.
8008 ($(objpfx)tst-cet-legacy-4b): Likewise.
8009 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
8010 (tst-cet-legacy-4b-ENV): Likewise.
8011 ($(objpfx)tst-cet-legacy-4c): Likewise.
8012 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
8013 (tst-cet-legacy-4c-ENV): Likewise.
8014 * sysdeps/x86/tst-cet-legacy-1.c: New file.
8015 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
8016 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
8017 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
8018 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
8019 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
8020 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
8021 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
8022 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
8023 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
8024 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
8025
8026 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8027
8028 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8029 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8030 with ssp_base.
8031 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8032 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8033 with ssp_base.
8034
8035 2018-07-25 Andreas Schwab <schwab@suse.de>
8036
8037 [BZ #23442]
8038 * locale/weightwc.h (findidx): Handle the case where usrc is a
8039 prefix of cp but one character too short.
8040
8041 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8042
8043 * NEWS: Add ISO C threads addition.
8044
8045 2018-07-24 Florian Weimer <fweimer@redhat.com>
8046
8047 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8048 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
8049 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
8050 4.13.
8051
8052 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8053
8054 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
8055 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
8056 <sys/prctl.h> and <asm/prctl.h>.
8057 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
8058 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
8059 and <asm/prctl.h>.
8060 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
8061 ARCH_CET_LEGACY_BITMAP.
8062 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
8063 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
8064 * sysdeps/x86/libc-start.c: Include <startup.h>.
8065
8066 2018-07-24 Florian Weimer <fweimer@redhat.com>
8067
8068 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
8069 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
8070
8071 2018-07-24 Rical Jasan <rj@2c3t.io>
8072 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8073 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8074
8075 [BZ #14092]
8076 * manual/debug.texi: Update adjacent chapter name.
8077 * manual/probes.texi: Likewise.
8078 * manual/threads.texi (ISO C Threads): New section.
8079 (POSIX Threads): Convert to a section.
8080
8081 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8082 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8083
8084 [BZ# 14092]
8085 * nptl/Makefile (tests): Add new test files.
8086 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
8087 * nptl/tst-cnd-basic.c: Likewise.
8088 * nptl/tst-cnd-broadcast.c: Likewise.
8089 * nptl/tst-cnd-timedwait.c: Likewise.
8090 * nptl/tst-mtx-basic.c: Likewise.
8091 * nptl/tst-mtx-recursive.c: Likewise.
8092 * nptl/tst-mtx-timedlock.c: Likewise.
8093 * nptl/tst-mtx-trylock.c: Likewise.
8094 * nptl/tst-thrd-basic.c: Likewise.
8095 * nptl/tst-thrd-detach.c: Likewise.
8096 * nptl/tst-thrd-sleep.c: Likewise.
8097 * nptl/tst-tss-basic.c: Likewise.
8098
8099 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8100
8101 [BZ #14092]
8102 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
8103 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
8104 symbols.
8105 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8106 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8107 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8108 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8109 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8110 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8111 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8112 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8113 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8114 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8115 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8116 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8118 Likewise.
8119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8120 Likewise.
8121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
8122 Likewise.
8123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8124 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8125 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8126 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8127 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8128 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8129 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8130 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8131 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8132 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
8133 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
8134 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
8135 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
8136 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
8137 Likewise.
8138 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
8139 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
8140 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
8141 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
8142 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
8143 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
8144 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
8145 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
8146 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
8147 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
8148 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
8149 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
8150 ikewise.
8151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
8152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8153 Likewise.
8154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8155 Likewise.
8156 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
8157 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
8158 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
8159 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
8160 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
8161 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
8162 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
8163 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
8164
8165 [BZ #14092]
8166 * conform/data/threads.h-data (thread_local): New macro.
8167 (TSS_DTOR_ITERATIONS): Likewise.
8168 (tss_t): New type.
8169 (tss_dtor_t): Likewise.
8170 (tss_create): New function.
8171 (tss_get): Likewise.
8172 (tss_set): Likewise.
8173 (tss_delete): Likewise.
8174 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
8175 tss_get, and tss_set objects.
8176 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8177 * nptl/tss_create.c: New file.
8178 * nptl/tss_delete.c: Likewise.
8179 * nptl/tss_get.c: Likewise.
8180 * nptl/tss_set.c: Likewise.
8181 * sysdeps/nptl/threads.h (thread_local): New define.
8182 (TSS_DTOR_ITERATIONS): Likewise.
8183 (tss_t): New typedef.
8184 (tss_dtor_t): Likewise.
8185 (tss_create): New prototype.
8186 (tss_get): Likewise.
8187 (tss_set): Likewise.
8188 (tss_delete): Likewise.
8189
8190 [BZ #14092]
8191 * conform/data/threads.h-data (cnd_t): New type.
8192 (cnd_init): New function.
8193 (cnd_signal): Likewise.
8194 (cnd_broadcast): Likewise.
8195 (cnd_wait): Likewise.
8196 (cnd_timedwait): Likewise.
8197 (cnd_destroy): Likewise.
8198 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
8199 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
8200 object.
8201 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8202 * nptl/cnd_broadcast.c: New file.
8203 * nptl/cnd_destroy.c: Likewise.
8204 * nptl/cnd_init.c: Likewise.
8205 * nptl/cnd_signal.c: Likewise.
8206 * nptl/cnd_timedwait.c: Likewise.
8207 * nptl/cnd_wait.c: Likewise.
8208 * sysdeps/nptl/threads.h (cnd_t): New type.
8209 (cnd_init): New prototype.
8210 (cnd_signa): Likewise.
8211 (cnd_broadcast): Likewise.
8212 (cnd_wait): Likewise.
8213 (cnd_timedwait): Likewise.
8214 (cnd_destroy): Likewise.
8215
8216 [BZ #14092]
8217 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
8218 (once_flag): New type.
8219 (call_once): New function.
8220 * nptl/Makefile (libpthread-routines): Add call_once object.
8221 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
8222 * nptl/call_once.c: New file.
8223 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
8224 (once_flag): New type.
8225 (call_once): New prototype.
8226
8227 [BZ #14092]
8228 * conform/data/threads.h-data (mtx_plain): New constant.
8229 (mtx_recursive): Likewise.
8230 (mtx_timed): Likewise.
8231 (mtx_t): New type.
8232 (mtx_init): New function.
8233 (mtx_lock): Likewise.
8234 (mtx_timedlock): Likewise.
8235 (mtx_trylock): Likewise.
8236 (mtx_unlock): Likewise.
8237 (mtx_destroy): Likewise.
8238 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
8239 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
8240 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
8241 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
8242 * nptl/mtx_destroy.c: New file.
8243 * nptl/mtx_init.c: Likewise.
8244 * nptl/mtx_lock.c: Likewise.
8245 * nptl/mtx_timedlock.c: Likewise.
8246 * nptl/mtx_trylock.c: Likewise.
8247 * nptl/mtx_unlock.c: Likewise.
8248 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
8249 (mtx_recursive): Likewise.
8250 (mtx_timed): Likewise.
8251 (mtx_t): New type.
8252 (mtx_init): New prototype.
8253 (mtx_lock): Likewise.
8254 (mtx_timedlock): Likewise.
8255 (mtx_trylock): Likewise.
8256 (mtx_unlock): Likewise.
8257 (mtx_destroy): Likewise.
8258
8259 [BZ #14092]
8260 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
8261 (linknamespace-libs-ISO11): Add libpthread.a.
8262 * conform/data/threads.h-data: New file: add C11 thrd_* types and
8263 functions.
8264 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
8265 * nptl/Makefile (headers): Add threads.h.
8266 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
8267 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
8268 thrd_yield.
8269 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
8270 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
8271 thrd_join, thrd_sleep, and thrd_yield symbols.
8272 * nptl/descr.h (struct pthread): Add c11 field.
8273 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
8274 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
8275 routine with expected function prototype.
8276 (__pthread_create_2_1): Add C11 threads check based on attribute
8277 value.
8278 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
8279 * nptl/thrd_create.c: New file.
8280 * nptl/thrd_current.c: Likewise.
8281 * nptl/thrd_detach.c: Likewise.
8282 * nptl/thrd_equal.c: Likewise.
8283 * nptl/thrd_exit.c: Likewise.
8284 * nptl/thrd_join.c: Likewise.
8285 * nptl/thrd_priv.h: Likewise.
8286 * nptl/thrd_sleep.c: Likewise.
8287 * nptl/thrd_yield.c: Likewise.
8288 * include/threads.h: Likewise.
8289
8290 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8291
8292 * bits/indirect-return.h: New file.
8293 * misc/sys/cdefs.h (__glibc_has_attribute): New.
8294 * sysdeps/x86/bits/indirect-return.h: Likewise.
8295 * stdlib/Makefile (headers): Add bits/indirect-return.h.
8296 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
8297 (swapcontext): Add __INDIRECT_RETURN.
8298 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
8299 (prepare_test_buffer): Use it.
8300
8301 2018-07-24 Andreas Schwab <schwab@suse.de>
8302
8303 [BZ #23448]
8304 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
8305 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
8306
8307 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8308
8309 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
8310 Redefine if shadow stack is enabled.
8311 (SYSCALL_ERROR_LABEL): Likewise.
8312 (__vfork): Pop shadow stack and jump back to to caller directly
8313 when shadow stack is in use.
8314 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
8315 Redefine if shadow stack is enabled.
8316 (SYSCALL_ERROR_LABEL): Likewise.
8317 (__vfork): Pop shadow stack and jump back to to caller directly
8318 when shadow stack is in use.
8319
8320 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8321
8322 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
8323 enabled.
8324 (foo): Likewise.
8325 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
8326 (foo): Likewise.
8327
8328 2018-07-20 Joseph Myers <joseph@codesourcery.com>
8329
8330 * scripts/build-many-glibcs.py (Context.checkout): Default
8331 binutils version to 2.31 branch.
8332
8333 2018-07-20 Zong Li <zong@andestech.com>
8334
8335 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
8336 URL of gcc's tarball.
8337
8338 2018-07-20 Florian Weimer <fweimer@redhat.com>
8339
8340 [BZ #23396]
8341 * posix/regcomp.c (build_equiv_class): When comparing weights, do
8342 not compare an extra byte after the end of the weights.
8343
8344 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
8345
8346 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
8347 to 1.
8348 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
8349 hidden prototypes.
8350 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
8351 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
8352 * scripts/check-execstack.awk: Consider `xfail' variable containing a
8353 list of libraries whose stack executability is expected.
8354 * elf/Makefile ($(objpfx)check-execstack.out): Pass
8355 $(check-execstack-xfail) to check-execstack.awk through `xfail'
8356 variable.
8357 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
8358 libc.so libpthread.so.
8359
8360 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
8361
8362 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
8363 SOCK_NONBLOCK.
8364 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
8365 and SOCK_NONBLOCK.
8366 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
8367 implement __pipe2.
8368 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
8369
8370 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8371
8372 * benchtests/scripts/compare_bench.py (__main__): use the argparse
8373 library to improve command line parsing.
8374 (__main__): make schema file as optional parameter (--schema),
8375 defaulting to benchtests/scripts/benchout.schema.json.
8376 (main): move out of the parsing stuff to __main_  and leave it
8377 only as caller of main comparison functions.
8378
8379 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
8380
8381 * NEWS: Add a note for Intel CET status.
8382 * manual/install.texi: Likewise.
8383 * INSTALL: Regenerated.
8384
8385 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
8386
8387 [BZ #23140]
8388 * localedata/locales/oc_FR (mon): Rename to...
8389 (alt_mon): This, then update October (typo fix).
8390 (mon): New content (genitive case, month names preceded by
8391 "de" or "d’").
8392
8393 [BZ #23422]
8394 * localedata/locales/oc_FR (abday): Update all items.
8395 (day): Update Wednesday and Saturday (typo fixes).
8396 (abmon): Update all items, except May.
8397 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
8398 (LC_IDENTIFICATION): Bump the revision number and date.
8399 Keep the "category" entries in alphabetic order.
8400 (LC_ADDRESS): Remove no longer needed comment.
8401 (LC_COLLATE): Use “copy "ca_ES"”.
8402 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
8403 "name_mrs".
8404
8405 2018-07-18 Joseph Myers <joseph@codesourcery.com>
8406
8407 * grp/tst_fgetgrent.c: Include <unistd.h>.
8408 (main): Use mkstemp instead of tmpnam.
8409 * io/test-utime.c (main): Likewise.
8410 * posix/annexc.c (macrofile): Change to modifiable array.
8411 (main): Remove macrofile here.
8412 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8413 macrofile here.
8414 (check_header): Do not remove macrofile here.
8415 * posix/bug-getopt1.c: Include <stdlib.h>.
8416 (do_test): Use mkstemp instead of tmpnam.
8417 * posix/bug-getopt2.c: Include <stdlib.h>.
8418 (do_test): Use mkstemp instead of tmpnam.
8419 * posix/bug-getopt3.c: Include <stdlib.h>.
8420 (do_test): Use mkstemp instead of tmpnam.
8421 * posix/bug-getopt4.c: Include <stdlib.h>.
8422 (do_test): Use mkstemp instead of tmpnam.
8423 * posix/bug-getopt5.c: Include <stdlib.h>.
8424 (do_test): Use mkstemp instead of tmpnam.
8425 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
8426 (main): Use mkstemp instead of tmpnam.
8427 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
8428 (main): Use mkstemp instead of tmpnam.
8429 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
8430 (main): use mkstemp instead of tmpnam.
8431 * stdlib/isomac.c (macrofile): Change to modifiable array.
8432 (main): Remove macrofile here.
8433 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8434 macrofile here.
8435 (check_header): Do not remove macrofile here.
8436
8437 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8438
8439 * manual/tunables.texi: Document glibc.tune.x86_ibt and
8440 glibc.tune.x86_shstk.
8441
8442 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8443
8444 * NEWS: Mention --enable-cet.
8445 * manual/install.texi: Document --enable-cet.
8446 * INSTALL: Regenerated.
8447
8448 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8449
8450 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
8451 Add _CET_NOTRACK before indirect jump to jump table.
8452
8453 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8454
8455 * sysdeps/i386/i686/multiarch/memset-sse2-rep.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/strcat-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/multiarch/strcpy-sse2.S
8468 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8469 to jump table.
8470
8471 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8472
8473 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
8474 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8475 to jump table.
8476
8477 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8478
8479 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
8480 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8481 to jump table.
8482 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
8483
8484 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8485
8486 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
8487 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8488 to jump table.
8489
8490 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8491
8492 * sysdeps/i386/i686/multiarch/memset-sse2.S
8493 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8494 to jump table.
8495
8496 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8497
8498 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
8499 indirect jump to jump table.
8500
8501 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8502
8503 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
8504 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8505 to jump table.
8506 (MEMCPY): Likewise.
8507
8508 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8509
8510 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
8511 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8512 to jump table.
8513 (MEMCPY): Likewise.
8514
8515 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8516
8517 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8518 _CET_NOTRACK before indirect jump to jump table.
8519
8520 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8521
8522 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
8523 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8524 to jump table.
8525
8526 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8527
8528 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
8529 indirect jump to jump table.
8530
8531 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
8532
8533 [BZ #22241]
8534 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
8535 (LOCALES): Likewise.
8536 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
8537 * localedata/locales/sah_RU: New file.
8538 * localedata/sah_RU.UTF-8.in: New file.
8539
8540 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8541
8542 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
8543 "sysdep.h".
8544 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8545 _CET_ENDBR to indirect jump targets and adjust jump destination
8546 for _CET_ENDBR.
8547 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
8548 "sysdep.h".
8549 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8550 _CET_ENDBR to indirect jump targets and adjust jump destination
8551 for _CET_ENDBR.
8552 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
8553 "sysdep.h".
8554 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
8555 _CET_ENDBR to indirect jump targets and adjust jump destination
8556 for _CET_ENDBR.
8557
8558 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8559
8560 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8561 _CET_ENDBR.
8562
8563 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8564
8565 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
8566 _CET_ENDBR.
8567 (_dl_tlsdesc_undefweak): Likewise.
8568 (_dl_tlsdesc_dynamic): Likewise.
8569 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
8570 (_dl_tlsdesc_resolve_rel): Likewise.
8571 (_dl_tlsdesc_resolve_rela): Likewise.
8572 (_dl_tlsdesc_resolve_hold): Likewise.
8573 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
8574 (_dl_tlsdesc_undefweak): Likewise.
8575 (_dl_tlsdesc_dynamic): Likewise.
8576 (_dl_tlsdesc_resolve_rela): Likewise.
8577 (_dl_tlsdesc_resolve_hold): Likewise.
8578
8579 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8580
8581 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
8582 (_fini): Likewise.
8583 * sysdeps/x86_64/crti.S (_init): Likewise.
8584 (_fini): Likewise.
8585
8586 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
8587
8588 [BZ #23140]
8589 * localedata/locales/os_RU (mon): Rename to...
8590 (alt_mon): This.
8591 (mon): Import from CLDR (genitive case).
8592
8593 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8594
8595 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
8596 cet-tunables.h> when CET is enabled.
8597
8598 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
8599
8600 [BZ #21598]
8601 * configure.ac: Add --enable-cet.
8602 * configure: Regenerated.
8603 * elf/Makefille (all-built-dso): Add a comment.
8604 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
8605 Include <dl-prop.h>.
8606 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
8607 segment.
8608 * elf/dl-open.c: Include <dl-prop.h>.
8609 (dl_open_worker): Call _dl_open_check.
8610 * elf/rtld.c: Include <dl-prop.h>.
8611 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
8612 _rtld_main_check.
8613 * sysdeps/generic/dl-prop.h: New file.
8614 * sysdeps/i386/dl-cet.c: Likewise.
8615 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
8616 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
8617 * sysdeps/x86/cet-tunables.h: Likewise.
8618 * sysdeps/x86/check-cet.awk: Likewise.
8619 * sysdeps/x86/configure: Likewise.
8620 * sysdeps/x86/configure.ac: Likewise.
8621 * sysdeps/x86/dl-cet.c: Likewise.
8622 * sysdeps/x86/dl-procruntime.c: Likewise.
8623 * sysdeps/x86/dl-prop.h: Likewise.
8624 * sysdeps/x86/libc-start.h: Likewise.
8625 * sysdeps/x86/link_map.h: Likewise.
8626 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
8627 _CET_ENDBR.
8628 (_dl_runtime_profile): Likewise.
8629 (_dl_runtime_resolve_shstk): New.
8630 (_dl_runtime_profile_shstk): Likewise.
8631 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
8632 if CET is enabled.
8633 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
8634 (CFLAGS-.os): Likewise.
8635 (CFLAGS-.op): Likewise.
8636 (CFLAGS-.oS): Likewise.
8637 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
8638 is enabled.
8639 (tests-special): Add $(objpfx)check-cet.out.
8640 (cet-built-dso): New.
8641 (+$(cet-built-dso:=.note)): Likewise.
8642 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
8643 ($(objpfx)check-cet.out): New.
8644 (generated): Add check-cet.out.
8645 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
8646 <cet-tunables.h>.
8647 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
8648 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8649 (init_cpu_features): Call get_cet_status to check CET status
8650 and update dl_x86_feature_1 with CET status. Call
8651 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
8652 (set_x86_shstk). Disable and lock CET in libc.a.
8653 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
8654 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
8655 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8656 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
8657 (_CET_ENDBR): Define if not defined.
8658 (ENTRY): Add _CET_ENDBR.
8659 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
8660 x86_shstk.
8661 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
8662 _CET_ENDBR.
8663 (_dl_runtime_profile): Likewise.
8664
8665 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
8666
8667 [BZ #21895]
8668 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
8669 restore r2 on longjmp.
8670 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
8671 test list.
8672 Added rules to build test tst-setjmp-bug21895-static.
8673 Added module setjmp-bug21895 and rules to build a shared object from it.
8674 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
8675 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
8676
8677 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
8678
8679 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
8680 * benchtests/bench-strstr.c: Likewise.
8681 * string/memmem.c (FASTSEARCH): Define.
8682 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
8683 Add support for FASTSEARCH.
8684 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
8685 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
8686 (FASTSEARCH): Define.
8687 * string/test-strcasestr.c: Rename __strnlen to strnlen.
8688 * string/test-strstr.c: Likewise.
8689
8690 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
8691
8692 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
8693 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
8694
8695 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
8696 H.J. Lu <hongjiu.lu@intel.com>
8697
8698 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
8699 (__longjmp): Restore shadow stack pointer if shadow stack is
8700 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8701 isn't defined for __longjmp_cancel.
8702 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
8703 (_setjmp): Save shadow stack pointer if shadow stack is enabled
8704 and SHADOW_STACK_POINTER_OFFSET is defined.
8705 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
8706 (setjmp): Save shadow stack pointer if shadow stack is enabled
8707 and SHADOW_STACK_POINTER_OFFSET is defined.
8708 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
8709 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8710 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8711 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
8712 <jmp_buf-ssp.h>.
8713 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8714 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8715 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
8716 Remove jmp_buf-ssp.sym.
8717 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8718 <jmp_buf-ssp.h>.
8719 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8720 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8721 * sysdeps/x86/Makefile (gen-as-const-headers): Add
8722 jmp_buf-ssp.sym.
8723 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
8724 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
8725 (__longjmp): Restore shadow stack pointer if shadow stack is
8726 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8727 isn't defined for __longjmp_cancel.
8728 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
8729 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8730 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8731
8732 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
8733
8734 [BZ #22563]
8735 * nptl/pthread_create.c: Include <tls-setup.h>.
8736 (__pthread_create_2_1): Call tls_setup_tcbhead.
8737 * sysdeps/generic/tls-setup.h: New file.
8738 * sysdeps/x86/nptl/tls-setup.h: Likewise.
8739 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
8740 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
8741 Likewise.
8742 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
8743 to feature_1.
8744 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
8745 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
8746 (X86_FEATURE_1_SHSTK): Likewise.
8747 (CET_ENABLED): Likewise.
8748 (IBT_ENABLED): Likewise.
8749 (SHSTK_ENABLED): Likewise.
8750
8751 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
8752
8753 [BZ #23208]
8754 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
8755 (LOCALES): Likewise.
8756 * localedata/dsb_DE.UTF-8.in: New file.
8757 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
8758
8759 2018-07-12 Florian Weimer <fweimer@redhat.com>
8760
8761 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
8762 __mprotect, not mprotect.
8763
8764 2018-07-11 Florian Weimer <fweimer@redhat.com>
8765
8766 * io/Makefile (headers): Add bits/statx.h.
8767
8768 2018-07-10 Mike FABIAN <mfabian@redhat.com>
8769
8770 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
8771 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
8772 and headers.
8773 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
8774 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
8775 for utf8_gen.py
8776
8777 2018-07-10 Florian Weimer <fweimer@redhat.com>
8778
8779 * io/Makefile (routines): Add statx.
8780 (tests-internal): Add tst-statx.
8781 * io/Versions (GLIBC_2.28): Export statx.
8782 * io/bits/statx.h: New file.
8783 * io/sys/stat.h [__USE_GNU]: Include it.
8784 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
8785 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
8786 Define.
8787 * io/statx.c: New file.
8788 * io/statx_generic.: Likewise.
8789 * io/tst-statx.: Likewise.
8790 * include/bits/statx.h: Likewise.
8791 * sysdeps/unix/sysv/linux/kernel-features.h
8792 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
8793 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8794 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
8795 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
8796 Undefine.
8797 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8798 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
8799 * sysdeps/unix/sysv/linux/statx.c: New file.
8800 * manual/filesys.texi: Note that statx is undocumented.
8801 * sysdeps/**/libc*.abilist: Update.
8802
8803 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8804
8805 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
8806 a kernel issue which lead to test failure in some cases.
8807
8808 2018-07-10 Florian Weimer <fweimer@redhat.com>
8809
8810 [BZ #23036]
8811 * posix/regexec.c (check_node_accept_bytes): When comparing
8812 weights, do not compare an extra byte after the end of the
8813 weights.
8814
8815 2018-07-10 Florian Weimer <fweimer@redhat.com>
8816
8817 * libio/readline.c: Fix copyright year.
8818 * libio/tst-readline.c Likewise.
8819 * nss/tst-nss-files-hosts-getent.c: Likewise.
8820
8821 2018-07-06 Florian Weimer <fweimer@redhat.com>
8822
8823 [BZ #18991]
8824 * nss/nss_files/files-XXX.c (internal_getent): Use
8825 __libc_readline_unlocked. Seek back to the start of the line if
8826 parsing failes with ERANGE.
8827 (get_contents_ret, get_contents): Remove.
8828 * nss/tst-nss-files-hosts-getent.c: New file.
8829 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
8830 (tst-nss-files-hosts-getent): Link with -ldl.
8831
8832 2018-07-06 Florian Weimer <fweimer@redhat.com>
8833
8834 * include/stdio.h (__libc_readline_unlocked): Declare.
8835 (__ftello64, __fseeko64): Declare aliases.
8836 * libio/readline.c: New file.
8837 * libio/tst-readline.c: Likewise.
8838 (routines): Add readline.
8839 (tests-internal): Add tst-readlime.
8840 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
8841 __libc_readline_unlocked.
8842 * libio/fseeko.c (__fseeko): Rename from fseeko.
8843 (fseeko): Add alias.
8844 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
8845 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
8846 (fseeko64): Add alias.
8847 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
8848 * libio/ftello64.c (__ftello64): Rename from ftello64.
8849 (ftello64): Add alias.
8850
8851 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8852
8853 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
8854 HWCAP_ATOMICS.
8855
8856 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8857
8858 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
8859 Use dl_hwcap without masking.
8860 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
8861 Remove HWCAP_CPUID.
8862
8863 2018-07-06 Florian Weimer <fweimer@redhat.com>
8864
8865 * conform/conformtest.pl (checknamespace): Escape literal braces
8866 in regular expressions.
8867
8868 2018-07-06 Amit Pawar <amit.pawar@amd.com>
8869
8870 * sysdeps/x86/cpu-features.c (get_common_indeces):
8871 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
8872 * sysdeps/x86/cpu-features.c (init_cpu_features):
8873 AVX_Fast_Unaligned_Load is disabled for Excavator core.
8874
8875 2018-07-05 Florian Weimer <fweimer@redhat.com>
8876
8877 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
8878 protector.
8879 (CFLAGS-elf-init.oS): Likewise.
8880
8881 2018-07-05 Florian Weimer <fweimer@redhat.com>
8882 Carlos O'Donell <carlos@redhat.com>
8883
8884 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
8885 $(no-stack-protector). stack_chk_fail_local.c can be compiled
8886 with stack protector enabled because there is no risk of infinite
8887 recursion.
8888
8889 2018-07-05 Maciej W. Rozycki <macro@mips.com>
8890
8891 [BZ #19818]
8892 [BZ #23307]
8893 * libc-abis (ABSOLUTE): New ABI.
8894 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
8895 * NEWS: Mention the new ABI.
8896
8897 2018-07-05 Florian Weimer <fweimer@redhat.com>
8898
8899 [BZ # 17662]
8900 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
8901 (RENAME_WHITEOUT): Define.
8902 [__USE_GNU] (renameat2): Declare.
8903 * stdio-common/Makefile (routines): Add renameat2.
8904 (tests): Add tst-renameat2.
8905 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
8906 * stdio-common/renameat2.c: New file.
8907 * stdio-common/tst-renameat2.c: Likewise.
8908 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
8909 * manual/filesys.texi (Temporary Files): Note that renameat2 is
8910 undocumented.
8911 * sysdeps/unix/sysv/linux/kernel-features.h
8912 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
8913 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8914 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8915 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8916 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8917 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8918 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
8919 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8920 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
8921 * include/stdio.h (__renameat): Add alias for renameat.
8922 * stdio-common/renameat.c (__renameat): Rename from renameat.
8923 Add hidden definition and alias.
8924 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
8925 * sysdeps/mach/hurd/renameat.c: Likewise.
8926 * sysdeps/**/libc*.abilist: Add renameat2.
8927
8928 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8929
8930 * posix/bug-regex33.c: Fix build after regex sync.
8931
8932 2018-07-04 Carlos O'Donell <carlos@redhat.com>
8933
8934 [BZ #23164]
8935 * localedata/tst-langinfo-setlocale.c: New file.
8936 * localedata/tst-langinfo-setlocale-static.c: New file.
8937 * localedata/tst-langinfo-newlocale.c: New file.
8938 * localedata/tst-langinfo-newlocale-static.c: New file.
8939 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
8940 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
8941 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
8942 (tests-static): Remove tst-langinfo-static. Add
8943 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
8944 (tests-special): Remove $(objpfx)tst-langinfo.out,
8945 $(objpfx)tst-langinfo-static.out. Add
8946 $(objpfx)tst-langinfo-setlocale.out,
8947 $(objpfx)tst-langinfo-newlocale.out,
8948 $(objpfx)tst-langinfo-setlocale-static.out,
8949 $(objpfx)tst-langinfo-newlocale-static.out.
8950 ($(objpfx)tst-langinfo.out): Remove.
8951 ($(objpfx)tst-langinfo-static.out): Remove.
8952 ($(objpfx)tst-langinfo-newlocale.out): New target.
8953 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
8954 (test-xfail-tst-langinfo-newlocale-static): Add.
8955 ($(objpfx)tst-langinfo-setlocale.out): New target.
8956 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
8957 * localedata/tst-langinfo.c: Call test_locale.
8958 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
8959 data.
8960
8961 2018-07-04 Florian Weimer <fweimer@redhat.com>
8962
8963 testrun.sh: Implement --tool=strace, --tool=valgrind
8964 * Makefile (testrun-script): Define variable.
8965 (testrun.sh): Use variable.
8966 * manual/install.texi (Tools for Compilation): make 4.0 or later
8967 is required.
8968 * configure.ac: Check for make 4.0 or later.
8969 * INSTALL: Regenerate.
8970 * configure: Likewise.
8971
8972 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8973
8974 [BZ #23233]
8975 [BZ #21163]
8976 [BZ #18986]
8977 [BZ #13762]
8978 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
8979 * posix/PCRE.tests: Remove invalid test.
8980 * posix/bug-regex28.c: Fix expected values for used syntax.
8981 * posix/bug-regex37.c: New file.
8982 * posix/bug-regex38.c: Likewise.
8983 * posix/regcomp.c: Sync with gnulib.
8984 * posix/regex.c: Likewise.
8985 * posix/regex.h: Likewise.
8986 * posix/regex_internal.c: Likewise.
8987 * posix/regex_internal.h: Likewise.
8988 * posix/regexec.c: Likewise.
8989
8990 2018-06-26 Mike FABIAN <mfabian@redhat.com>
8991
8992 [BZ #23308]
8993 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
8994 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
8995 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
8996 * localedata/unicode-gen/PropList.txt: likewise.
8997 * localedata/unicode-gen/UnicodeData.txt: likewise.
8998 * localedata/charmaps/UTF-8: Regenerate.
8999 * localedata/locales/i18n_ctype: likewise.
9000 * localedata/locales/tr_TR: likewise.
9001 * localedata/locales/translit_circle: likewise.
9002 * localedata/locales/translit_cjk_compat: likewise.
9003 * localedata/locales/translit_combining: likewise.
9004 * localedata/locales/translit_compat: likewise.
9005 * localedata/locales/translit_font: likewise.
9006 * localedata/locales/translit_fraction: likewise.
9007
9008 2018-07-03 Florian Weimer <fweimer@redhat.com>
9009
9010 [BZ #23363]
9011 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
9012 * stdio-common/tst-printf.sh: Adjust expected output.
9013 * LICENSES: Update.
9014
9015 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9016
9017 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
9018 symbol.
9019
9020 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9021
9022 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
9023 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
9024 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
9025 * stdio-common/tst-printfsz-islongdouble.c: New file.
9026 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
9027 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
9028 [subdir == stdio-common] (routines): Add ieee128-printf_size.
9029 [subdir == stdio-common] (tests-internal): Add
9030 test-printf-size-ieee128, and test-printf-size-ibm128.
9031 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
9032 (CFLAGS-test-printf-size-ibm128.c): New variables.
9033 [subdir == stdio-common] (tests-special): Add
9034 $(objpfx)test-printf-size-ieee128.out and
9035 $(objpfx)test-printf-size-ibm128.out.
9036 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
9037 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
9038 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
9039 __printf_sizeieee128.
9040 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
9041 New file.
9042 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
9043 Likewise.
9044 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
9045 Likewise.
9046
9047 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9048
9049 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
9050 (exp2f_inline): Likewise.
9051 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
9052 (__math_uflowf): Likewise.
9053 (__math_may_uflowf): Likewise.
9054 (__math_divzerof): Likewise.
9055 (__math_invalidf): Likewise.
9056 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
9057 (__math_oflowf): Likewise.
9058 (__math_uflowf): Likewise.
9059 (__math_may_uflowf): Likewise.
9060 (__math_divzerof): Likewise.
9061 (__math_invalidf): Likewise.
9062
9063 2018-06-29 DJ Delorie <dj@redhat.com>
9064 Carlos O'Donell <carlos@redhat.com>
9065
9066 [BZ #23329]
9067 * include/libc-symbols.h: Comment the freeres framework.
9068 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
9069 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
9070 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
9071 * dlfcn/dlerror.c: Include libc-symbols.h
9072 (__dlerror_main_freeres): New function.
9073 * dlfcn/dlfreeres.c: New file.
9074 * dlfcn/sdlfreeres.c: New file.
9075 * include/dlfcn.h: Declare __dlerror_main_freeres.
9076 * malloc/set-freeres.c: Declare __libdl_freeres, and
9077 __libpthread_freeres.
9078 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
9079 the releavant libraries are loaded.
9080 * malloc/thread-freeres.c: Add comments.
9081 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
9082 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
9083 * nptl/allocatestack.c (__nptl_free_stacks): New function.
9084 (__free_stacks): Rename to...
9085 (free_stacks): ...this. Mark static.
9086 (queue_stack): Call free_stacks.
9087 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
9088 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
9089 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
9090 ptr_freeres element from struct.
9091 (pthread_functions): Remove .ptr_freeres from struct initializer.
9092 [SHARED] (nptl_freeres): Remove.
9093 * nptl/nptlfreeres.c: New file.
9094 * nptl/pthreadP.h
9095 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
9096 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
9097 attribute_hidden.
9098 (__free_stacks): Rename to...
9099 (__nptl_stacks_freeres): ...this.
9100 (__shm_directory_freeres): Declare.
9101 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
9102 (__nptl_unwind_freeres): ...this.
9103 * resolv/res-close.c: Add comment.
9104 * resolv/resolv_conf.c: Include libc-symbols.h.
9105 * string/strerror_l.c: Include libc-symbols.h.
9106 * sunrpc/rpc_thread.c: Include libc-symbols.h.
9107 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
9108 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
9109 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
9110
9111 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9112
9113 * stdlib/tst-strfmon_l.c: Add tests for long double.
9114
9115 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
9116
9117 [BZ #23208]
9118 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
9119 * localedata/locales/dsb_DE: New file.
9120
9121 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9122
9123 [BZ #23140]
9124 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
9125 genitive case).
9126 (alt_mon): New entry, import from CLDR (nominative case).
9127
9128 2018-06-29 Sylvain Lesage <severo@rednegra.net>
9129
9130 [BZ #22996]
9131 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
9132
9133 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
9134
9135 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
9136 Use vector registers.
9137
9138 * sysdeps/aarch64/multiarch/memmove_falkor.S
9139 (__memcpy_falkor): Use vector registers.
9140
9141 2018-06-29 Martin Sebor <msebor@redhat.com>
9142
9143 * manual/stdio.texi (Customizing Printf): Mention interaction
9144 with GCC built-ins.
9145
9146 2018-06-29 Maciej W. Rozycki <macro@mips.com>
9147
9148 [BZ #23307]
9149 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
9150 `st_value' is 0 if `st_shndx' is SHN_ABS.
9151 * elf/tst-absolute-zero.c: New file.
9152 * elf/tst-absolute-zero-lib.c: New file.
9153 * elf/tst-absolute-zero-lib.lds: New file.
9154 * elf/Makefile (tests): Add `tst-absolute-zero'.
9155 (modules-names): Add `tst-absolute-zero-lib'.
9156 (LDLIBS-tst-absolute-zero-lib.so): New variable.
9157 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
9158 ($(objpfx)tst-absolute-zero: New dependency.
9159
9160 2018-06-29 Zack Weinberg <zackw@panix.com>
9161
9162 * configure.ac: New command-line option --disable-crypt.
9163 Force --disable-nss-crypt when --disable-crypt is given, with a
9164 warning if it was explicitly enabled.
9165 * configure: Regenerate.
9166 * config.make.in: New boolean substitution variable $(build-crypt).
9167 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
9168 when $(build-crypt).
9169 * manual/install.texi: Document --disable-crypt.
9170 * INSTALL: Regenerate.
9171
9172 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
9173 which is never set.
9174 * conform/Makefile: Only include libcrypt.a in
9175 linknamespace-libs-xsi and linknamespace-libs-XPG4
9176 when $(build-crypt).
9177 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
9178 USE_CRYPT to 1 when $(build-crypt).
9179 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
9180 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
9181 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
9182
9183 2018-06-29 Zack Weinberg <zackw@panix.com>
9184
9185 * crypt/crypt.h, posix/unistd.h: Update comments and
9186 prototypes for crypt and crypt_r.
9187
9188 * manual/crypt.texi (Cryptographic Functions): New initial
9189 exposition.
9190 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
9191 (Unpredictable Bytes): Improve initial exposition. Clarify error
9192 behavior of getentropy and getrandom.
9193 * manual/examples/genpass.c: Generate a salt using getentropy
9194 instead of the current time. Use hash $5$ (SHA-2-256).
9195 * manual/examples/testpass.c: Demonstrate validation against
9196 hashes generated with three different one-way functions.
9197
9198 * manual/intro.texi: crypt.texi does not need an overview
9199 anymore.
9200
9201 * manual/nss.texi, manual/memory.texi, manual/socket.texi
9202 * manual/terminal.texi: Consistently refer to "passphrases"
9203 * instead of "passwords", and to the "user database" instead
9204 * of the "password database".
9205 * manual/users.texi: Similarly. Add notes about how actual
9206 passphrase hashes are now stored in the shadow database.
9207 Remove 20-year-old junk todo note.
9208
9209 2018-06-29 Zack Weinberg <zackw@panix.com>
9210
9211 * manual/crypt.texi: Use a normal top-level @node declaration.
9212 Move most of the introductory text to the 'crypt' section.
9213 Move the example programs below the @deftypefun for 'crypt_r'.
9214 Move the 'getpass' section...
9215 * manual/terminal.texi: ...here.
9216
9217 2018-06-29 Zack Weinberg <zackw@panix.com>
9218 Florian Weimer <fweimer@redhat.com>
9219
9220 * posix/unistd.h: Do not declare encrypt.
9221 (_XOPEN_CRYPT): Remove macro definition.
9222 (crypt): Declare only for _USE_MISC.
9223 * stdlib/stdlib.h: Do not declare setkey.
9224 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
9225 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
9226
9227 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
9228 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
9229 into compat symbols. Don't define initial_perm if it's not
9230 going to be used.
9231 * crypt/cert.c: Link explicitly with the expected versions for
9232 setkey and encrypt. If they are not available at all, mark
9233 the test as unsupported.
9234
9235 * sunrpc/des_crypt.c: Unconditionally block linkage with
9236 cbc_crypt and ecb_crypt for new binaries.
9237 * sunrpc/des_soft.c: Unconditionally block linkage with
9238 des_setparity for new binaries.
9239
9240 * manual/crypt.texi: Remove the entire "DES Encryption"
9241 section. Also remove the paragraph talking about FIPS 140-2
9242 from the introduction.
9243 * manual/string.texi (strfry, memfrob): Revise. Recommend use
9244 of libgcrypt for "real" encryption, not DES.
9245 * manual/conf.texi (Constants for Sysconf): Mention that
9246 _XOPEN_CRYPT is no longer impelemented.
9247
9248 * conform/data/unistd.h-data: Remove crypt function declaration.
9249
9250 2018-06-29 Florian Weimer <fweimer@redhat.com>
9251
9252 [BZ #23351]
9253 * malloc/hooks.c: Update comments on restoring of dumped heaps.
9254 (disallow_malloc_check): Remove variable.
9255 (__malloc_check_init): Adjust.
9256 (malloc_set_state): Update comment.
9257 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
9258 declarations.
9259
9260 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9261
9262 [BZ #23140]
9263 * localedata/locales/ast_ES (mon): Rename to...
9264 (alt_mon): This.
9265 (mon): Import from CLDR (genitive case).
9266
9267 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
9268 Jakub Sitnicki <jkbs@redhat.com>
9269
9270 [BZ #21812]
9271 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
9272 on NLM_F_DUMP_INTR.
9273
9274 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
9275
9276 * manual/llio.texi: Remove spurious space.
9277
9278 2018-06-28 Florian Weimer <fweimer@redhat.com>
9279
9280 [BZ #23349]
9281 * time/bits/types/struct_timespec.h: Change header inclusion guard to
9282 _STRUCT_TIMESPEC.
9283
9284 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9285
9286 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
9287 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
9288 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
9289 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
9290 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
9291 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
9292 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
9293
9294 2018-06-27 Maciej W. Rozycki <macro@mips.com>
9295
9296 [BZ #23266]
9297 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
9298 Copy and null-terminate entries that are not terminated, in
9299 addition to empty ones.
9300
9301 2018-06-27 Florian Weimer <fweimer@redhat.com>
9302
9303 [BZ #18023]
9304 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
9305 (extend_alloca_account): Remove.
9306 * manual/stdio.texi (Variable Arguments Output): Update comment.
9307
9308 2018-06-27 Joseph Myers <joseph@codesourcery.com>
9309
9310 * nptl/sockperf.c: Remove file.
9311
9312 2018-06-27 Florian Weimer <fweimer@redhat.com>
9313
9314 [BZ #18023]
9315 * elf/dl-deps.c (_dl_map_object_deps): Use struct
9316 scratch_buffer instead of extend_alloca.
9317
9318 2018-06-27 Florian Weimer <fweimer@redhat.com>
9319
9320 [BZ #18023]
9321 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
9322 scratch_buffer instead of extend_alloca. Update comments.
9323
9324 2018-06-27 Florian Weimer <fweimer@redhat.com>
9325
9326 [BZ #18023]
9327 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
9328 instead of extend_alloca.
9329
9330 2018-06-26 Joseph Myers <joseph@codesourcery.com>
9331
9332 [BZ #13888]
9333 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
9334 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
9335 /tmp.
9336 * scripts/test-installation.pl: Put temporary files in build
9337 directory, not /tmp.
9338 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
9339 (CFLAGS-bug4.c): Likewise.
9340 (CFLAGS-bug5.c): Likewise.
9341 (CFLAGS-test-fseek.c): Likewise.
9342 (CFLAGS-test-popen.c): Likewise.
9343 (CFLAGS-test_rdwr.c): Likewise.
9344 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
9345 /tmp.
9346 * stdio-common/bug4.c (main): Likewise.
9347 * stdio-common/bug5.c (main): Likewise.
9348 * stdio-common/test-fseek.c (TESTFILE): Likewise.
9349 * stdio-common/test-popen.c (do_test): Likewise.
9350 * stdio-common/test_rdwr.c (main): Likewise.
9351
9352 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
9353
9354 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
9355 (sem_open): Set sem.newsem.pad to zero for valgrind.
9356
9357 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9358
9359 [BZ #20251]
9360 * NEWS: Mention fcntl64 addition.
9361 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
9362 * login/utmp_file.c: Likewise.
9363 * sysdeps/posix/fdopendir.c: Likewise.
9364 * sysdeps/posix/opendir.c: Likewise.
9365 * sysdeps/unix/pt-fcntl.c: Likewise.
9366 * include/fcntl.h (__libc_fcntl64, __fcntl64,
9367 __fcntl64_nocancel_adjusted): New prototype.
9368 (__fcntl_nocancel_adjusted): Remove prototype.
9369 * io/Makefile (routines): Add fcntl64.
9370 (CFLAGS-fcntl64.c): New rule.
9371 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
9372 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
9373 * io/fcntl.h (fcntl64): Add prototype and redirect if
9374 __USE_FILE_OFFSET64 is defined.
9375 * io/fcntl64.c: New file.
9376 * manual/llio.text: Add a note for which commands fcntl acts a
9377 cancellation point.
9378 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
9379 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
9380 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
9381 New symbols.
9382 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
9383 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
9384 non-LFS case.
9385 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
9386 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
9387 to __fcntl64_nocancel.
9388 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
9389 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
9390 to __fcntl64_nocancel.
9391 * sysdeps/generic/not-cancel.h: Likewise.
9392 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
9393 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
9394 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9395 (fcntl64): New symbol.
9396 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9397 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9398 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9401 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9402 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9403 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9404 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9405 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9406 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
9407 fcntl64): Likewise.
9408 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9409 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
9410 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9411 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9412 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9413 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9414 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9415 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9416 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9418 Likewise.
9419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9420 Likewise.
9421 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9422 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9423 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9424
9425 2018-06-26 Florian Weimer <fweimer@redhat.com>
9426
9427 Run thread shutdown functions in an explicit order.
9428 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
9429 definition.
9430 (__libc_thread_freeres): Call thread shutdown functions
9431 explicitly.
9432 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
9433 * include/string.h (__strerror_thread_freeres): Declare.
9434 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
9435 arena_thread_freeres. No longer static. Remove thread shutdown
9436 hook registration.
9437 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
9438 Declare.
9439 * resolv/res-close.c (__res_thread_freeres): Renamed from
9440 res_thread_freeres. No longer static. Remove thread shutdown
9441 hook registration.
9442 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
9443 * resolv/resolv_conf.c (freeres): Remove incorrect section
9444 attribute and use libc_freeres_fn.
9445 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
9446 strerror_thread_freeres. No longer static. Remove thread
9447 shutdown hook registration.
9448 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
9449 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
9450 shutdown hook registration.
9451 * Makerules (shlib.lds): Do not provide section boundary symbols
9452 for __libc_thread_subfreeres.
9453 * manual/memory.texi (Basic Allocation): Update comment.
9454
9455 2018-06-26 Florian Weimer <fweimer@redhat.com>
9456
9457 Remove always-defined _RPC_THREAD_SAFE_ macro.
9458 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
9459 Do not define _RPC_THREAD_SAFE_.
9460 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
9461 conditional.
9462 * sunrpc/clnt_perr.c: Likewise.
9463 * sunrpc/clnt_raw.c: Likewise.
9464 * sunrpc/clnt_simp.c: Likewise.
9465 * sunrpc/key_call.c: Likewise.
9466 * sunrpc/rpc_common.c: Likewise.
9467 * sunrpc/rpc_main.c: Likewise.
9468 * sunrpc/rpc_thread.c: Likewise.
9469 * sunrpc/svc.c: Likewise.
9470 * sunrpc/svc_raw.c: Likewise.
9471 * sunrpc/svc_simple.c: Likewise.
9472 * sumrpc/svcauth_des.c: Likewise.
9473
9474 2018-06-26 Florian Weimer <fweimer@redhat.com>
9475
9476 * libio/Makefile (tests-internal): Add tst-vtables,
9477 tst-vtables-interposed.
9478 * libio/tst-vtables.c: New file.
9479 * libio/tst-vtables-common.c: Likewise.
9480 * libio/tst-vtables-interposed.c: Likewise.
9481
9482 2018-06-26 Florian Weimer <fweimer@redhat.com>
9483
9484 * support/support_test_main.c (support_test_main): Only call
9485 setvbuf if not disables.
9486 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
9487 * support/test-driver.h (struct test_config): Add no_setvbuf member.
9488
9489 2018-06-26 Florian Weimer <fweimer@redhat.com>
9490
9491 [BZ #23313]
9492 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
9493
9494 2018-06-25 Florian Weimer <fweimer@redhat.com>
9495
9496 [BZ #18023]
9497 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9498 Use struct scratch_buffer instead of extend_alloca.
9499
9500 2018-06-25 Florian Weimer <fweimer@redhat.com>
9501
9502 [BZ #18023]
9503 * nss/getent.c (initgroups_keys): Use dynarray instead of
9504 extend_alloca.
9505
9506 2018-06-25 Florian Weimer <fweimer@redhat.com>
9507
9508 [BZ #18023]
9509 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
9510 Use struct scratch_buffer instead of extend_alloca.
9511
9512 2018-06-25 Florian Weimer <fweimer@redhat.com>
9513
9514 [BZ #18023]
9515 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
9516 back to malloc directly, without stack allocations.
9517
9518 2018-06-25 Florian Weimer <fweimer@redhat.com>
9519
9520 [BZ #18023]
9521 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
9522 of extend_alloca.
9523
9524 2018-06-25 Florian Weimer <fweimer@redhat.com>
9525
9526 [BZ #18023]
9527 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
9528 of extend_alloca.
9529 * nscd/hstcache.c (addhstbyX): Likewise.
9530 * nscd/pwdcache.c (addpwbyX): Likewise.
9531 * nscd/servicescache.c (addservbyX): Likewise.
9532
9533 2018-06-25 Florian Weimer <fweimer@redhat.com>
9534
9535 [BZ #18023]
9536 * nscd/connections.c (read_cmdline): New function.
9537 (restart): Use it. Update comment.
9538
9539 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9540
9541 [BZ #23140]
9542 * localedata/locales/csb_PL (mon): Rename to...
9543 (alt_mon): This.
9544 (abmon): Rename to...
9545 (ab_alt_mon): This.
9546 (mon): Add with proper genitive forms, copy from Wikipedia.
9547 (abmon): Likewise.
9548
9549 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9550
9551 [BZ #19485]
9552 * localedata/locales/csb_PL (mon): Fix typos:
9553 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
9554 (yesstr): Add, value is "jo".
9555 (nostr): Add, value is "nié".
9556
9557 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9558
9559 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
9560 all log1p and significand functions on m680x0.
9561 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
9562 of s_significand.c..
9563 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
9564 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
9565 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
9566 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
9567 s_log1p.c and include it..
9568
9569 2018-06-21 Vincent Chen <vincentc@andestech.com>
9570
9571 * elf/elf.h (R_NDS32_NONE): New define.
9572 (R_NDS32_32_RELA): Likewise.
9573 (R_NDS32_COPY): Likewise.
9574 (R_NDS32_GLOB_DAT): Likewise.
9575 (R_NDS32_JUMP_SLOT): Likewise.
9576 (R_NDS32_RELATIVE): Likewise.
9577 (R_NDS32_TLS_TPOFF): Likewise.
9578 (R_NDS32_TLS_DESC): Likewise.
9579
9580 2018-06-21 Mark Wielaard <mark@klomp.org>
9581
9582 * elf/elf.h (R_BPF_MAP_FD): Removed.
9583 (R_BPF_64_64, R_BPF_64_32): New.
9584
9585 2018-06-21 Florian Weimer <fweimer@redhat.com>
9586
9587 [BZ #23253]
9588 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
9589 Renamed from libc_feholdsetround_ctx.
9590 (default_libc_feresetround_ctx): Renamed from
9591 libc_feresetround_ctx.
9592 (default_libc_feholdsetround_noex_ctx): Renamed from
9593 libc_feholdsetround_noex_ctx.
9594 (default_libc_feresetround_noex_ctx): Renamed from
9595 libc_feresetround_noex_ctx.
9596 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
9597 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
9598 forwardning to the old implementations under the new names.
9599 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
9600 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
9601 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
9602 (libc_feresetround_ctx): Forward to default implements for i386
9603 and MATH_SET_BOTH_ROUNDING_MODES.
9604 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
9605 Add -DMATH_SET_BOTH_ROUNDING_MODES.
9606
9607 2018-06-20 Joseph Myers <joseph@codesourcery.com>
9608
9609 * string/tst-cmp.c: Include <libc-diag.h>.
9610 (strncmp_max): Disable -Wstringop-overflow= around call to
9611 strncmp.
9612 (strncasecmp_max): Disable -Wstringop-overflow= around call to
9613 strncasecmp.
9614
9615 * string/bug-strpbrk1.c: Include <libc-diag.h>.
9616 (main): Disable -Wunused-value around call to strpbrk.
9617 * string/bug-strspn1.c: Include <libc-diag.h>.
9618 (main): Disable -Wunused-value around call to strspn.
9619
9620 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9621 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9622
9623 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
9624 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
9625
9626 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9627
9628 * math/Makefile (libm-calls): Move s_significandF to...
9629 (gen-libm-calls): ... here.
9630 * math/s_significand_template.c: New file.
9631 * math/s_significand.c: Removed.
9632 * math/s_significandf.c: Removed.
9633 * math/s_significandl.c: Removed.
9634 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
9635 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
9636
9637 * math/e_exp2_template.c (declare_mgen_finite_alias,
9638 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
9639 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
9640 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
9641
9642 2018-06-20 Florian Weimer <fweimer@redhat.com>
9643
9644 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
9645
9646 2018-06-19 Joseph Myers <joseph@codesourcery.com>
9647
9648 [BZ #23280]
9649 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
9650 floating-point number to strtod functions rather than possibly
9651 negating result of those functions.
9652 * stdio-common/tst-scanf-round.c: New file.
9653 * stdio-common/Makefile (tests): Add tst-scanf-round.
9654 ($(objpfx)tst-scanf-round): Depend on $(libm).
9655
9656 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
9657
9658 * sysdeps/mach/hurd/localplt.data: Move to...
9659 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
9660 R_386_GLOB_DAT like on Linux i386.
9661
9662 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9663
9664 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
9665 (SHM_STAT_ANY): New macro.
9666 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
9667 (SHM_STAT_ANY): Likewise.
9668 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
9669 (SHM_STAT_ANY): Likewise.
9670 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
9671 (SHM_STAT_ANY): Likewise.
9672 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
9673 (SHM_STAT_ANY): Likewise.
9674 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
9675 (SHM_STAT_ANY): Likewise.
9676 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
9677 (SHM_STAT_ANY): Likewise.
9678 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
9679 (SHM_STAT_ANY): Likewise.
9680 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
9681 (SHM_STAT_ANY): Likewise.
9682 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
9683 (SHM_STAT_ANY): Likewise.
9684 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
9685 (SHM_STAT_ANY): Likewise.
9686 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
9687 (SHM_STAT_ANY): Likewise.
9688
9689 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
9690 (SEM_STAT_ANY): New macro.
9691 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
9692 (SEM_STAT_ANY): Likewise.
9693 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
9694 (SEM_STAT_ANY): Likewise.
9695 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
9696 (SEM_STAT_ANY): Likewise.
9697 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
9698 (SEM_STAT_ANY): Likewise.
9699 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
9700 (SEM_STAT_ANY): Likewise.
9701 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
9702 (SEM_STAT_ANY): Likewise.
9703 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
9704 (SEM_STAT_ANY): Likewise.
9705 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
9706 (SEM_STAT_ANY): Likewise.
9707 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
9708 (SEM_STAT_ANY): Likewise.
9709
9710 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
9711 (MSG_STAT_ANY): New macro.
9712 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
9713 (MSG_STAT_ANY): Likewise.
9714 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
9715 (MSG_STAT_ANY): Likewise.
9716 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
9717 (MSG_STAT_ANY): Likewise.
9718 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
9719 (MSG_STAT_ANY): Likewise.
9720 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
9721 (MSG_STAT_ANY): Likewise.
9722 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
9723 (MSG_STAT_ANY): Likewise.
9724 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
9725 (MSG_STAT_ANY): Likewise.
9726 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
9727 (MSG_STAT_ANY): Likewise.
9728 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
9729 (MSG_STAT_ANY): Likewise.
9730
9731 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9732 (MAP_TYPE): Change value to 0x2b.
9733
9734 2018-06-18 Florian Weimer <fweimer@redhat.com>
9735
9736 [BZ #15722]
9737 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
9738 socket with SOCK_CLOEXEC.
9739
9740 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9741
9742 [BZ #23303]
9743 * sysdeps/powerpc/powerpc64/le/Makefile
9744 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
9745 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
9746 (gnulib-tests): Also add $(f128-loader-link) for
9747 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
9748
9749 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
9750
9751 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
9752 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
9753 of sendfile.
9754 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
9755 (sendfile64): New strong alias.
9756 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
9757 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
9758 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
9759 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
9760 attribute.
9761 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
9762 ___pthread_get_cleanup_stack.
9763 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
9764 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
9765 * mach/shortcut.awk: Make syscall stubs include
9766 <mach-shortcuts-hidden.h> and add hidden definition.
9767 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
9768 (__mach_msg): Add hidden prototype.
9769 * mach/msg.c: Include <mach.h>.
9770 (__mach_msg): Add hidden definition.
9771 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
9772 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
9773 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
9774 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
9775 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
9776 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
9777 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
9778 prototype and definition.
9779 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
9780 hidden target for _hurd_self_sigstate.
9781
9782 2018-06-15 Joseph Myers <joseph@codesourcery.com>
9783
9784 [BZ #23007]
9785 * stdlib/tst-strtod-nan-sign-main.c: New file.
9786 * stdlib/tst-strtod-nan-sign.c: Likewise.
9787 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
9788 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
9789 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
9790 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
9791 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
9792
9793 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
9794
9795 [BZ #23007]
9796 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
9797 appropriate sign.
9798
9799 2018-06-14 Florian Weimer <fweimer@redhat.com>
9800
9801 [BZ #23290]
9802 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
9803 that the result stays within the ISO-8859-1 range.
9804 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
9805 characters are defined in IBM273.
9806
9807 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
9808
9809 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
9810 __mach_task_self): Remove attribute_hidden.
9811
9812 2018-06-14 Joseph Myers <joseph@codesourcery.com>
9813
9814 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
9815 ignore -Wrestrict for one test.
9816
9817 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
9818 Szabolcs Nagy <szabolcs.nagy@arm.com>
9819
9820 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
9821
9822 2018-06-14 Florian Weimer <fweimer@redhat.com>
9823
9824 * scripts/update-abilist.sh: Accept empty list of files to patch.
9825
9826 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
9827
9828 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
9829 test-xfail-check-abi-libmachuser): Add.
9830 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
9831 __libc_read and __libc_write to __read and __write.
9832 * sysdeps/hurd/include/hurd/port.h: New file.
9833 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
9834 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
9835 __thread_switch, __evc_wait): Move declarations to...
9836 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
9837 attribute_hidden.
9838 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
9839 use PLT to call _hurd_self_sigstate.
9840
9841 2018-06-13 Joseph Myers <joseph@codesourcery.com>
9842
9843 [BZ #23279]
9844 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
9845 MAX_EXP as overflowing.
9846 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
9847 overflow flag.
9848 (round_str): Output also whether result overflows in each rounding
9849 mode.
9850 * stdlib/tst-strtod-round-data: Add more tests.
9851 * stdlib/tst-strtod-round-data.h: Regenerated.
9852 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
9853 (TEST): Handle extra arguments for overflow flags.
9854 (struct test_overflow): New type.
9855 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
9856 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
9857 (test_in_one_mode): Take argument with overflow information.
9858 (do_test): Update calls to test_in_one_mode.
9859
9860 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9861
9862 * elf/dl-load (_dl_dst_substitute): Correct comment.
9863 (_dl_dst_count): Likewise.
9864
9865 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
9866 lll_futex_timed_wait.
9867
9868 2018-06-12 Joseph Myers <joseph@codesourcery.com>
9869
9870 [BZ #23277]
9871 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
9872 attribute.
9873 * math/test-nan-const.c: New file.
9874 * math/Makefile (tests): Add test-nan-const.
9875 (CFLAGS-test-nan-const.c): New variable.
9876
9877 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9878
9879 * benchtests/scripts/compare_strings.py (process_results): Add
9880 funcs argument. Compare only functions which are selected.
9881 (main): Check if base function is among selected functions.
9882 Pass selected functions to process_results.
9883 (__main__): Add -f/--functions argument.
9884
9885 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
9886 Hongbo Zhang <hongbo.zhang@linaro.org>
9887
9888 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
9889 __memcpy_falkor for phecda core.
9890 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
9891 __memmove_falkor for phecda core.
9892 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
9893 __memset_falkor for phecda core.
9894 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
9895 for phecda core.
9896 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
9897 macro to identify phecda core.
9898
9899 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9900 Andreas Schwab <schwab@suse.de>
9901 Dmitry V. Levin <ldv@altlinux.org>
9902 Florian Weimer <fweimer@redhat.com>
9903
9904 [BZ #23102]
9905 [BZ #21942]
9906 [BZ #18018]
9907 [BZ #23259]
9908 CVE-2011-0536
9909 * elf/dl-dst.h: Remove DL_DST_COUNT.
9910 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
9911 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
9912 (is_dst): Comment. Support ELF gABI.
9913 (_dl_dst_count): Comment. Simplify and count DSTs.
9914 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
9915 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
9916 locals.
9917
9918 2018-06-12 Zack Weinberg <zackw@panix.com>
9919
9920 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
9921 * sysdeps/unix/sysv/linux/dl-sysdep.c
9922 Include not-cancel.h. Use __close_nocancel instead of __close,
9923 __open64_nocancel instead of __open, __read_nocancel instead of
9924 __libc_read, and __write_nocancel instead of __libc_write.
9925
9926 * csu/check_fds.c (check_one_fd)
9927 * sysdeps/posix/fdopendir.c (__fdopendir)
9928 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
9929 instead of __fcntl and/or __libc_fcntl.
9930
9931 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
9932 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
9933 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
9934 Use __open64_nocancel instead of __open_nocancel.
9935
9936 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
9937 hidden_proto declarations to the end and issue them if either
9938 IS_IN(libc) or IS_IN(rtld).
9939 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
9940 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
9941 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
9942 read_nocancel, waitpid_nocancel, write_nocancel.
9943
9944 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
9945 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
9946 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
9947
9948 * nptl/pt-fcntl.c: New file.
9949 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
9950 (libpthread-routines): Add pt-fcntl.
9951 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
9952 (__libc_fcntl): Remove attribute_hidden.
9953 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
9954 __fcntl_nocancel_adjusted, not fcntl_common.
9955 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
9956 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
9957 to fcntl_nocancel.c.
9958 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
9959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
9960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9961 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
9962
9963 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
9964 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
9965 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
9966 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
9967 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
9968 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
9969 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
9970 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
9971 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
9972 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
9973 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
9974 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
9975 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
9976 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
9977 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
9978 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
9979 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
9980 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
9981 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
9982 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
9983
9984 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
9985 libpthread-routines.
9986 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
9987 defines nothing.
9988
9989 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
9990 __libc_read, and __write instead of __libc_write. Define
9991 __open64 in addition to __open.
9992
9993 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9994
9995 [BZ #23250]
9996 [BZ #10686]
9997 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
9998 to _private_tm[3] and add __glibc_reserved2.
9999 Add _Static_assert of offset of __private_ss == 0x30.
10000 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
10001 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
10002
10003 2018-06-12 Florian Weimer <fweimer@redhat.com>
10004
10005 x86: Make strncmp usable from rtld.
10006 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
10007 __strncmp_ia32 if in libc (and not in rtld).
10008 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
10009 strncmp if not in libc (and not to __strncmp_sse2).
10010
10011 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
10012
10013 [BZ #23140]
10014 * localedata/locales/gd_GB (mon): Rename to...
10015 (alt_mon): This.
10016 (mon): Import from CLDR (genitive case).
10017 * localedata/locales/hsb_DE (mon): Rename to...
10018 (alt_mon): This.
10019 (mon): Import from CLDR (genitive case).
10020 * localedata/locales/wa_BE (mon): Rename to...
10021 (alt_mon): This.
10022 (mon): Add, fill with the proper genitive forms, but CLDR data
10023 is incomplete; completed according to the comments in this file.
10024 (d_t_fmt): Do not use "di" before the month name, no longer needed.
10025
10026 * localedata/locales/wa_BE (country_name): Reword
10027 "Beljike" -> "Beldjike".
10028
10029 2018-06-11 Joseph Myers <joseph@codesourcery.com>
10030
10031 [BZ #23272]
10032 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
10033 cases of non-finite arguments.
10034 * math/libm-test-fma.inc (fma_test_data): Add more tests.
10035
10036 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
10037
10038 [BZ #23174]
10039 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
10040
10041 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10042
10043 [BZ #23264]
10044 * include/unistd.h (__execvpex): New prototype.
10045 * posix/Makefile (tests): Add tst-spawn4.
10046 (tests-internal): Add tst-spawn4-compat.
10047 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
10048 * posix/tst-spawn4-compat.c: New file.
10049 * posix/tst-spawn4.c: Likewise.
10050 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
10051 binaries as shell scripts.
10052 * sysdeps/posix/spawni.c (__spawni): Likewise.
10053
10054 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
10055
10056 [BZ #23145]
10057 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
10058 ($(all-built-dso:=.dynsym): New target.
10059 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
10060 ($(objpfx)check-initfini.out): New target.
10061 (generated): Add check-initfini.out.
10062 * scripts/check-initfini.awk: New file.
10063 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
10064 (_fini): Likewise.
10065 * sysdeps/alpha/crti.S (_init): Mark as hidden.
10066 (_fini): Likewise.
10067 * sysdeps/arm/crti.S (_init): Mark as hidden.
10068 (_fini): Likewise.
10069 * sysdeps/hppa/crti.S (_init): Mark as hidden.
10070 (_fini): Likewise.
10071 * sysdeps/i386/crti.S (_init): Mark as hidden.
10072 (_fini): Likewise.
10073 * sysdeps/ia64/crti.S (_init): Mark as hidden.
10074 (_fini): Likewise.
10075 * sysdeps/m68k/crti.S (_init): Mark as hidden.
10076 (_fini): Likewise.
10077 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
10078 (_fini): Likewise.
10079 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
10080 (_fini): Likewise.
10081 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
10082 (_fini): Likewise.
10083 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
10084 (_fini): Likewise.
10085 * sysdeps/nios2/crti.S (_init): Mark as hidden.
10086 (_fini): Likewise.
10087 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
10088 (_fini): Likewise.
10089 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
10090 (_fini): Likewise.
10091 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
10092 (_fini): Likewise.
10093 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
10094 (_fini): Likewise.
10095 * sysdeps/sh/crti.S (_init): Mark as hidden.
10096 (_fini): Likewise.
10097 * sysdeps/sparc/crti.S (_init): Mark as hidden.
10098 (_fini): Likewise.
10099 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
10100 (_fini): Likewise.
10101
10102 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10103
10104 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
10105 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
10106 and TF redirection to KFtype and KF only when the default
10107 long double type is not the IEEE 128-bit floating point type.
10108
10109 2018-06-05 Joseph Myers <joseph@codesourcery.com>
10110
10111 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
10112 macro.
10113 (HWCAP_USCAT): Likewise.
10114 (HWCAP_ILRCPC): Likewise.
10115 (HWCAP_FLAGM): Likewise.
10116 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
10117 Increase to 28.
10118 (_dl_aarch64_cap_flags): Add new flag names.
10119
10120 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
10121 (MAP_FIXED_NOREPLACE): New macro.
10122 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
10123 (MAP_FIXED_NOREPLACE): Likewise.
10124 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
10125 (MAP_FIXED_NOREPLACE): Likewise.
10126 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10127 (MAP_FIXED_NOREPLACE): Likewise.
10128 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
10129 (MAP_FIXED_NOREPLACE): Likewise.
10130 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
10131 (MAP_FIXED_NOREPLACE): Likewise.
10132 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
10133 (MAP_FIXED_NOREPLACE): Likewise.
10134 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
10135 (MAP_FIXED_NOREPLACE): Likewise.
10136 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
10137 (MAP_FIXED_NOREPLACE): Likewise.
10138 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
10139 (MAP_FIXED_NOREPLACE): Likewise.
10140 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
10141 (MAP_FIXED_NOREPLACE): Likewise.
10142 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
10143 (MAP_FIXED_NOREPLACE): Likewise.
10144 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
10145 (MAP_FIXED_NOREPLACE): Likewise.
10146 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
10147 (MAP_FIXED_NOREPLACE): Likewise.
10148 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
10149 (MAP_FIXED_NOREPLACE): Likewise.
10150
10151 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10152 version to 4.17.
10153
10154 2018-06-04 Joseph Myers <joseph@codesourcery.com>
10155
10156 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10157 version to 4.17
10158
10159 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10160
10161 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
10162 int.
10163 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
10164
10165 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10166
10167 * benchtests/scripts/compare_string.py: (process_results) Catch
10168 exception in non-existent base_func and catch exception in
10169 non-existent attribute.
10170 (parse_file) Catch exception if input file does not exist.
10171
10172 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10173
10174 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
10175 options to avoid diff calculation and omit header, respectively.
10176 (main): process --no-diff and --no-header
10177
10178 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10179 H.J. Lu <hongjiu.lu@intel.com>
10180
10181 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10182 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
10183 wcsncmp-sse2.
10184 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10185 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
10186 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
10187 and __wcsncmp_sse2.
10188 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
10189 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
10190 AVX unaligned load is fast and vzeroupper is preferred.
10191 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
10192 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
10193 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
10194 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
10195 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
10196 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
10197 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
10198 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
10199 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
10200 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
10201 is undefined.
10202
10203 2018-06-01 Florian Weimer <fweimer@redhat.com>
10204
10205 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
10206 configuring with --disable-multi-arch, building with
10207 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
10208 Haswell-era CPU.
10209
10210 2018-06-01 Florian Weimer <fweimer@redhat.com>
10211
10212 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
10213 results from building with “-march=x86-64 -mtune=generic
10214 -mfpmath=sse” and running on a Haswell-era CPU.
10215
10216 2018-06-01 Joseph Myers <joseph@codesourcery.com>
10217
10218 [BZ #18473]
10219 * soft-fp/sqrttf2.c: Remove file.
10220 * soft-fp/sqrtdf2.c: Move to ....
10221 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
10222 <shlib-compat.h>.
10223 (__sqrtdf2): Make conditional on
10224 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10225 symbol.
10226 * soft-fp/sqrtsf2.c: Move to ....
10227 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
10228 <shlib-compat.h>.
10229 (__sqrtsf2): Make conditional on
10230 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10231 symbol.
10232 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
10233 (gcc-double-routines): Remove sqrtdf2.
10234 (gcc-quad-routines): Remove sqrttf2.
10235 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10236 Do not filter out sqrtsf2 and sqrtdf2.
10237 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10238 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
10239
10240 2018-06-01 Florian Weimer <fweimer@redhat.com>
10241
10242 * sysdeps/generic/libcidn.abilist: Remove file.
10243
10244 2018-06-01 Florian Weimer <fweimer@redhat.com>
10245
10246 [BZ #23236]
10247 * libio/strfile.h (struct _IO_str_fields): Rename members to
10248 discourage their use and add comment.
10249 (_IO_STR_DYNAMIC): Remove unused macro.
10250 * libio/strops.c (_IO_str_init_static_internal): Do not use
10251 callback pointers. Call malloc and free.
10252 (_IO_str_overflow): Do not use callback pointers. Call malloc
10253 and free.
10254 (enlarge_userbuf): Likewise.
10255 (_IO_str_finish): Call free.
10256 * libio/wstrops.c (_IO_wstr_init_static): Initialize
10257 _allocate_buffer_unused.
10258 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
10259 and free.
10260 (enlarge_userbuf): Likewise.
10261 (_IO_wstr_finish): Call free.
10262 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
10263 _allocate_buffer_unused, _free_buffer_unused.
10264 * libio/memstream.c (__open_memstream): Likewise.
10265 * libio/vasprintf.c (_IO_vasprintf): Likewise.
10266 * libio/wmemstream.c (open_wmemstream): Likewise.
10267
10268 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10269
10270 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
10271 AMD Ryzen 7 1800X.
10272
10273 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10274
10275 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
10276 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
10277 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
10278 New file.
10279 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
10280 Likewise.
10281 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
10282
10283 2018-05-29 Florian Weimer <fweimer@redhat.com>
10284
10285 * support/Makefile (libsupport-routines): Add
10286 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
10287 xpthread_barrierattr_setpshared.
10288 * support/xpthread_barrierattr_destroy.c: New file.
10289 * support/xpthread_barrierattr_init.c: Likewise.
10290 * support/xpthread_barrierattr_setpshared.c: Likewise.
10291
10292 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
10293
10294 [BZ #23206]
10295 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
10296 _r_debug and update DT_DEBUG for debugger.
10297
10298 2018-05-29 Florian Weimer <fweimer@redhat.com>
10299
10300 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
10301 (tst-strtod5i.out): Likewise.
10302
10303 2018-05-25 Joseph Myers <joseph@codesourcery.com>
10304
10305 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
10306 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
10307 (sparc64-quad-routines): New variable. Moved from ....
10308 [$(subdir) = soft-fp] (sysdep_routines): Add
10309 $(sparc64-quad-routines). Moved from ....
10310 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
10311 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
10312 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
10313 moved from ....
10314 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
10315 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
10316 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
10317 * sysdeps/sparc/sparc64/qp_add.c: ... here.
10318 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
10319 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
10320 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
10321 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
10322 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
10323 * sysdeps/sparc/sparc64/qp_div.c: ... here.
10324 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
10325 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
10326 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
10327 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
10328 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
10329 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
10330 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
10331 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
10332 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
10333 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
10334 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
10335 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
10336 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
10337 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
10338 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
10339 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
10340 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
10341 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
10342 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
10343 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
10344 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
10345 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
10346 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
10347 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
10348 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
10349 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
10350 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
10351 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
10352 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
10353 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
10354 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
10355 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
10356 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
10357 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
10358 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
10359 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
10360 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
10361 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
10362 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
10363 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
10364 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
10365 * sysdeps/sparc/sparc64/qp_util.c: ... here.
10366 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
10367 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
10368 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
10369 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
10370 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
10371 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
10372
10373 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
10374 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
10375 (sparc32-quad-routines): New variable. Moved from ....
10376 [$(subdir) = soft-fp] (sysdep_routines): Add
10377 $(sparc32-quad-routines). Moved from ....
10378 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
10379 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
10380 moved from ....
10381 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
10382 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
10383 * sysdeps/sparc/sparc32/q_add.c: ... here.
10384 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
10385 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
10386 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
10387 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
10388 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
10389 * sysdeps/sparc/sparc32/q_div.c: ... here.
10390 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
10391 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
10392 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
10393 * sysdeps/sparc/sparc32/q_feq.c: ... here.
10394 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
10395 * sysdeps/sparc/sparc32/q_fge.c: ... here.
10396 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
10397 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
10398 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
10399 * sysdeps/sparc/sparc32/q_fle.c: ... here.
10400 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
10401 * sysdeps/sparc/sparc32/q_flt.c: ... here.
10402 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
10403 * sysdeps/sparc/sparc32/q_fne.c: ... here.
10404 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
10405 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
10406 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
10407 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
10408 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
10409 * sysdeps/sparc/sparc32/q_mul.c: ... here.
10410 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
10411 * sysdeps/sparc/sparc32/q_neg.c: ... here.
10412 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
10413 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
10414 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
10415 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
10416 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
10417 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
10418 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
10419 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
10420 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
10421 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
10422 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
10423 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
10424 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
10425 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
10426 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
10427 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
10428 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
10429 * sysdeps/sparc/sparc32/q_sub.c: ... here.
10430 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
10431 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
10432 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
10433 * sysdeps/sparc/sparc32/q_util.c: ... here.
10434 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
10435 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
10436 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
10437 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
10438
10439 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10440 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10441
10442 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
10443 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
10444 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
10445 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
10446
10447 2018-05-24 Joseph Myers <joseph@codesourcery.com>
10448
10449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
10450 powerpc/soft-fp.
10451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10452 Likewise.
10453 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
10454 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
10455
10456 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10457
10458 [BZ #23171]
10459 * math/math.h [C++] (iseqsig): Fix parameter type for the long
10460 double version.
10461
10462 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10463
10464 * sysdeps/sh/Implies: Remove sh/soft-fp.
10465 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
10466 * sysdeps/sh/sfp-machine.h: ... here.
10467
10468 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10469
10470 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10471 (__mempcpy_erms): Skip zero length.
10472 (__memmove_erms): Likewise.
10473 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10474 (__memset_erms): Likewise.
10475
10476 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10477
10478 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
10479 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10480 Add functions moved from ....
10481 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
10482 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
10483 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
10484 from ....
10485 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
10486 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
10487 * sysdeps/alpha/e_sqrtl.c: ... here.
10488 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
10489 * sysdeps/alpha/local-soft-fp.h: ... here.
10490 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
10491 * sysdeps/alpha/ots_add.c: ... here.
10492 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
10493 * sysdeps/alpha/ots_cmp.c: ... here.
10494 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
10495 * sysdeps/alpha/ots_cmpe.c: ... here.
10496 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
10497 * sysdeps/alpha/ots_cvtqux.c: ... here.
10498 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
10499 * sysdeps/alpha/ots_cvtqx.c: ... here.
10500 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
10501 * sysdeps/alpha/ots_cvttx.c: ... here.
10502 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
10503 * sysdeps/alpha/ots_cvtxq.c: ... here.
10504 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
10505 * sysdeps/alpha/ots_cvtxt.c: ... here.
10506 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
10507 * sysdeps/alpha/ots_div.c: ... here.
10508 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
10509 * sysdeps/alpha/ots_mul.c: ... here.
10510 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
10511 * sysdeps/alpha/ots_nintxq.c: ... here.
10512 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
10513 * sysdeps/alpha/ots_sub.c: ... here.
10514 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
10515 * sysdeps/alpha/sfp-machine.h: ... here.
10516
10517 2018-05-23 Florian Weimer <fweimer@redhat.com>
10518
10519 [BZ #19728]
10520 [BZ #19729]
10521 [BZ #22247]
10522 CVE-2016-6261
10523 CVE-2016-6263
10524 CVE-2017-14062
10525 Switch to extern IDNA implementation (libidn2).
10526 * libidn: Remove subdirectory.
10527 * LICENSES: Do not mention licensing conditions for the removed
10528 libidn code.
10529 * config.h.in (HAVE_LIBIDN): Remove.
10530 * include/dlfcn.h (__libc_dlopen): Update comment.
10531 * include/idna.h: Remove file.
10532 * inet/Makefile (routines): Add idna.
10533 (tests-static, tests-internal): Add tst-idna_name_classify.
10534 (LOCALES): Generate locales for tests.
10535 (tst-idna_name_classify.out): Depend on generated locales.
10536 * inet/idna_name_classify.c: New file.
10537 * inet/tst-idna_name_classify.c: Likewise.
10538 * inet/net-internal.h (__idna_to_dns_encoding)
10539 (__idna_from_dns_encoding): Declare.
10540 * inet/net-internal.h (enum idna_name_classification): Define.
10541 (__idna_name_classify): Declare.
10542 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
10543 __idna_from_dns_encoding.
10544 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
10545 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
10546 name as a fallback in case of encoding errors.
10547 (getnameinfo): Use DEPRECATED_NI_IDN.
10548 * inet/idna.c: New file.
10549 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
10550 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
10551 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
10552 (modules-names): Add tst-no-libidn2.
10553 (extra-test-objs): Add tst-no-libidn2.os.
10554 (LDFLAGS-tst-no-libidn2.so): Set soname.
10555 (LOCALES): Set, and generate locales.
10556 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
10557 (tst-resolv-ai_idn-latin1): Likewise.
10558 (tst-resolv-ai_idn-nolibidn2): Likewise.
10559 (tst-resolv-ai_idn.out): Depend on locales.
10560 (tst-resolv-ai_idn-latin1.out): Depend on locales.
10561 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
10562 tst-no-libidn2.so.
10563 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
10564 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
10565 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
10566 * resolv/tst-resolv-ai_idn.c: New file.
10567 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
10568 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
10569 * resolv/tst-no-libidn2.c: Likewise.
10570 * support/support_format_addrinfo.c (format_ai_flags): Do not
10571 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
10572 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
10573 (gaih_inet): Call __idna_to_dns_encoding and
10574 __idna_from_dns_encoding, and use the original (punycode) name if
10575 __idna_from_dns_encoding fails due to an encoding error.
10576 (getaddrinfo): Use DEPRECATED_AI_IDN.
10577 * sysdeps/unix/inet/Subdirs (libidn): Remove.
10578 * sysdeps/unix/inet/configure: Remove file.
10579 * sysdeps/unix/inet/configure.ac: Likewise.
10580
10581 2018-05-23 Florian Weimer <fweimer@redhat.com>
10582
10583 Implement allocate_once.
10584 * include/allocate_once.h: New file.
10585 * misc/allocate_once.c: Likewise.
10586 * misc/tst-allocate_once.c: Likewise.
10587 * misc/Makefile (routines): Add allocate_once.
10588 (tests-internal): Add tst-allocate_once.
10589 (generated): Add tst-allocate_once.mtrace,
10590 tst-allocate_once-mem.out.
10591 (tests-special): Add tst-allocate_once-mem.out.
10592 (tst-allocate_once-ENV): Set MALLOC_TRACE.
10593 (tst-allocate_once-mem.out): Call mtrace.
10594 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
10595
10596 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10597
10598 [BZ #23196]
10599 * string/test-memcpy.c (do_test1): New function.
10600 (test_main): Call it.
10601
10602 2018-05-23 Andreas Schwab <schwab@suse.de>
10603
10604 [BZ #23196]
10605 CVE-2018-11237
10606 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
10607 (L(preloop_large)): Save initial destination pointer in %r11 and
10608 use it instead of %rax after the loop.
10609 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
10610
10611 2018-05-22 Joseph Myers <joseph@codesourcery.com>
10612
10613 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
10614 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
10615 -I../soft-fp. Moved from ....
10616 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
10617 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
10618 * sysdeps/aarch64/e_sqrtl.c: ... here.
10619 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
10620 * sysdeps/aarch64/sfp-machine.h: ... here.
10621
10622 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
10623 -Wmaybe-uninitialized around access to fq[0].
10624 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10625 Likewise.
10626
10627 [BZ #18471]
10628 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
10629 aliases for non-libc case of versioned symbols.
10630 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
10631 (llseek): Define as compat symbol if
10632 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
10633 with link warning.
10634 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
10635 Make into a compat symbol, disabled for minimum symbol version
10636 GLIBC_2.28 and later.
10637 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
10638
10639 2018-05-22 Florian Weimer <fweimer@redhat.com>
10640
10641 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
10642 not add -mpreferred-stack-boundary=4.
10643 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
10644 (stack-align-test-flags): Likewise.
10645 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
10646 Likewise.
10647 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
10648 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
10649 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
10650 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
10651 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
10652 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
10653 (CFLAGS-tst-align2.c): Likewise.
10654
10655 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10656
10657 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
10658 (index_arch_Prefer_FSRM): Likewise.
10659 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
10660 Also check Prefer_FSRM.
10661 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
10662 Also return OPTIMIZE (erms) for Prefer_FSRM.
10663
10664 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10665
10666 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
10667 (index_cpu_FSRM): Likewise.
10668 (reg_FSRM): Likewise.
10669
10670 2018-05-18 Joseph Myers <joseph@codesourcery.com>
10671
10672 * math/gen-tgmath-tests.py: Import sys.
10673 (Tests.__init__): Initialize macros_seen.
10674 (Tests.add_tests): Add macro to macros_seen. Only generate tests
10675 if requested to do so for this macro.
10676 (Tests.add_all_tests): Take argument for macro for which to
10677 generate tests.
10678 (Tests.check_macro_list): New function.
10679 (main): Handle check-list argument and argument specifying macro
10680 for which to generate tests.
10681 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
10682 [PYTHON] (tgmath3-macro-tests): Likewise.
10683 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
10684 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
10685 not test-tgmath3.c.
10686 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
10687 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
10688 to CFLAGS.
10689 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
10690 [PYTHON] ($(foreach
10691 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
10692 rule.
10693 [PYTHON] (tests-special): Add
10694 $(objpfx)test-tgmath3-macro-list.out.
10695 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
10696
10697 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
10698 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
10699 later.
10700
10701 [BZ #22639]
10702 * time/tzset.c (SECSPERDAY): Cast to time_t.
10703 * time/tst-y2039.c: New file.
10704 * time/Makefile (tests): Add tst-y2039.
10705
10706 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10707
10708 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10709 (PREFETCH_ONE_SET): Remove duplicate line.
10710
10711 2018-05-17 Florian Weimer <fweimer@redhat.com>
10712
10713 * sysdeps/generic/math-type-macros-double.h: Include
10714 <math-nan-payload-double.h> after <libm-alias-double.h>.
10715 * sysdeps/generic/math-type-macros-float.h: Include
10716 <math-nan-payload-float.h> after <libm-alias-float.h>.
10717 * sysdeps/generic/math-type-macros-float128.h: Include
10718 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
10719 * sysdeps/generic/math-type-macros-ldouble.h: Include
10720 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
10721
10722 2018-05-17 Andreas Schwab <schwab@suse.de>
10723
10724 * resolv/res_send.c (__res_context_send): Don't set errno when
10725 returing error after malloc failure.
10726
10727 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
10728
10729 * nptl/allocatestack.c (allocate_stack): Remove the
10730 !__ASSUME_PRIVATE_FUTEX paths.
10731 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
10732 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10733 Likewise.
10734 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
10735 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10736 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10737 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10738 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
10739 !__ASSUME_PRIVATE_FUTEX path.
10740 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
10741 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
10742 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10743 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
10744 !__ASSUME_PRIVATE_FUTEX macros.
10745 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10746 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10747 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10748 * sysdeps/unix/sysv/linux/kernel-features.h
10749 (__ASSUME_PRIVATE_FUTEX): Removed.
10750
10751 2018-05-17 Joseph Myers <joseph@codesourcery.com>
10752
10753 * math/Makefile (libm-narrow-fns): Add div.
10754 (libm-test-funcs-narrow): Likewise.
10755 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
10756 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
10757 * math/gen-auto-libm-tests.c (test_functions): Add div.
10758 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
10759 (NARROW_DIV_ROUND_TO_ODD): Likewise.
10760 (NARROW_DIV_TRIVIAL): Likewise.
10761 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
10762 macro.
10763 (__ddivl): Likewise.
10764 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
10765 ddiv.
10766 (CFLAGS-nldbl-ddiv.c): New variable.
10767 (CFLAGS-nldbl-fdiv.c): Likewise.
10768 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10769 __nldbl_ddivl.
10770 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
10771 prototype.
10772 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
10773 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
10774 * math/auto-libm-test-in: Add tests of div.
10775 * math/auto-libm-test-out-narrow-div: New generated file.
10776 * math/libm-test-narrow-div.inc: New file.
10777 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
10778 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
10779 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
10780 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
10781 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
10782 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
10783 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
10784 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
10785 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
10786 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
10787 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
10788 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
10789 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
10790 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
10791 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
10792 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
10793 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
10794 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
10795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10796 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10797 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10798 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10799 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10800 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10801 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10802 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10803 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10804 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10805 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10806 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10807 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10808 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10813 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10814 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10815 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10816 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10817 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10818 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10819 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10820 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10821
10822 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10823
10824 [BZ #23178]
10825 * nscd/nscd-client.h (sendfileall): Remove prototype.
10826 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
10827 (handle_request): Use writeall instead of sendfileall.
10828 * nscd/aicache.c (addhstaiX): Likewise.
10829 * nscd/grpcache.c (cache_addgr): Likewise.
10830 * nscd/hstcache.c (cache_addhst): Likewise.
10831 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10832 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
10833 * nscd/pwdcache.c (cache_addpw): Likewise.
10834 * nscd/servicescache.c (cache_addserv): Likewise.
10835 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
10836 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
10837 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
10838 Remove define.
10839
10840 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
10841
10842 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
10843 Include <string/strncat.c>.
10844 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
10845 alias.
10846 (__GI___strncat): New hidden alias.
10847
10848 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10849
10850 * sysdeps/mips/mips32/libm-test-ulps: Update.
10851 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10852
10853 2018-05-16 Florian Weimer <fweimer@redhat.com>
10854
10855 * support/Makefile (libsupport-routines): Add support_quote_blob,
10856 support_test_compare_blob.
10857 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
10858 * support/check.h (TEST_COMPARE_BLOB): Define.
10859 (support_test_compare_blob): Declare.
10860 * support/support.h (support_quote_blob): Declare.
10861 * support/support_quote_blob.c: New file.
10862 * support/support_test_compare_blob.c: Likewise.
10863 * support/tst-support_quote_blob.c: Likewise.
10864 * support/tst-test_compare_blob.c: Likewise.
10865
10866 2018-05-16 Florian Weimer <fweimer@redhat.com>
10867
10868 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
10869 of <strtod_nan_double.h>.
10870 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
10871 instead of SET_MANTISSA.
10872 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
10873 of include <strtod_nan_float.h>.
10874 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
10875 instead of <strtod_nan_ldouble.h>.
10876 * stdlib/strtod_nan_double.h: Move to ...
10877 * sysdeps/generic/math-nan-payload-double.h: ... here.
10878 (FLOAT): Remove definition.
10879 (SET_MANTISSA): Rename to ...
10880 (SET_NAN_PAYLOAD): ... this.
10881 * stdlib/strtod_nan_float.h: Move to ...
10882 * sysdeps/generic/math-nan-payload-float.h: ... here.
10883 (FLOAT): Remove definition.
10884 (SET_MANTISSA): Rename to ...
10885 (SET_NAN_PAYLOAD): ... this.
10886 * sysdeps/generic/math-type-macros-double.h: Include
10887 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
10888 instead of <math-svid-compat.h>.
10889 * sysdeps/generic/math-type-macros-float.h: Include
10890 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
10891 instead of <math-svid-compat.h>.
10892 * sysdeps/generic/math-type-macros-float128.h: Include
10893 <math-nan-payload-float128.h>.
10894 * sysdeps/generic/math-type-macros-ldouble.h: Include
10895 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
10896 instead of <math-svid-compat.h>.
10897 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
10898 check for definition.
10899 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
10900 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
10901 Include <ieee754_float128.h>.
10902 (FLOAT): Remove definition.
10903 (SET_MANTISSA): Rename to ...
10904 (SET_NAN_PAYLOAD): ... this.
10905 * sysdeps/ieee754/float128/strtof128_nan.c: Include
10906 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
10907 Do not include <float128_private.h>.
10908 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
10909 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
10910 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
10911 (FLOAT): Remove definition.
10912 (SET_MANTISSA): Rename to ...
10913 (SET_NAN_PAYLOAD): ... this.
10914 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
10915 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
10916 (FLOAT): Remove definition.
10917 (SET_MANTISSA): Rename to ...
10918 (SET_NAN_PAYLOAD): ... this.
10919 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
10920 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
10921 (FLOAT): Remove definition.
10922 (SET_MANTISSA): Rename to ...
10923 (SET_NAN_PAYLOAD): ... this.
10924 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
10925 of "../stdlib/strtod_nan_double.h".
10926 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
10927 of "../stdlib/strtod_nan_float.h".
10928 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
10929 instead of "../stdlib/strtod_nan_ldouble.h".
10930 * manual/arith.texi (Parsing of Floats): Adjust comment.
10931
10932 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10933
10934 * math/Makefile (libm-narrow-fns): Add mul.
10935 (libm-test-funcs-narrow): Likewise.
10936 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
10937 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
10938 * math/gen-auto-libm-tests.c (test_functions): Add mul.
10939 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
10940 (NARROW_MUL_ROUND_TO_ODD): Likewise.
10941 (NARROW_MUL_TRIVIAL): Likewise.
10942 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
10943 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
10944 macro.
10945 (__dmull): Likewise.
10946 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
10947 dmul.
10948 (CFLAGS-nldbl-dmul.c): New variable.
10949 (CFLAGS-nldbl-fmul.c): Likewise.
10950 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10951 __nldbl_dmull.
10952 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
10953 prototype.
10954 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
10955 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
10956 * math/auto-libm-test-in: Add tests of mul.
10957 * math/auto-libm-test-out-narrow-mul: New generated file.
10958 * math/libm-test-narrow-mul.inc: New file.
10959 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
10960 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
10961 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
10962 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
10963 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
10964 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
10965 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
10966 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
10967 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
10968 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
10969 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
10970 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
10971 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
10972 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
10973 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
10974 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
10975 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
10976 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
10977 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10978 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10979 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10980 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10981 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10982 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10983 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10984 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10985 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10986 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10987 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10988 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10989 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10990 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10995 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10996 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10997 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10998 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10999 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11000 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11001 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11002 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11003
11004 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11005
11006 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
11007 with *%eax in call.
11008
11009 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11010
11011 * sysdeps/i386/ldsodefs.h: Removed.
11012 * sysdeps/x86_64/ldsodefs.h: Moved to ...
11013 * sysdeps/x86/ldsodefs.h: This.
11014 (La_i86_regs): New.
11015 (La_i86_retval): Likewise.
11016 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
11017 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
11018
11019 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11020
11021 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
11022 unnecessary testl.
11023
11024 2018-05-13 Alan Modra <amodra@gmail.com>
11025
11026 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
11027 R_PARISC_TLS_DTPOFF32 reloc addend.
11028
11029 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11030
11031 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
11032 * math/math.h: Restrict the prototype definition for the functions
11033 issignaling(_Float128) and iszero(_Float128); and template
11034 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
11035 __HAVE_FLOAT128_UNLIKE_LDBL.
11036 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
11037 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
11038 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
11039 __f128() constants; define the type _Float128 as long double;
11040 and reuse long double in __CFLOAT128.
11041
11042 2018-05-11 Joseph Myers <joseph@codesourcery.com>
11043
11044 * sysdeps/generic/math_private.h: Do not include
11045 <math-barriers.h>.
11046 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
11047 <math_private.h>.
11048 * math/fromfp.h: Include <math-barriers.h>.
11049 * math/math-narrow.h: Likewise.
11050 * math/s_nextafter.c: Likewise.
11051 * math/s_nexttowardf.c: Likewise.
11052 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11053 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11054 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11055 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11056 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11057 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11058 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11059 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11060 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11061 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11062 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11063 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11064 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11065 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11066 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11067 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11068 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11069 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11070 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11071 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11072 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11073 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11074 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11075 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11076 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11077 * sysdeps/ieee754/k_standardl.c: Likewise.
11078 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11079 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11080 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11081 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11082 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11083 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11084 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11085 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11086 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11087 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11088 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11089 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11090 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11091 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11092 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11093 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11094 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11095 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11096 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11097 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11098 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
11099 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
11100
11101 2018-05-11 Florian Weimer <fweimer@redhat.com>
11102
11103 Use 64-bit epoch values in the time zone file parser.
11104 * include/time.h (internal_time_t): Define.
11105 (__tzfile_compute): Use it.
11106 * time/tzfile.c (struct leap): Use internal_time_t for epoch
11107 member.
11108 (transitions): Switch to internal_time_t.
11109 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
11110 types.
11111 (__tzfile_compute): Use internal_time_t for timer argument. Check
11112 for truncation before calling __offtime.
11113
11114 2018-05-11 Florian Weimer <fweimer@redhat.com>
11115
11116 [BZ #23166]
11117 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
11118 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
11119 Likewise.
11120 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
11121 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
11122 export without --enable-obsolete-rpc.
11123 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
11124 symbol. This should not have been exported, ever.
11125
11126 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
11127
11128 [BZ #23152]
11129 * localedata/locales/gd_GB (abmon): Fix typo in May:
11130 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
11131
11132 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11133
11134 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11135 Use multiple registers to copy data in loop tail.
11136
11137 * sysdeps/aarch64/multiarch/memmove_falkor.S
11138 (__memmove_falkor): Use multiple registers to move data in
11139 loop tail.
11140
11141 2018-05-10 Joseph Myers <joseph@codesourcery.com>
11142
11143 * math/math-underflow.h: New file.
11144 * sysdeps/generic/math_private.h: Do not include <float.h>.
11145 (fabs_tg): Remove macro. Moved to math-underflow.h.
11146 (min_of_type_f): Likewise.
11147 (min_of_type_): Likewise.
11148 (min_of_type_l): Likewise.
11149 (min_of_type_f128): Likewise.
11150 (min_of_type): Likewise.
11151 (math_check_force_underflow): Likewise.
11152 (math_check_force_underflow_nonneg): Likewise.
11153 (math_check_force_underflow_complex): Likewise.
11154 * math/e_exp2_template.c: Include <math-underflow.h>.
11155 * math/k_casinh_template.c: Likewise.
11156 * math/s_catan_template.c: Likewise.
11157 * math/s_catanh_template.c: Likewise.
11158 * math/s_ccosh_template.c: Likewise.
11159 * math/s_cexp_template.c: Likewise.
11160 * math/s_clog10_template.c: Likewise.
11161 * math/s_clog_template.c: Likewise.
11162 * math/s_csin_template.c: Likewise.
11163 * math/s_csinh_template.c: Likewise.
11164 * math/s_csqrt_template.c: Likewise.
11165 * math/s_ctan_template.c: Likewise.
11166 * math/s_ctanh_template.c: Likewise.
11167 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11168 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11169 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11170 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11171 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11172 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11173 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11174 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11175 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11176 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11177 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11178 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11179 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11180 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11181 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11182 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11183 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11184 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11185 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11186 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11187 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11188 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11189 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11190 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11191 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11192 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11193 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11194 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11195 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11196 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11197 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11198 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11199 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11200 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11201 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11202 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11203 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11204 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11205 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11206 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11207 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11208 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11209 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11210 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11211 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11212 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11213 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11214 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11215 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11216 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11217 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11218 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11219 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11220 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11221 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11222 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11223 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11224 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11225 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11226 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11227 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11228 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11229 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11230 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11231 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11232 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11233 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11234 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11235 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11236 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11237 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11238 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11239 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11240 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
11241 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11242 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11243 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11244 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11245 * sysdeps/x86/fpu/powl_helper.c: Likewise.
11246 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
11247 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
11248 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11249 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
11250 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
11251
11252 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11253
11254 * sysdeps/generic/math-barriers.h: New file.
11255 * sysdeps/generic/math_private.h [!math_opt_barrier]
11256 (math_opt_barrier): Move to math-barriers.h.
11257 [!math_opt_barrier] (math_force_eval): Likewise.
11258 * sysdeps/aarch64/fpu/math-barriers.h: New file.
11259 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
11260 math-barriers.h.
11261 (math_force_eval): Likewise.
11262 * sysdeps/alpha/fpu/math-barriers.h: New file.
11263 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
11264 math-barriers.h.
11265 (math_force_eval): Likewise.
11266 * sysdeps/x86/fpu/math-barriers.h: New file.
11267 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
11268 math-barriers.h.
11269 (math_force_eval): Likewise.
11270 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
11271 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
11272 multiple-include guard for rename.
11273 * sysdeps/powerpc/fpu/math-barriers.h: New file.
11274 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
11275 math-barriers.h.
11276 (math_force_eval): Likewise.
11277
11278 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
11279
11280 [BZ #22786]
11281 CVE-2018-11236
11282 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
11283 computation.
11284 * stdlib/Makefile (test-bz22786): New test.
11285 * stdlib/test-bz22786.c: New test.
11286
11287 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11288
11289 * include/math-narrow-eval.h: New file. Contents moved from ....
11290 * sysdeps/generic/math_private.h: ... here.
11291 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
11292 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11293 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
11294 * stdlib/strtod_l.c: Likewise.
11295 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11296 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11297 * sysdeps/i386/fpu/s_fdim.c: Likewise.
11298 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11299 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11300 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11301 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11302 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11303 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11304 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11305 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11306 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11307 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11308 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11309 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11310 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11311 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11312 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11313 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11314 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11315 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11316 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11317 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11318 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11319 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11320 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11321 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11322 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11323 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11324
11325 2018-05-08 Andreas Schwab <schwab@suse.de>
11326
11327 * sysdeps/nptl/internaltypes.h: Fix comment.
11328
11329 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
11330
11331 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11332 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
11333 hidden.
11334
11335 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11336
11337 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
11338 of I into loop header.
11339 * benchtests/bench-memmove-walk.c
11340 (test_main): Likewise.
11341
11342 2018-05-07 Alexandre Oliva <oliva@gnu.org>
11343
11344 Revert:
11345 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11346 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11347
11348 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11349
11350 [BZ #20419]
11351 * elf/dl-load.c (open_verify): Fix stack overflow.
11352 * elf/Makefile (tst-big-note): New test.
11353 * elf/tst-big-note-lib.S: New.
11354 * elf/tst-big-note.c: New.
11355
11356 2018-05-04 Joseph Myers <joseph@codesourcery.com>
11357
11358 * scripts/abilist.awk: Ignore absolute symbols.
11359 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
11360 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
11361 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
11362 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
11363 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
11364 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
11365 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11366 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
11367 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
11368 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
11369 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
11370 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
11371 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
11372 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
11373 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
11374 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11375 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
11376 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
11377 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11378 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
11379 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11380 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
11381 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
11382 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
11383 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
11384 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
11385 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
11386 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
11387 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11388 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
11389 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
11390 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11391 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
11392 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11393 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
11394 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
11395 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
11396 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
11397 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
11398 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
11399 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
11400 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11401 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
11402 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
11403 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11404 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
11405 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11406 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
11407 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
11408 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
11409 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
11410 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
11411 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
11412 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
11413 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11414 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
11415 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
11416 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11417 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
11418 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11419 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
11420 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
11421 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
11422 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
11423 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
11424 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
11425 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
11426 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11427 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
11428 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
11429 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11430 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
11431 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11432 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
11433 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
11434 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
11435 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
11436 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
11437 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
11438 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
11439 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11440 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
11441 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
11442 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11443 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
11444 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11445 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
11446 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
11447 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
11448 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
11449 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
11450 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11451 Likewise.
11452 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
11453 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11454 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
11455 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
11456 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11457 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
11458 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11459 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
11460 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
11461 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
11462 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
11463 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
11464 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11465 Likewise.
11466 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
11467 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11468 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
11469 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
11470 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11471 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
11472 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11473 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
11474 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
11475 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
11476 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
11477 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
11478 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
11479 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
11480 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11481 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
11482 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
11483 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11484 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
11485 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11486 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
11487 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
11488 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
11489 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
11490 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11491 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
11492 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
11493 Likewise.
11494 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
11495 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
11496 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
11497 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
11498 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11499 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
11500 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
11501 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
11502 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
11503 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
11504 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
11505 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
11506 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
11507 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11508 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
11509 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
11510 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
11511 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
11512 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11513 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
11514 Likewise.
11515 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
11516 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
11517 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
11518 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11519 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
11520 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11521 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
11522 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
11523 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
11524 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
11525 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11526 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
11527 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
11528 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11529 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
11530 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
11531 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
11532 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
11533 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11534 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
11535 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
11536 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11537 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
11538 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11539 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
11540 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
11541 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
11542 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
11543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
11544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
11546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11547 Likewise.
11548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
11549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
11550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
11551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
11552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11553 Likewise.
11554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
11555 Likewise.
11556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
11557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11558 Likewise.
11559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
11560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11561 Likewise.
11562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11563 Likewise.
11564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11567 Likewise.
11568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11569 Likewise.
11570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
11571 Likewise.
11572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
11573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11576 Likewise.
11577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
11578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
11579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
11580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
11583 Likewise.
11584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
11585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11586 Likewise.
11587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11588 Likewise.
11589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11590 Likewise.
11591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
11592 Likewise.
11593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
11594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
11595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11596 Likewise.
11597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11598 Likewise.
11599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11600 Likewise.
11601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
11602 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
11603 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
11604 Likewise.
11605 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
11606 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11607 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
11608 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
11609 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11610 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
11611 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11612 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
11613 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
11614 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
11615 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
11616 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
11617 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
11618 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
11619 Likewise.
11620 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11621 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
11622 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
11623 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11624 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
11625 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11626 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
11627 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
11628 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
11629 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
11630 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
11631 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
11632 Likewise.
11633 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11634 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
11635 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
11636 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11637 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
11638 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11639 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
11640 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
11641 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
11642 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
11643 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
11644 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
11645 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
11646 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11647 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
11648 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
11649 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11650 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
11651 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11652 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
11653 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
11654 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
11655 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
11656 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
11657 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
11658 Likewise.
11659 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
11660 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11661 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
11662 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
11663 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11664 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
11665 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11666 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
11667 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
11668 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
11669 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
11670 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
11671 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
11672 Likewise.
11673 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
11674 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11675 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
11676 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
11677 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11678 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
11679 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11680 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
11681 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
11682 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
11683 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
11684 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
11685 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
11686 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
11687 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11688 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
11689 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
11690 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11691 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
11692 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11693 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
11694 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
11695 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
11696 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
11697 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
11698 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
11699 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
11700 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
11701 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11702 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
11703 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
11704 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11705 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
11706 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11707 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
11708 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
11709 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
11710 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
11711
11712 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
11713
11714 [BZ #23137]
11715 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
11716 Use atomic_load_acquire to load __tid.
11717
11718 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11719
11720 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
11721 Restore the pointer into %rdx, after syscall and use %rdx,
11722 instead of %rsi, to restore context.
11723
11724 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11725
11726 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
11727 Pop the pointer into %rdx after syscall and use %rdx, instead
11728 of %rsi, to restore context.
11729
11730 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11731
11732 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
11733 handlers after setjmp.
11734 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
11735 defined.
11736 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
11737 <libc-pointer-arith.h>.
11738 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
11739 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
11740 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
11741 _JUMP_BUF_SIGSET_BITS_PER_WORD.
11742 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
11743 * sysdeps/x86/__longjmp_cancel.S: New file.
11744 * sysdeps/x86/longjmp.c: Likewise.
11745 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
11746
11747 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11748
11749 * NEWS: Add ustat.h deprecation entry.
11750 * bits/ustat.h: Remove file.
11751 * misc/sys/ustat.h: Likewise.
11752 * misc/ustat.h: Likewise.
11753 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
11754 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
11755 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
11756 compatibility mode.
11757 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
11758 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
11759 generic Linux implementation.
11760
11761 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11762
11763 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
11764 * math/w_expl_compat.c: Likewise.
11765 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
11766
11767 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11768
11769 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11770
11771 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11772
11773 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
11774 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
11775 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
11776 Remove.
11777 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
11778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11779 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11780 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
11781 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
11782 and SYSCALL_LL64.
11783
11784 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11785
11786 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
11787
11788 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
11789 * math/w_asin_template.c: Likewise.
11790 * math/w_atanh_template.c: Likewise.
11791
11792 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11793
11794 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
11795 to powerpc/powerpc64/be for big-endian.
11796 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
11797 little-endian.
11798
11799 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
11800 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
11801 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
11802 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
11803 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11804 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
11805 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
11806 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
11807 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
11808 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11809 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
11810 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
11811 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
11812 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
11813 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
11814 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
11815 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
11816 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
11817 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
11818 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
11819 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
11820 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11821 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
11822 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
11823 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
11824 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11825 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
11826 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
11827 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
11828 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
11829 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
11830 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
11831
11832 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
11833 adjusted to imply powerpc64 and older processors on powerpc64/be.
11834 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
11835 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
11836 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
11837 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
11838 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
11839 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
11840 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
11841 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
11842 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
11843 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
11844 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
11845 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
11846 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
11847 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
11848 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
11849 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
11850 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
11851 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
11852 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
11853 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
11854 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
11855 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
11856 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
11857 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
11858 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
11859 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
11860 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
11861 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
11862 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
11863 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
11864 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
11865
11866 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
11867 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
11868 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
11869 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
11870
11871 * sysdeps/powerpc/powerpc64/be/Implies: New file.
11872 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
11873 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
11874 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
11875
11876 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
11877 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
11878 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
11879 * sysdeps/powerpc/powerpc64le/configure: Likewise.
11880 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
11881 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
11882 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
11883 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
11884 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
11885 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
11886 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
11887
11888 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
11889 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
11890 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
11891 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
11892 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
11893 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
11894 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
11895 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
11896 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
11897 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
11898 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
11899
11900 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
11901 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
11902 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
11903 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
11904 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
11905 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
11906 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
11907 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
11908 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
11909 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
11910 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
11911 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
11912
11913 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
11914 and adjusted to imply olders processors.
11915 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
11916 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
11917 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
11918 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
11919 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
11920 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
11921 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
11922 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
11923 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
11924 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
11925 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
11926
11927 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
11928 powerpc64/le.
11929 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
11930 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
11931
11932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
11933 powerpc64le.
11934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
11935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
11936
11937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
11938 powerpc64/be.
11939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
11941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
11942
11943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
11944 powerpc64 and adjusted.
11945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
11946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
11947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
11948 Likewise.
11949
11950 2018-04-27 Joseph Myers <joseph@codesourcery.com>
11951
11952 * sysdeps/tile: Remove.
11953 * sysdeps/unix/sysv/linux/tile: Likewise.
11954 * README (tilegx-*-linux-gnu): Remove from list of supported
11955 configurations.
11956 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
11957 contribution of support for generic Linux kernel syscall
11958 interface.
11959 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
11960 tilegx configurations.
11961 (Config.install_linux_headers): Do not handle tile.
11962 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
11963 in comment.
11964 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
11965 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
11966 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11967 conditional undefine and redefine.
11968 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
11969 in comment.
11970 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11971 conditional undefine and redefine.
11972
11973 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
11974
11975 * signal/tst-sigaction.c: New file to test BZ #23069.
11976 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
11977
11978 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11979
11980 [BZ #22766]
11981 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
11982 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
11983 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
11984 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11985
11986 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11987
11988 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
11989 _DIRENT_MATCHES_DIRENT64 is not defined.
11990 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
11991 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
11992 is defined.
11993 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
11994 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
11995
11996 2018-04-25 Joseph Myers <joseph@codesourcery.com>
11997
11998 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
11999 version to GCC 8 branch.
12000
12001 2018-04-24 Joseph Myers <joseph@codesourcery.com>
12002
12003 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
12004 (check_no_hidden): Use type of original function when declaring
12005 alias.
12006
12007 * sysdeps/unix/sysv/linux/sys/ptrace.h
12008 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
12009 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
12010 (struct __ptrace_seccomp_metadata): New type.
12011 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12012 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12013 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
12014 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12015 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
12016 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12017 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12018 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12019 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
12020 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12021 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
12022 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12023 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
12024 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12025 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
12026 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12027
12028 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12029
12030 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
12031 defined.
12032 * dirent/versionsort.c (versionsort): Likewise.
12033 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
12034 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
12035 * dirent/versionsort64.c (versionsort64): Likewise.
12036 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
12037 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
12038 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
12039 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
12040 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
12041 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
12042 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
12043 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
12044 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
12045 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
12046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
12047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
12048 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
12049 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
12050
12051 2018-04-23 Joseph Myers <joseph@codesourcery.com>
12052
12053 * elf/elf.h (NT_PPC_PKEY): New macro.
12054
12055 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
12056
12057 [BZ #23094]
12058 * localedata/locales/hr_HR: fix thousands_sep and
12059 mon_thousands_sep
12060
12061 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12062
12063 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
12064 (XTABS): Define to TAB3.
12065
12066 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12067
12068 * sysdeps/hppa/fpu/libm-test-ulps: Update.
12069
12070 * dirent/scandir-tail-common.c: New file.
12071 * dirent/scandir-tail.c: Use scandir-tail-common.c.
12072 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
12073 * dirent/scandir.c: Use scandir-tail-common.c.
12074 * dirent/scandirat.c: Likewise.
12075 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
12076 * dirent/scandir64.c (scandir64): Always build and alias to scandir
12077 if _DIRENT_MATCHES_DIRENT64 is defined.
12078 * dirent/scandirat64.c (scandirat64): Likewise.
12079 * include/dirent.h (__scandir_tail): Only define iff
12080 _DIRENT_MATCHES_DIRENT64 is not defined.
12081 (__scandir64_tail): Define regardless.
12082 (__scandirat, scandirat64): Remove libc_hidden_proto.
12083 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
12084 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
12085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
12086 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
12087 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12088 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
12089 * sysdeps/unix/sysv/linux/scandir64.c: New file.
12090
12091 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12092
12093 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
12094 New macro.
12095 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12096 Increase to 24.
12097 (_dl_aarch64_cap_flags): Add asimdfhm.
12098
12099 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
12100
12101 * sysdeps/nios2/libm-test-ulps: Update.
12102
12103 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12104
12105 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
12106 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
12107
12108 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
12109 requirements.
12110 (_DIRENT_MATCHES_DIRENT64): Undef
12111 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
12112 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
12113 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
12114 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
12115 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
12116 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
12117 use getdents64 syscalls as base.
12118 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
12119 symbol if required.
12120 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
12121 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
12122 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
12123 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
12124 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
12125 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
12126 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
12127 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
12128 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12129 (__get_clockfreq_via_proc_openprom): Use __getdents64.
12130 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
12131
12132 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12133
12134 * scripts/test_printers_common.py (init_test): Disable lock elision.
12135
12136 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12137
12138 * math/test-tgmath.c (count_double, count_float,
12139 count_ldouble, count_cdouble, count_cfloat,
12140 count_cldouble): Use volatile int.
12141
12142 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
12143
12144 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
12145 (conformtest-xfail-conds): Add i386-gnu.
12146 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
12147 i386-gnu.
12148 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
12149 ipc_perm.cuid, ipc_perm.cgid): Likewise.
12150 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
12151 msqid_ds.msg_lrpid): Likewise.
12152 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
12153 Likewise.
12154 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
12155 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
12156 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
12157 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
12158 unsigned int.
12159 (struct statvfs64): Likewise.
12160 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
12161 Likewise.
12162 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
12163 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
12164 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
12165 instead of wait_queue.
12166 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
12167 instead of vm_area_struct.
12168 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
12169 struct sched_param definition to it.
12170 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12171 * bits/types/struct_sched_param.h: New file.
12172 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
12173 <bits/types/struct_sched_param.h> instead of <sched.h>.
12174 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
12175 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
12176 generic version but include <bits/pthreadtypes.h> to make struct
12177 sigevent's sigev_notify_attributes field a pthread_attr_t*.
12178 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
12179 non-compliant.
12180 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
12181 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
12182 [__USE_XOPEN] (OFDEL): New macro.
12183 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
12184 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
12185 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
12186 prototypes.
12187 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
12188 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
12189 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
12190 non-compliant.
12191 * sysdeps/i386/sys/ucontext.h: Likewise.
12192 * sysdeps/m68k/sys/ucontext.h: Likewise.
12193 * sysdeps/mips/sys/ucontext.h: Likewise.
12194 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
12195 * sysdeps/mach/hurd/i386/Makefile
12196 (test-xfail-POSIX/fcntl.h/conform): Add.
12197 (test-xfail-POSIX/signal.h/conform): Add.
12198 (test-xfail-POSIX/semaphore.h/conform): Add.
12199 (test-xfail-POSIX/regex.h/conform): Add.
12200 (test-xfail-POSIX/aio.h/conform): Add.
12201 (test-xfail-POSIX/mqueue.h/conform): Add.
12202 (test-xfail-POSIX/sys/types.h/conform): Add.
12203 (test-xfail-UNIX98/fcntl.h/conform): Add.
12204 (test-xfail-UNIX98/netdb.h/conform): Add.
12205 (test-xfail-UNIX98/signal.h/conform): Add.
12206 (test-xfail-UNIX98/semaphore.h/conform): Add.
12207 (test-xfail-UNIX98/regex.h/conform): Add.
12208 (test-xfail-UNIX98/aio.h/conform): Add.
12209 (test-xfail-UNIX98/ftw.h/conform): Add.
12210 (test-xfail-UNIX98/mqueue.h/conform): Add.
12211 (test-xfail-UNIX98/netinet/in.h/conform): Add.
12212 (test-xfail-UNIX98/sys/wait.h/conform): Add.
12213 (test-xfail-UNIX98/sys/sem.h/conform): Add.
12214 (test-xfail-UNIX98/sys/uio.h/conform): Add.
12215 (test-xfail-UNIX98/sys/socket.h/conform): Add.
12216 (test-xfail-UNIX98/sys/types.h/conform): Add.
12217 (test-xfail-UNIX98/stdlib.h/conform): Add.
12218 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
12219 (test-xfail-POSIX2008/fcntl.h/conform): Add.
12220 (test-xfail-POSIX2008/netdb.h/conform): Add.
12221 (test-xfail-POSIX2008/signal.h/conform): Add.
12222 (test-xfail-POSIX2008/semaphore.h/conform): Add.
12223 (test-xfail-POSIX2008/regex.h/conform): Add.
12224 (test-xfail-POSIX2008/aio.h/conform): Add.
12225 (test-xfail-POSIX2008/mqueue.h/conform): Add.
12226 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
12227 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
12228 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
12229 (test-xfail-POSIX2008/sys/types.h/conform): Add.
12230 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
12231 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
12232 (test-xfail-XOPEN2K/netdb.h/conform): Add.
12233 (test-xfail-XOPEN2K/signal.h/conform): Add.
12234 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
12235 (test-xfail-XOPEN2K/regex.h/conform): Add.
12236 (test-xfail-XOPEN2K/aio.h/conform): Add.
12237 (test-xfail-XOPEN2K/ftw.h/conform): Add.
12238 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
12239 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
12240 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
12241 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
12242 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
12243 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
12244 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
12245 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
12246 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
12247 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
12248 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
12249 (test-xfail-XOPEN2K8/signal.h/conform): Add.
12250 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
12251 (test-xfail-XOPEN2K8/regex.h/conform): Add.
12252 (test-xfail-XOPEN2K8/aio.h/conform): Add.
12253 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
12254 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
12255 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
12256 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
12257 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
12258 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
12259 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
12260 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
12261 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
12262 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
12263 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
12264 i386-gnu.
12265 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
12266 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
12267
12268 2018-04-18 Joseph Myers <joseph@codesourcery.com>
12269
12270 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
12271 --enable-obsolete for powerpc-linux-gnuspe.
12272
12273 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12274
12275 * conform/data/sys/un.h-data: Allow sun_ prefix.
12276 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
12277 prototypes.
12278 * sysdeps/mach/include/mach.h: Likewise.
12279 * sysdeps/mach/include/mach/mig_support.h: Likewise.
12280 * sysdeps/mach/include/mach_error.h: Likewise.
12281
12282 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12283
12284 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
12285 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
12286 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
12287 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
12288
12289 2018-04-16 Andreas Schwab <schwab@suse.de>
12290
12291 [BZ #19527]
12292 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
12293
12294 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
12295
12296 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
12297 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
12298
12299 2018-04-12 DJ Delorie <dj@redhat.com>
12300
12301 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12302 version to 4.16.
12303
12304 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12305
12306 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
12307 (struct kernel_sigaction): Use the same definition on 31bit as is used
12308 on 64bit.
12309
12310 2018-04-09 Florian Weimer <fweimer@redhat.com>
12311
12312 [BZ #23037]
12313 * resolv/res_send.c (send_dg): Use designated initializers instead
12314 of assignment to zero-initialize other fields of struct mmsghdr.
12315
12316 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12317
12318 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
12319 __READDIR_ALIAS): Undefine after usage.
12320 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
12321 __READDIR_R_ALIAS): Likewise.
12322 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
12323 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
12324 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
12325 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
12326 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
12327 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
12328 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12329 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12330 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
12331 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
12332 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
12333 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
12334 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12335 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
12336 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
12337 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
12338 * sysdeps/unix/sysv/linux/readdir.c: New file.
12339 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
12340 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
12341 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
12342
12343 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12344
12345 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
12346
12347 * manual/charset.texi (Converting a Character): Fix typo.
12348
12349 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12350
12351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12352
12353 * sysdeps/arm/libm-test-ulps: Update.
12354
12355 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
12356 as base implementation.
12357 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12358 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12359 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12360 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12361 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12362 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
12363 remove unrequired definitions and update comments.
12364 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
12365 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
12366 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
12367 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
12368 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
12369 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
12370 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
12371 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
12372 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
12373 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
12374 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
12375 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12376 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12377 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
12378 and RESET_SA_RESTORER hooks.
12379
12380 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
12381
12382 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12383
12384 2018-04-05 Florian Weimer <fweimer@redhat.com>
12385
12386 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
12387 integer overflow, memory leak on error, and indeterminate errno
12388 value. Add a null wide character to terminate the result string.
12389 * manual/charset.texi (Converting a Character): Mention embedded
12390 null bytes in the mbrtowc input string. Explain what happens in
12391 the -2 result case. Do not claim that mbrtowc is simple or
12392 obvious to use. Adjust the description of the code example. Use
12393 @code, not @var, for concrete variables.
12394
12395 2018-04-05 Florian Weimer <fweimer@redhat.com>
12396
12397 * manual/examples/mbstouwcs.c: New file.
12398 * manual/charset.texi (Converting a Character): Include it.
12399
12400 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
12401
12402 * include/dirent.h (dirfd): Add hidden proto.
12403 * dirent/dirfd.c (dirfd): Add hidden def.
12404 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
12405 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
12406
12407 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12408
12409 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
12410 sin, cos and sincos to 1 ULP.
12411
12412 2018-04-04 Maciej W. Rozycki <macro@mips.com>
12413
12414 [BZ #19818]
12415 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
12416 symbols.
12417 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
12418 * elf/tst-absolute-sym.c: New file.
12419 * elf/tst-absolute-sym-lib.c: New file.
12420 * elf/tst-absolute-sym-lib.lds: New file.
12421 * elf/Makefile (tests): Add `tst-absolute-sym'.
12422 (modules-names): Add `tst-absolute-sym-lib'.
12423 (LDLIBS-tst-absolute-sym-lib.so): New variable.
12424 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
12425 ($(objpfx)tst-absolute-sym): New dependency.
12426
12427 [BZ #19818]
12428 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
12429 parameter.
12430 (SYMBOL_ADDRESS): New macro.
12431 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
12432 SYMBOL_ADDRESS for symbol address calculation.
12433 * elf/dl-runtime.c (_dl_fixup): Likewise.
12434 (_dl_profile_fixup): Likewise.
12435 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
12436 * elf/rtld.c (dl_main): Likewise.
12437 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
12438 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
12439 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
12440 (elf_machine_rela): Likewise.
12441 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
12442 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
12443 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12444 (elf_machine_rela): Likewise.
12445 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12446 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
12447 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
12448 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
12449 Likewise.
12450 (elf_machine_reloc): Likewise.
12451 (elf_machine_got_rel): Likewise.
12452 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
12453 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
12454 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12455 Likewise.
12456 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12457 Likewise.
12458 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
12459 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12460 Likewise.
12461 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12462 Likewise.
12463 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12464 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12465 Likewise.
12466 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12467 Likewise.
12468 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
12469 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12470
12471 2018-04-04 Zack Weinberg <zackw@panix.com>
12472
12473 * sysdeps/generic/internal-signals.h: Include signal.h,
12474 sigsetops.h, and stdbool.h.
12475 (__libc_signal_block_all): Actually block all signals.
12476 (__libc_signal_block_app): Likewise.
12477 (__libc_signal_restore_set): Actually restore the signal mask.
12478
12479 2018-04-04 Florian Weimer <fweimer@redhat.com>
12480
12481 inet: Actually build and run tst-deadline.
12482 * inet/Makefile (tests-internal): Add tst-deadline and do not
12483 overwrite the variable.
12484 (tests-static-internal): Remove variable.
12485
12486 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
12487
12488 [BZ #22947]
12489 * bits/uio-ext.h (RWF_APPEND): New.
12490 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
12491 * manual/llio.texi: Document RWF_APPEND.
12492 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
12493 (RWF_SUPPORTED): Add RWF_APPEND.
12494
12495 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12496
12497 [BZ #22391]
12498 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
12499 check for internal nptl signals.
12500 * nptl/sigaction.c (__sigaction): Likewise.
12501 * signal/sigaddset.c (sigaddset): Likewise.
12502 * signal/sigdelset.c (sigdelset): Likewise.
12503 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12504 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
12505 value.
12506 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
12507 to filter out internal nptl signals.
12508 * signal/tst-sigset.c (do_test): Check ech signal indidually and
12509 also check realtime signals using standard macros.
12510 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
12511 __is_internal_signal, __libc_signal_block_all,
12512 __libc_signal_block_app, __libc_signal_restore_set): New functions.
12513 * sysdeps/nptl/sigfillset.c: Remove file.
12514 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
12515 Change return to bool.
12516 (__clear_internal_signals): Remove SIGTIMER clean since it is
12517 equal to SIGCANEL on Linux.
12518 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
12519 signal set was constructed using standard functions.
12520
12521 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
12522
12523 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
12524 ifname is too long.
12525 * hurd/hurdsig.c (interrupted_reply_port_location): Use
12526 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
12527 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
12528 hidden def.
12529 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
12530 * signal/sigaddset.c: Include <sigsetopts.h>.
12531 * signal/sigdelset.c: Likewise.
12532
12533 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12534
12535 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
12536 (__cos): Likewise.
12537 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
12538 logic as sin and cos.
12539
12540 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12541
12542 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
12543 inputs. Return correct sign.
12544 (do_sincos): Remove small input check before do_sin, let do_sin set
12545 the sign.
12546 (__sin): Likewise.
12547 (__cos): Likewise.
12548
12549 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12550
12551 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
12552 (do_cos_slow): Likewise.
12553 (do_sin_slow): Likewise.
12554 (reduce_and_compute): Likewise.
12555 (slow): Likewise.
12556 (slow1): Likewise.
12557 (slow2): Likewise.
12558 (sloww): Likewise.
12559 (sloww1): Likewise.
12560 (sloww2): Likewise.
12561 (bslow): Likewise.
12562 (bslow1): Likewise.
12563 (bslow2): Likewise.
12564 (cslow2): Likewise.
12565
12566 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12567
12568 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
12569 (do_cos): Remove corp parameter and calculations.
12570 (do_sin): Likewise.
12571 (do_sincos): Remove cor variable.
12572 (__sin): Use do_sincos for huge inputs.
12573 (__cos): Likewise.
12574 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12575 (reduce_and_compute_sincos): Remove unused function.
12576
12577 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12578
12579 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
12580 reduce_sincos, improve accuracy to 136 bits.
12581 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
12582 (__sin): Use improved reduction and simplified do_sincos calculation.
12583 (__cos): Likewise.
12584 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12585
12586 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12587
12588 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
12589 (do_sincos_2): Likewise.
12590 (__sin): Remove middle range reduction case.
12591 (__cos): Likewise.
12592 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
12593 reduction case.
12594
12595 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12596
12597 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
12598 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
12599 inputs.
12600 (__cos): Likewise.
12601 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
12602
12603 2018-04-03 Joseph Myers <joseph@codesourcery.com>
12604
12605 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12606 version to 4.16
12607
12608 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12609
12610 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
12611 Remove definitions.
12612 (opendir_oflags): Use O_DIRECTORY regardless.
12613 (__opendir, __opendirat): Remove need_isdir_precheck usage.
12614 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
12615
12616 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12617
12618 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
12619 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
12620 macros.
12621 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
12622 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
12623 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
12624 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
12625 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
12626 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
12627
12628 * htl/Makefile: Bump licence to LGPL 2.1+.
12629 * htl/alloca_cutoff.c: Likewise.
12630 * htl/cthreads-compat.c: Likewise.
12631 * htl/lockfile.c: Likewise.
12632 * htl/pt-alloc.c: Likewise.
12633 * htl/pt-cancel.c: Likewise.
12634 * htl/pt-cleanup.c: Likewise.
12635 * htl/pt-create.c: Likewise.
12636 * htl/pt-dealloc.c: Likewise.
12637 * htl/pt-detach.c: Likewise.
12638 * htl/pt-exit.c: Likewise.
12639 * htl/pt-getattr.c: Likewise.
12640 * htl/pt-initialize.c: Likewise.
12641 * htl/pt-internal.h: Likewise.
12642 * htl/pt-join.c: Likewise.
12643 * htl/pt-self.c: Likewise.
12644 * htl/pt-setcancelstate.c: Likewise.
12645 * htl/pt-setcanceltype.c: Likewise.
12646 * htl/pt-sigmask.c: Likewise.
12647 * htl/pt-spin-inlines.c: Likewise.
12648 * htl/pt-testcancel.c: Likewise.
12649 * htl/pt-yield.c: Likewise.
12650 * htl/tests/test-1.c: Likewise.
12651 * htl/tests/test-10.c: Likewise.
12652 * htl/tests/test-11.c: Likewise.
12653 * htl/tests/test-12.c: Likewise.
12654 * htl/tests/test-13.c: Likewise.
12655 * htl/tests/test-14.c: Likewise.
12656 * htl/tests/test-15.c: Likewise.
12657 * htl/tests/test-16.c: Likewise.
12658 * htl/tests/test-17.c: Likewise.
12659 * htl/tests/test-2.c: Likewise.
12660 * htl/tests/test-3.c: Likewise.
12661 * htl/tests/test-4.c: Likewise.
12662 * htl/tests/test-5.c: Likewise.
12663 * htl/tests/test-6.c: Likewise.
12664 * htl/tests/test-7.c: Likewise.
12665 * htl/tests/test-8.c: Likewise.
12666 * htl/tests/test-9.c: Likewise.
12667 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
12668 * sysdeps/htl/bits/cancelation.h: Likewise.
12669 * sysdeps/htl/bits/pthread-np.h: Likewise.
12670 * sysdeps/htl/bits/pthread.h: Likewise.
12671 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
12672 * sysdeps/htl/bits/semaphore.h: Likewise.
12673 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
12674 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
12675 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
12676 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
12677 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
12678 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
12679 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
12680 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
12681 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
12682 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
12683 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
12684 * sysdeps/htl/old_pt-atfork.c: Likewise.
12685 * sysdeps/htl/pt-atfork.c: Likewise.
12686 * sysdeps/htl/pt-attr-destroy.c: Likewise.
12687 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
12688 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
12689 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
12690 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
12691 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
12692 * sysdeps/htl/pt-attr-getscope.c: Likewise.
12693 * sysdeps/htl/pt-attr-getstack.c: Likewise.
12694 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
12695 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
12696 * sysdeps/htl/pt-attr-init.c: Likewise.
12697 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
12698 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
12699 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
12700 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
12701 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
12702 * sysdeps/htl/pt-attr-setscope.c: Likewise.
12703 * sysdeps/htl/pt-attr-setstack.c: Likewise.
12704 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
12705 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
12706 * sysdeps/htl/pt-attr.c: Likewise.
12707 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
12708 * sysdeps/htl/pt-barrier-init.c: Likewise.
12709 * sysdeps/htl/pt-barrier-wait.c: Likewise.
12710 * sysdeps/htl/pt-barrier.c: Likewise.
12711 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
12712 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
12713 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
12714 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
12715 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
12716 * sysdeps/htl/pt-cond-destroy.c: Likewise.
12717 * sysdeps/htl/pt-cond-init.c: Likewise.
12718 * sysdeps/htl/pt-cond-signal.c: Likewise.
12719 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
12720 * sysdeps/htl/pt-cond-wait.c: Likewise.
12721 * sysdeps/htl/pt-cond.c: Likewise.
12722 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
12723 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
12724 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
12725 * sysdeps/htl/pt-condattr-init.c: Likewise.
12726 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
12727 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
12728 * sysdeps/htl/pt-destroy-specific.c: Likewise.
12729 * sysdeps/htl/pt-equal.c: Likewise.
12730 * sysdeps/htl/pt-getconcurrency.c: Likewise.
12731 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
12732 * sysdeps/htl/pt-getschedparam.c: Likewise.
12733 * sysdeps/htl/pt-getspecific.c: Likewise.
12734 * sysdeps/htl/pt-init-specific.c: Likewise.
12735 * sysdeps/htl/pt-key-create.c: Likewise.
12736 * sysdeps/htl/pt-key-delete.c: Likewise.
12737 * sysdeps/htl/pt-key.h: Likewise.
12738 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
12739 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
12740 * sysdeps/htl/pt-mutex-init.c: Likewise.
12741 * sysdeps/htl/pt-mutex-lock.c: Likewise.
12742 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
12743 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
12744 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
12745 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
12746 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
12747 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
12748 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
12749 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
12750 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
12751 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
12752 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
12753 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
12754 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
12755 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
12756 * sysdeps/htl/pt-mutexattr.c: Likewise.
12757 * sysdeps/htl/pt-once.c: Likewise.
12758 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
12759 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
12760 * sysdeps/htl/pt-rwlock-init.c: Likewise.
12761 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
12762 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
12763 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
12764 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
12765 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
12766 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
12767 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
12768 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
12769 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
12770 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
12771 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
12772 * sysdeps/htl/pt-setconcurrency.c: Likewise.
12773 * sysdeps/htl/pt-setschedparam.c: Likewise.
12774 * sysdeps/htl/pt-setschedprio.c: Likewise.
12775 * sysdeps/htl/pt-setspecific.c: Likewise.
12776 * sysdeps/htl/pt-spin.c: Likewise.
12777 * sysdeps/htl/pt-startup.c: Likewise.
12778 * sysdeps/htl/pthread.h: Likewise.
12779 * sysdeps/htl/sem-close.c: Likewise.
12780 * sysdeps/htl/sem-destroy.c: Likewise.
12781 * sysdeps/htl/sem-getvalue.c: Likewise.
12782 * sysdeps/htl/sem-init.c: Likewise.
12783 * sysdeps/htl/sem-open.c: Likewise.
12784 * sysdeps/htl/sem-post.c: Likewise.
12785 * sysdeps/htl/sem-timedwait.c: Likewise.
12786 * sysdeps/htl/sem-trywait.c: Likewise.
12787 * sysdeps/htl/sem-unlink.c: Likewise.
12788 * sysdeps/htl/sem-wait.c: Likewise.
12789 * sysdeps/hurd/htl/pt-kill.c: Likewise.
12790 * sysdeps/i386/htl/pt-machdep.h: Likewise.
12791 * sysdeps/mach/htl/pt-block.c: Likewise.
12792 * sysdeps/mach/htl/pt-spin.c: Likewise.
12793 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
12794 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
12795 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
12796 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
12797 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
12798 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
12799 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
12800 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
12801 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
12802 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
12803 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
12804 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
12805 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
12806 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
12807 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
12808 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
12809 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
12810 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
12811 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
12812 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
12813 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
12814 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
12815 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
12816 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
12817 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
12818 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
12819 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
12820 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
12821 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
12822 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
12823 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
12824 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
12825 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
12826 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
12827 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
12828 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
12829 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
12830 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
12831 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
12832 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
12833 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
12834 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
12835 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
12836
12837 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
12838 * README: Remove the mention of out-of-tree patches needed for
12839 GNU/Hurd.
12840
12841 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
12842 (UTIME_NOW, UTIME_OMIT): Define macros.
12843
12844 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
12845 instead of pthread_detach.
12846 (__cthread_fork): Call __pthread_create instead of pthread_create.
12847 (__cthread_keycreate): Call __pthread_key_create instead of
12848 pthread_key_create.
12849 (__cthread_getspecific): Call __pthread_getspecific instead of
12850 pthread_getspecific.
12851 (__cthread_setspecific): Call __pthread_setspecific instead of
12852 pthread_setspecific.
12853 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
12854 __pthread_mutex_unlock instead of pthread_mutex_lock and
12855 pthread_mutex_unlock.
12856 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
12857 ___pthread_get_cleanup_stack.
12858 (__pthread_get_cleanup_stack): New strong alias.
12859 * htl/pt-create.c: Include <pthreadP.h>.
12860 (entry_point): Call __pthread_exit instead of pthread_exit.
12861 (pthread_create): Rename to __pthread_create.
12862 (pthread_create): New strong alias.
12863 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
12864 (pthread_detach): New strong alias.
12865 (__pthread_detach): Call __pthread_cond_broadcast instead of
12866 pthread_cond_broadcast.
12867 * htl/pt-exit.c: Include <pthreadP.h>.
12868 (__pthread_exit): Call __pthread_setcancelstate and
12869 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
12870 __pthread_get_cleanup_stack.
12871 * htl/pt-testcancel.c: Include <pthreadP.h>.
12872 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
12873 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
12874 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
12875 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
12876 pthread_attr_getstacksize.
12877 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
12878 Rename to __pthread_attr_getstackaddr.
12879 (pthread_attr_getstackaddr): New strong alias.
12880 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
12881 Rename to __pthread_attr_getstacksize.
12882 (pthread_attr_getstacksize): New strong alias.
12883 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
12884 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
12885 (pthread_attr_setstack): New strong alias.
12886 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
12887 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
12888 pthread_attr_getstacksize, pthread_attr_setstacksize and
12889 pthread_attr_setstackaddr.
12890 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
12891 Rename to __pthread_attr_setstackaddr.
12892 (pthread_attr_setstackaddr): New strong alias.
12893 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
12894 Rename to __pthread_attr_setstacksize.
12895 (pthread_attr_setstacksize): New strong alias.
12896 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
12897 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
12898 pthread_exit.
12899 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
12900 (__pthread_key_create): New hidden def.
12901 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
12902 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
12903 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
12904 __pthread_exit, __pthread_key_create, __pthread_getspecific,
12905 __pthread_setspecific, __pthread_setcancelstate,
12906 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
12907 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
12908 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
12909 declarations.
12910 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
12911 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
12912 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
12913 (pthread_attr_setstackaddr): New strong alias.
12914 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
12915 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
12916 (pthread_attr_setstacksize): New strong alias.
12917 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
12918 (call_exit): Call __pthread_exit instead of pthread_exit.
12919 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
12920 (_pthread_mutex_init): New hidden definition.
12921 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
12922 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
12923 instead of pthread_attr_init and pthread_attr_setstack.
12924
12925 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
12926 __vm_deallocate instead of vm_allocate and vm_deallocate.
12927 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
12928 setenv.
12929 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
12930 of geteuid.
12931 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
12932 strdup.
12933 * hurd/siginfo.c: Include <libioP.h>.
12934 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
12935 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
12936 munmap.
12937 * mach/devstream.c: Include <libioP.h>.
12938 (dealloc_ref): Call __mach_port_deallocate instead of
12939 mach_port_deallocate.
12940 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
12941 Call __mach_port_deallocate instead of mach_port_deallocate.
12942 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
12943 pathconf.
12944 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
12945 munmap.
12946 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
12947 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
12948 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
12949 of munmap.
12950 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
12951 of close.
12952 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
12953 instead of sysconf.
12954 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
12955 __clock_gettime instead of clock_gettime.
12956 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
12957 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12958 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
12959 * sysdeps/unix/bsd/stty.c (stty): Likewise.
12960 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
12961 tcgetattr.
12962 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
12963 __clock_gettime and __nanosleep instead of clock_gettime and
12964 nanosleep.
12965 * hurd/catch-signal.c (hurd_catch_signal): Rename to
12966 __hurd_catch_signal.
12967 (hurd_catch_signal): New strong alias.
12968 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
12969 __hurd_catch_signal instead of hurd_catch_signal.
12970 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
12971 * hurd/hurdexec.c (_hurd_init): Add hidden def.
12972 * hurd/hurdinit.c (_hurd_init): Add hidden def.
12973 * hurd/hurdsig.c: Include <mach/mig_support.h>.
12974 (_hurd_thread_sigstate): Add hidden def.
12975 (_hurd_internal_post_signal): Use __mutex_unlock instead of
12976 mutex_unlock.
12977 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
12978 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
12979 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
12980 __hurd_file_name_path_lookup.
12981 (hurd_file_name_path_lookup): New strong alias.
12982 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
12983 hurd_file_name_path_lookup.
12984 * mach/errstring.c (mach_error_type): Add hidden def.
12985 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
12986 * mach/mutex-init.c (__mutex_init): Add hidden def.
12987 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
12988 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
12989 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
12990 * sysdeps/mach/hurd/getcwd.c
12991 (_hurd_canonicalize_directory_name_internal): Rename to
12992 __hurd_canonicalize_directory_name_internal.
12993 (_hurd_canonicalize_directory_name_internal): New strong alias.
12994 (__canonicalize_directory_name_internal, __getcwd): Call
12995 __hurd_canonicalize_directory_name_internal instead of
12996 _hurd_canonicalize_directory_name_internal.
12997 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
12998 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
12999 hidden defs.
13000 * sysdeps/hurd/include/hurd.h: New file.
13001 * sysdeps/hurd/include/hurd/fd.h: New file.
13002 * sysdeps/hurd/include/hurd/signal.h: New file.
13003 * sysdeps/mach/include/lock-intern.h: New file.
13004 * sysdeps/mach/include/mach.h: New file.
13005 * sysdeps/mach/include/mach/mig_support.h: New file.
13006 * sysdeps/mach/include/mach_error.h: New file.
13007 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
13008 prototype.
13009 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
13010 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
13011 _HEADER_H_HIDDEN_DEF macro.
13012 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
13013 _hurd_fd_error_signal): Add hidden prototype.
13014 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
13015 hidden def.
13016 * libio/iolibio.h (_IO_puts): New hidden prototype.
13017 * libio/ioputs.c (_IO_puts): New hidden def.
13018 * sysdeps/mach/hurd/localplt.data: New file.
13019
13020 2018-04-02 Agustina Arzille <avarzille@riseup.net>
13021 Amos Jeffries <squid3@treenet.co.nz>
13022 David Michael <fedora.dm0@gmail.com>
13023 Marco Gerards <marco@gnu.org>
13024 Marcus Brinkmann <marcus@gnu.org>
13025 Neal H. Walfield <neal@gnu.org>
13026 Pino Toscano <toscano.pino@tiscali.it>
13027 Richard Braun <rbraun@sceen.net>
13028 Roland McGrath <roland@gnu.org>
13029 Samuel Thibault <samuel.thibault@ens-lyon.org>
13030 Thomas DiModica <ricinwich@yahoo.com>
13031 Thomas Schwinge <tschwinge@gnu.org>
13032
13033 * htl: New directory.
13034 * sysdeps/htl: New directory.
13035 * sysdeps/hurd/htl: New directory.
13036 * sysdeps/i386/htl: New directory.
13037 * sysdeps/mach/htl: New directory.
13038 * sysdeps/mach/hurd/htl: New directory.
13039 * sysdeps/mach/hurd/i386/htl: New directory.
13040 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
13041 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
13042 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
13043
13044 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13045
13046 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
13047 signals in thread created for runing timers.
13048
13049 2018-04-01 Florian Weimer <fweimer@redhat.com>
13050
13051 * support/support_format_addrinfo.c (support_format_addrinfo):
13052 Include unknown error number in formatted result.
13053
13054 2018-03-29 Florian Weimer <fweimer@redhat.com>
13055
13056 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
13057 capture SIGBUS.
13058
13059 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13060
13061 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
13062 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
13063 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13064 (__ASSUME_CLONE_BACKWARDS): Define.
13065
13066 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
13067
13068 [BZ #23024]
13069 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
13070 early when linux sentinel value is set.
13071
13072 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13073
13074 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
13075
13076 2018-03-27 Andreas Schwab <schwab@suse.de>
13077
13078 [BZ #23005]
13079 * resolv/res_send.c (__res_context_send): Return ENOMEM if
13080 allocation of private copy of nsaddr_list fails.
13081
13082 2018-03-26 Joseph Myers <joseph@codesourcery.com>
13083
13084 [BZ #16552]
13085 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
13086 * sysdeps/unix/sysv/linux/umount.c: ... here.
13087 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
13088 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
13089 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
13090 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
13091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
13092 * sysdeps/unix/sysv/linux/umount.S: Likewise.
13093 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
13094
13095 2018-03-26 Andreas Schwab <schwab@suse.de>
13096
13097 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
13098 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
13099 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
13100 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
13101 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
13102 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
13103 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
13104 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
13105 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
13106 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
13107 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
13108 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
13109 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
13110 (R_RISCV_NUM): Define.
13111
13112 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
13113
13114 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
13115 TLS declaration of errno.
13116 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
13117 __libc_setup_tls.
13118 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
13119 (ARCH_SETUP_TLS): Likewise.
13120 * sysdeps/mach/hurd/libc-start.h: New file copied from
13121 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
13122 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
13123 instead of __libc_setup_tls.
13124 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
13125 __libc_setup_tls before initializing libpthread and running _hurd_init
13126 which starts the signal thread.
13127 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
13128 Declare function.
13129 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13130
13131 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
13132
13133 [BZ #22998]
13134 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
13135 after it is defined.
13136
13137 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
13138 Max Horn <max@quendi.de>
13139
13140 [BZ #22644]
13141 CVE-2017-18269
13142 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
13143 branch conditions.
13144 * string/test-memmove.c (do_test2): New testcase.
13145
13146 2018-03-22 Joseph Myers <joseph@codesourcery.com>
13147
13148 * sysdeps/generic/frame.h: Remove file.
13149 * sysdeps/arm/frame.h: Likewise.
13150 * sysdeps/hppa/frame.h: Likewise.
13151 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
13152 macro.
13153 (GET_FRAME): Likewise.
13154 (GET_STACK): Likewise.
13155 (CALL_SIGHANDLER): Likewise.
13156 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
13157 Likewise.
13158 (GET_FRAME): Likewise.
13159 (GET_STACK): Likewise.
13160 (CALL_SIGHANDLER): Likewise.
13161 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
13162 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13163 (GET_FRAME): Likewise.
13164 (GET_STACK): Likewise.
13165 (CALL_SIGHANDLER): Likewise.
13166 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
13167 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13168 (GET_FRAME): Likewise.
13169 (GET_STACK): Likewise.
13170 (ADVANCE_STACK_FRAME): Likewise.
13171 (CALL_SIGHANDLER): Likewise.
13172 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
13173 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13174 (GET_FRAME): Likewise.
13175 (GET_STACK): Likewise.
13176 (CALL_SIGHANDLER): Likewise.
13177 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
13178 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13179 (GET_FRAME): Likewise.
13180 (GET_STACK): Likewise.
13181 (CALL_SIGHANDLER): Likewise.
13182 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
13183 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13184 (GET_FRAME): Likewise.
13185 (GET_STACK): Likewise.
13186 (CALL_SIGHANDLER): Likewise.
13187 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
13188 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13189 (GET_FRAME): Likewise.
13190 (GET_STACK): Likewise.
13191 (CALL_SIGHANDLER): Likewise.
13192 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
13193 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13194 (GET_FRAME): Likewise.
13195 (GET_STACK): Likewise.
13196 (CALL_SIGHANDLER): Likewise.
13197 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
13198 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13199 (GET_FRAME): Likewise.
13200 (GET_STACK): Likewise.
13201 (CALL_SIGHANDLER): Likewise.
13202 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
13203 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13204 (GET_FRAME): Likewise.
13205 (GET_STACK): Likewise.
13206 (CALL_SIGHANDLER): Likewise.
13207 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
13208 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13209 (GET_FRAME): Likewise.
13210 (GET_STACK): Likewise.
13211 (CALL_SIGHANDLER): Likewise.
13212 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
13213 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13214 (GET_FRAME): Likewise.
13215 (GET_STACK): Likewise.
13216 (CALL_SIGHANDLER): Likewise.
13217 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
13218 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13219 (FIRST_FRAME_POINTER): Likewise.
13220 (ADVANCE_STACK_FRAME): Likewise.
13221 (GET_STACK): Likewise.
13222 (GET_FRAME): Likewise.
13223 (CALL_SIGHANDLER): Likewise.
13224 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
13225 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13226 (ADVANCE_STACK_FRAME): Likewise.
13227 (GET_STACK): Likewise.
13228 (GET_FRAME): Likewise.
13229 (CALL_SIGHANDLER): Likewise.
13230 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
13231 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13232 (GET_FRAME): Likewise.
13233 (GET_STACK): Likewise.
13234 (CALL_SIGHANDLER): Likewise.
13235 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
13236 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13237 (GET_FRAME): Likewise.
13238 (GET_STACK): Likewise.
13239 (CALL_SIGHANDLER): Likewise.
13240
13241 2018-03-21 Joseph Myers <joseph@codesourcery.com>
13242
13243 * sysdeps/x86_64/backtrace.c: Move to ....
13244 * debug/backtrace.c: ... here.
13245 * sysdeps/aarch64/backtrace.c: Remove file.
13246 * sysdeps/alpha/backtrace.c: Likewise.
13247 * sysdeps/hppa/backtrace.c: Likewise.
13248 * sysdeps/ia64/backtrace.c: Likewise.
13249 * sysdeps/mips/backtrace.c: Likewise.
13250 * sysdeps/nios2/backtrace.c: Likewise.
13251 * sysdeps/riscv/backtrace.c: Likewise.
13252 * sysdeps/sh/backtrace.c: Likewise.
13253 * sysdeps/tile/backtrace.c: Likewise.
13254
13255 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13256
13257 [BZ #22987]
13258 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
13259 function.
13260 (fdimf): Likewise.
13261 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
13262
13263 [BZ #17343]
13264 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
13265 possibly overflowing computations.
13266
13267 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
13268
13269 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
13270 values from Linux-specific section now that it is in the GNU section.
13271 * sysdeps/gnu/errlist.c: Regenerate.
13272
13273 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13274
13275 * math/Makefile (libm-narrow-fns): Add sub.
13276 (libm-test-funcs-narrow): Likewise.
13277 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
13278 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
13279 * math/gen-auto-libm-tests.c (test_functions): Add sub.
13280 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
13281 (NARROW_SUB_ROUND_TO_ODD): Likewise.
13282 (NARROW_SUB_TRIVIAL): Likewise.
13283 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
13284 macro.
13285 (__dsubl): Likewise.
13286 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
13287 dsub.
13288 (CFLAGS-nldbl-dsub.c): New variable.
13289 (CFLAGS-nldbl-fsub.c): Likewise.
13290 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13291 __nldbl_dsubl.
13292 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
13293 prototype.
13294 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
13295 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
13296 * math/auto-libm-test-in: Add tests of sub.
13297 * math/auto-libm-test-out-narrow-sub: New generated file.
13298 * math/libm-test-narrow-sub.inc: New file.
13299 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13300 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
13301 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
13302 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
13303 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
13304 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
13305 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
13306 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
13307 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
13308 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
13309 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
13310 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
13311 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
13312 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
13313 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
13314 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
13315 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
13316 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
13317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13318 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13319 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13320 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13321 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13322 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13323 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13324 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13325 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13326 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13327 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13328 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13329 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13330 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13335 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13336 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13337 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13338 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13339 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13340 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13341 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
13342 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
13343 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13344 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13345
13346 2018-03-19 Joseph Myers <joseph@codesourcery.com>
13347
13348 [BZ #20079]
13349 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
13350
13351 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
13352
13353 * benchtests/bench-timing.h (attribute_hidden): Undefine.
13354
13355 2018-03-18 Richard Braun <rbraun@sceen.net>
13356
13357 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
13358 thread reference.
13359
13360 2018-03-18 Agustina Arzille <avarzille@riseup.net>
13361
13362 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
13363 (__libc_cleanup_fct): Define function.
13364 (__libc_cleanup_region_start, __libc_cleanup_region_end,
13365 __libc_cleanup_end): Rewrite implementation using
13366 __attribute__ ((__cleanup__)).
13367 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
13368 * hurd/Makefile (routines): Add hurdlock.
13369 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
13370 interface.
13371 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
13372 * hurd/hurdpid.c: Include <lowlevellock.h>
13373 (_S_msg_proc_newids): Use lll_wait to synchronize.
13374 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
13375 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
13376 * mach/Makefile (lock-headers): Remove machine-lock.h.
13377 * mach/lock-intern.h: Include <lowlevellock.h> instead of
13378 <machine-lock.h>.
13379 (__spin_lock_t): New type.
13380 (__SPIN_LOCK_INITIALIZER): New macro.
13381 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
13382 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
13383 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
13384 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
13385 (__mutex_init): Initialize with lll.
13386 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
13387 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
13388 needing lll.
13389 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13390 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
13391 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
13392 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
13393 (__setpgid): Use lll for synchronization.
13394 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
13395 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
13396 instead of <cthreads.h>.
13397 (_IO_lock_inexpensive): New macro
13398 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
13399 (__libc_lock_self0): New declaration.
13400 (__libc_lock_owner_self): New macro.
13401 (__libc_key_t): Remove type.
13402 (_LIBC_LOCK_INITIALIZER): New macro.
13403 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
13404 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
13405 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
13406 __libc_lock_define_initialized_recursive,
13407 __rtld_lock_define_initialized_recursive,
13408 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
13409 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
13410 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
13411 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
13412 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
13413 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
13414 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
13415 New macros.
13416 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
13417 * hurd/hurdlock.c: New file.
13418 * hurd/hurdlock.h: New file.
13419 * mach/lowlevellock.h: New file
13420
13421 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13422
13423 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
13424 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
13425 when opening a symlink with O_NOFOLLOW.
13426 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
13427 path when flags contains O_NOFOLLOW.
13428 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
13429 if flags contains O_DIRECTORY and the result is a directory.
13430 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
13431 oneself when the pointer given in D is nul (as set by ext2fs).
13432 * sysdeps/mach/hurd/mlockall.c: New file.
13433 * sysdeps/mach/hurd/munlockall.c: New file.
13434
13435 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
13436
13437 * hurd/hurdsig.c: Include <pthread.h>.
13438 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
13439 get the signal thread stack layout.
13440 * hurd/Makefile (headers): Remove threadvar.h.
13441 (inline-headers): Remove threadvar.h.
13442 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
13443 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
13444 __hurd_threadvar_max, __hurd_errno_location.
13445 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
13446 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
13447 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
13448 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
13449 unless TLS is not initialized yet, in which case we do not need a
13450 critical section yet anyway.
13451 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
13452 <machine-sp.h>.
13453 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
13454 declarations.
13455 (__hurd_threadvar_index): Remove enum.
13456 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
13457 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
13458 inlines.
13459 (__hurd_reply_port0): New variable declaration.
13460 (__hurd_local_reply_port): New macro.
13461 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
13462 (interrupted_reply_port_location): Add thread_t parameter. Use it
13463 with THREAD_TCB to access thread-local variables.
13464 (_hurdsig_abort_rpcs): Pass ss->thread to
13465 interrupted_reply_port_location.
13466 (_hurd_internal_post_signal): Likewise.
13467 (_hurdsig_init): Use presence of cthread_fork instead of
13468 __hurd_threadvar_stack_mask to start signal thread by hand.
13469 Remove signal thread threadvar initialization.
13470 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
13471 * hurd/sigunwind.c: Include <hurd/threadvar.h>
13472 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
13473 of threadvar.
13474 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
13475 __libc_lock_self0.
13476 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
13477 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
13478 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
13479 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
13480 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
13481 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
13482 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
13483 define variables.
13484 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
13485 <hurd/threadvar.h>.
13486 [IS_IN(rtld)] (rtld_errno): New variable.
13487 [IS_IN(rtld)] (__errno_location): New weak function.
13488 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
13489 * sysdeps/mach/hurd/errno.c: Remove file.
13490 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
13491 (__fork): Remove THREADVAR_SPACE macro and its use.
13492 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
13493 variable.
13494 (init): Do not initialize threadvar.
13495 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
13496 symbol.
13497 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
13498 __hurd_local_reply_port instead of threadvar.
13499 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
13500 _hurd_sigstate fields.
13501 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
13502 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
13503 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
13504 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
13505 instead of threadvar.
13506 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
13507 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
13508 (use_threadvar, global_reply_port): Remove variables.
13509 (__hurd_reply_port0): New variable.
13510 (__mig_get_reply_port): Use __hurd_local_reply_port and
13511 __hurd_reply_port0 instead of threadvar.
13512 (__mig_dealloc_reply_port): Likewise.
13513 (__mig_init): Do not initialize threadvar.
13514 * sysdeps/mach/hurd/profil.c: Fix comment.
13515 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
13516 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
13517 cthread_keycreate, cthread_getspecific, cthread_setspecific to
13518 __cthread_fork, __cthread_detach, __pthread_getattr_np,
13519 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
13520 __cthread_setspecific.
13521 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
13522 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
13523 __cthread_t instead of cthread_fork, cthread_detach,
13524 pthread_getattr_np, pthread_attr_getstack.
13525 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
13526 __cthread_keycreate.
13527 (cthread_getspecific): Rename to __cthread_getspecific.
13528 (cthread_setspecific): Rename to __cthread_setspecific.
13529 (__libc_getspecific): Use __cthread_getspecific instead of
13530 cthread_getspecific.
13531 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
13532 __cthread_keycreate instead of cthread_keycreate.
13533 (__libc_setspecific): Use __cthread_setspecific instead of
13534 cthread_setspecific.
13535 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
13536 Likewise.
13537 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
13538 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
13539 testing whether it is defined.
13540
13541 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13542
13543 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
13544 Define macro.
13545 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
13546 * sysdeps/mach/i386/thread_state.h
13547 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
13548 i386_THREAD_STATE.
13549 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
13550 i386_THREAD_STATE.
13551 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
13552
13553 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
13554 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
13555
13556 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
13557 macros.
13558 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
13559 descriptor instead of creating a new one.
13560 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
13561
13562 * mach/setup-thread.c: Include <ldsodefs.h>.
13563 (__mach_setup_thread): Call _dl_allocate_tls, pass
13564 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
13565 MACHINE_THREAD_STATE_FLAVOR, before getting
13566 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
13567 MACHINE_THREAD_STATE_FLAVOR with the result.
13568 * hurd/hurdfault.c (_hurdsig_fault_init): Call
13569 MACHINE_THREAD_STATE_FIX_NEW.
13570 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
13571 too. Add original thread parameter.
13572
13573 2018-03-16 Joseph Myers <joseph@codesourcery.com>
13574
13575 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
13576 Remove inline function.
13577
13578 * sysdeps/i386/fpu/libm-test-ulps: Update.
13579 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
13580
13581 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
13582
13583 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
13584 commit.
13585
13586 2018-03-15 Joseph Myers <joseph@codesourcery.com>
13587
13588 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
13589 (__sincos_code): Remove define and undefine.
13590 [__FAST_MATH__] (__sincos): Remove inline function.
13591 [__FAST_MATH__] (__sincosf): Remove inline function.
13592 [__FAST_MATH__] (__sincosl): Remove inline function.
13593 (__atan2l): Remove inline functions.
13594 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
13595 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
13596 function.
13597 (floor): Remove inline function.
13598 (ceil): Likewise.
13599 [__FAST_MATH__] (__ldexp_code): Remove macro.
13600 [__FAST_MATH__] (ldexp): Remove inline function.
13601 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
13602 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
13603 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
13604 [__USE_ISOC99] (__lrint_code): Remove macro.
13605 [__USE_ISOC99] (__llrint_code): Likewise.
13606 [__USE_ISOC99] (lrintf): Remove inline function.
13607 [__USE_ISOC99] (lrint): Likewise.
13608 [__USE_ISOC99] (lrintl): Likewise.
13609 [__USE_ISOC99] (llrint): Likewise.
13610 [__USE_ISOC99] (llrintf): Likewise.
13611 [__USE_ISOC99] (llrintl): Likewise.
13612
13613 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13614
13615 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
13616 (__ieee754_sqrtf): Remove.
13617 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
13618 (__ieee754_sqrtf): Remove.
13619 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
13620 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13621 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
13622 (__ieee754_sqrtf): Remove.
13623 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
13624 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
13625 (sqrtf): Remove.
13626 (sqrtl): Remove.
13627 (__ieee754_sqrt): Remove.
13628 (__ieee754_sqrtf): Remove.
13629 (__ieee754_sqrtl): Remove.
13630 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13631 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
13632 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
13633 (__ieee754_sqrtf): Remove.
13634 (__ieee754_sqrtl): Remove.
13635
13636 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13637
13638 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
13639 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13640 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13641 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
13642 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
13643 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13644 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13645 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13646 Likewise.
13647 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
13648 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
13649 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
13650 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13651 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13652 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
13653 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
13654 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
13655 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13656 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13657 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
13658 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13659 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
13660 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
13661 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
13662 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13663 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13664 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13665 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
13666 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
13667 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13668 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13669 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
13670 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
13671 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
13672 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
13673 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13674 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13675 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
13676 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13677 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13678 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
13679 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13680 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
13681 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13682 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13683 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
13684 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
13685 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13686 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
13687
13688 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13689
13690 * include/math.h (sqrt): Declare with asm redirect.
13691 (sqrtf): Likewise.
13692 (sqrtl): Likewise.
13693 (sqrtf128): Likewise.
13694 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
13695 nonlib and libnldbl with -fmath-errno.
13696 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
13697 * math/w_sqrt_template.c: Likewise.
13698 * math/w_sqrtf_compat.c: Likewise.
13699 * math/w_sqrtl_compat.c: Likewise.
13700 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
13701 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
13702 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
13703 complex.h.
13704
13705 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13706
13707 * benchtests/Makefile: Define _ISOMAC.
13708 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
13709 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
13710 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
13711 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
13712 * benchtests/bench-timing.h: Define attribute_hidden.
13713
13714 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13715
13716 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
13717 mov + lsr.
13718
13719 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13720
13721 [BZ #22963]
13722 * localedata/locales/cs_CZ (mon): Rename to...
13723 (alt_mon): This.
13724 (mon): Import from CLDR (genitive case).
13725
13726 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13727
13728 [BZ #22937]
13729 * localedata/locales/el_CY (abmon): Rename to...
13730 (ab_alt_mon): This.
13731 (abmon): Import from CLDR (abbreviated genitive case).
13732 * localedata/locales/el_GR (abmon): Rename to...
13733 (ab_alt_mon): This.
13734 (abmon): Import from CLDR (abbreviated genitive case).
13735
13736 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13737
13738 [BZ #22932]
13739 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
13740
13741 2018-03-15 Robert Buj <robert.buj@gmail.com>
13742
13743 [BZ #22848]
13744 * localedata/locales/ca_ES (abmon): Rename to...
13745 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
13746 (mon): Rename to...
13747 (alt_mon): This.
13748 (abmon): Import from CLDR (genitive case, month names preceded by
13749 "de" or "d’").
13750 (mon): Likewise.
13751 (abday): Synchronize with CLDR.
13752 (d_t_fmt): Likewise.
13753 (d_fmt): Likewise.
13754 (am_pm): Likewise.
13755
13756 (LC_TIME): Improve indentation.
13757 (LC_TELEPHONE): Likewise.
13758 (LC_NAME): Likewise.
13759 (LC_ADDRESS): Likewise.
13760
13761 2018-03-14 Joseph Myers <joseph@codesourcery.com>
13762
13763 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
13764 (lrintf): Remove definitions used only with old GCC.
13765 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
13766 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
13767 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
13768 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
13769 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
13770 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
13771 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
13772 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
13773 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
13774 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
13775 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
13776 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
13777 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
13778 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
13779 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
13780 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
13781 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
13782 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
13783 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
13784 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
13785 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
13786 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
13787 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
13788 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
13789 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
13790 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
13791 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
13792 [__FAST_MATH__] (__M_SQRT2): Remove macro.
13793
13794 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
13795
13796 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
13797 instruction to unbreak builds with binutils 2.26 and older.
13798
13799 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
13800
13801 * sysdeps/aarch64/strncmp.S (count): New macro.
13802 (strncmp): Store misaligned length in SRC1 in COUNT.
13803 (mutual_align): Adjust.
13804 (misaligned8): Load dword at a time when it is safe.
13805
13806 2018-03-12 Zack Weinberg <zackw@panix.com>
13807
13808 [BZ #1190]
13809 [BZ #19476]
13810 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
13811 if the _IO_EOF_SEEN bit is already set; update commentary.
13812 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
13813 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
13814
13815 * support/support_openpty.c, support/tty.h: New files.
13816 * support/Makefile (libsupport-routines): Add support_openpty.
13817
13818 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
13819 New test cases.
13820 * libio/Makefile (tests): Add tst-fgetc-after-eof.
13821 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
13822
13823 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
13824
13825 * po/pt_BR.po: Update translations.
13826
13827 2018-03-12 David Michael <fedora.dm0@gmail.com>
13828
13829 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
13830 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
13831 get a port to the startup server.
13832
13833 2018-03-11 Zack Weinberg <zackw@panix.com>
13834
13835 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
13836 before nldbl-compat.h.
13837
13838 2018-03-10 Zack Weinberg <zackw@panix.com>
13839
13840 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
13841 math.h or math_private.h.
13842
13843 * sysdeps/alpha/fpu/s_isnan.c
13844 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
13845 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
13846 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
13847 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
13848 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
13849 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
13850 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
13851 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
13852 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
13853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
13854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
13855 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
13856 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
13857 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
13858 Include math_private.h.
13859
13860 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
13861 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
13862 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
13863 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
13864 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
13865 * sysdeps/powerpc/power7/fpu/s_logb.c:
13866 Include math.h and math_private.h.
13867
13868 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
13869 uses of $at in .set noat / .set at.
13870
13871 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
13872
13873 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
13874 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
13875 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
13876 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
13877 Likewise.
13878
13879 2018-03-09 Florian Weimer <fweimer@redhat.com>
13880
13881 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
13882 in comment.
13883
13884 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
13885
13886 [BZ #22919]
13887 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
13888 Add nop before __startcontext, add explaining comments.
13889
13890 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13891
13892 [BZ #22926]
13893 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
13894 empty for __SPE__.
13895 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
13896 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
13897 Do not build hardware transactional code for __SPE__.
13898 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13899 (__lll_trylock_elision): Likewise.
13900 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13901 (__lll_unlock_elision): Likewise.
13902
13903 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
13904 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
13905 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
13906 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
13907 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
13908 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
13909 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
13910 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
13911 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
13912 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
13913 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
13914 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
13915 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
13916 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
13917 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
13918 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
13919 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
13920 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
13921 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
13922 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
13923 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
13924 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13925 (__ASSUME_CLONE_BACKWARDS): Define.
13926 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
13927 __clone2 if __NR_clone2 is defined.
13928 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13929 (__ASSUME_CLONE_BACKWARDS): Likewise.
13930 * sysdeps/unix/sysv/linux/i386/kernel-features.h
13931 (__ASSUME_CLONE_BACKWARDS): Likewise.
13932 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13933 (__ASSUME_CLONE2): Likewise.
13934 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13935 (__ASSUME_CLONE_BACKWARDS3): Likewise.
13936 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
13937 variants and the define architecture can use.
13938 (__ASSUME_CLONE_DEFAULT): Define as default.
13939 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13940 (__ASSUME_CLONE_BACKWARDS): Likewise.
13941 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13942 (__ASSUME_CLONE_BACKWARDS): Likewise.
13943 * sysdeps/unix/sysv/linux/s390/kernel-features.h
13944 (__ASSUME_CLONE_BACKWARDS2): Likewise.
13945
13946 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
13947
13948 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
13949
13950 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
13951 time.
13952
13953 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
13954 (do_test_limit): Likewise.
13955
13956 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
13957 for every implementation.
13958 (do_test): Likewise.
13959
13960 * benchtests/bench-strncmp.c: Convert output to json.
13961
13962 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13963
13964 * io/futimens.c: Add missing start-of-file descriptive comment.
13965 * io/utime.c: Likewise.
13966 * misc/futimesat.c: Likewise.
13967 * misc/utimes.c: Likewise.
13968 * sysdeps/mach/hurd/futimesat.c: Likewise.
13969 * sysdeps/mach/hurd/utimes.c: Likewise.
13970 * sysdeps/posix/utime.c: Likewise.
13971 * sysdeps/posix/utimes.c: Likewise.
13972 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
13973 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13974 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
13975 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
13976
13977 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13978
13979 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
13980 hurd_futimes.
13981 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
13982 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
13983 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
13984 (__futimens): Move implementation to...
13985 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
13986 utime_tvalue_from_tspec): ... new helper functions.
13987 (hurd_futimens): New function.
13988 * sysdeps/mach/hurd/futimesat.c: New file.
13989 * sysdeps/mach/hurd/utimensat.c: New file.
13990
13991 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
13992
13993 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
13994 UTIME_OMIT): New macros.
13995 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
13996 before reverting to converting time spec to time value and calling
13997 __file_utimes.
13998 * sysdeps/mach/hurd/utime-helper.c: New file.
13999 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
14000 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
14001 reverting to utime_tvalue_from_tval and __file_utimes.
14002 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
14003 (__lutimes): Just call hurd_futimens after lookup.
14004 * sysdeps/mach/hurd/utimes.c: Likewise.
14005
14006 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14007
14008 * bits/sigaction.h: Add include guard.
14009 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
14010 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
14011 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
14012 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
14013 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
14014 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
14015 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
14016 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
14017 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
14018
14019 2018-03-05 Joseph Myers <joseph@codesourcery.com>
14020
14021 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
14022 -Wmaybe-uninitialized for -Os.
14023 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
14024 this disabling.
14025
14026 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14027
14028 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
14029 __INO_T_MATCHES_INO64_T is defined.
14030 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
14031 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
14032 of definition.
14033 * dirent/alphasort64.c: Likewise.
14034 * dirent/scandir.c: Likewise.
14035 * dirent/scandir64-tail.c: Likewise.
14036 * dirent/scandir64.c: Likewise.
14037 * dirent/scandirat.c: Likewise.
14038 * dirent/scandirat64.c: Likewise.
14039 * dirent/versionsort.c: Likewise.
14040 * dirent/versionsort64.c: Likewise.
14041 * include/dirent.h: Likewise.
14042
14043 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
14044 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
14045 for socketpair endpoint.
14046 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
14047 WRITE_BUFFER_SIZE as buffer size for sending socket.
14048 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
14049 issue on system where send is implemented with sendto syscall.
14050 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
14051 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
14052 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
14053 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
14054
14055 [BZ #21269]
14056 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
14057 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
14058 sa_restorer for vDSO case.
14059 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
14060
14061 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14062
14063 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
14064 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
14065 * hurd/hurd/ioctl.h: Include <mach/port.h>
14066 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
14067 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
14068 <mach/mach_types.h> and <mach/message.h>.
14069 (headers): Move mach/param.h to bits/mach/param.h.
14070 * sysdeps/mach/i386/mach/param.h: Move file to ...
14071 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
14072 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
14073 of <mach/param.h>.
14074 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
14075 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
14076 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
14077 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
14078 trivial, for C++ conformity.
14079 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
14080 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
14081 Process mig output through $(migheadersed).
14082 * hurd/Makefile (migheadersed): Define variable.
14083 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
14084 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
14085 headers.
14086 * hurd/hurd.h: Include <bits/types/sigset_t.h>
14087 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
14088 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
14089 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
14090 <bits/types/sigset_t.h>.
14091 [!defined __USE_GNU]: Do not #error out.
14092 (struct hurd_sigstate): Use _NSIG instead of NSIG.
14093 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
14094 Include <stddef.h> and <bits/types/sigset_t.h>
14095 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
14096 instead of sighandler_t.
14097 * stdlib/errno.h (error_t): Move definition to...
14098 * bits/types/error_t.h: ... new header.
14099 * stdlib/Makefile (headers): Add bits/types/error_t.h.
14100 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
14101 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
14102 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
14103 * hurd/hurd.h: Include <bits/types/error_t.h>
14104 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
14105 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
14106 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
14107 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
14108 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
14109 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
14110 * sysdeps/mach/hurd/futimens.c: New file.
14111
14112 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
14113
14114 [BZ #22918]
14115 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
14116 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
14117 * nscd/gai.c (__nss_hosts_database): Readd definition.
14118 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
14119 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
14120 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
14121
14122 2018-03-02 Joseph Myers <joseph@codesourcery.com>
14123
14124 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
14125 (ifunc_one): Likewise.
14126
14127 2018-03-01 DJ Delorie <dj@delorie.com>
14128
14129 [BZ #22342]
14130 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
14131 key value.
14132
14133 2018-03-01 Maciej W. Rozycki <macro@mips.com>
14134
14135 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
14136 `match_pid' parameter.
14137 (td_ta_thr_iter): Update accordingly.
14138
14139 2018-03-01 Florian Weimer <fweimer@redhat.com>
14140
14141 * nptl/Makefile (install-lib-ldscripts): Remove.
14142 (install): Remove rule.
14143 ($(inst_libdir)/libpthread.so): Likewise.
14144
14145 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14146
14147 [BZ #22896]
14148 * localedata/locales/an_ES: update month and day names,
14149 improve d_fmt, improve postal_fmt, add country_post,
14150 add country_isbn
14151
14152 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14153
14154 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
14155 Ukrainian instead of Bulgarian.
14156
14157 2018-03-01 Florian Weimer <fweimer@redhat.com>
14158
14159 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
14160 reference.
14161
14162 2018-03-01 Florian Weimer <fweimer@redhat.com>
14163
14164 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
14165 * nptl/Makefile (routines): Add pthread_atfork.
14166 (static-only-routines): Set to pthread_atfork.
14167 (libpthread-routines): Remove pthread_atfork.
14168 (libpthread-static-only-routines): Remove.
14169 (install): Update comment.
14170 (libpthread.so): Do not install libpthread_nonshared.a.
14171 (tests): Do not link with libpthread_nonshared.a.
14172 (generated): Remove libpthread_nonshared.a.
14173 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
14174 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
14175 with libpthread_nonshared.a.
14176
14177 2018-02-28 Joseph Myers <joseph@codesourcery.com>
14178
14179 [BZ #22902]
14180 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
14181 (libc_feholdexcept_setroundf128): New macro.
14182 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
14183
14184 [BZ #15105]
14185 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
14186 libc_hidden_def.
14187 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
14188 * include/inttypes.h: New file.
14189
14190 2018-02-27 Joseph Myers <joseph@codesourcery.com>
14191
14192 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
14193 -Os in two more places.
14194
14195 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14196
14197 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
14198 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
14199 be sorted correctly at the moment because of a bug.
14200
14201 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14202
14203 [BZ #22550] - es_ES locale (and other es_* locales): collation should
14204 treat ñ as a primary different character, sync the collation
14205 for Spanish with CLDR.
14206 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
14207 * localedata/Makefile: Add new test files.
14208 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
14209 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
14210 collation order.
14211 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
14212 * localedata/am_ET.UTF-8.in: New test file.
14213 * localedata/az_AZ.UTF-8.in: Likewise.
14214 * localedata/be_BY.UTF-8.in: Likewise.
14215 * localedata/ber_DZ.UTF-8.in: Likewise.
14216 * localedata/ber_MA.UTF-8.in: Likewise.
14217 * localedata/bg_BG.UTF-8.in: Likewise.
14218 * localedata/br_FR.UTF-8.in: Likewise.
14219 * localedata/cmn_TW.UTF-8.in: Likewise.
14220 * localedata/crh_UA.UTF-8.in: Likewise.
14221 * localedata/csb_PL.UTF-8.in: Likewise.
14222 * localedata/cv_RU.UTF-8.in: Likewise.
14223 * localedata/cy_GB.UTF-8.in: Likewise.
14224 * localedata/dz_BT.UTF-8.in: Likewise.
14225 * localedata/eo.UTF-8.in: Likewise.
14226 * localedata/es_ES.UTF-8.in: Likewise.
14227 * localedata/fa_IR.UTF-8.in: Likewise.
14228 * localedata/fi_FI.UTF-8.in: Likewise.
14229 * localedata/fil_PH.UTF-8.in: Likewise.
14230 * localedata/fur_IT.UTF-8.in: Likewise.
14231 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
14232 * localedata/ha_NG.UTF-8.in: Likewise.
14233 * localedata/ig_NG.UTF-8.in: Likewise.
14234 * localedata/ik_CA.UTF-8.in: Likewise.
14235 * localedata/kk_KZ.UTF-8.in: Likewise.
14236 * localedata/ku_TR.UTF-8.in: Likewise.
14237 * localedata/ky_KG.UTF-8.in: Likewise.
14238 * localedata/ln_CD.UTF-8.in: Likewise.
14239 * localedata/mi_NZ.UTF-8.in: Likewise.
14240 * localedata/ml_IN.UTF-8.in: Likewise.
14241 * localedata/mn_MN.UTF-8.in: Likewise.
14242 * localedata/mr_IN.UTF-8.in: Likewise.
14243 * localedata/mt_MT.UTF-8.in: Likewise.
14244 * localedata/nb_NO.UTF-8.in: Likewise.
14245 * localedata/om_KE.UTF-8.in: Likewise.
14246 * localedata/os_RU.UTF-8.in: Likewise.
14247 * localedata/ps_AF.UTF-8.in: Likewise.
14248 * localedata/ro_RO.UTF-8.in: Likewise.
14249 * localedata/ru_RU.UTF-8.in: Likewise.
14250 * localedata/sc_IT.UTF-8.in: Likewise.
14251 * localedata/se_NO.UTF-8.in: Likewise.
14252 * localedata/sq_AL.UTF-8.in: Likewise.
14253 * localedata/sv_SE.UTF-8.in: Likewise.
14254 * localedata/szl_PL.UTF-8.in: Likewise.
14255 * localedata/tg_TJ.UTF-8.in: Likewise.
14256 * localedata/tk_TM.UTF-8.in: Likewise.
14257 * localedata/tt_RU.UTF-8.in: Likewise.
14258 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
14259 * localedata/ug_CN.UTF-8.in: Likewise.
14260 * localedata/uz_UZ.UTF-8.in: Likewise.
14261 * localedata/vi_VN.UTF-8.in: Likewise.
14262 * localedata/yi_US.UTF-8.in: Likewise.
14263 * localedata/yo_NG.UTF-8.in: Likewise.
14264 * localedata/zh_CN.UTF-8.in: Likewise.
14265 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
14266 file and fix bugs in the collation.
14267 * localedata/locales/az_AZ: Likewise.
14268 * localedata/locales/be_BY: Likewise.
14269 * localedata/locales/ber_DZ: Likewise.
14270 * localedata/locales/ber_MA: Likewise.
14271 * localedata/locales/bg_BG: Likewise.
14272 * localedata/locales/br_FR: Likewise.
14273 * localedata/locales/br_FR@euro: Likewise.
14274 * localedata/locales/ca_ES: Likewise.
14275 * localedata/locales/cns11643_stroke: Likewise.
14276 * localedata/locales/crh_UA: Likewise.
14277 * localedata/locales/cs_CZ: Likewise.
14278 * localedata/locales/csb_PL: Likewise.
14279 * localedata/locales/cv_RU: Likewise.
14280 * localedata/locales/cy_GB: Likewise.
14281 * localedata/locales/da_DK: Likewise.
14282 * localedata/locales/dz_BT: Likewise.
14283 * localedata/locales/en_CA: Likewise.
14284 * localedata/locales/eo: Likewise.
14285 * localedata/locales/es_CU: Likewise.
14286 * localedata/locales/es_EC: Likewise.
14287 * localedata/locales/es_ES: Likewise.
14288 * localedata/locales/es_US: Likewise.
14289 * localedata/locales/et_EE: Likewise.
14290 * localedata/locales/fa_IR: Likewise.
14291 * localedata/locales/fi_FI: Likewise.
14292 * localedata/locales/fil_PH: Likewise.
14293 * localedata/locales/fur_IT: Likewise.
14294 * localedata/locales/gez_ER@abegede: Likewise.
14295 * localedata/locales/ha_NG: Likewise.
14296 * localedata/locales/hr_HR: Likewise.
14297 * localedata/locales/hsb_DE: Likewise.
14298 * localedata/locales/hu_HU: Likewise.
14299 * localedata/locales/ig_NG: Likewise.
14300 * localedata/locales/ik_CA: Likewise.
14301 * localedata/locales/is_IS: Likewise.
14302 * localedata/locales/iso14651_t1_pinyin: Likewise.
14303 * localedata/locales/kk_KZ: Likewise.
14304 * localedata/locales/ku_TR: Likewise.
14305 * localedata/locales/ky_KG: Likewise.
14306 * localedata/locales/ln_CD: Likewise.
14307 * localedata/locales/lt_LT: Likewise.
14308 * localedata/locales/lv_LV: Likewise.
14309 * localedata/locales/mi_NZ: Likewise.
14310 * localedata/locales/ml_IN: Likewise.
14311 * localedata/locales/mn_MN: Likewise.
14312 * localedata/locales/mr_IN: Likewise.
14313 * localedata/locales/mt_MT: Likewise.
14314 * localedata/locales/nb_NO: Likewise.
14315 * localedata/locales/om_KE: Likewise.
14316 * localedata/locales/os_RU: Likewise.
14317 * localedata/locales/pl_PL: Likewise.
14318 * localedata/locales/ps_AF: Likewise.
14319 * localedata/locales/ro_RO: Likewise.
14320 * localedata/locales/ru_RU: Likewise.
14321 * localedata/locales/ru_UA: Likewise.
14322 * localedata/locales/sc_IT: Likewise.
14323 * localedata/locales/se_NO: Likewise.
14324 * localedata/locales/si_LK: Likewise.
14325 * localedata/locales/sq_AL: Likewise.
14326 * localedata/locales/sv_FI: Likewise.
14327 * localedata/locales/sv_FI@euro: Likewise.
14328 * localedata/locales/sv_SE: Likewise.
14329 * localedata/locales/szl_PL: Likewise.
14330 * localedata/locales/tg_TJ: Likewise.
14331 * localedata/locales/ti_ER: Likewise.
14332 * localedata/locales/tk_TM: Likewise.
14333 * localedata/locales/tl_PH: Likewise.
14334 * localedata/locales/tr_TR: Likewise.
14335 * localedata/locales/tt_RU: Likewise.
14336 * localedata/locales/tt_RU@iqtelif: Likewise.
14337 * localedata/locales/ug_CN: Likewise.
14338 * localedata/locales/uk_UA: Likewise.
14339 * localedata/locales/uz_UZ: Likewise.
14340 * localedata/locales/uz_UZ@cyrillic: Likewise.
14341 * localedata/locales/vi_VN: Likewise.
14342 * localedata/locales/yi_US: Likewise.
14343 * localedata/locales/yo_NG: Likewise.
14344
14345 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14346
14347 * gen-locales.mk: Make test files which contain @ modifiers in their
14348 name work.
14349 * localedata/gen-locale.sh: Likewise.
14350
14351 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14352
14353 * posix/tst-fnmatch.input: Fix results for range expressions
14354 for non C locales.
14355 * posix/tst-regexloc.c: Do not use a range expression for
14356 de_DE.ISO-8859-1 locale.
14357
14358 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14359
14360 * posix/bug-regex5.c: Fix test case because with the new
14361 iso14651_t1_common file, the da_DK locale now has 6 collating elements
14362 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
14363 file.
14364
14365 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14366
14367 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
14368 downloaded from ISO, the collation order of @-. and space has changed.
14369 Therefore, this test file needed to be adapted.
14370 * localedata/fr_CA.UTF-8.in: Likewise.
14371 * localedata/fr_FR.UTF-8.in: Likewise.
14372 * localedata/uk_UA.UTF-8.in: Likewise.
14373
14374 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14375
14376 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
14377 order of ȥ in the new iso14651_t1_common file.
14378 * localedata/pl_PL.UTF-8.in: Likewise.
14379
14380 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14381
14382 * localedata/locales/iso14651_t1_common: Add sections for various
14383 scripts to the iso14651_t1_common file.
14384
14385 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14386
14387 * localedata/locales/iso14651_t1_common: Use the code point of a
14388 character in the fourth collation level instead of IGNORE for all
14389 entries which have IGNORE on all 4 levels.
14390
14391 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14392
14393 * localedata/locales/iso14651_t1_common: Add some convenient collation
14394 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
14395 rules similar to those in CLDR.
14396
14397 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14398
14399 * localedata/locales/iso14651_t1_common: The new version of this
14400 file downloaded from ISO contained several syntax errors which
14401 are fixed by this patch.
14402
14403 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14404
14405 * localedata/locales/iso14651_t1_common: replace all <U.....>
14406 with <U000.....> because glibc understands only 4 digit or 8 digit
14407
14408 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14409
14410 * localedata/locales/iso14651_t1_common: Necessary changes
14411 to make the file downloaded from ISO usable by glibc.
14412
14413 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14414
14415 [BZ #14095]
14416 * localedata/locales/iso14651_t1_common: Update file to
14417 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
14418
14419 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14420
14421 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
14422 of <nptl/pthreadP.h>
14423 (thread_attr_compare): Move function to...
14424 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
14425 * sysdeps/nptl/timer_routines.h: ... new header.
14426 * sysdeps/mach/hurd/gai_misc.h: New file.
14427
14428 2018-02-26 Joseph Myers <joseph@codesourcery.com>
14429
14430 * string/strcoll_l.c: Include <libc-diag.h>.
14431 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
14432 declarations of seq1 and seq2.
14433
14434 [BZ #15105]
14435 * stdlib/atoi.c (atoi): Use libc_hidden_def.
14436 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
14437
14438 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
14439
14440 [BZ #22433]
14441 [BZ #22807]
14442 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
14443 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
14444 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
14445 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
14446 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
14447 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
14448
14449 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14450
14451 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
14452 macros used in __ptrace_request.
14453
14454 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
14455
14456 [BZ #22792]
14457 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
14458 to $(CC).
14459 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
14460 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
14461 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
14462 <tcb-offsets.h>.
14463
14464 2018-02-23 Joseph Myers <joseph@codesourcery.com>
14465
14466 [BZ #15105]
14467 * ctype/ctype.c (tolower): Use libc_hidden_def.
14468 (toupper): Likewise.
14469 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
14470 [!_ISOMAC] (toupper): Likewise.
14471
14472 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14473
14474 * localedata/Makefile: Remove --quiet argument when
14475 installing locales
14476
14477 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14478
14479 [BZ #17438]
14480 * localedata/locales/pt_BR (LC_TIME): use / instead of -
14481 in d_fmt.
14482 * localedata/locales/pt_PT (LC_TIME): likewise
14483
14484 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14485
14486 [BZ #22646]
14487 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
14488 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
14489 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
14490
14491 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14492
14493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14494
14495 * nptl/Makefile (routines): Remove unregister-atfork.
14496 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
14497 (fork_handler_alloc): Remove function.
14498 (fork_handlers, fork_handler_init): New variables.
14499 (__fork_lock): Rename to atfork_lock.
14500 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
14501 to use a dynamic array to add/remove atfork handlers.
14502 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14503 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
14504 Remove declaration.
14505 (fork_handler): Remove next, refcntr, and need_signal member.
14506 (__run_fork_handler_type): New enum.
14507 (__run_fork_handlers): New prototype.
14508 * nptl/register-atfork.c: Remove file.
14509 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
14510
14511 * sysdeps/nptl/nptl-signals.h: Move to ...
14512 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
14513 comments.
14514 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
14515 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
14516 unnecessary check for SIGTIMER.
14517 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
14518 remove unnecessary removal of SIGTIMER.
14519 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
14520 include-signals.h rename.
14521 * nptl/pthreadP.h: Likewise.
14522 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
14523 __is_internal_signal instead of __nptl_is_internal_signal.
14524
14525 2018-02-22 Andrew Waterman <andrew@sifive.com>
14526
14527 [BZ # 22884]
14528 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
14529 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
14530 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
14531 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
14532
14533 2018-02-22 DJ Delorie <dj@delorie.com>
14534
14535 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
14536
14537 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
14538
14539 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
14540 do_misaligned, not misaligned8.
14541
14542 2018-02-22 Steve Ellcey <sellcey@cavium.com>
14543
14544 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
14545 Add memcpy_thunderx2.
14546 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
14547 Increment to 4.
14548 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
14549 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
14550 and IS_THUNDERX2PA checks.
14551 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
14552 Use macro to set name appropriately.
14553 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
14554 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
14555 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
14556 New macro.
14557 (IS_THUNDERX2): New macro.
14558
14559 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
14560
14561 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14562
14563 2018-02-21 Zack Weinberg <zackw@panix.com>
14564
14565 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
14566 Define here, unconditionally.
14567 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
14568 * libio/libioP.h: Remove #if 0 blocks.
14569 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
14570 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
14571 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
14572
14573 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
14574 Assume weak_alias is always defined.
14575
14576 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
14577 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
14578 Remove #if 0 and #ifdef TODO blocks.
14579 Assume text_set_element is always defined.
14580
14581 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
14582 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
14583 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
14584
14585 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
14586 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
14587 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
14588 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
14589 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
14590 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
14591 Reformat bit flags for _flags field to make occupancy clearer.
14592 Update commentary.
14593 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
14594 Keep definitions consistent with those in libio/libio.h.
14595
14596 * libio/libio.h (_IO_file_flags): Remove macro.
14597 All uses changed to _flags.
14598
14599 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
14600 (__HAVE_COLUMN, _IO_BE): Don't define.
14601 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
14602 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
14603 * libio/libioP.h (EOF): Don't define.
14604 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
14605 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
14606 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
14607 testing _IO_UNIFIED_JUMPTABLES.
14608
14609 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
14610 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
14611 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
14612 (_IO_size_t): Delete; all uses changed to size_t.
14613 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
14614 (_IO_off_t): Delete; all uses changed to off_t.
14615 (_IO_off64_t): Delete; all uses changed to off64_t.
14616 (_IO_pid_t): Delete; all uses changed to pid_t.
14617 (_IO_uid_t): Delete; all uses changed to uid_t.
14618 (_IO_wint_t): Delete; all uses changed to wint_t.
14619 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
14620 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
14621 (_IO_cookie_io_functions_t): Delete; all uses changed to
14622 cookie_io_functions_t.
14623 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
14624 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
14625 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
14626 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
14627
14628 * libio/iofopncook.c: Remove unnecessary forward declarations.
14629 * libio/iolibio.h: Correct outdated commentary.
14630 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
14631 * stdio-common/fxprintf.c (__fxprintf_nocancel):
14632 Remove unnecessary casts.
14633 * stdio-common/getline.c: Use _IO_getdelim directly.
14634 Don't redefine ssize_t.
14635 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
14636 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
14637 Remove outdated comments.
14638 * stdio-common/vfscanf.c: Don't redefine va_list.
14639
14640 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
14641 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
14642 Remove preprocessor conditionals on _LIBC and __USE_GNU,
14643 which are always true, and __cplusplus, which is always false.
14644
14645 2018-02-21 Joseph Myers <joseph@codesourcery.com>
14646
14647 [BZ #15105]
14648 [BZ #19463]
14649 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
14650 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
14651 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
14652 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
14653 libc_hidden_proto.
14654 [!_ISOMAC] (putc_unlocked): Likewise.
14655 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
14656 define inline if [__USE_EXTERN_INLINES].
14657 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
14658 putc_unlocked.
14659
14660 [BZ #15105]
14661 [BZ #19463]
14662 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
14663 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
14664 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
14665 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
14666 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
14667 getc_unlocked.
14668 * time/tzfile.c (__tzfile_read): Likewise.
14669
14670 2018-02-21 Mike FABIAN <mfabian@redhat.com>
14671
14672 [BZ #22517]
14673 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
14674
14675 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14676
14677 * io/fcntl.h: Fix a typo in a comment.
14678
14679 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14680
14681 [BZ #22862]
14682 * include/features.h: Add _ISOC11_SOURCE to test for whether to
14683 define _DEFAULT_SOURCE.
14684 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
14685
14686 2018-02-21 Florian Weimer <fweimer@redhat.com>
14687
14688 [BZ #20890]
14689 * elf/cache.c (save_cache): Call fsync on temporary file before
14690 renaming it.
14691 (save_aux_cache): Call fdatasync on temporary file before renaming
14692 it.
14693
14694 2018-02-21 Florian Weimer <fweimer@redhat.com>
14695
14696 [BZ #22787]
14697 * include/caller.h: Remove file.
14698 * elf/dl-caller.c: Likewise.
14699 * elf/Makefile (dl-routines): Remove dl-caller.
14700 (shared-only-routines): Do not add dl-caller.
14701 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
14702 __check_caller.
14703 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
14704 member.
14705 (dl_open_worker): Do not call __check_caller.
14706 (_dl_open): Do not set caller_dl_open member.
14707 * elf/rtld.c (_rtld_global_ro): Do not initialize
14708 _dl_check_caller member.
14709 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
14710 _dl_check_caller member.
14711 (_dl_check_caller): Remove declaration.
14712 * sysdeps/unix/sysv/linux/dl-execstack.c
14713 (_dl_make_stack_executable): Do not call __check_caller.
14714
14715 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
14716
14717 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
14718 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
14719
14720 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14721
14722 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
14723 description.
14724
14725 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14726
14727 [BZ #16335]
14728 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
14729 of 199606L, 200112L, and 200809L.
14730 (_XOPEN_SOURCE): Document special values of 600 and 700.
14731 (_ISOC11_SOURCE): Document macro.
14732 (_ATFILE_SOURCE): Likewise.
14733 (_FORTIFY_SOURCE): Likewise.
14734
14735 2018-02-19 Joseph Myers <joseph@codesourcery.com>
14736
14737 [BZ #15105]
14738 [BZ #19463]
14739 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
14740 and define as weak alias of __ferror_unlocked. Use
14741 libc_hidden_weak.
14742 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
14743 libc_hidden_proto.
14744 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
14745 function if [__USE_EXTERN_INLINES].
14746 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
14747 ferror_unlocked.
14748
14749 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
14750
14751 [BZ #6889]
14752 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
14753
14754 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14755
14756 [BZ #22818]
14757 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
14758 the GLIBC_2.1 version.
14759
14760 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14761
14762 [BZ #21508]
14763 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
14764 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
14765 intl/tst-gettext-de.po from po/de.po by removing the
14766 POT-Creation-Date line.
14767 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
14768 ../po/de.po.
14769 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
14770 ../po/de.po.
14771
14772 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14773
14774 * mach/Makefile (headers): Add mach/param.h.
14775 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
14776 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
14777 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
14778 (__ptsname_r): Move implementation to...
14779 (__ptsname_internal): ... new function. Add filling the STP
14780 structure.
14781
14782 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
14783
14784 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
14785 idouble to 1 ULP.
14786
14787 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
14788
14789 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
14790 syntax.
14791
14792 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14793
14794 * nptl/Makefile (tst-mutex8-ENV): Delete.
14795 * nptl/tst-mutex8.c (check_type):
14796 Add runtime check if mutex will be elided.
14797
14798 2018-02-15 Joseph Myers <joseph@codesourcery.com>
14799
14800 [BZ #20980]
14801 [BZ #21234]
14802 * manual/install.texi (Configuring and compiling): Describe
14803 passing CC and CFLAGS on configure command line, not as
14804 environment variables. Use @code markup on those variables.
14805 Specify what options go in CC and what go in CFLAGS. Note the
14806 requirement to compile with optimization.
14807 * INSTALL: Regenerated.
14808
14809 [BZ #18124]
14810 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
14811 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
14812 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
14813 __sigprocmask instead of sigprocmask.
14814 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
14815 Likewise.
14816 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
14817 __sigsetjmp and sigprocmask.
14818
14819 [BZ #15105]
14820 * include/argz.h (argz_next): Use libc_hidden_proto.
14821 (__argz_next): Likewise.
14822 * string-argz-next.c (__argz_next): Use libc_hidden_def.
14823 (argz_next): Use libc_hidden_weak.
14824
14825 [BZ #15105]
14826 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
14827 libc_hidden_proto.
14828 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
14829 libc_hidden_def.
14830
14831 [BZ #15105]
14832 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
14833 libc_hidden_proto.
14834 * libio/iofputs.c (fputs): Use libc_hidden_weak.
14835
14836 [BZ #15105]
14837 [BZ #19463]
14838 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
14839 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
14840 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
14841 (__feof_unlocked): New declaration, and inline function if
14842 [__USE_EXTERN_INLINES].
14843 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
14844 instead of feof_unlocked.
14845 * intl/localealias.c [_LIBC] (FEOF): Likewise.
14846 * nss/nsswitch.c (nss_parse_file): Likewise.
14847 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
14848 Likewise.
14849 * time/getdate.c (__getdate_r): Likewise.
14850 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
14851 Define as macro to call __feof_unlocked.
14852
14853 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14854
14855 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
14856
14857 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14858
14859 * math/Makefile: Remove mpexp.c and mplog.c
14860 * sysdeps/i386/fpu/mpexp.c: Delete file.
14861 * sysdeps/i386/fpu/mplog.c: Likewise.
14862 * sysdeps/ia64/fpu/mpexp.c: Likewise.
14863 * sysdeps/ia64/fpu/mplog.c: Likewise.
14864 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
14865 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
14866 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
14867 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14868 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
14869 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
14870 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
14871 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
14872 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
14873 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14874 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
14875 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
14876 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14877 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
14878 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
14879 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14880
14881 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14882
14883 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14884
14885 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14886
14887 * sysdeps/sh/libm-test-ulps: Update.
14888
14889 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14890
14891 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
14892 idouble to 1 ULP.
14893
14894 2018-02-12 Zack Weinberg <zackw@panix.com>
14895
14896 [BZ #19239]
14897 * posix/sys/types.h: Don't include sys/sysmacros.h.
14898 * misc/sys/sysmacros.h: Remove the conditional deprecation
14899 warnings for the macros defined by this header.
14900
14901 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
14902
14903 * manual/probes.texi: Remove slowexp probes.
14904 * math/Makefile: Remove slowexp.
14905 * sysdeps/generic/math_private.h (__slowexp): Remove.
14906 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
14907 document error bounds.
14908 * sysdeps/i386/fpu/slowexp.c: Remove.
14909 * sysdeps/ia64/fpu/slowexp.c: Remove.
14910 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
14911 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
14912 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
14913 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
14914 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
14915 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
14916 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
14917 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
14918 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
14919 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
14920 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
14921
14922 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
14923
14924 [BZ #13932]
14925 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
14926 * benchtests/pow-inputs: Update comment for slow path cases.
14927 * manual/probes.texi (slowpow_p10): Delete removed probe.
14928 (slowpow_p10): Likewise.
14929 * math/Makefile: Remove halfulp.c and slowpow.c.
14930 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
14931 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
14932 (__halfulp): Remove.
14933 (__slowpow): Remove.
14934 * sysdeps/i386/fpu/halfulp.c: Delete file.
14935 * sysdeps/i386/fpu/slowpow.c: Likewise.
14936 * sysdeps/ia64/fpu/halfulp.c: Likewise.
14937 * sysdeps/ia64/fpu/slowpow.c: Likewise.
14938 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
14939 improve comments and add error analysis.
14940 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
14941 (power1): Remove function:
14942 (log1): Remove error argument, add error analysis.
14943 (my_log2): Remove function.
14944 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
14945 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14946 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
14947 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
14948 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
14949 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
14950 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
14951 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
14952 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
14953 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
14954 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
14955 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14956 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
14957 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14958
14959 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
14960
14961 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
14962 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
14963
14964 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
14965
14966 [BZ #22433]
14967 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
14968 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
14969 and PTRACE_SETHBPREGS.
14970
14971 2018-02-10 Zack Weinberg <zackw@panix.com>
14972
14973 [BZ #22830]
14974 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
14975 correctly.
14976 * malloc/tst-malloc-stats-cancellation.c: New test case.
14977 * malloc/Makefile: Add new test case.
14978
14979 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
14980
14981 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
14982
14983 2018-02-10 Joseph Myers <joseph@codesourcery.com>
14984
14985 * math/Makefile (libm-narrow-fns): Add add.
14986 (libm-test-funcs-narrow): Likewise.
14987 * math/Versions (GLIBC_2.28): Add narrowing add functions.
14988 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
14989 * math/gen-auto-libm-tests.c (test_functions): Add add.
14990 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
14991 (NARROW_ADD_ROUND_TO_ODD): Likewise.
14992 (NARROW_ADD_TRIVIAL): Likewise.
14993 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
14994 macro.
14995 (__daddl): Likewise.
14996 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
14997 dadd.
14998 (CFLAGS-nldbl-dadd.c): New variable.
14999 (CFLAGS-nldbl-fadd.c): Likewise.
15000 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15001 __nldbl_daddl.
15002 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
15003 prototype.
15004 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
15005 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
15006 * math/auto-libm-test-in: Add tests of add.
15007 * math/auto-libm-test-out-narrow-add: New generated file.
15008 * math/libm-test-narrow-add.inc: New file.
15009 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15010 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
15011 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
15012 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
15013 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
15014 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
15015 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
15016 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
15017 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
15018 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
15019 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
15020 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
15021 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
15022 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
15023 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
15024 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
15025 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
15026 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
15027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15028 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15029 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15030 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15031 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15032 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15033 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15034 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15035 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15036 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15037 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15038 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15039 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15040 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15045 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15046 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15047 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15048 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15049 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15050 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15051 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15052 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15053 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15054 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15055
15056 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
15057 (f128-pairs): New variable.
15058 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
15059 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
15060 to CFLAGS.
15061 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
15062 Also make tests add $(f128-loader-link) to gnulib-tests.
15063
15064 2018-02-09 DJ Delorie <dj@redhat.com>
15065
15066 [BZ #22827]
15067 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
15068 64-bit ELF type for 64-bit ELF objects.
15069
15070 2018-02-09 Joseph Myers <joseph@codesourcery.com>
15071
15072 * math/libm-test-driver.c (snan_tests_arg): New variable.
15073 * math/libm-test-support.h (snan_tests_arg): New declaration.
15074 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
15075
15076 * math/Makefile (test-type-pairs): New variable.
15077 (test-type-pairs-f64xf128-yes): Likewise.
15078 (tests): Add test-narrow-macros.
15079 (libm-test-funcs-narrow): New variable.
15080 (libm-test-c-narrow): Likewise.
15081 (generated): Add $(libm-test-c-narrow).
15082 (libm-tests-base-narrow): New variable.
15083 (libm-tests-narrow): Likewise.
15084 (libm-tests): Add $(libm-tests-narrow).
15085 (libm-tests-for-type): Handle $(libm-tests-narrow).
15086 (libm-test-c-narrow-obj): New variable.
15087 ($(libm-test-c-narrow-obj)): New rule.
15088 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
15089 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
15090 $(o-iterator) to set dependencies and CFLAGS.
15091 * math/gen-auto-libm-tests.c: Document use for narrowing
15092 functions.
15093 (output_for_one_input_case): Take argument NARROW.
15094 (generate_output): Likewise. Update call to
15095 output_for_one_input_case.
15096 (main): Take --narrow option. Update call to generate_output.
15097 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
15098 (apply_lit): Update call to _apply_lit.
15099 (apply_arglit): New function.
15100 (parse_args): Handle "a" arguments.
15101 (parse_auto_input): Handle format names using ":".
15102 * math/README.libm-test: Document "a" parameter type.
15103 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
15104 (ARG_TYPE_TRUE_MIN): Likewise.
15105 (ARG_TYPE_MAX): Likwise.
15106 (ARG_MIN_EXP): Likewise.
15107 (ARG_MAX_EXP): Likewise.
15108 (ARG_MANT_DIG): Likewise.
15109 (TEST_COND_arg_ibm128): Likewise.
15110 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
15111 (TEST_COND_arg_fmt): New macro.
15112 (init_max_error): Update prototype.
15113 * math/libm-test-support.c (test_ibm128): New variable.
15114 (init_max_error): Take argument testing_ibm128 and set test_ibm128
15115 instead of using [TEST_COND_ibm128] conditional.
15116 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
15117 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
15118 [TEST_NARROW] (TEST_MSG): New definition.
15119 (arg_plus_zero): New macro.
15120 (arg_minus_zero): Likewise.
15121 (arg_plus_infty): Likewise.
15122 (arg_minus_infty): Likewise.
15123 (arg_qnan_value_pl): Likewise.
15124 (arg_qnan_value): Likewise.
15125 (arg_snan_value_pl): Likewise.
15126 (arg_snan_value): Likewise.
15127 (arg_max_value): Likewise.
15128 (arg_min_value): Likewise.
15129 (arg_min_subnorm_value): Likewise.
15130 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
15131 (RUN_TEST_LOOP_aa_f): New macro.
15132 (TEST_SUFF): New macro.
15133 (TEST_SUFF_STR): Likewise.
15134 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
15135 (TEST_COND_any_ibm128): New macro.
15136 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
15137 this_func. Update call to init_max_error.
15138 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
15139 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
15140 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
15141 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
15142 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
15143 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
15144 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
15145 * math/test-math-scalar.h (TEST_NARROW): Likewise.
15146 * math/test-math-vector.h (TEST_NARROW): Likewise.
15147 * math/test-arg-double.h: New file.
15148 * math/test-arg-float128.h: Likewise.
15149 * math/test-arg-float32x.h: Likewise.
15150 * math/test-arg-float64.h: Likewise.
15151 * math/test-arg-float64x.h: Likewise.
15152 * math/test-arg-ldouble.h: Likewise.
15153 * math/test-math-narrow.h: Likewise.
15154 * math/test-narrow-macros.c: Likewise.
15155 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
15156 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
15157 test-narrow-macros-ldbl-64.
15158 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
15159
15160 * math/bits/mathcalls-narrow.h: New file.
15161 * include/bits/mathcalls-narrow.h: Likewise.
15162 * math/math-narrow.h: Likewise.
15163 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
15164 (__MATHCALL_NARROW_ARGS_2): Likewise.
15165 (__MATHCALL_NARROW_ARGS_3): Likewise.
15166 (__MATHCALL_NARROW_NORMAL): Likewise.
15167 (__MATHCALL_NARROW_REDIR): Likewise.
15168 (__MATHCALL_NARROW): Likewise.
15169 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
15170 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
15171 defined.
15172 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
15173 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
15174 (libm-narrow-fns): New variable.
15175 (libm-narrow-types-basic): Likewise.
15176 (libm-narrow-types-ldouble-yes): Likewise.
15177 (libm-narrow-types-float128-yes): Likewise.
15178 (libm-narrow-types-float128-alias-yes): Likewise.
15179 (libm-narrow-types): Likewise.
15180 (libm-routines): Add narrowing functions.
15181 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
15182 (libc_feholdexcept_setroundf128): New macro.
15183 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
15184 * sysdeps/ieee754/float128/float128_private.h: Include
15185 <math/math-narrow.h>.
15186 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
15187 Undefine and redefine.
15188 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
15189 (libm_alias_float_ldouble): Undefine and redefine.
15190 (libm_alias_double_ldouble): Likewise.
15191
15192 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
15193
15194 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
15195
15196 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
15197 FPCR/FPSR.
15198
15199 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
15200
15201 * manual/creature.texi: Convert references to gcc.info to gcc.
15202 * manual/stdio.texi: Likewise.
15203 * manual/string.texi: Likewise.
15204
15205 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15206
15207 [BZ #17979]
15208 * posix/bits/types.h (__int_least8_t): New typedef.
15209 (__uint_least8_t): Likewise.
15210 (__int_least16_t): Likewise.
15211 (__uint_least16_t): Likewise.
15212 (__int_least32_t): Likewise.
15213 (__uint_least32_t): Likewise.
15214 (__int_least64_t): Likewise.
15215 (__uint_least64_t): Likewise.
15216 * sysdeps/generic/stdint.h (int_least8_t): Define using
15217 __int_least8_t.
15218 (int_least16_t): Define using __int_least16_t.
15219 (int_least32_t): Define using __int_least32_t.
15220 (int_least64_t): Define using __int_least64_t.
15221 (uint_least8_t): Define using __uint_least8_t.
15222 (uint_least16_t): Define using __uint_least16_t.
15223 (uint_least32_t): Define using __uint_least32_t.
15224 (uint_least64_t): Define using __uint_least64_t.
15225 * wcsmbs/uchar.h: Include <bits/types.h>.
15226 (char16_t): Define using __uint_least16_t conditional only on
15227 [!__USE_ISOCXX11].
15228 (char32_t): Define using __uint_least32_t conditional only on
15229 [!__USE_ISOCXX11].
15230 * wcsmbs/test-char-types.c: New file.
15231 * wcsmbs/Makefile (tests): Add test-char-types.
15232
15233 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
15234 version to 4.0.1.
15235
15236 2018-02-07 Zack Weinberg <zackw@panix.com>
15237
15238 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
15239 Delete all contents except for definitions of _G_HAVE_MMAP and
15240 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
15241 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
15242 sysdeps/unix/sysv/linux/_G_config.h. Make same content
15243 change as above.
15244
15245 * libio/libio.h: Don't include bits/_G_config.h here.
15246 Include stddef.h with __need_wchar_t defined. Include
15247 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
15248 Define _IO_iconv_t here, directly.
15249 Don't define _IO_HAVE_ST_BLKSIZE.
15250 * libio/libioP.h: Include _G_config.h here. Move include of
15251 shlib-compat.h up with rest of includes. Simplify conditionals
15252 controlling definition of _IO_JUMPS_OFFSET.
15253
15254 * csu/init.c: Remove always-true #if around entire file.
15255 Don't include stdio.h. Set _IO_stdin_used to hardwired
15256 constant 0x20001, and update commentary.
15257 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
15258 Replace all uses of _G_va_list with __gnuc_va_list.
15259 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
15260 instead of #if _IO_HAVE_ST_BLKSIZE.
15261 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
15262 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
15263 not #ifdef.
15264
15265 * libio/bits/libio.h: Move back to libio/libio.h and adjust
15266 multiple-include guard to match.
15267 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
15268 into this file.
15269 Remove preprocessor conditionals that are always true and/or
15270 redundant to other preprocessor conditionals in the same nest.
15271 Include shlib-compat.h unconditionally.
15272 Error out if _LIBC is not defined, or if _ISOMAC is defined,
15273 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
15274 defined after including stdio.h.
15275 Use __BEGIN_DECLS/__END_DECLS.
15276
15277 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
15278 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
15279 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
15280
15281 2018-02-07 Zack Weinberg <zackw@panix.com>
15282
15283 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
15284 New single-type headers split from _G_config.h.
15285 * libio/bits/types/cookie_io_functions_t.h
15286 * libio/bits/types/struct_FILE.h
15287 New single-type headers split from libio.h.
15288
15289 * libio/Makefile: Install the above new headers. Don't install
15290 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
15291 bits/libio-ldbl.h.
15292 * libio/_G_config.h, libio/libio.h: Delete file.
15293
15294 * libio/bits/libio.h: Remove improper-inclusion guard.
15295 Include stdio.h and don't repeat anything that it does.
15296 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
15297 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
15298 __io_read_fn as cookie_read_function_t,
15299 __io_write_fn as cookie_write_function_t,
15300 __io_seek_fn as cookie_seek_function_t,
15301 __io_close_fn as cookie_close_function_t,
15302 and _IO_cookie_io_functions_t as cookie_io_functions_t.
15303 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
15304 here, in the "compatibility defines" section. Remove an #if 0
15305 block. Use the "body" macros from bits/types/struct_FILE.h to
15306 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
15307 and _IO_ferror_unlocked.
15308 Move prototypes of __uflow and __overflow...
15309
15310 * libio/stdio.h: ...here. Don't include bits/libio.h.
15311 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
15312 directly from stdarg.h. Include bits/types/__fpos_t.h,
15313 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
15314 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
15315 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
15316 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
15317 cookie_io_functions_t, not _IO_cookie_io_functions_t;
15318 __ssize_t, not _IO_ssize_t. Unconditionally define
15319 BUFSIZ as 8192 and EOF as (-1).
15320
15321 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
15322 macros from bits/types/struct_FILE.h instead of _IO_* macros
15323 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
15324 instead of _IO_ssize_t.
15325 * libio/bits/stdio2.h: Similarly.
15326
15327 * libio/iolibio.h: Add multiple-include guard.
15328 Include bits/libio.h after stdio.h.
15329 * libio/libioP.h: Add multiple-include guard.
15330 Include stdio.h and bits/libio.h before iolibio.h.
15331
15332 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
15333 * include/bits/types/cookie_io_functions_t.h
15334 * include/bits/types/struct_FILE.h: New wrappers.
15335
15336 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
15337 Get definitions of _G_fpos_t and _G_fpos64_t from
15338 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
15339 respectively. Remove improper-inclusion guards.
15340
15341 * conform/data/stdio.h-data: Update expectations of va_list.
15342 * scripts/check-installed-headers.sh: Remove special case for
15343 libio.h and _G_config.h.
15344
15345 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15346
15347 [BZ #15105]
15348 [BZ #19463]
15349 * include/sys/sysmacros.h [!_ISOMAC]
15350 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
15351 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
15352 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
15353 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
15354 libc_hidden_proto.
15355 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
15356 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
15357 Likewise.
15358 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
15359 Undefine and redefine to add use __gnu_dev_ prefix.
15360 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
15361 Likewise.
15362 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
15363 and define as hidden inline function.
15364 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
15365 Likewise.
15366 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
15367 Likewise.
15368 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
15369 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
15370 (gnu_dev_minor): Likewise.
15371 (gnu_dev_makedev): Likewise.
15372 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
15373 makedev.
15374 * posix/wordexp.c (exec_comm_child): Likewise.
15375 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
15376 instead of minor and __gnu_dev_major instead of major.
15377 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
15378 __gnu_dev_major instead of major.
15379 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
15380 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
15381 instead of gnu_dev_minor.
15382 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
15383 (SLAVE_P): Likewise.
15384 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
15385 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
15386 instead of major.
15387
15388 [BZ #21313]
15389 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
15390 in another place.
15391 * locale/weightwc.h (findidx): Likewise.
15392
15393 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
15394
15395 * manual/probes.texi (slowlog): Delete documentation of removed probe.
15396 (slowlog_inexact): Likewise
15397 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
15398 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
15399
15400 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
15401
15402 [BZ #22797]
15403 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
15404 missing second underscore to parameter name.
15405
15406 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15407
15408 [BZ #14508]
15409 [BZ #15512]
15410 [BZ #17082]
15411 [BZ #20530]
15412 * bits/byteswap.h: Update file comment. Do not include
15413 <bits/byteswap-16.h>.
15414 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
15415 constant.
15416 (__bswap_16): Define as inline function.
15417 (__bswap_constant_32): Reformat definition.
15418 (__bswap_32): Always define as inline function, not macro, using
15419 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
15420 otherwise __bswap_constant_32.
15421 (__bswap_constant_64): Reformat definition. Do not use
15422 __extension__ here.
15423 (__bswap_64): Always define as inline function, not macro. Use
15424 __extension__ on function definition. Use __builtin_bswap64 if
15425 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
15426 * string/test-endian-file-scope.c: New file.
15427 * string/test-endian-sign-conversion.c: Likewise.
15428 * string/Makefile (headers): Remove bits/byteswap-16.h.
15429 (tests): Add test-endian-file-scope and
15430 test-endian-sign-conversion.
15431 (CFLAGS-test-endian-sign-conversion.c): New variable.
15432 * bits/byteswap-16.h: Remove file.
15433 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
15434 * sysdeps/ia64/bits/byteswap.h: Likewise.
15435 * sysdeps/m68k/bits/byteswap.h: Likewise.
15436 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15437 * sysdeps/s390/bits/byteswap.h: Likewise.
15438 * sysdeps/tile/bits/byteswap.h: Likewise.
15439 * sysdeps/x86/bits/byteswap-16.h: Likewise.
15440 * sysdeps/x86/bits/byteswap.h: Likewise.
15441
15442 [BZ #17721]
15443 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
15444 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
15445 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
15446 199901L] (__restrict): Define to restrict.
15447
15448 [BZ #19667]
15449 * string/testcopy.c: Include <support/support.h>. Do not include
15450 <malloc.h>. Use <support/test-driver.c>.
15451 (main): Rename to do_test. Make static. Use xmalloc instead of
15452 malloc.
15453
15454 [BZ #13575]
15455 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
15456 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
15457 (SSIZE_MAX): Define to INT_MAX.
15458 * posix/test-ssize-max.c: New file.
15459 * posix/Makefile (tests): Add test-ssize-max.
15460
15461 [BZ #19668]
15462 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
15463 <support/support.h>. Do not include <malloc.h>.
15464 (query_auxv): Use xmalloc instead of malloc.
15465
15466 [BZ #14553]
15467 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
15468 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
15469 instead of loff_t.
15470
15471 2018-02-06 Florian Weimer <fweimer@redhat.com>
15472
15473 [BZ #18023]
15474 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15475 Use scratch_buffer instead of extend_alloca.
15476
15477 2018-02-06 Zack Weinberg <zackw@panix.com>
15478
15479 * libio/stdio.h: Don't define getc or putc as macros.
15480 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
15481 not _IO_getc and _IO_putc.
15482
15483 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
15484 * stdio-common/tstgetln.c: Don't redefine ssize_t.
15485
15486 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15487
15488 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
15489 (TCP_FASTOPEN_NO_COOKIE): Likewise.
15490
15491 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
15492
15493 [BZ #14890]
15494 * elf/elf.h (NT_PRFPREG): New macro.
15495 (NT_S390_VXRS_LOW): Likewise.
15496 (NT_S390_VXRS_HIGH): Likewise.
15497 (NT_S390_GS_CB): Likewise.
15498 (NT_S390_GS_BC): Likewise.
15499 (NT_S390_RI_CB): Likewise.
15500
15501 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
15502 (MAP_SYNC): New macro.
15503 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
15504 Likewise.
15505 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
15506 (MAP_SYNC): Likewise.
15507 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
15508 (MAP_SYNC): Likewise.
15509 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
15510 (MAP_SYNC): Likewise.
15511 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
15512 (MAP_SYNC): Likewise.
15513 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
15514 (MAP_SYNC): Likewise.
15515 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
15516 (MAP_SYNC): Likewise.
15517 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
15518 Likewise.
15519 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
15520 Likewise.
15521
15522 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
15523 (MAP_SHARED_VALIDATE): New macro.
15524 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15525 (MAP_SHARED_VALIDATE): Likewise.
15526
15527 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15528
15529 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
15530 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
15531 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
15532
15533 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15534
15535 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
15536 (DT_NUM): Updated to 35.
15537
15538 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15539
15540 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
15541 __builtin_expect with __glibc_likely and __glibc_unlikely.
15542 (elf_machine_rela): Likewise.
15543 (elf_machine_lazy_rel): Likewise.
15544
15545 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15546
15547 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
15548 __builtin_expect with __glibc_likely and __glibc_unlikely.
15549 (elf_machine_lazy_rel): Likewise.
15550
15551 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15552
15553 [BZ #22638]
15554 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
15555 SHARED.
15556 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
15557
15558 2018-02-05 Andreas Schwab <schwab@suse.de>
15559
15560 [BZ #22761]
15561 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
15562 string.
15563
15564 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15565
15566 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
15567 not check against PTHREAD_STACK_MIN.
15568
15569 2018-02-02 Sean McKean <smckean83@gmail.com>
15570
15571 [BZ #22735]
15572 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
15573
15574 2018-02-02 Florian Weimer <fweimer@redhat.com>
15575
15576 [BZ #22753]
15577 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
15578 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
15579 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
15580 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
15581 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
15582 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
15583 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
15584 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
15585 * manual/llio.texi (Scatter-Gather): Mention offset -1.
15586 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
15587 * misc/tst-preadvwritev2.c (do_test): Call it.
15588 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
15589
15590 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
15591
15592 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
15593
15594 * benchtests/bench-memcmp.c: Print json instead of plain text.
15595
15596 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
15597 every test run.
15598
15599 2018-02-01 Joseph Myers <joseph@codesourcery.com>
15600
15601 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15602 version to 4.15.
15603 (s390_sthyi): New syscall.
15604
15605 * sysdeps/generic/ldbl-classify-compat.h: New file.
15606 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
15607 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
15608 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
15609 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
15610 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
15611 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
15612 * sysdeps/ieee754/dbl-64/s_finite.c: Include
15613 <ldbl-classify-compat.h>.
15614 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15615 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
15616 <ldbl-classify-compat.h>.
15617 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15618 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
15619 <ldbl-classify-compat.h>.
15620 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15621 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
15622 <ldbl-classify-compat.h>.
15623 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15624 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
15625 <ldbl-classify-compat.h>.
15626 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15627 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
15628 <ldbl-classify-compat.h>.
15629 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15630 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
15631 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15632 * sysdeps/m68k/coldfire/math_private.h: Remove file.
15633 * sysdeps/microblaze/math_private.h: Likewise.
15634 * sysdeps/nios2/math_private.h: Likewise.
15635 * sysdeps/sh/math_private.h: Likewise.
15636
15637 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
15638 * sysdeps/m68k/coldfire/math_private.h: ... here.
15639 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
15640 * sysdeps/tile/math_private.h: Likewise.
15641 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
15642 Remove macro.
15643 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
15644 Likewise.
15645
15646 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
15647 Remove macro.
15648 (libc_fetestexcept): Likewise.
15649 (libc_feupdateenv_test): Likewise.
15650 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
15651 (libc_fetestexcept): Likewise.
15652 (libc_feupdateenv_test): Likewise.
15653 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
15654 (libc_fetestexcept): Likewise.
15655 (libc_feupdateenv_test): Likewise.
15656 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
15657 (libc_fetestexcept): Likewise.
15658 (libc_feupdateenv_test): Likewise.
15659
15660 * sysdeps/generic/math_private.h
15661 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
15662 New inline function.
15663 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
15664 Likewise.
15665
15666 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
15667 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
15668 * sysdeps/generic/math_private.h
15669 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
15670 inline function.
15671 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
15672 Likewise.
15673 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
15674 Likewise.
15675 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
15676 Likewise.
15677 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
15678 Likewise.
15679 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
15680 Likewise.
15681 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
15682 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
15683 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
15684 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
15685 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
15686 (__fegetenv): Likewise.
15687 (fesetenv): Likewise.
15688 (__fesetenv): Likewise.
15689 (feupdateenv): Likewise.
15690 (__feupdateenv): Likewise.
15691 (fegetround): Likewise.
15692 (__fegetround): Likewise.
15693 (fesetround): Likewise.
15694 (__fesetround): Likewise.
15695
15696 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
15697 (feraiseexcept): New macro.
15698 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
15699 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
15700 Remove macro.
15701 (__feraiseexcept): Likewise.
15702 (feclearexcept): Likewise.
15703 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
15704 (__feraiseexcept): Likewise.
15705 (feclearexcept): Likewise.
15706 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
15707 (__feraiseexcept): Likewise.
15708 (feclearexcept): Likewise.
15709 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
15710 (__feraiseexcept): Likewise.
15711 (feclearexcept): Likewise.
15712 (fetestexcept): Likewise.
15713
15714 * sysdeps/m68k/coldfire/math-tests.h: New file.
15715
15716 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
15717 * sysdeps/m68k/bits/fenv.h: ... here.
15718 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
15719 not define.
15720 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
15721 Likewise.
15722 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
15723 Likewise.
15724 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
15725 Likewise.
15726 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
15727 Likewise.
15728 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
15729 Define to 0.
15730 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
15731 (__FE_UNDEFINED): New enum constant.
15732 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
15733 Do not define.
15734 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
15735 Likewise.
15736 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
15737 Likewise.
15738 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
15739 to match generic bits/fenv.h.
15740 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
15741 Do not define.
15742
15743 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
15744 packed on bits.
15745 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
15746 * soft-fp/half.h (union _FP_UNION_H): Likewise.
15747 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
15748 * soft-fp/single.h (union _FP_UNION_S): Likewise.
15749
15750 2018-02-01 Carlos O'Donell <carlos@redhat.com>
15751 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
15752 Joseph Myers <joseph@codesourcery.com>
15753
15754 [BZ #21314]
15755 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
15756 (__log1p): Disable -Wmaybe-uninitialized for -Os around
15757 computation using c.
15758 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
15759 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
15760 computation using c.
15761
15762 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15763
15764 * version.h (RELEASE): Set to "development".
15765 (VERSION): Set to "2.27.9000".
15766 * NEWS (2.28): New section.
15767
15768 * version.h (RELEASE): Set to "stable".
15769 (VERSION): Set to "2.27".
15770 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
15771
15772 * NEWS: Add the list of bugs fixed in 2.27.
15773
15774 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15775
15776 * stdlib/test-atexit-race-common.c (do_test): Check stack size
15777 against PTHREAD_STACK_MIN.
15778
15779 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15780
15781 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
15782 New entries.
15783 (Rafal Luzynski, Andreas Schwab): Update.
15784
15785 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
15786
15787 [BZ #10871]
15788 * NEWS: List the languages which actually use the alternative
15789 months feature in this release. Also explain that "alt_mon" and
15790 "ab_alt_mon" are optional.
15791
15792 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
15793
15794 [BZ #22765]
15795 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
15796
15797 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
15798
15799 * manual/install.texi (Tools for Compilation): Update the newest
15800 versions of gcc, binutils, texinfo, gawk, bison, and sed.
15801 * INSTALL: Regenerated.
15802
15803 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15804
15805 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
15806 instead of __builtin_expect.
15807
15808 2018-01-30 Florian Weimer <fweimer@redhat.com>
15809
15810 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
15811 data.
15812 * nss/tst-nss-getpwent.c (do_test): Likewise.
15813
15814 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
15815
15816 [BZ #10871]
15817 * localedata/locales/hr_HR (mon): Rename to...
15818 (alt_mon): This.
15819 (mon): Import from CLDR (genitive case).
15820 (d_t_fmt): Update the comment.
15821
15822 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
15823
15824 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
15825 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
15826 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
15827
15828 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15829
15830 * mach/Versions: Fix version when __mach_host_self_ was added.
15831 * hurd/Versions: Fix version when _hurd_exec_paths was added.
15832 * sysdeps/mach/hurd/i386/ld.abilist: New file.
15833 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
15834 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
15835 * sysdeps/mach/hurd/i386/libc.abilist: New file.
15836 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
15837 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
15838 * sysdeps/mach/hurd/i386/libm.abilist: New file.
15839 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
15840 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
15841 * sysdeps/mach/hurd/i386/librt.abilist: New file.
15842 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
15843 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
15844 || to respect codestyle.
15845 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
15846 (do_test_bz20181): Rename accordingly.
15847 * malloc/malloc.c: Include <assert.h>.
15848 (assert): Do not define.
15849 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
15850 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
15851 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
15852 * sysdeps/mach/hurd/hp-timing.h: New file.
15853 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
15854
15855 2018-01-29 Darius Rad <darius@bluespec.com>
15856
15857 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
15858
15859 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
15860
15861 * sysdeps/init_array/crti.S (.section .init_array): Add
15862 PREINIT_FUNCTION when defined.
15863 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
15864 * config.h.in: Regenerate.
15865 * manual/platform.texi: Add RISC-V documenation for
15866 __riscv_flush_icache.
15867 * sysdeps/riscv/__longjmp.S: New file.
15868 * sysdeps/riscv/backtrace.c: Likewise.
15869 * sysdeps/riscv/bits/endian.h: Likewise.
15870 * sysdeps/riscv/bits/setjmp.h: Likewise.
15871 * sysdeps/riscv/bits/wordsize.h: Likewise.
15872 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
15873 * sysdeps/riscv/bsd-setjmp.c: Likewise.
15874 * sysdeps/riscv/dl-trampoline.S: Likewise.
15875 * sysdeps/riscv/gccframe.h: Likewise.
15876 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
15877 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
15878 * sysdeps/riscv/machine-gmon.h: Likewise.
15879 * sysdeps/riscv/memusage.h: Likewise.
15880 * sysdeps/riscv/setjmp.S: Likewise.
15881 * sysdeps/riscv/sys/asm.h: Likewise.
15882 * sysdeps/riscv/tls-macros.h: Likewise.
15883 * sysdeps/riscv/dl-tls.h: New file.
15884 * sysdeps/riscv/libc-tls.c: Likewise.
15885 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
15886 * sysdeps/riscv/nptl/tls.h: Likewise.
15887 * sysdeps/riscv/stackinfo.h: Likewise.
15888 * sysdeps/riscv/bits/fenv.h: New file.
15889 * sysdeps/riscv/e_sqrtl.c: Likewise.
15890 * sysdeps/riscv/fpu_control.h: Likewise.
15891 * sysdeps/riscv/math-tests.h: Likewise.
15892 * sysdeps/riscv/nofpu/Implies: Likewise.
15893 * sysdeps/riscv/sfp-machine.h: Likewise.
15894 * sysdeps/riscv/tininess.h: Likewise.
15895 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
15896 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
15897 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
15898 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
15899 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
15900 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
15901 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
15902 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
15903 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
15904 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
15905 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
15906 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
15907 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
15908 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
15909 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
15910 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
15911 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
15912 * sysdeps/riscv/rvd/s_finite.c: Likewise.
15913 * sysdeps/riscv/rvd/s_fma.c: Likewise.
15914 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
15915 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
15916 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
15917 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
15918 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
15919 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
15920 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
15921 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
15922 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
15923 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
15924 * sysdeps/riscv/rvf/fegetround.c: Likewise.
15925 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
15926 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
15927 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
15928 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
15929 * sysdeps/riscv/rvf/fesetround.c: Likewise.
15930 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
15931 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
15932 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
15933 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
15934 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
15935 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
15936 * sysdeps/riscv/rvf/math_private.h: Likewise.
15937 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
15938 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
15939 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
15940 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
15941 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
15942 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
15943 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
15944 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
15945 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
15946 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
15947 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
15948 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
15949 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
15950 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
15951 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
15952 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
15953 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
15954 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
15955 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
15956 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
15957 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
15958 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15959 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
15960 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
15961 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
15962 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
15963 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
15964 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
15965 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
15966 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
15967 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
15968 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
15969 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
15970 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
15971 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
15972 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
15973 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
15974 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
15975 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
15976 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
15977 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
15978 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
15979 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
15980 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
15981 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
15982 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
15983 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
15984 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
15985 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
15986 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
15987 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
15988 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
15989 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
15990 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
15991 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
15992 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
15993 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
15994 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
15995 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
15996 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
15997 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15998 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15999 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16000 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16001 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16002 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16003 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16004 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
16005 * sysdeps/riscv/Implies: New file.
16006 * sysdeps/riscv/Makefile: Likewise.
16007 * sysdeps/riscv/configure: Likewise.
16008 * sysdeps/riscv/configure.ac: Likewise.
16009 * sysdeps/riscv/nptl/Makefile: Likewise.
16010 * sysdeps/riscv/preconfigure: Likewise.
16011 * sysdeps/riscv/rv64/Implies-after: Likewise.
16012 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
16013 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
16014 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
16015 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
16016 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
16017 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
16018 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
16019 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
16020 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
16021 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
16022 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
16023 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
16024 (Config): Likewise.
16025
16026 2018-01-29 Florian Weimer <fweimer@redhat.com>
16027
16028 [BZ #22701]
16029 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
16030 libnsl_hidden_proto.
16031 * include/rpcsvc/yp.h (yp_xdrall): Declare with
16032 libnsl_hidden_proto.
16033 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
16034 * nis/Makefile (libnsl-routines): Add nss-default only for
16035 build-obsolete-nsl.
16036 * nis/nis_defaults.c (__nis_default_ttl): Add
16037 libnsl_hidden_nolink_def.
16038 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
16039 declaration.
16040 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
16041 * nis/ypclnt.c (yp_maplist): Likewise.
16042
16043 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
16044
16045 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16046 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
16047
16048 2018-01-29 Joseph Myers <joseph@codesourcery.com>
16049
16050 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
16051 clean -dxfq for git updates when replacing sources.
16052
16053 * scripts/build-many-glibcs.py (Config.build_gcc): Use
16054 --disable-libcilkrts unconditionally, not just for the final GCC
16055 build for Hurd.
16056
16057 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16058 version to 4.15.
16059
16060 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16061
16062 [BZ #10871]
16063 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
16064 case).
16065
16066 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16067
16068 [BZ #10871]
16069 * localedata/locales/be_BY (mon): Rename to...
16070 (alt_mon): This, then synchronize with CLDR (nominative case).
16071 (abmon): Rename to...
16072 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16073 (mon): Import from CLDR (genitive case).
16074 (abmon): Likewise.
16075 * localedata/locales/be_BY@latin (mon): Rename to...
16076 (alt_mon): This.
16077 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
16078
16079 * localedata/locales/be_BY@latin (lang_name): Reworded to
16080 "biełaruskaja mova".
16081
16082 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16083
16084 [BZ #10871]
16085 * localedata/locales/el_CY (mon): Renamed to...
16086 (alt_mon): This.
16087 (mon): Import from CLDR (genitive case).
16088 * localedata/locales/el_GR: Likewise.
16089
16090 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16091
16092 [BZ #10871]
16093 * localedata/locales/ru_RU (mon): Rename to...
16094 (alt_mon): This.
16095 (abmon): Rename to...
16096 (ab_alt_mon): This.
16097 (mon): Import from CLDR (genitive case).
16098 (abmon): Copy from the old content except the 5th month which is
16099 now in the genitive case, even when abbreviated.
16100 * localedata/locales/ru_UA: Likewise.
16101 * time/tst-strptime.c (day_tests): Add an actual example of
16102 a difference between %b and %Ob in Russian.
16103
16104 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16105
16106 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
16107 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
16108 a `c' variable.
16109 * resolv/res-close.c: Include <stdlib.h>.
16110 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
16111 <sys/wait.h>, <time.h>, <sys/uio.h>.
16112 (NOT_CANCEL_H): Add inclusion guard.
16113 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
16114 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
16115 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
16116 return 0.
16117 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
16118 vm_address_t * to ElfW(Addr) * for dl_main parameter.
16119 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
16120 instead of void *.
16121 * sysdeps/pthread/timer_create.c (timer_create): Do not use
16122 timer_ptr2id to cast struct timer_node * to void *.
16123 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
16124 --disable-libcilkrts to gcc configure.
16125 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
16126 and make them the default for now.
16127 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
16128 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
16129 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
16130 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
16131 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
16132 MACH_IPC_COMPAT.
16133 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
16134 __task_terminate would ever return successfully.
16135 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
16136 to global scope.
16137 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
16138 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
16139 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
16140 critical section to make code simpler and avoid warning.
16141 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
16142 critical section to make code simpler and avoid warning.
16143 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
16144 const char * instead of char *.
16145 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
16146 __hurd_file_name_split, hurd_file_name_split,
16147 __hurd_directory_name_split, hurd_directory_name_split,
16148 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
16149 hurd_file_name_path_lookup): Make lookup function parameter take a
16150 const char *name instead of char *name.
16151 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
16152 __hurd_directory_name_split): Likewise.
16153 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
16154 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
16155 * sysdeps/mach/hurd/check_native.c: New file.
16156 * sysdeps/mach/hurd/check_pf.c: New file.
16157 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
16158 (__freeifaddrs): Define macro to freeifaddrs.
16159 * sysdeps/mach/hurd/libhurduser.abilist: New file.
16160 * sysdeps/mach/libmachuser.abilist: New file.
16161 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
16162 (do_test_bz20181): Rename accordingly.
16163 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
16164 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
16165 <sys/mount.h>.
16166 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
16167 version only if __USE_EXTERN_INLINES is defined.
16168 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
16169 __hurd_sockfail): Likewise.
16170 (_hurd_fd_get): Always declare functions, and provide inline versions
16171 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
16172 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
16173 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
16174 _hurd_port_set): Always declare functions, and provide inline versions
16175 only if __USE_EXTERN_INLINES and _LIBC are defined and
16176 IS_IN(libc).
16177 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
16178 _hurd_critical_section_unlock): Likewise.
16179 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
16180 * __hurd_threadvar_location): Likewise.
16181 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
16182 _hurd_userlink_clear): Likewise.
16183 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
16184 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
16185 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
16186 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
16187 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
16188 __spin_lock_locked): Likewise.
16189 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
16190 __spin_lock_locked): Likewise.
16191 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
16192 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
16193 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
16194 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
16195 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
16196 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
16197 _POSIX_NO_TRUNC): Define to 0.
16198 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
16199 check size against PTHREAD_STACK_MIN.
16200 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
16201 IS_IN(libpthread)]: Include <sigsetops.h>.
16202 * mach/Makefile (user-interfaces): Add mach/gnumach.
16203 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
16204 * sysdeps/mach/configure (mach_interface_list): Regenerate.
16205 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
16206 instead of invalid -1.
16207 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
16208 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
16209 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
16210 <net/ppp_defs.h>.
16211
16212 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
16213
16214 * hurd/fcntl-internal.h: New file.
16215
16216 2018-01-27 James Clarke <jrtc27@jrtc27.com>
16217
16218 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16219
16220 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16221
16222 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
16223
16224 [BZ #22701]
16225 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
16226 Build only shared objects.
16227
16228 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16229
16230 * README: Update for hppa.
16231
16232 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16233
16234 * sysdeps/sparc/fpu/libm-test-ulps: Update
16235 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
16236
16237 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16238
16239 Revert:
16240
16241 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16242
16243 [BZ #22563]
16244 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16245 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
16246 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16247 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
16248 to feature_1.
16249
16250 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16251
16252 [BZ #22563]
16253 * bits/types/__cancel_jmp_buf_tag.h: New file.
16254 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
16255 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
16256 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
16257 * nptl/Makefile (headers): Add
16258 bits/types/__cancel_jmp_buf_tag.h.
16259 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
16260 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
16261 * sysdeps/nptl/pthread.h: Include
16262 <bits/types/__cancel_jmp_buf_tag.h>.
16263 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
16264 __cancel_jmp_buf.
16265 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
16266
16267 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
16268
16269 [BZ #10871]
16270 * localedata/locales/uk_UA (mon): Renamed to...
16271 (alt_mon): This.
16272 (alt_digits): "0" removed and then renamed to...
16273 (mon): This.
16274 (date_fmt): Definition changed not to use the alternative
16275 digits hack.
16276
16277 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
16278
16279 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
16280 FLAG_RISCV_FLOAT_ABI_DOUBLE.
16281 * elf/elf.h (EF_RISCV_RVC): New define.
16282 (EF_RISCV_FLOAT_ABI): Likewise.
16283 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
16284 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
16285 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16286 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
16287 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
16288 define.
16289 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16290
16291 2018-01-25 Andreas Schwab <schwab@suse.de>
16292
16293 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
16294 single quotes.
16295 * sysdeps/gnu/configure: Regenerate.
16296 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
16297 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16299 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
16300 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
16301 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
16302 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
16303 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
16304
16305 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16306
16307 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
16308 URL, and run autoconf, make it the default for now.
16309
16310 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16311
16312 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16313 soft-float ColdFire configuration.
16314
16315 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
16316 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
16317 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
16318
16319 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
16320 MicroBlaze file.
16321
16322 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
16323 ....
16324 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
16325 ... here.
16326 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
16327 New file.
16328
16329 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
16330 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
16331 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
16332 file.
16333
16334 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
16335
16336 [BZ #22742]
16337 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
16338 Rename to __reserved and add comment.
16339 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
16340 Rename to __reserved.
16341
16342 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16343
16344 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16345 i686-gnu configurations.
16346 (Context.run_builds): Include mig, gnumach and hurd in components
16347 considered.
16348 (Context.checkout): Add mig, gnumach and hurd to components.
16349 (Context.checkout_tar): Add URL mappings for mig, gnumach and
16350 hurd.
16351 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
16352 (Config.build): Install gnumach headers, build mig and install
16353 hurd headers for 'gnu' OS.
16354 (Config.install_gnumach_headers): New function.
16355 (Config.install_hurd_headers): Likewise.
16356 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
16357 when building for 'gnu' OS.
16358
16359 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
16360
16361 * manual/tunables.texi (Hardware Capability Tunables): Fix
16362 spelling.
16363
16364 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
16365
16366 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
16367 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
16368 (ALTMON_11, ALTMON_12): Improve documentation.
16369 * manual/time.texi (strftime): Likewise.
16370
16371 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16372
16373 [BZ #10871]
16374 * localedata/locales/pl_PL: Alternative month names added,
16375 primary month names are genitive now.
16376 * time/tst-strptime.c (day_tests): Actually use a genitive case
16377 of a month name in Polish language.
16378
16379 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16380
16381 [BZ #10871]
16382 * manual/locale.texi: Document ALTMON_1..12 constants for
16383 nl_langinfo. Specify when to use ALTMON instead of MON.
16384 * manual/time.texi (strftime, strptime): Document GNU extension
16385 permitting O modifier with %B and %b. Specify when to use
16386 %OB instead of %B.
16387
16388 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16389
16390 [BZ #10871]
16391 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
16392 names, define them as the same as abbreviated month names explicitly.
16393 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
16394 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
16395 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
16396 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
16397 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
16398 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
16399 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
16400 _NL_WABALTMON_12): New enum constants.
16401 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
16402 wab_alt_mon, and ab_alt_mon_defined members.
16403 (time_output): Output ab_alt_mon and wab_alt_mon members.
16404 (time_read): Read them, initialize them as copies of abmon and wabmon
16405 respectively if they are missing, initialize ab_alt_mon_defined.
16406 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
16407 * locale/programs/locfile-kw.h: Regenerate.
16408 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
16409 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
16410 and ru_RU.UTF-8.
16411 * time/strftime_l.c (a_altmonth, aam_len): New macros.
16412 [!COMPILE_WIDE] (ABALTMON_1): New macro.
16413 (__strftime_internal): Handle %Ob and %Oh formats.
16414 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
16415 (__strptime_internal): Handle %Ob and %Oh formats.
16416 * time/tst-strptime.c (day_tests): Add more tests to parse different
16417 forms of month names including the new %Ob format specifier.
16418
16419 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16420
16421 [BZ #10871]
16422 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
16423 define them as the same as primary full month names explicitly.
16424 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
16425 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
16426 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
16427 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
16428 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
16429 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
16430 _NL_WALTMON_12): New enum constants.
16431 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
16432 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
16433 macros.
16434 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
16435 walt_mon, and alt_mon_defined members.
16436 (time_output): Output alt_mon and walt_mon members.
16437 (time_read): Read them, initialize them as copies of mon and wmon
16438 respectively if they are missing, initialize alt_mon_defined.
16439 * locale/programs/locfile-kw.gperf (alt_mon): Define.
16440 * locale/programs/locfile-kw.h: Regenerate.
16441 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
16442 * localedata/tst-langinfo.c (map): Add tests for the new constants
16443 ALTMON_1 .. ALTMON_12.
16444 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
16445 and pl_PL.UTF-8.
16446 * time/strftime_l.c (f_altmonth): New macro.
16447 (__strftime_internal): Handle %OB format.
16448 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
16449 (__strptime_internal): Handle %OB format.
16450 * time/tst-strptime.c (day_tests): Add tests to parse different forms
16451 of month names including the new %OB format specifier.
16452
16453 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16454
16455 [BZ #22685]
16456 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
16457 from ABORT_TRANSACTION.
16458 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
16459 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
16460 ABORT_TRANSACTION_IMPL): Likewise.
16461 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
16462 Linux code, but remove the code that aborts transactions.
16463
16464 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16465
16466 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
16467
16468 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
16469
16470 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
16471 in date: "2004-14-09" should be "2004-09-14".
16472 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
16473 "2003-15-09" should be "2003-09-15".
16474
16475 2018-01-18 Arjun Shankar <arjun@redhat.com>
16476
16477 [BZ #22343]
16478 [BZ #22774]
16479 CVE-2018-6485
16480 CVE-2018-6551
16481 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
16482 after padding.
16483 (_int_memalign): check for integer overflow before calling
16484 _int_malloc.
16485 * malloc/tst-malloc-too-large.c: New test.
16486 * malloc/Makefile: Add tst-malloc-too-large.
16487
16488 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
16489
16490 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
16491 in date: "2017-24-07" should be "2017-07-24".
16492 * localedata/locales/mai_IN: Likewise.
16493 * localedata/locales/mai_NP: Likewise.
16494
16495 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
16496
16497 * po/ru.po: Update translations.
16498
16499 2018-01-17 Joseph Myers <joseph@codesourcery.com>
16500
16501 [BZ #22719]
16502 * sysdeps/hppa/backtrace.c: New file.
16503
16504 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
16505
16506 [BZ #22715]
16507 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
16508 align La_x86_64_retval to VEC_SIZE.
16509
16510 2018-01-16 Joseph Myers <joseph@codesourcery.com>
16511
16512 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
16513 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
16514
16515 2018-01-16 Florian Weimer <fweimer@redhat.com>
16516
16517 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
16518 Move tst-thread-exit-clobber ...
16519 [$(CXX)] (tests-unsupported): ... to here.
16520
16521 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16522
16523 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
16524 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
16525 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16526 (_dl_aarch64_cap_flags): Update.
16527 (_DL_HWCAP_COUNT): Update.
16528
16529 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16530
16531 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
16532 (_DL_HWCAP_LAST): Remove.
16533 (_DL_HWCAP_COUNT): Move to ...
16534 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16535 (_DL_HWCAP_COUNT): ... here.
16536
16537 2018-01-16 Florian Weimer <fweimer@redhat.com>
16538
16539 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
16540 mode with GNU extensions.
16541
16542 2018-01-15 Alan Hayward <alan.hayward@arm.com>
16543
16544 * elf/elf.h (NT_ARM_SVE): Define.
16545
16546 2018-01-15 Florian Weimer <fweimer@redhat.com>
16547
16548 [BZ #22636]
16549 * nptl/tst-minstack-throw.cc: New file.
16550 * nptl/Makefile (tests): Add tst-minstack-throw.
16551 (LDLIBS-tst-minstack-throw): Link with libstdc++.
16552 [!CXX] (tests-unsupported): Add tst-minstack-throw.
16553
16554 2018-01-15 Joseph Myers <joseph@codesourcery.com>
16555
16556 * scripts/build-many-glibcs.py (Context.checkout): Default
16557 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
16558 version to 1.1.0.
16559
16560 2018-01-13 Carlos O'Donell <carlos@redhat.com>
16561
16562 [BZ #22707]
16563 * elf/elf.h (DF_1_STUB): Define.
16564 (DF_1_PIE): Define.
16565
16566 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16567
16568 [BZ #22697]
16569 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
16570 Do not add 0.5 to integer or out-of-range arguments.
16571
16572 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16573
16574 * po/bg.po: Update translations.
16575 * po/cs.po: Likewise.
16576 * po/de.po: Likewise.
16577 * po/ko.po: Likewise.
16578 * po/pl.po: Likewise.
16579 * po/sv.po: Likewise.
16580 * po/uk.po: Likewise.
16581 * po/vi.po: Likewise.
16582
16583 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16584
16585 * aarch64/start.S (_start): Use __wrap_main.
16586 (__wrap_main): New local symbol.
16587
16588 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16589
16590 [BZ #22679]
16591 CVE-2018-1000001
16592 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
16593 generic_getcwd if the path returned by getcwd syscall is not absolute.
16594 * io/tst-getcwd-abspath.c: New test.
16595 * io/Makefile (tests): Add tst-getcwd-abspath.
16596
16597 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
16598
16599 * malloc/malloc.c (malloc_consolidate): Add size check.
16600
16601 2018-01-12 Florian Weimer <fweimer@redhat.com>
16602
16603 * support/write_message.c (write_message): Preserve errno.
16604 * support/check.c (print_failure): Likewise.
16605 * support/support_test_verify_impl.c (support_test_verify_impl):
16606 Likewise.
16607 * support/support_test_compare_failure.c
16608 (support_test_compare_failure): Likewise.
16609
16610 2018-01-12 Florian Weimer <fweimer@redhat.com>
16611
16612 [BZ #22701]
16613 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
16614 Prevent installation of libnsl.so.
16615 (libnsl-inhibit-o): Do not build (or install) static libraries.
16616
16617 2018-01-12 Egmont Koblinger <egmont@gmail.com>
16618
16619 [BZ #22657]
16620 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
16621 before the day number which may produce a double space.
16622 (date_fmt): Likewise.
16623
16624 2018-01-12 Joseph Myers <joseph@codesourcery.com>
16625
16626 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
16627 instead of fegetenv.
16628
16629 2018-01-11 Joseph Myers <joseph@codesourcery.com>
16630
16631 [BZ #22702]
16632 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
16633 comment to say exceptions are discarded.
16634 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
16635 __fegetenv.
16636 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
16637 be enabled.
16638
16639 2018-01-11 Florian Weimer <fweimer@redhat.com>
16640
16641 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
16642 and error message.
16643
16644 2018-01-11 Florian Weimer <fweimer@redhat.com>
16645
16646 [BZ #22636]
16647 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
16648 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
16649
16650 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16651
16652 [BZ #22693]
16653 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
16654 negative arguments in test for NaN or infinity argument.
16655
16656 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
16657
16658 * po/libc.pot: Regenerate.
16659
16660 2018-01-10 Florian Weimer <fweimer@redhat.com>
16661
16662 [BZ #22636]
16663 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
16664 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
16665
16666 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16667
16668 * hurd/hurd/fd.h: Include <fcntl.h>
16669 (__hurd_at_flags): New function.
16670 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
16671 with call to __hurd_at_flags.
16672 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
16673 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
16674 __faccessat
16675 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
16676 (__access_noerrno): Use __faccessat_common instead of access_common.
16677 (__access): Likewise.
16678 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
16679 with a call to __faccessat.
16680 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
16681 (__faccessat_common): ... this. Move implementation of __access into it when
16682 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
16683 reauthenticate_cwdir_at helper to implement AT mechanism.
16684 (__faccessat_noerrno): New function, just calls __faccessat_common.
16685 (__faccessat): New function, just calls __faccessat_common.
16686 (faccessat): Define weak alias.
16687
16688 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16689
16690 [BZ #22691]
16691 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16692 (CFLAGS-s_fmaxmagl.c): New variable.
16693 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
16694
16695 [BZ #22690]
16696 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
16697 long int for arguments of possibly overflowing addition or
16698 subtraction.
16699 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16700
16701 2018-01-09 Joseph Myers <joseph@codesourcery.com>
16702
16703 [BZ #22688]
16704 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16705 (CFLAGS-e_remainderl.c): New variable.
16706
16707 [BZ #22687]
16708 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
16709 variable.
16710 (CFLAGS-s_cacoshl.c): Likewise.
16711 (CFLAGS-s_casinhl.c): Likewise.
16712 (CFLAGS-s_catanl.c): Likewise.
16713 (CFLAGS-s_catanhl.c): Likewise.
16714 (CFLAGS-s_cexpl.c): Likewise.
16715 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
16716 (CFLAGS-s_csinhl.c): Likewise.
16717 (CFLAGS-s_clogl.c): Likewise.
16718 (CFLAGS-s_clog10l.c): Likewise.
16719 (CFLAGS-s_csinl.c): Likewise.
16720 (CFLAGS-s_csqrtl.c): Likewise.
16721
16722 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
16723 2017-01-09 Svante Signell <svante.signell@gmail.com>
16724
16725 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
16726 (_hurd_exec_paths): New function.
16727 * hurd/hurd.h (_hurd_exec): Deprecate function.
16728 (_hurd_exec_paths): Declare function.
16729 * hurd/Versions: Export _hurd_exec_paths.
16730 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
16731 (__execve): Use __getcwd to build absolute path, and use
16732 _hurd_exec_paths instead of _hurd_exec.
16733 * sysdeps/mach/hurd/spawni.c: Likewise.
16734 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
16735 _hurd_exec.
16736
16737 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
16738
16739 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
16740 test instead of failing in case of ENOENT returned by posix_openpt.
16741
16742 2018-01-08 Florian Weimer <fweimer@redhat.com>
16743
16744 resolv: Support binary labels in test framework.
16745 * support/resolv_test.c (struct to_be_freed): Remove.
16746 (struct compressed_name): New.
16747 (allocate_compressed_name, ascii_tolower)
16748 (compare_compressed_name): New functions.
16749 (struct resolv_response_builder): Update type of
16750 compression_offsets for use with tsearch. Rempve to_be_freed.
16751 (response_push_pointer_to_free): Remove function.
16752 (resolv_response_add_name): Rewrite using struct compressed_name
16753 and tsearch instead of hsearch_r.
16754 (response_builder_allocate): Remove initialization of
16755 compression_offsets.
16756 (response_builder_free): Update for removal of to_be_freed. Use
16757 tdestroy instead of hdestroy_r.
16758 * resolv/Makefile (tests): Add tst-resolv-binary.
16759 (tst-resolv-binary): Link with -lresolv -lpthread.
16760
16761 2018-01-08 Florian Weimer <fweimer@redhat.com>
16762
16763 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
16764 time. Pass positive flag instead of negative flag to
16765 support_test_compare_failure.
16766 (support_test_compare_failure): Change negative parameter to
16767 positive.
16768 * support/support_test_compare_failure.c (report)
16769 (support_test_compare_failure): Likewise.
16770 * support/tst-test_compare.c (return_ssize_t, return_int): New.
16771 (do_test): Check int/size_t, ssize_t/size_t comparisons.
16772
16773 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
16774
16775 [BZ #22637]
16776 * nptl/descr.h (stackblock, stackblock_size): Update comments.
16777 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
16778 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
16779 stacksize.
16780 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16781
16782 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
16783
16784 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16785 Add s_sincosf-sse2 and s_sincosf-fma.
16786 (CFLAGS-s_sincosf-fma.c): New.
16787 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
16788 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
16789 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
16790 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
16791 __sincosf is defined.
16792
16793 2018-01-08 Florian Weimer <fweimer@redhat.com>
16794
16795 * nptl/tst-thread-exit-clobber.cc: New file.
16796 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
16797 C++11 mode.
16798 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
16799 (tests): Add tst-thread-exit-clobber.
16800 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
16801
16802 2018-01-08 Florian Weimer <fweimer@redhat.com>
16803
16804 * support/check.h (support_static_assert): Define.
16805 (TEST_COMPARE): Use it.
16806
16807 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
16808
16809 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
16810 [!__RLIM_T_MATCHES_RLIM64_T]
16811 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
16812 __getrlimit64. Add libc_hidden_weak.
16813
16814 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
16815
16816 * elf/elf.h (R_RISCV_NONE): New define.
16817 (R_RISCV_32): Likewise.
16818 (R_RISCV_64): Likewise.
16819 (R_RISCV_RELATIVE): Likewise.
16820 (R_RISCV_COPY): Likewise.
16821 (R_RISCV_JUMP_SLOT): Likewise.
16822 (R_RISCV_TLS_DTPMOD32): Likewise.
16823 (R_RISCV_TLS_DTPMOD64): Likewise.
16824 (R_RISCV_TLS_DTPREL32): Likewise.
16825 (R_RISCV_TLS_DTPREL64): Likewise.
16826 (R_RISCV_TLS_TPREL32): Likewise.
16827 (R_RISCV_TLS_TPREL64): Likewise.
16828 * Makerules (make-link-multidir): Make directories before linking into
16829 them.
16830 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
16831 define.
16832 (VDSO_HASH_LINUX_4_15): Likewise.
16833 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
16834 in subdirectories of lib.
16835 * nptl/Makefile (/librt.so): Always depend on
16836 "$(shared-thread-library)".
16837
16838 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16839
16840 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
16841 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
16842 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
16843 (___tls_get_addr).
16844 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
16845 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
16846 "-O2 -march=i686".
16847 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
16848 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
16849 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
16850 * sysdeps/gnu/glob-lstat-compat.c: New file.
16851 * sysdeps/gnu/glob64-lstat-compat.c: New file.
16852 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
16853
16854 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16855
16856 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
16857 Reserve 16 chars to reloc_addr before calling _itoa_word.
16858
16859 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16860
16861 [BZ #22678]
16862 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
16863 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
16864
16865 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
16866 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
16867
16868 * resource/tst-getrlimit.c: Add copyright header.
16869
16870 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16871 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16872
16873 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16874 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
16875 Define __GI_getrlimit64 as weak alias of __getrlimit64.
16876 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
16877 instead.
16878 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16879 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
16880 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
16881 RLIM64_INFINITY): Fix values to match the kernel ones.
16882 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
16883 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
16884 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
16885 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
16886 getrlimit64@@GLIBC_2_27.
16887 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
16888 and setrlimit64.
16889 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
16890 getrlimit, setrlimit, getrlimit64 and setrlimit64.
16891 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
16892 setrlimit, getrlimit64 and setrlimit64.
16893
16894 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16895
16896 [BZ #22648]
16897 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
16898 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
16899
16900 2018-01-04 Joseph Myers <joseph@codesourcery.com>
16901
16902 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
16903 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
16904 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
16905
16906 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16907
16908 [BZ #15479]
16909 [BZ #22666]
16910 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
16911 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
16912
16913 [BZ #15479]
16914 [BZ #22665]
16915 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
16916 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
16917 * sysdeps/alpha/fpu/s_floor.c: Likewise.
16918 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
16919
16920 2018-01-04 Florian Weimer <fweimer@redhat.com>
16921
16922 [BZ #22667]
16923 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16924 Align the stack before calling exit.
16925 * stdlib/tst-makecontext-align.c: New file.
16926 * stdlib/Makefile (tests): Add tst-makecontext-align.
16927
16928 2018-01-04 Florian Weimer <fweimer@redhat.com>
16929
16930 Add support for calling dlvsym from libc.so.
16931 * include/dlfcn.h (__libc_dlvsym): Declare.
16932 * elf/Makefile (tests-static-internal): Add
16933 tst-libc_dlvsym-static.
16934 (tests-internal): Add tst-libc_dlvsym.
16935 (modules-names): Add tst-libc_dlvsym-dso.
16936 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
16937 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
16938 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
16939 object tst-libc_dlvsym-dso.so needs to be built before running
16940 these tests.
16941 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
16942 * elf/Versions: Export __libc_dlvsym.
16943 * elf/dl-libc.c (struct do_dlvsym_args): New.
16944 (do_dlvsym, __libc_dlvsym): New functions.
16945 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
16946 (_dl_open_hook2): New variable.
16947 (__libc_register_dl_open_hook): Set it.
16948 * elf/tst-libc_dlvsym-dso.c: New file.
16949 * elf/tst-libc_dlvsym-static.c: Likewise.
16950 * elf/tst-libc_dlvsym.c: Likewise.
16951 * elf/tst-libc_dlvsym.h: Likewise.
16952
16953 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16954
16955 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
16956 include <sys/mount.h>.
16957
16958 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
16959
16960 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
16961 Add __NO_MATH_ERRNO__ check.
16962
16963 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16964
16965 * sysdeps/mips/mips32/libm-test-ulps: Update.
16966 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16967
16968 2018-01-02 Florian Weimer <fweimer@redhat.com>
16969
16970 * misc/tst-pselect.c: Add copyright header.
16971
16972 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16973
16974 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
16975 comment.
16976 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
16977 comment.
16978 (settrlimit): Rename into setrlimit.
16979 (__sttrlimit): Rename into __setrlimit.
16980
16981 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
16982 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
16983 never defined in that case.
16984
16985 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16986
16987 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
16988
16989 * sysdeps/arm/libm-test-ulps: Update.
16990
16991 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
16992 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
16993
16994 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16995
16996 * NEWS: Add cosf and sincosf to list of optimized functions.
16997
16998 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16999
17000 [BZ #22660]
17001 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
17002 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
17003 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
17004 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
17005
17006 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
17007
17008 [BZ #22433]
17009 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
17010
17011 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
17012 making a copy of it.
17013
17014 2018-01-01 Joseph Myers <joseph@codesourcery.com>
17015
17016 * manual/texinfo.tex: Update to version 2017-12-26.21 with
17017 trailing whitespace removed.
17018 * scripts/config.guess: Update to version 2018-01-01.
17019 * scripts/config.sub: Update to version 2018-01-01.
17020 * scripts/move-if-change: Update from gnulib.
17021
17022 * NEWS: Update copyright dates.
17023 * catgets/gencat.c (print_version): Likewise.
17024 * csu/version.c (banner): Likewise.
17025 * debug/catchsegv.sh: Likewise.
17026 * debug/pcprofiledump.c (print_version): Likewise.
17027 * debug/xtrace.sh (do_version): Likewise.
17028 * elf/ldconfig.c (print_version): Likewise.
17029 * elf/ldd.bash.in: Likewise.
17030 * elf/pldd.c (print_version): Likewise.
17031 * elf/sotruss.sh: Likewise.
17032 * elf/sprof.c (print_version): Likewise.
17033 * iconv/iconv_prog.c (print_version): Likewise.
17034 * iconv/iconvconfig.c (print_version): Likewise.
17035 * locale/programs/locale.c (print_version): Likewise.
17036 * locale/programs/localedef.c (print_version): Likewise.
17037 * login/programs/pt_chown.c (print_version): Likewise.
17038 * malloc/memusage.sh (do_version): Likewise.
17039 * malloc/memusagestat.c (print_version): Likewise.
17040 * malloc/mtrace.pl: Likewise.
17041 * manual/libc.texinfo: Likewise.
17042 * nptl/version.c (banner): Likewise.
17043 * nscd/nscd.c (print_version): Likewise.
17044 * nss/getent.c (print_version): Likewise.
17045 * nss/makedb.c (print_version): Likewise.
17046 * posix/getconf.c (main): Likewise.
17047 * scripts/test-installation.pl: Likewise.
17048 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17049
17050 * All files with FSF copyright notices: Update copyright dates
17051 using scripts/update-copyrights.
17052 * locale/programs/charmap-kw.h: Regenerated.
17053 * locale/programs/locfile-kw.h: Likewise.
17054
17055 2017-12-31 Zack Weinberg <zackw@panix.com>
17056
17057 * libio/bits/libio-ldbl.h: Correct check for improper
17058 inclusion. Add own multiple include guard.
17059
17060 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
17061 Dmitry V. Levin <ldv@altlinux.org>
17062
17063 [BZ #22625]
17064 CVE-2017-16997
17065 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
17066 string token expansion. Check for NULL pointer or empty string possibly
17067 returned by expand_dynamic_string_token.
17068 (decompose_rpath): Check for empty path after dynamic string
17069 token expansion.
17070
17071 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
17072
17073 [BZ #22433]
17074 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
17075
17076 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
17077 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
17078 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
17079 and PTRACE_SYSCALL.
17080 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
17081 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17082 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17083 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17084 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17085 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17086
17087 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
17088 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17089 __ptrace_peeksiginfo_flags, ptrace): Move to ...
17090 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
17091 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17092 bits/ptrace-shared.h.
17093 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
17094 <bits/ptrace-shared.h>.
17095 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17096 __ptrace_peeksiginfo_flags, ptrace): Remove.
17097 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17098 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17099 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17100 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17101 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17102
17103 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17104
17105 [BZ #17804]
17106 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
17107 end of the loop. Improve comments.
17108
17109 2017-12-29 Zack Weinberg <zackw@panix.com>
17110
17111 [BZ #22615]
17112 * manual/errno.texi (Checking for Errors): Explicitly say that errno
17113 might be set on success.
17114
17115 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17116
17117 [BZ #22611]
17118 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
17119 is unchanged on success.
17120
17121 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
17122
17123 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
17124 updated.
17125 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
17126 expand_dynamic_string_token): Likewise.
17127 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
17128 is_path argument.
17129
17130 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
17131 contains ':'.
17132
17133 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
17134 is set and name contains ':', and all code depending on these checks.
17135
17136 2017-12-24 Zack Weinberg <zackw@panix.com>
17137
17138 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
17139 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
17140 respectively.
17141 * libio/libio.h: Rename the original version of this file to
17142 libio/bits/libio.h. Error out if not included by stdio.h or the
17143 stub libio.h.
17144 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
17145 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
17146 if not included by bits/libio.h or the stub _G_config.h.
17147 * sysdeps/unix/sysv/linux/_G_config.h: Move to
17148 sysdeps/unix/sysv/linux/bits. Error out if not included by
17149 bits/libio.h or the stub _G_config.h.
17150 * libio/stdio.h: Include bits/libio.h, not libio.h.
17151 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
17152 well as libio.h and _G_config.h.
17153
17154 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
17155 * libio/strfile.h, stdio-common/vfscanf.c
17156 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
17157 Include stdio.h, not _G_config.h nor libio.h.
17158 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
17159 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
17160
17161 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
17162
17163 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
17164
17165 [BZ #22347]
17166 * stdlib/getrandom.c (getrandom): Fix comment.
17167 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
17168
17169 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
17170
17171 [BZ #21161]
17172 * manual/arith.texi (strtoul): Fix a typo.
17173
17174 [BZ #22596]
17175 * manual/arith.texi (finite): Fix the description of the return
17176 value.
17177
17178 2017-12-22 Eric Blake <ebb9@byu.net>
17179
17180 Avoid gcc warnings on cygwin
17181 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
17182 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
17183 Avoid unused variable.
17184
17185 2017-12-22 Florian Weimer <fweimer@redhat.com>
17186
17187 * io/Makefile (routines): Add copy_file_range.
17188 (tests): Add tst-copy_file_range.
17189 (tests-static, tests-internal): Add tst-copy_file_range-compat.
17190 * io/Versions (GLIBC_2.27): Export copy_file_range.
17191 * io/copy_file_range-compat.c: New file.
17192 * io/copy_file_range.c: Likewise.
17193 * io/tst-copy_file_range-compat.c: Likewise.
17194 * io/tst-copy_file_range.c: Likewise.
17195 * manual/llio.texi (Copying File Data): New section.
17196 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
17197 * support/Makefile (libsupport-routines): Add support-xfstat,
17198 xftruncate, xlseek.
17199 * support/support-xfstat.c: New file.
17200 * support/xftruncate.c: Likewise.
17201 * support/xlseek.c: Likewise.
17202 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
17203 * sysdeps/unix/sysv/linux/**.abilist: Update.
17204 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
17205
17206 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
17207
17208 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17209 disable-multi-arch variant to aarch64-linux-gnu.
17210
17211 2017-12-20 Joseph Myers <joseph@codesourcery.com>
17212
17213 * manual/texinfo.tex: Update to version 2017-12-18.20 with
17214 trailing whitespace removed.
17215 * scripts/config.guess: Update to version 2017-12-17.
17216 * scripts/config.sub: Update to version 2017-11-23.
17217 * scripts/install-sh: Update to version 2017-09-23.17.
17218 * scripts/move-if-change: Update to version 2017-09-13 06:45.
17219
17220 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17221
17222 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
17223 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17224 * sysdeps/tile/_mcount.S (__mcount): Likewise.
17225 * sysdeps/tile/crti.S (_init, _fini): Likewise.
17226 * sysdeps/tile/crtn.S: Likewise.
17227 * sysdeps/tile/dl-start.S (_start): Likewise.
17228 * sysdeps/tile/dl-trampoline.S: Likewise.
17229 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
17230 * sysdeps/tile/start.S (_start): Likewise.
17231 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
17232 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
17233 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
17234 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
17235 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
17236 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
17237 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
17238
17239 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
17240 comment.
17241 * sysdeps/tile/preconfigure: Remove tilegx folder.
17242 * sysdeps/tile/tilegx/Implies: Move definitions to ...
17243 * sysdeps/tile/Implies: ... here.
17244 * sysdeps/tile/tilegx/Makefile: Move rules to ...
17245 * sysdeps/tile/Makefile: ... here.
17246 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
17247 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
17248 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
17249 * sysdeps/tile/bits/wordsize.h: ... here.
17250 * sysdeps/tile/tilegx/*: Move to ...
17251 * sysdeps/tile/*: ... here.
17252 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
17253 * sysdeps/tile/tilegx32/Implies: ... here.
17254 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
17255 * sysdeps/tile/tilegx64/Implies: ... here.
17256 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
17257 to ...
17258 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17259 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
17260 * sysdeps/unix/sysv/linux/tile/*: ... here.
17261 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
17262 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
17263 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
17264 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
17265
17266 * README: Remove tilepro-*-linux-gnu from supported architecture.
17267 * scripts/build-many-glibcs.py: Likewise.
17268 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17269 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
17270 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
17271 elf_machine_matches_host, elf_machine_dynamic,
17272 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
17273 howto, elf_machine_rela): Likewise.
17274 * sysdeps/tile/dl-start.S (_start): Likewise.
17275 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
17276 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
17277 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
17278 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
17279 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
17280 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
17281 Likewise.
17282 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
17283 * sysdeps/tile/preconfigure: Likewise.
17284 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
17285 POINTER_CHK_GUARD): Likewise.
17286 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
17287 * sysdeps/tile/start.S (_start): Likewise.
17288 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
17289 Likewise.
17290 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
17291 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
17292 CMOVNEZ): Remove.
17293 * sysdeps/unix/sysv/linux/tile/bits/environments.h
17294 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
17295 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
17296 Likewise.
17297 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
17298 * sysdeps/tile/tilepro/Implies: Remove file.
17299 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
17300 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
17301 * sysdeps/tile/tilepro/memchr.c: Likewise.
17302 * sysdeps/tile/tilepro/memcpy.S: Likewise.
17303 * sysdeps/tile/tilepro/memset.c: Likewise.
17304 * sysdeps/tile/tilepro/memusage.h: Likewise.
17305 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
17306 * sysdeps/tile/tilepro/strchr.c: Likewise.
17307 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
17308 * sysdeps/tile/tilepro/strlen.c: Likewise.
17309 * sysdeps/tile/tilepro/strrchr.c: Likewise.
17310 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
17311 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
17312 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
17313 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
17314 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
17315 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17316 Likewise.
17317 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
17318 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17319 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
17320 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
17321 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17322 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
17323 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
17324 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
17325 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
17326 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
17327 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
17328 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
17329 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
17330 tilepro mention in comment.
17331
17332 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
17333 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
17334 * nptl/pthread_join_common.c: New file: common function used on
17335 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
17336 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
17337 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
17338 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
17339 (cleanup): Move definition to pthread_join_common.c.
17340 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
17341 Remove superflous checks.
17342 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
17343 Likewise.
17344
17345 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
17346
17347 * sysdeps/aarch64/libm-test-ulps: Update.
17348
17349 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17350
17351 * sysdeps/aarch64/memset.S (MEMSET): Define.
17352
17353 2017-12-20 Florian Weimer <fweimer@redhat.com>
17354
17355 [BZ #22635]
17356 nptl: Provide full implementation of pthread_self in libc.so.
17357 * nptl/Makefile (routines): Add pthread_self.
17358 (libpthread-routines): Replace pthread_self with
17359 compat-pthread_self.
17360 * nptl/forward.c (pthread_self): Remove.
17361 * nptl/nptl-init.c (pthread_functions): Do not initialize
17362 ptr_pthread_self.
17363 * nptl/pthread_self.c (pthread_self): Remove weak alias.
17364 * nptl/compat-pthread_self.c: New file.
17365 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
17366 Remove ptr_pthread_self.
17367
17368 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
17369
17370 * posix/regcomp.c: Fix spelling in comments.
17371 * posix/regex.h: Likewise.
17372 * posix/regex_internal.c: Likewise.
17373 * posix/regexec.c: Likewise.
17374
17375 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17376
17377 [BZ #22377]
17378 * math/Makefile [C++] (tests): Add test for iseqsig.
17379 * math/math.h [C++] (iseqsig): New implementation, which does
17380 not rely on __MATH_TG/__builtin_types_compatible_p.
17381 * math/test-math-iseqsig.cc: New file.
17382 * sysdeps/powerpc/powerpc64le/Makefile
17383 (CFLAGS-test-math-iseqsig.cc): New variable.
17384
17385 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
17386
17387 * elf/dl-load.c (is_trusted_path): Remove.
17388 (fillin_rpath): Remove check_trusted argument and its use,
17389 all callers changed.
17390
17391 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17392
17393 [BZ #22630]
17394 * Makeconfig (link-pie-before-libc): Replace -pie with
17395 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
17396 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
17397 (tst-dlopen-aout-no-pie): New.
17398 (LDFLAGS-tst-prelink): Removed.
17399 (tst-prelink-no-pie): New.
17400 (LDFLAGS-tst-main1): Removed.
17401 (tst-main1-no-pie): New.
17402 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
17403 (tst-gmon-no-pie): New.
17404
17405 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17406
17407 * manual/install.texi: Document that --enable-static-pie
17408 implies PIE.
17409 * INSTALL: Regenerated.
17410
17411 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
17412
17413 [BZ #21309]
17414 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
17415 unsigned.
17416
17417 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17418
17419 Revert:
17420
17421 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17422
17423 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17424
17425 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17426
17427 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17428 <errno.h>. Include "eexp.tbl".
17429 (half): New constant.
17430 (one): Likewise.
17431 (__ieee754_exp): Rewrite.
17432 (__slowexp): Remove prototype.
17433 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17434 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17435 * sysdeps/i386/fpu/slowexp.c: Likewise.
17436 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17437 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17438 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17439 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17440 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17441 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17442 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17443 comment.
17444 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17445 (CPPFLAGS-slowexp.c): Remove variable.
17446 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17447 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17448 (CFLAGS-slowexp-fma.c): Remove variable.
17449 (CFLAGS-slowexp-fma4.c): Likewise.
17450 (CFLAGS-slowexp-avx.c): Likewise.
17451 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17452 define as macro.
17453 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17454 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17455 * math/Makefile (type-double-routines): Remove slowexp.
17456 * manual/probes.texi (slowexp_p6): Remove.
17457 (slowexp_p32): Likewise.
17458
17459 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17460
17461 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
17462 arithmetic.
17463
17464 * lib/glob.c (glob): Do not pass NULL to mempcpy.
17465
17466 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17467
17468 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17469
17470 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17471
17472 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17473 <errno.h>. Include "eexp.tbl".
17474 (half): New constant.
17475 (one): Likewise.
17476 (__ieee754_exp): Rewrite.
17477 (__slowexp): Remove prototype.
17478 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17479 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17480 * sysdeps/i386/fpu/slowexp.c: Likewise.
17481 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17482 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17483 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17484 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17485 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17486 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17487 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17488 comment.
17489 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17490 (CPPFLAGS-slowexp.c): Remove variable.
17491 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17492 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17493 (CFLAGS-slowexp-fma.c): Remove variable.
17494 (CFLAGS-slowexp-fma4.c): Likewise.
17495 (CFLAGS-slowexp-avx.c): Likewise.
17496 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17497 define as macro.
17498 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17499 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17500 * math/Makefile (type-double-routines): Remove slowexp.
17501 * manual/probes.texi (slowexp_p6): Remove.
17502 (slowexp_p32): Likewise.
17503
17504 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17505 James Clarke <jrtc27@jrtc27.com>
17506
17507 [BZ #22603]
17508 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
17509 addition.
17510
17511 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17512
17513 [BZ #22605]
17514 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
17515 code.
17516
17517 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17518
17519 [BZ #22563]
17520 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17521 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17522 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17523 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17524 to feature_1.
17525
17526 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17527
17528 [BZ #22563]
17529 * bits/types/__cancel_jmp_buf_tag.h: New file.
17530 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17531 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17532 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17533 * nptl/Makefile (headers): Add
17534 bits/types/__cancel_jmp_buf_tag.h.
17535 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17536 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17537 * sysdeps/nptl/pthread.h: Include
17538 <bits/types/__cancel_jmp_buf_tag.h>.
17539 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17540 __cancel_jmp_buf.
17541 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17542
17543 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17544
17545 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17546 --enable-static-pie variants to x86_64, x32 and i686.
17547
17548 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17549
17550 [BZ #22631]
17551 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
17552 argument for attrubutes. All callers changed.
17553 (__inline_mathop1): Likewise. All callers changed.
17554 (__inline_mathop): Likewise. All callers changed.
17555 [__USE_MISC] (scalbn): Use __inline_forward instead of
17556 __inline_forward_c.
17557 [__USE_ISOC99] (scalbln): Likewise.
17558 [__USE_ISOC99] (nearbyint): Likewise.
17559 [__USE_ISOC99] (lrint): Likewise.
17560 [__USE_MISC] (scalbnf): Likewise.
17561 [__USE_ISOC99] (scalblnf): Likewise.
17562 [__USE_ISOC99] (nearbyintf): Likewise.
17563 [__USE_ISOC99] (lrintf): Likewise.
17564 [__USE_MISC] (scalbnl): Likewise.
17565 [__USE_ISOC99] (scalblnl): Likewise.
17566 [__USE_ISOC99] (nearbyintl): Likewise.
17567 [__USE_ISOC99] (lrintl): Likewise.
17568 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
17569 __inline_mathop and __m81_defun changed.
17570
17571 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
17572 CPU or FPU for ARM hard-float configurations.
17573
17574 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17575
17576 * nptl/tst-attr3.c: Include <libc-diag.h>.
17577 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
17578
17579 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
17580
17581 * string/tester.c (test_strncat): Also disable -Warray-bounds
17582 warnings for two tests.
17583
17584 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17585
17586 [BZ #22614]
17587 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
17588 $(cc-pie-default) == yes.
17589 * config.make.in (cc-pie-default): New.
17590 * configure.ac (libc_cv_pie_default): Renamed to ...
17591 (libc_cv_cc_pie_default): This.
17592 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
17593 * configure: Regenerated.
17594
17595 2017-12-18 Florian Weimer <fweimer@redhat.com>
17596
17597 [BZ #20204]
17598 ld.so: Harden dl-libc/libdl hooks.
17599 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
17600 (rtld_active): New function.
17601 * dlfcn/dladdr.c (__dladdr): Call it.
17602 * dlfcn/dladdr1.c (__dladdr1): Likewise.
17603 * dlfcn/dlclose.c (__dlcose): Likewise.
17604 * dlfcn/dlerror.c (__dlerror): Likewise.
17605 * dlfcn/dlinfo.c (__dlinfo): Likewise.
17606 * dlfcn/dlmopen.c (__dlmopen): Likewise.
17607 * dlfcn/dlopen.c (__dlopen): Likewise.
17608 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17609 * dlfcn/dlsym.c (__dlsym): Likewise.
17610 * dlfcn/dlvsym.c (__dlvsym): Likewise.
17611 * libio/vtables.c (_IO_vtable_check): Likewise.
17612 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
17613 (__libc_dlclose): Likewise.
17614 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
17615 assignment.
17616
17617 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17618
17619 [BZ #22446]
17620 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
17621 buffers for readlink input and output.
17622
17623 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
17624
17625 [BZ #22624]
17626 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
17627 inhibit_stack_protector.
17628
17629 [BZ #22624]
17630 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
17631 inhibit_stack_protector.
17632
17633 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
17634
17635 [BZ #22627]
17636 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
17637 code and invocation.
17638
17639 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
17640
17641 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
17642
17643 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
17644
17645 [BZ #22505]
17646 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
17647
17648 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17649
17650 * sysdeps/s390/fpu/libm-test-ulps: Update.
17651
17652 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17653
17654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17655
17656 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17657
17658 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
17659 constants to s_sincosf.h file.
17660 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17661 * sysdeps/ieee754/flt-32/s_sincosf.c: New
17662 implementation.
17663 * sysdeps/ieee754/flt-32/s_sincosf.h:
17664 New file.
17665
17666 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17667
17668 [BZ #14681]
17669 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
17670 before mtrace.
17671
17672 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
17673
17674 [BZ #19574]
17675 * INSTALL: Regenerated.
17676 * Makeconfig (real-static-start-installed-name): New.
17677 (pic-default): Updated for --enable-static-pie.
17678 (pie-default): New for --enable-static-pie.
17679 (default-pie-ldflag): Likewise.
17680 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
17681 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
17682 Replace $(static-start-installed-name) with
17683 $(real-static-start-installed-name).
17684 (+prectorT): Updated for --enable-static-pie.
17685 (+postctorT): Likewise.
17686 (CFLAGS-.o): Add $(pie-default).
17687 (CFLAGS-.op): Likewise.
17688 * NEWS: Mention --enable-static-pie.
17689 * config.h.in (ENABLE_STATIC_PIE): New.
17690 * configure.ac (--enable-static-pie): New configure option.
17691 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
17692 (have-static-pie): Likewise.
17693 Enable static PIE if linker supports --no-dynamic-linker.
17694 (ENABLE_STATIC_PIE): New AC_DEFINE.
17695 (enable-static-pie): New LIBC_CONFIG_VAR.
17696 * configure: Regenerated.
17697 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
17698 gr$(start-installed-name) for --enable-static-pie.
17699 (extra-objs): Likewise.
17700 (install-lib): Likewise.
17701 (extra-objs): Add static-reloc.o and static-reloc.os
17702 ($(objpfx)$(start-installed-name)): Also depend on
17703 $(objpfx)static-reloc.o.
17704 ($(objpfx)r$(start-installed-name)): New.
17705 ($(objpfx)g$(start-installed-name)): Also depend on
17706 $(objpfx)static-reloc.os.
17707 ($(objpfx)gr$(start-installed-name)): New.
17708 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
17709 in libc.a.
17710 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
17711 initimage.
17712 * csu/static-reloc.c: New file.
17713 * elf/Makefile (routines): Add dl-reloc-static-pie.
17714 (elide-routines.os): Likewise.
17715 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
17716 (tst-tls1-static-non-pie-no-pie): New.
17717 * elf/dl-reloc-static-pie.c: New file.
17718 * elf/dl-support.c (_dl_get_dl_main_map): New function.
17719 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
17720 STATIC_PIE_BOOTSTRAP.
17721 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17722 * gmon/Makefile (tests): Add tst-gmon-static-pie.
17723 (tests-static): Likewise.
17724 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
17725 (tst-gmon-static-no-pie): New.
17726 (CFLAGS-tst-gmon-static-pie.c): Likewise.
17727 (CRT-tst-gmon-static-pie): Likewise.
17728 (tst-gmon-static-pie-ENV): Likewise.
17729 (tests-special): Likewise.
17730 ($(objpfx)tst-gmon-static-pie.out): Likewise.
17731 (clean-tst-gmon-static-pie-data): Likewise.
17732 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
17733 * gmon/tst-gmon-static-pie.c: New file.
17734 * manual/install.texi: Document --enable-static-pie.
17735 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
17736 (_dl_get_dl_main_map): Likewise.
17737 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
17738 * sysdeps/x86_64/configure.ac: Likewise.
17739 * sysdeps/i386/configure: Regenerated.
17740 * sysdeps/x86_64/configure: Likewise.
17741 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
17742 (ASFLAGS-.op): Likewise.
17743
17744 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17745
17746 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
17747 * posix/tst-mmap-offset.c (fname): Use /tmp.
17748 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
17749
17750 2017-12-15 Steve Ellcey <sellcey@cavium.com>
17751
17752 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
17753
17754 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
17755
17756 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
17757 errno.
17758
17759 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17760
17761 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
17762 --with-float=hard for arm-linux-gnueabihf configurations.
17763
17764 [BZ #14121]
17765 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
17766 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
17767 ($(mo-installed)): Use $(objpfx)%.mo.
17768 (realclean): Remove rule.
17769
17770 * po/Makefile (linguas): Remove rule and dependencies.
17771 (linguas.mo): Likewise.
17772 (.PHONY): Do not depend on linguas and linguas.mo.
17773 (podir): Remove variable.
17774 (pofiles): Likewise.
17775 [$(pofiles)] (%.po): Remove rule.
17776
17777 * sysdeps/sparc/sparc32/Makefile
17778 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
17779 start-of-line whitespace in argument of echo.
17780 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
17781 with whitespace. Generate __wrap_.udiv alias.
17782 * sysdeps/sparc/sparc32/rem.S: Regenerated.
17783 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17784 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17785 * sysdeps/sparc/sparc32/urem.S: Likewise.
17786
17787 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17788
17789 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
17790 for aligned inputs.
17791
17792 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17793
17794 * benchtests/bench-strcmp.c: Print output in JSON format.
17795
17796 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
17797
17798 2017-12-14 Florian Weimer <fweimer@redhat.com>
17799
17800 [BZ #22607]
17801 CVE-2017-1000409
17802 * elf/dl-load.c (_dl_init_paths): Compute number of components in
17803 the expanded path string.
17804
17805 2017-12-14 Florian Weimer <fweimer@redhat.com>
17806
17807 [BZ #22606]
17808 CVE-2017-1000408
17809 * elf/dl-load.c (system_dirs): Update comment.
17810 (nsystem_dirs_len): Use array_length.
17811 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
17812
17813 2017-12-14 Florian Weimer <fweimer@redhat.com>
17814
17815 Simplify compiling most of support/ outside of glibc.
17816 * support/check_addrinfo.c: Include <string.h>.
17817 * support/check_dns_packet.c: Likewise.
17818 * support/check_hostent.c: Likewise.
17819 * support/support_can_chroot.c: Include <support/xunistd.h>.
17820 * support/support_format_addrinfo.c: Include <stdlib.h>
17821 * support/support_format_dns_packet.c: Include <stdbool.h>.
17822 * support/support_format_hostent.c: Include <stdlib.h>.
17823 * support/support_format_netent.c: Likewise.
17824 * support/support_write_string.c: Include <support/xunistd.h>.
17825 * support/xdlfcn.c: Include <stddef.h>.
17826
17827 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
17828
17829 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
17830
17831 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17832 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17833
17834 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17835 (sysdeps_routines): Add memset-niagara7.
17836 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
17837 Likewise.
17838 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
17839 file.
17840 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
17841 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17842 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
17843 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
17844 Add niagara7 option.
17845 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
17846 memset.
17847
17848 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17849 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
17850 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
17851 Likewise.
17852 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
17853 New file.
17854 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
17855 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
17856 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17857 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
17858 and __memmove_niagara7.
17859 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
17860 Add niagara7 option.
17861 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
17862 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
17863 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
17864 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
17865 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
17866
17867 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
17868
17869 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
17870 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
17871 * sysdeps/sparc/sparc64/memmove.S: Likewise.
17872 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
17873
17874 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
17875 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
17876 _dl_sparc_cap_flags array.
17877 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
17878
17879 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17880
17881 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
17882 time whenever possible.
17883
17884 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17885
17886 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
17887 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
17888
17889 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17890
17891 * soft-fp/fmadf4.c: Move to ....
17892 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
17893 * soft-fp/fmasf4.c: Move to ....
17894 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
17895 * soft-fp/fmatf4.c: Move to ....
17896 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
17897 * sysdeps/ieee754/soft-fp/Makefile: New file.
17898 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
17899 * sysdeps/arm/preconfigure: Regenerated.
17900 * sysdeps/arm/nofpu/Implies: New file.
17901 * sysdeps/arm/s_fma.c: Remove file.
17902 * sysdeps/arm/s_fmaf.c: Likewise.
17903 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
17904 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
17905 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17906 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
17907 * sysdeps/microblaze/s_fma.c: Remove file.
17908 * sysdeps/microblaze/s_fmaf.c: Likewise.
17909 * sysdeps/mips/mips32/nofpu/Implies: New file.
17910 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
17911 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
17912 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
17913 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
17914 * sysdeps/mips/ieee754/s_fma.c: Remove file.
17915 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
17916 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
17917 implementation.
17918 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
17919 * sysdeps/nios2/s_fma.c: Remove file.
17920 * sysdeps/nios2/s_fmaf.c: Likewise.
17921 * sysdeps/sh/nofpu/Implies: New file.
17922 * sysdeps/sh/s_fma.c: Remove file.
17923 * sysdeps/sh/s_fmaf.c: Likewise.
17924 * sysdeps/tile/Implies: Add ieee754/soft-fp.
17925 * sysdeps/tile/s_fma.c: Remove file.
17926 * sysdeps/tile/s_fmaf.c: Likewise.
17927
17928 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
17929
17930 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17931 Add s_cosf-sse2 and s_cosf-fma.
17932 (CFLAGS-s_cosf-fma.c): New.
17933 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
17934 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
17935 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
17936
17937 2017-12-12 Steve Ellcey <sellcey@cavium.com>
17938
17939 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
17940
17941 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17942
17943 * libio/Makefile (tests): Add tst-bz22415.
17944 (tst-bz22415-ENV): New rule.
17945 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
17946 (tests-special): Add tst-bz22415-mem.out.
17947 ($(objpfx)tst-bz22415-mem.out): New rule.
17948 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
17949 in case of a successful seek operation.
17950 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17951 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
17952 buffer is required.
17953 * libio/tst-bz22415.c: New test.
17954
17955 * sysdeps/ia64/fpu/libm-test-ulps: Update.
17956
17957 2017-12-12 James Clarke <jrtc27@jrtc27.com>
17958
17959 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
17960 __IPC_64 to 0 to avoid IPC_64 being set.
17961
17962 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17963
17964 [BZ #22593]
17965 * math/bits/mathcalls.h (nextafter): Remove const.
17966 (nexttoward): Likewise.
17967
17968 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17969
17970 * configure.ac (--with-fp): Remove configure option.
17971 (with_fp_cond): New variable.
17972 (libc_cv_with_fp): New configure test. Use this variable instead
17973 of with_fp.
17974 * configure: Regenerated.
17975 * config.make.in (with-fp): Use @libc_cv_with_fp@.
17976 * manual/install.texi (Configuring and compiling): Remove
17977 --without-fp.
17978 * INSTALL: Regenerated.
17979 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
17980 * sysdeps/mips/preconfigure (with_fp_cond): Define.
17981 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
17982 * sysdeps/sh/preconfigure (with_fp_cond): Define.
17983 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
17984 use --without-fp to configure glibc.
17985
17986 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
17987
17988 * manual/locale.texi (nl_langinfo): Fix a typo.
17989
17990 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
17991
17992 [BZ #22588]
17993 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
17994
17995 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
17996
17997 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
17998 (CFLAGS-argp-parse.c): Likewise.
17999 (CFLAGS-argp-fmtstream.c): Likewise.
18000 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
18001 (CPPFLAGS-sha512-crypt.c): Likewise.
18002 (CPPFLAGS-md5-crypt.c): Likewise.
18003 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
18004 (CFLAGS-stack_chk_fail_local.c): Likewise.
18005 (CFLAGS-backtrace.c): Likewise.
18006 (CFLAGS-sprintf_chk.c): Likewise.
18007 (CFLAGS-snprintf_chk.c): Likewise.
18008 (CFLAGS-vsprintf_chk.c): Likewise.
18009 (CFLAGS-vsnprintf_chk.c): Likewise.
18010 (CFLAGS-asprintf_chk.c): Likewise.
18011 (CFLAGS-vasprintf_chk.c): Likewise.
18012 (CFLAGS-obprintf_chk.c): Likewise.
18013 (CFLAGS-dprintf_chk.c): Likewise.
18014 (CFLAGS-vdprintf_chk.c): Likewise.
18015 (CFLAGS-printf_chk.c): Likewise.
18016 (CFLAGS-fprintf_chk.c): Likewise.
18017 (CFLAGS-vprintf_chk.c): Likewise.
18018 (CFLAGS-vfprintf_chk.c): Likewise.
18019 (CFLAGS-gets_chk.c): Likewise.
18020 (CFLAGS-fgets_chk.c): Likewise.
18021 (CFLAGS-fgets_u_chk.c): Likewise.
18022 (CFLAGS-fread_chk.c): Likewise.
18023 (CFLAGS-fread_u_chk.c): Likewise.
18024 (CFLAGS-swprintf_chk.c): Likewise.
18025 (CFLAGS-vswprintf_chk.c): Likewise.
18026 (CFLAGS-wprintf_chk.c): Likewise.
18027 (CFLAGS-fwprintf_chk.c): Likewise.
18028 (CFLAGS-vwprintf_chk.c): Likewise.
18029 (CFLAGS-vfwprintf_chk.c): Likewise.
18030 (CFLAGS-fgetws_chk.c): Likewise.
18031 (CFLAGS-fgetws_u_chk.c): Likewise.
18032 (CFLAGS-read_chk.c): Likewise.
18033 (CFLAGS-pread_chk.c): Likewise.
18034 (CFLAGS-pread64_chk.c): Likewise.
18035 (CFLAGS-recv_chk.c): Likewise.
18036 (CFLAGS-recvfrom_chk.c): Likewise.
18037 (CFLAGS-tst-longjmp_chk.c): Likewise.
18038 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
18039 (CFLAGS-tst-longjmp_chk2.c): Likewise.
18040 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
18041 (CFLAGS-tst-longjmp_chk3.c): Likewise.
18042 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18043 (CFLAGS-tst-chk1.c): Likewise.
18044 (CFLAGS-tst-chk2.c): Likewise.
18045 (CFLAGS-tst-chk3.c): Likewise.
18046 (CFLAGS-tst-chk4.cc): Likewise.
18047 (CFLAGS-tst-chk5.cc): Likewise.
18048 (CFLAGS-tst-chk6.cc): Likewise.
18049 (CFLAGS-tst-lfschk1.c): Likewise.
18050 (CFLAGS-tst-lfschk2.c): Likewise.
18051 (CFLAGS-tst-lfschk3.c): Likewise.
18052 (CFLAGS-tst-lfschk4.cc): Likewise.
18053 (CFLAGS-tst-lfschk5.cc): Likewise.
18054 (CFLAGS-tst-lfschk6.cc): Likewise.
18055 (CFLAGS-tst-ssp-1.c): Likewise.
18056 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
18057 (CFLAGS-scandir64.c): Likewise.
18058 (CFLAGS-scandir-tail.c): Likewise.
18059 (CFLAGS-scandir64-tail.c): Likewise.
18060 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
18061 (CFLAGS-dl-tunables.c): Likewise.
18062 (CFLAGS-dl-runtime.c): Likewise.
18063 (CFLAGS-dl-lookup.c): Likewise.
18064 (CFLAGS-dl-iterate-phdr.c): Likewise.
18065 (CFLAGS-vismain.c): Likewise.
18066 (CFLAGS-tst-linkall-static.c): Likewise.
18067 (CFLAGS-tst-linkall-static.c): Likewise.
18068 (CPPFLAGS-dl-load.c): Likewise.
18069 (CFLAGS-ldconfig.c): Likewise.
18070 (CFLAGS-dl-cache.c): Likewise.
18071 (CFLAGS-cache.c): Likewise.
18072 (CFLAGS-rtld.c): Likewise.
18073 (CFLAGS-multiload.c): Likewise.
18074 (CFLAGS-filtmod1.c): Likewise.
18075 (CFLAGS-tst-align.c): Likewise.
18076 (CFLAGS-tst-align2.c): Likewise.
18077 (CFLAGS-tst-alignmod.c): Likewise.
18078 (CFLAGS-tst-alignmod2.c): Likewise.
18079 (CPPFLAGS-tst-execstack.c): Likewise.
18080 (CFLAGS-tst-ptrguard1-static.c): Likewise.
18081 (CFLAGS-tst-latepthreadmod.c): Likewise.
18082 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
18083 (CFLAGS-getgrnam_r.c): Likewise.
18084 (CFLAGS-getgrent_r.c): Likewise.
18085 (CFLAGS-getgrent.c): Likewise.
18086 (CFLAGS-fgetgrent.c): Likewise.
18087 (CFLAGS-fgetgrent_r.c): Likewise.
18088 (CFLAGS-putgrent.c): Likewise.
18089 (CFLAGS-initgroups.c): Likewise.
18090 (CFLAGS-getgrgid.c): Likewise.
18091 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
18092 (CFLAGS-getsgent.c): Likewise.
18093 (CFLAGS-fgetsgent.c): Likewise.
18094 (CFLAGS-fgetsgent_r.c): Likewise.
18095 (CFLAGS-putsgent.c): Likewise.
18096 (CFLAGS-getsgnam.c): Likewise.
18097 (CFLAGS-getsgnam_r.c): Likewise.
18098 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
18099 (CFLAGS-iconv_charmap.c): Likewise.
18100 (CFLAGS-dummy-repertoire.c): Likewise.
18101 (CFLAGS-charmap.c): Likewise.
18102 (CFLAGS-linereader.c): Likewise.
18103 (CFLAGS-simple-hash.c): Likewise.
18104 (CFLAGS-gconv_conf.c): Likewise.
18105 (CFLAGS-iconvconfig.c): Likewise.
18106 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18107 (CFLAGS-gethstbyad.c): Likewise.
18108 (CFLAGS-gethstbynm_r.c): Likewise.
18109 (CFLAGS-gethstbynm.c): Likewise.
18110 (CFLAGS-gethstbynm2_r.c): Likewise.
18111 (CFLAGS-gethstbynm2.c): Likewise.
18112 (CFLAGS-gethstent_r.c): Likewise.
18113 (CFLAGS-gethstent.c): Likewise.
18114 (CFLAGS-rcmd.c): Likewise.
18115 (CFLAGS-getnetbynm_r.c): Likewise.
18116 (CFLAGS-getnetbynm.c): Likewise.
18117 (CFLAGS-getnetbyad_r.c): Likewise.
18118 (CFLAGS-getnetbyad.c): Likewise.
18119 (CFLAGS-getnetent_r.c): Likewise.
18120 (CFLAGS-getnetent.c): Likewise.
18121 (CFLAGS-getaliasent_r.c): Likewise.
18122 (CFLAGS-getaliasent.c): Likewise.
18123 (CFLAGS-getrpcent_r.c): Likewise.
18124 (CFLAGS-getrpcent.c): Likewise.
18125 (CFLAGS-getservent_r.c): Likewise.
18126 (CFLAGS-getservent.c): Likewise.
18127 (CFLAGS-getprtent_r.c): Likewise.
18128 (CFLAGS-getprtent.c): Likewise.
18129 (CFLAGS-either_ntoh.c): Likewise.
18130 (CFLAGS-either_hton.c): Likewise.
18131 (CFLAGS-getnetgrent.c): Likewise.
18132 (CFLAGS-getnetgrent_r.c): Likewise.
18133 (CFLAGS-tst-checks-posix.c): Likewise.
18134 (CFLAGS-tst-sockaddr.c): Likewise.
18135 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
18136 (CFLAGS-tst-translit.c): Likewise.
18137 (CFLAGS-tst-gettext2.c): Likewise.
18138 (CFLAGS-tst-codeset.c): Likewise.
18139 (CFLAGS-tst-gettext3.c): Likewise.
18140 (CFLAGS-tst-gettext4.c): Likewise.
18141 (CFLAGS-tst-gettext5.c): Likewise.
18142 (CFLAGS-tst-gettext6.c): Likewise.
18143 * io/Makefile (CFLAGS-open.c): Likewise.
18144 (CFLAGS-open64.c): Likewise.
18145 (CFLAGS-creat.c): Likewise.
18146 (CFLAGS-creat64.c): Likewise.
18147 (CFLAGS-fcntl.c): Likewise.
18148 (CFLAGS-poll.c): Likewise.
18149 (CFLAGS-ppoll.c): Likewise.
18150 (CFLAGS-lockf.c): Likewise.
18151 (CFLAGS-statfs.c): Likewise.
18152 (CFLAGS-fstatfs.c): Likewise.
18153 (CFLAGS-statvfs.c): Likewise.
18154 (CFLAGS-fstatvfs.c): Likewise.
18155 (CFLAGS-fts.c): Likewise.
18156 (CFLAGS-fts64.c): Likewise.
18157 (CFLAGS-ftw.c): Likewise.
18158 (CFLAGS-ftw64.c): Likewise.
18159 (CFLAGS-lockf.c): Likewise.
18160 (CFLAGS-posix_fallocate.c): Likewise.
18161 (CFLAGS-posix_fallocate64.c): Likewise.
18162 (CFLAGS-fallocate.c): Likewise.
18163 (CFLAGS-fallocate64.c): Likewise.
18164 (CFLAGS-read.c): Likewise.
18165 (CFLAGS-write.c): Likewise.
18166 (CFLAGS-test-stat.c): Likewise.
18167 (CFLAGS-test-lfs.c): Likewise.
18168 * libio/Makefile (CFLAGS-fileops.c): Likewise.
18169 (CFLAGS-fputc.c): Likewise.
18170 (CFLAGS-fputwc.c): Likewise.
18171 (CFLAGS-freopen64.c): Likewise.
18172 (CFLAGS-freopen.c): Likewise.
18173 (CFLAGS-fseek.c): Likewise.
18174 (CFLAGS-fseeko64.c): Likewise.
18175 (CFLAGS-fseeko.c): Likewise.
18176 (CFLAGS-ftello64.c): Likewise.
18177 (CFLAGS-ftello.c): Likewise.
18178 (CFLAGS-fwide.c): Likewise.
18179 (CFLAGS-genops.c): Likewise.
18180 (CFLAGS-getc.c): Likewise.
18181 (CFLAGS-getchar.c): Likewise.
18182 (CFLAGS-getwc.c): Likewise.
18183 (CFLAGS-getwchar.c): Likewise.
18184 (CFLAGS-iofclose.c): Likewise.
18185 (CFLAGS-iofflush.c): Likewise.
18186 (CFLAGS-iofgetpos64.c): Likewise.
18187 (CFLAGS-iofgetpos.c): Likewise.
18188 (CFLAGS-iofgets.c): Likewise.
18189 (CFLAGS-iofgetws.c): Likewise.
18190 (CFLAGS-iofputs.c): Likewise.
18191 (CFLAGS-iofputws.c): Likewise.
18192 (CFLAGS-iofread.c): Likewise.
18193 (CFLAGS-iofsetpos64.c): Likewise.
18194 (CFLAGS-iofsetpos.c): Likewise.
18195 (CFLAGS-ioftell.c): Likewise.
18196 (CFLAGS-iofwrite.c): Likewise.
18197 (CFLAGS-iogetdelim.c): Likewise.
18198 (CFLAGS-iogetline.c): Likewise.
18199 (CFLAGS-iogets.c): Likewise.
18200 (CFLAGS-iogetwline.c): Likewise.
18201 (CFLAGS-ioputs.c): Likewise.
18202 (CFLAGS-ioseekoff.c): Likewise.
18203 (CFLAGS-ioseekpos.c): Likewise.
18204 (CFLAGS-iosetbuffer.c): Likewise.
18205 (CFLAGS-iosetvbuf.c): Likewise.
18206 (CFLAGS-ioungetc.c): Likewise.
18207 (CFLAGS-ioungetwc.c): Likewise.
18208 (CFLAGS-oldfileops.c): Likewise.
18209 (CFLAGS-oldiofclose.c): Likewise.
18210 (CFLAGS-oldiofgetpos64.c): Likewise.
18211 (CFLAGS-oldiofgetpos.c): Likewise.
18212 (CFLAGS-oldiofsetpos64.c): Likewise.
18213 (CFLAGS-oldiofsetpos.c): Likewise.
18214 (CFLAGS-peekc.c): Likewise.
18215 (CFLAGS-putc.c): Likewise.
18216 (CFLAGS-putchar.c): Likewise.
18217 (CFLAGS-putwc.c): Likewise.
18218 (CFLAGS-putwchar.c): Likewise.
18219 (CFLAGS-rewind.c): Likewise.
18220 (CFLAGS-wfileops.c): Likewise.
18221 (CFLAGS-wgenops.c): Likewise.
18222 (CFLAGS-oldiofopen.c): Likewise.
18223 (CFLAGS-iofopen.c): Likewise.
18224 (CFLAGS-iofopen64.c): Likewise.
18225 (CFLAGS-oldtmpfile.c): Likewise.
18226 (CFLAGS-tst_putwc.c): Likewise.
18227 * locale/Makefile (CFLAGS-md5.c): Likewise.
18228 (CFLAGS-charmap.c): Likewise.
18229 (CFLAGS-locfile.c): Likewise.
18230 (CFLAGS-charmap-dir.c): Likewise.
18231 * login/Makefile (CFLAGS-grantpt.c): Likewise.
18232 (CFLAGS-getpt.c): Likewise.
18233 (CFLAGS-pt_chown.c): Likewise.
18234 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
18235 (CFLAGS-obstack.c): Likewise.
18236 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
18237 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
18238 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
18239 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
18240 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
18241 (CFLAGS-test-tgmath.c): Likewise.
18242 (CFLAGS-test-tgmath2.c): Likewise.
18243 (CFLAGS-test-tgmath-ret.c): Likewise.
18244 (CFLAGS-test-powl.c): Likewise.
18245 (CFLAGS-test-snan.c): Likewise.
18246 (CFLAGS-test-signgam-finite.c): Likewise.
18247 (CFLAGS-test-signgam-finite-c99.c): Likewise.
18248 (CFLAGS-test-signgam-finite-c11.c): Likewise.
18249 (CFLAGS-test-signgam-uchar.c): Likewise.
18250 (CFLAGS-test-signgam-uchar-init.c): Likewise.
18251 (CFLAGS-test-signgam-uchar-static.c): Likewise.
18252 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
18253 (CFLAGS-test-signgam-uint.c): Likewise.
18254 (CFLAGS-test-signgam-uint-init.c): Likewise.
18255 (CFLAGS-test-signgam-uint-static.c): Likewise.
18256 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
18257 (CFLAGS-test-signgam-ullong.c): Likewise.
18258 (CFLAGS-test-signgam-ullong-init.c): Likewise.
18259 (CFLAGS-test-signgam-ullong-static.c): Likewise.
18260 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
18261 (CFLAGS-test-math-cxx11.cc): Likewise.
18262 (CFLAGS-test-math-isinff.cc): Likewise.
18263 (CFLAGS-test-math-iszero.cc): Likewise.
18264 (CFLAGS-test-math-issignaling.cc): Likewise.
18265 (CFLAGS-test-math-iscanonical.cc): Likewise.
18266 (CFLAGS-test-iszero-excess-precision.c): Likewise.
18267 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
18268 (CFLAGS-test-flt-eval-method.c): Likewise.
18269 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
18270 (CFLAGS-test-finite-macros.c): Likewise.
18271 * misc/Makefile (CFLAGS-select.c): Likewise.
18272 (CFLAGS-tsearch.c): Likewise.
18273 (CFLAGS-lsearch.c): Likewise.
18274 (CFLAGS-pselect.c): Likewise.
18275 (CFLAGS-readv.c): Likewise.
18276 (CFLAGS-writev.c): Likewise.
18277 (CFLAGS-preadv.c): Likewise.
18278 (CFLAGS-preadv64.c): Likewise.
18279 (CFLAGS-pwritev.c): Likewise.
18280 (CFLAGS-pwritev64.c): Likewise.
18281 (CFLAGS-preadv2.c): Likewise.
18282 (CFLAGS-preadv64v2.c): Likewise.
18283 (CFLAGS-pwritev2.c): Likewise.
18284 (CFLAGS-pwritev64v2.c): Likewise.
18285 (CFLAGS-usleep.c): Likewise.
18286 (CFLAGS-syslog.c): Likewise.
18287 (CFLAGS-error.c): Likewise.
18288 (CFLAGS-getpass.c): Likewise.
18289 (CFLAGS-mkstemp.c): Likewise.
18290 (CFLAGS-mkstemp64.c): Likewise.
18291 (CFLAGS-getsysstats.c): Likewise.
18292 (CFLAGS-getusershell.c): Likewise.
18293 (CFLAGS-err.c): Likewise.
18294 (CFLAGS-tst-tsearch.c): Likewise.
18295 (CFLAGS-msync.c): Likewise.
18296 (CFLAGS-fdatasync.c): Likewise.
18297 (CFLAGS-fsync.c): Likewise.
18298 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
18299 (CFLAGS-unwind.c): Likewise.
18300 (CFLAGS-unwind-forcedunwind.c): Likewise.
18301 (CFLAGS-pthread_cancel.c): Likewise.
18302 (CFLAGS-pthread_setcancelstate.c): Likewise.
18303 (CFLAGS-pthread_setcanceltype.c): Likewise.
18304 (CFLAGS-cancellation.c): Likewise.
18305 (CFLAGS-libc-cancellation.c): Likewise.
18306 (CFLAGS-pthread_exit.c): Likewise.
18307 (CFLAGS-forward.c): Likewise.
18308 (CFLAGS-pthread_testcancel.c): Likewise.
18309 (CFLAGS-pthread_join.c): Likewise.
18310 (CFLAGS-pthread_timedjoin.c): Likewise.
18311 (CFLAGS-pthread_once.c): Likewise.
18312 (CFLAGS-pthread_cond_wait.c): Likewise.
18313 (CFLAGS-sem_wait.c): Likewise.
18314 (CFLAGS-sem_timedwait.c): Likewise.
18315 (CFLAGS-fcntl.c): Likewise.
18316 (CFLAGS-lockf.c): Likewise.
18317 (CFLAGS-pread.c): Likewise.
18318 (CFLAGS-pread64.c): Likewise.
18319 (CFLAGS-pwrite.c): Likewise.
18320 (CFLAGS-pwrite64.c): Likewise.
18321 (CFLAGS-wait.c): Likewise.
18322 (CFLAGS-waitpid.c): Likewise.
18323 (CFLAGS-sigwait.c): Likewise.
18324 (CFLAGS-msgrcv.c): Likewise.
18325 (CFLAGS-msgsnd.c): Likewise.
18326 (CFLAGS-tcdrain.c): Likewise.
18327 (CFLAGS-open.c): Likewise.
18328 (CFLAGS-open64.c): Likewise.
18329 (CFLAGS-pause.c): Likewise.
18330 (CFLAGS-recv.c): Likewise.
18331 (CFLAGS-send.c): Likewise.
18332 (CFLAGS-accept.c): Likewise.
18333 (CFLAGS-sendto.c): Likewise.
18334 (CFLAGS-connect.c): Likewise.
18335 (CFLAGS-recvfrom.c): Likewise.
18336 (CFLAGS-recvmsg.c): Likewise.
18337 (CFLAGS-sendmsg.c): Likewise.
18338 (CFLAGS-close.c): Likewise.
18339 (CFLAGS-read.c): Likewise.
18340 (CFLAGS-write.c): Likewise.
18341 (CFLAGS-nanosleep.c): Likewise.
18342 (CFLAGS-sigsuspend.c): Likewise.
18343 (CFLAGS-msync.c): Likewise.
18344 (CFLAGS-fdatasync.c): Likewise.
18345 (CFLAGS-fsync.c): Likewise.
18346 (CFLAGS-pt-system.c): Likewise.
18347 (CFLAGS-tst-cleanup2.c): Likewise.
18348 (CFLAGS-tst-cleanupx2.c): Likewise.
18349 (CFLAGS-flockfile.c): Likewise.
18350 (CFLAGS-ftrylockfile.c): Likewise.
18351 (CFLAGS-funlockfile.c): Likewise.
18352 (CFLAGS-tst-initializers1.c): Likewise.
18353 (CFLAGS-tst-initializers1-c89.c): Likewise.
18354 (CFLAGS-tst-initializers1-c99.c): Likewise.
18355 (CFLAGS-tst-initializers1-c11.c): Likewise.
18356 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
18357 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
18358 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
18359 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
18360 (CFLAGS-nscd_getgr_r.c): Likewise.
18361 (CFLAGS-nscd_gethst_r.c): Likewise.
18362 (CFLAGS-nscd_getai.c): Likewise.
18363 (CFLAGS-nscd_initgroups.c): Likewise.
18364 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
18365 (CFLAGS-pause.c): Likewise.
18366 (CFLAGS-pread.c): Likewise.
18367 (CFLAGS-pread64.c): Likewise.
18368 (CFLAGS-pwrite.c): Likewise.
18369 (CFLAGS-pwrite64.c): Likewise.
18370 (CFLAGS-sleep.c): Likewise.
18371 (CFLAGS-wait.c): Likewise.
18372 (CFLAGS-waitid.c): Likewise.
18373 (CFLAGS-waitpid.c): Likewise.
18374 (CFLAGS-getopt.c): Likewise.
18375 (CFLAGS-wordexp.c): Likewise.
18376 (CFLAGS-sysconf.c): Likewise.
18377 (CFLAGS-pathconf.c): Likewise.
18378 (CFLAGS-fpathconf.c): Likewise.
18379 (CFLAGS-spawn.c): Likewise.
18380 (CFLAGS-spawnp.c): Likewise.
18381 (CFLAGS-spawni.c): Likewise.
18382 (CFLAGS-glob.c): Likewise.
18383 (CFLAGS-glob64.c): Likewise.
18384 (CFLAGS-getconf.c): Likewise.
18385 (CFLAGS-nanosleep.c): Likewise.
18386 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
18387 (CFLAGS-getpwent.c): Likewise.
18388 (CFLAGS-getpw.c): Likewise.
18389 (CFLAGS-fgetpwent_r.c): Likewise.
18390 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
18391 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
18392 (CFLAGS-mq_timedreceive.c): Likewise.
18393 (CFLAGS-mq_timedsend.c): Likewise.
18394 (CFLAGS-clock_nanosleep.c): Likewise.
18395 (CFLAGS-librt-cancellation.c): Likewise.
18396 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
18397 (CFLAGS-getspent.c): Likewise.
18398 (CFLAGS-fgetspent.c): Likewise.
18399 (CFLAGS-fgetspent_r.c): Likewise.
18400 (CFLAGS-putspent.c): Likewise.
18401 (CFLAGS-getspnam.c): Likewise.
18402 (CFLAGS-getspnam_r.c): Likewise.
18403 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
18404 (CFLAGS-sigsuspend.c): Likewise.
18405 (CFLAGS-sigtimedwait.c): Likewise.
18406 (CFLAGS-sigwait.c): Likewise.
18407 (CFLAGS-sigwaitinfo.c): Likewise.
18408 (CFLAGS-sigreturn.c): Likewise.
18409 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18410 (CFLAGS-vfwprintf.c): Likewise.
18411 (CFLAGS-tmpfile.c): Likewise.
18412 (CFLAGS-tmpfile64.c): Likewise.
18413 (CFLAGS-tempname.c): Likewise.
18414 (CFLAGS-psignal.c): Likewise.
18415 (CFLAGS-vprintf.c): Likewise.
18416 (CFLAGS-cuserid.c): Likewise.
18417 (CFLAGS-errlist.c): Likewise.
18418 (CFLAGS-siglist.c): Likewise.
18419 (CFLAGS-scanf15.c): Likewise.
18420 (CFLAGS-scanf17.c): Likewise.
18421 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
18422 (CFLAGS-msort.c): Likewise.
18423 (CFLAGS-qsort.c): Likewise.
18424 (CFLAGS-system.c): Likewise.
18425 (CFLAGS-fmtmsg.c): Likewise.
18426 (CFLAGS-strfmon.c): Likewise.
18427 (CFLAGS-strfmon_l.c): Likewise.
18428 (CFLAGS-strfromd.c): Likewise.
18429 (CFLAGS-strfromf.c): Likewise.
18430 (CFLAGS-strfroml.c): Likewise.
18431 (CFLAGS-tst-bsearch.c): Likewise.
18432 (CFLAGS-tst-qsort.c): Likewise.
18433 (CFLAGS-tst-makecontext2.c): Likewise.
18434 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
18435 (CFLAGS-xnlm_prot.c): Likewise.
18436 (CFLAGS-xrstat.c): Likewise.
18437 (CFLAGS-xyppasswd.c): Likewise.
18438 (CFLAGS-xklm_prot.c): Likewise.
18439 (CFLAGS-xrex.c): Likewise.
18440 (CFLAGS-xsm_inter.c): Likewise.
18441 (CFLAGS-xmount.c): Likewise.
18442 (CFLAGS-xrusers.c): Likewise.
18443 (CFLAGS-xspray.c): Likewise.
18444 (CFLAGS-xnfs_prot.c): Likewise.
18445 (CFLAGS-xrquota.c): Likewise.
18446 (CFLAGS-xkey_prot.c): Likewise.
18447 (CFLAGS-auth_unix.c): Likewise.
18448 (CFLAGS-key_call.c): Likewise.
18449 (CFLAGS-pmap_rmt.c): Likewise.
18450 (CFLAGS-clnt_perr.c): Likewise.
18451 (CFLAGS-openchild.c): Likewise.
18452 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
18453 (CFLAGS-msgsnd.c): Likewise.
18454 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
18455 * time/Makefile (CFLAGS-tzfile.c): Likewise.
18456 (CFLAGS-tzset.c): Likewise.
18457 (CFLAGS-getdate.c): Likewise.
18458 (CFLAGS-test_time.c): Likewise.
18459 (CPPFLAGS-tst-tzname.c): Likewise.
18460 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
18461 (CFLAGS-zic.c): Likewise.
18462 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
18463 (CFLAGS-wcswidth.c): Likewise.
18464 (CFLAGS-wcstol.c): Likewise.
18465 (CFLAGS-wcstoul.c): Likewise.
18466 (CFLAGS-wcstoll.c): Likewise.
18467 (CFLAGS-wcstoull.c): Likewise.
18468 (CFLAGS-wcstod.c): Likewise.
18469 (CFLAGS-wcstold.c): Likewise.
18470 (CFLAGS-wcstof128.c): Likewise.
18471 (CFLAGS-wcstof.c): Likewise.
18472 (CFLAGS-wcstol_l.c): Likewise.
18473 (CFLAGS-wcstoul_l.c): Likewise.
18474 (CFLAGS-wcstoll_l.c): Likewise.
18475 (CFLAGS-wcstoull_l.c): Likewise.
18476 (CFLAGS-wcstod_l.c): Likewise.
18477 (CFLAGS-wcstold_l.c): Likewise.
18478 (CFLAGS-wcstof128_l.c): Likewise.
18479 (CFLAGS-wcstof_l.c): Likewise.
18480 (CPPFLAGS-tst-wchar-h.c): Likewise.
18481 (CPPFLAGS-wcstold_l.c): Likewise.
18482 ---
18483 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
18484
18485 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
18486
18487 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18488 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18489
18490 * manual/tunables.texi (Hardware Capability Tunables): Document
18491 glibc.tune.cached_memopt.
18492 * sysdeps/powerpc/cpu-features.c: New file.
18493 * sysdeps/powerpc/cpu-features.h: New file.
18494 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
18495 _dl_powerpc_cpu_features.
18496 * sysdeps/powerpc/dl-tunables.list: New file.
18497 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
18498 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18499 (INIT_ARCH): Initialize use_aligned_memopt.
18500 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
18501 IS_IN(rtld))]: Restrict dl_platform_init availability and
18502 initialize CPU features used by tunables.
18503 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
18504 Add memcpy-power8-cached.
18505 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
18506 __memcpy_power8_cached.
18507 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
18508 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
18509 New file.
18510
18511 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18512
18513 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
18514 (CFLAGS-noinl-tester.c): Likewise.
18515 (CFLAGS-tst-strlen.c): Likewise.
18516 (CFLAGS-stratcliff.c): Likewise.
18517 (CFLAGS-test-ffs.c): Likewise.
18518 (CFLAGS-tst-inlcall.c): Likewise.
18519 (CFLAGS-tst-xbzero-opt.c): Likewise.
18520 (CFLAGS-memcpy.c): Likewise.
18521 (CFLAGS-wordcopy.c): Likewise.
18522
18523 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18524
18525 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
18526 Store r15 on stack and add cfi rule.
18527 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
18528 Likewise.
18529
18530 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
18531
18532 [BZ #22577]
18533 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
18534 call.
18535
18536 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18537
18538 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18539 Add s_sinf-sse2 and s_sinf-fma.
18540 (CFLAGS-s_sinf-fma.c): New.
18541 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
18542 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
18543 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
18544
18545 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18546
18547 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
18548
18549 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18550
18551 [BZ #22568]
18552 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
18553 part of result to imaginary part of argument if it is zero and the
18554 real part of the argument is not finite.
18555 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
18556 of result to real part of argument if it is zero and the imaginary
18557 part of the argument is not finite.
18558
18559 2017-12-07 Mike FABIAN <mfabian@redhat.com>
18560
18561 [BZ #22524]
18562 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
18563 and to the list of locales to be built for testing.
18564 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
18565 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
18566 and build the collation rules upon that.
18567
18568 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18569
18570 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
18571 * manual/math.texi (Mathematics): Document support for _Float32.
18572 * math/Makefile (test-types): Add float32.
18573 * math/Versions (GLIBC_2.27): Add _Float32 functions.
18574 * stdlib/Versions (GLIBC_2.27): Likewise.
18575 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18576 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18577 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18578 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18579 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18580 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18581 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18582 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18583 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18584 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18585 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18586 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18587 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18588 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18589 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18590 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18591 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18592 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18593 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18594 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18595 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18596 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18597 Likewise.
18598 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18599 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18600 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18601 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18602 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18604 Likewise.
18605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18606 Likewise.
18607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18608 Likewise.
18609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18610 Likewise.
18611
18612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18613 Likewise.
18614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18615 Likewise.
18616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18617 Likewise.
18618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18619 Likewise.
18620 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18621 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18622 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18623 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18624 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18625 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18626 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18627 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18628 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18629 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18630 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18631 Likewise.
18632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18633 Likewise.
18634 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18635 Likewise.
18636 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18637 Likewise.
18638 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18639 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18640 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18641 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18642 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18643 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18644 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18645 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18646
18647 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18648
18649 * stdlib/strtof.c: Include <bits/floatn.h>
18650 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
18651 and later undefine as macro. Define as weak alias if
18652 [!USE_WIDE_CHAR].
18653 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
18654 and later undefine as macro. Define as weak alias if
18655 [USE_WIDE_CHAR].
18656 * stdlib/strtof_l.c: Include <bits/floatn.h>
18657 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
18658 and later undefine as macro. Define as weak alias if
18659 [!USE_WIDE_CHAR].
18660 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
18661 and later undefine as macro. Define as weak alias if
18662 [USE_WIDE_CHAR].
18663
18664 * stdlib/strfromf.c: Include <bits/floatn.h>.
18665 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
18666 and later undefine as macro and define as weak alias.
18667
18668 * math/test-float32.h: New file.
18669
18670 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
18671 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
18672 (libm_alias_float_other_r): Create f32 alias.
18673 (libm_alias_float_r): Use semicolon before call to
18674 libm_alias_float_other_r.
18675
18676 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
18677 second argument to libm_alias_float_other.
18678 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
18679 second argument to libm_alias_float_other.
18680 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
18681 argument to libm_alias_float_other.
18682
18683 [BZ #22561]
18684 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
18685 real part of result for argument 0 + i * NaN.
18686 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
18687 results for tests of 0 + i * NaN.
18688
18689 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18690
18691 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18692
18693 2017-12-06 David S. Miller <davem@davemloft.net>
18694
18695 * sysdeps/sparc/fpu/libm-test-ulps: Update
18696 exp_{downward,towardzero,upward} ulps.
18697
18698 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18699
18700 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
18701 variables static.
18702
18703 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
18704 (Y0_2D): Likewise.
18705 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
18706 (Y0_2D): Likewise.
18707 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
18708 (Y0_2D): Likewise.
18709 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
18710 (Y0_2D): Likewise.
18711
18712 2017-12-06 Mike FABIAN <mfabian@redhat.com>
18713
18714 [BZ #22515]
18715 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
18716 and to the list of locales to be built for testing.
18717 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
18718 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
18719 and build the collation rules upon that.
18720
18721 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18722
18723 * NEWS: Add sinf to list of optimized functions.
18724
18725 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18726
18727 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
18728 (__HAVE_FLOAT32X): Likewise.
18729 * manual/math.texi (Mathematics): Document support for _Float64
18730 and _Float32x.
18731 * math/Makefile (test-types): Add float64 and float32x.
18732 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
18733 functions.
18734 * stdlib/Versions (GLIBC_2.27): Likewise.
18735 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18736 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18737 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18738 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18739 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18740 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18741 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18742 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18743 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18744 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18745 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18746 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18747 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18748 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18749 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18750 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18751 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18752 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18753 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18754 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18755 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18756 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18757 Likewise.
18758 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18759 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18760 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18761 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18762 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18764 Likewise.
18765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18766 Likewise.
18767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18768 Likewise.
18769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18770 Likewise.
18771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18772 Likewise.
18773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18774 Likewise.
18775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18776 Likewise.
18777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18778 Likewise.
18779 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18780 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18781 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18782 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18783 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18784 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18785 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18786 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18787 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18788 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18789 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18790 Likewise.
18791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18792 Likewise.
18793 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18794 Likewise.
18795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18796 Likewise.
18797 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18798 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18799 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18800 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18801 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18802 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18803 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18804 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18805
18806 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18807
18808 * bits/floatn-common.h: Include <bits/long-double.h>.
18809 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18810 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
18811 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18812 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
18813 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18814 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
18815 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18816 (__builtin_huge_valf64): Use __builtin_huge_vall.
18817 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18818 (__builtin_inff64): Use __builtin_infl.
18819 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18820 (__builtin_nanf64): Use __builtin_nanl.
18821 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18822 (__builtin_nansf64): Use __builtin_nansl.
18823
18824 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
18825 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18826 Carlos O'Donnell <carlos@redhat.com>
18827
18828 * elf/dl-tunables.list: Add elision parameters.
18829 * manual/tunables.texi: Add entries about elision tunable.
18830 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
18831 Add callback functions to dynamically enable/disable elision.
18832 Add multiple callbacks functions to set elision parameters.
18833 Deleted __libc_enable_secure check.
18834 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
18835 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
18836 * configure: Regenerated.
18837 * configure.ac: Option enable_lock_elision was deleted.
18838 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
18839 * config.make.in: Remove references to enable_lock_elision.
18840 * manual/install.texi: Elision configure option was removed.
18841 * INSTALL: Regenerated to remove enable_lock_elision.
18842 * nptl/Makefile:
18843 Disable elision so it can verify error case for destroying a mutex.
18844 * sysdeps/powerpc/nptl/elide.h:
18845 Cleanup ENABLE_LOCK_ELISION check.
18846 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
18847 * sysdeps/s390/configure: Regenerated.
18848 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
18849 * nptl/tst-mutex8.c:
18850 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
18851 * sysdeps/powerpc/powerpc32/sysdep.h:
18852 Deleted all ENABLE_LOCK_ELISION checks.
18853 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18854 * sysdeps/powerpc/sysdep.h: Likewise.
18855 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
18856 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
18857 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18858 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18859 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18860 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
18861 enable-lock-elision.
18862
18863 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18864
18865 * stdlib/strtod.c: Include <bits/floatn.h>.
18866 (BUILD_DOUBLE): New macro.
18867 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18868 (strtof64): Define and later undefine as macro. Define as weak
18869 alias if [!USE_WIDE_CHAR].
18870 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18871 (wcstof64): Define and later undefine as macro. Define as weak
18872 alias if [USE_WIDE_CHAR].
18873 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18874 (strtof32x): Define and later undefine as macro. Define as weak
18875 alias if [!USE_WIDE_CHAR].
18876 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18877 (wcstof32x): Define and later undefine as macro. Define as weak
18878 alias if [USE_WIDE_CHAR].
18879 * stdlib/strtod_l.c: Include <bits/floatn.h>.
18880 (BUILD_DOUBLE): New macro.
18881 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18882 (strtof64_l): Define and later undefine as macro. Define as weak
18883 alias if [!USE_WIDE_CHAR].
18884 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18885 (wcstof64_l): Define and later undefine as macro. Define as weak
18886 alias if [USE_WIDE_CHAR].
18887 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18888 (strtof32x_l): Define and later undefine as macro. Define as weak
18889 alias if [!USE_WIDE_CHAR].
18890 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18891 (wcstof32x_l): Define and later undefine as macro. Define as weak
18892 alias if [USE_WIDE_CHAR].
18893
18894 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18895
18896 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
18897 (reduced): Use ones as double instead of integer.
18898
18899 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
18900
18901 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
18902
18903 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18904
18905 * stdlib/strfromd.c: Include <bits/floatn.h>.
18906 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
18907 and later undefine as macro and define as weak alias.
18908 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
18909 Likewise.
18910
18911 * math/test-float32x.h: New file.
18912 * math/test-float64.h: Likewise.
18913
18914 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
18915 (libm_alias_double_other_r_f64): New macro.
18916 (libm_alias_double_other_r_f32x): Likewise.
18917 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18918 libm_alias_double_other_r_f32x.
18919 (libm_alias_double_r): Use semicolon before call to
18920 libm_alias_double_other_r.
18921 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
18922 <bits/floatn.h>.
18923 (libm_alias_double_other_r_f64): New macro.
18924 (libm_alias_double_other_r_f32x): Likewise.
18925 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18926 libm_alias_double_other_r_f32x.
18927
18928 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
18929
18930 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
18931 int.
18932 (SINF_FUNC): Likewise. Replace floor with simple casts.
18933
18934 2017-12-05 Mike FABIAN <mfabian@redhat.com>
18935
18936 [BZ #22517]
18937 * localedata/Makefile: Add et_EE.UTF-8 to test-input
18938 and to the list of locales to be built for testing.
18939 * localedata/et_EE.UTF-8.in: New file for testing the collation.
18940 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
18941 and build the collation rules upon that.
18942
18943 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
18944
18945 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
18946 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
18947 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
18948 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
18949 instead of __insn__xxx.
18950 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
18951 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
18952 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
18953 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
18954 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
18955 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
18956
18957 2017-12-05 Florian Weimer <fweimer@redhat.com>
18958
18959 Linux: Implement interfaces for memory protection keys
18960 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
18961 xsignal, xsysconf.
18962 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
18963 * support/xunistd.h (xsysconf): Declare.
18964 * support/xraise.c: New file.
18965 * support/xsigaction.c: Likewise.
18966 * support/xsignal.c: Likewise.
18967 * support/xsysconf.c: Likewise.
18968 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
18969 pkey_set, pkey_get, pkey_mprotect.
18970 [misc] (tests): Add tst-pkey.
18971 (tst-pkey): Link with -lpthread.
18972 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
18973 pkey_free, pkey_set, pkey_get, pkey_mprotect.
18974 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
18975 (PKEY_DISABLE_WRITE): Define.
18976 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
18977 Declare.
18978 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
18979 (SEGV_PKUERR): Add.
18980 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
18981 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
18982 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
18983 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
18984 Add.
18985 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
18986 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
18987 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
18988 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
18989 * sysdeps/unix/sysv/linux/**.abilist: Update.
18990
18991 2017-12-05 Florian Weimer <fweimer@redhat.com>
18992
18993 * support/tst-test_compare.c (subprocess): Use long long instead
18994 of long argument for consistent type width across 32-bit and
18995 64-bit architectures.
18996 (do_test): Adjust expected output.
18997
18998 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18999
19000 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
19001 (cosf): Define using libm_alias_float.
19002 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
19003 (fabsf): Define using libm_alias_float.
19004 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
19005 (fmaf): Define using libm_alias_float.
19006 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
19007 (rintf): Define using libm_alias_float.
19008 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
19009 (sinf): Define using libm_alias_float.
19010 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
19011 <libm-alias-float.h>.
19012 (modff): Define using libm_alias_float.
19013 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
19014 <libm-alias-float.h>.
19015 (logbf): Define using libm_alias_float.
19016 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
19017 <libm-alias-float.h>.
19018 (ceilf): Define using libm_alias_float.
19019 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19020 <libm-alias-float.h>.
19021 (copysignf): Define using libm_alias_float.
19022 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
19023 <libm-alias-float.h>.
19024 (floorf): Define using libm_alias_float.
19025 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
19026 <libm-alias-float.h>.
19027 (llrintf): Define using libm_alias_float.
19028 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
19029 <libm-alias-float.h>.
19030 (llroundf): Define using libm_alias_float.
19031 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19032 <libm-alias-float.h>.
19033 (lrintf): Define using libm_alias_float.
19034 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19035 <libm-alias-float.h>.
19036 (lroundf): Define using libm_alias_float.
19037 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
19038 <libm-alias-float.h>.
19039 (nearbyintf): Define using libm_alias_float.
19040 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
19041 <libm-alias-float.h>.
19042 (rintf): Define using libm_alias_float.
19043 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
19044 <libm-alias-float.h>.
19045 (roundf): Define using libm_alias_float.
19046 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
19047 <libm-alias-float.h>.
19048 (truncf): Define using libm_alias_float.
19049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
19050 Include <libm-alias-float.h>.
19051 (ceilf): Define using libm_alias_float.
19052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
19053 Include <libm-alias-float.h>.
19054 (copysignf): Define using libm_alias_float.
19055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
19056 Include <libm-alias-float.h>.
19057 (floorf): Define using libm_alias_float.
19058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
19059 Include <libm-alias-float.h>.
19060 (llrintf): Define using libm_alias_float.
19061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
19062 Include <libm-alias-float.h>.
19063 (llroundf): Define using libm_alias_float.
19064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
19065 Include <libm-alias-float.h>.
19066 (logbf): Define using libm_alias_float.
19067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
19068 Include <libm-alias-float.h>.
19069 (lrintf): Define using libm_alias_float.
19070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
19071 Include <libm-alias-float.h>.
19072 (lroundf): Define using libm_alias_float.
19073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
19074 Include <libm-alias-float.h>.
19075 (modff): Define using libm_alias_float.
19076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
19077 Include <libm-alias-float.h>.
19078 (roundf): Define using libm_alias_float.
19079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
19080 Include <libm-alias-float.h>.
19081 (truncf): Define using libm_alias_float.
19082 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
19083 <libm-alias-float.h>.
19084 (llrintf): Define using libm_alias_float.
19085 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19086 <libm-alias-float.h>.
19087 (llroundf): Define using libm_alias_float.
19088 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
19089 <libm-alias-float.h>.
19090 (ceilf): Define using libm_alias_float.
19091 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
19092 <libm-alias-float.h>.
19093 (floorf): Define using libm_alias_float.
19094 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19095 <libm-alias-float.h>.
19096 (llroundf): Define using libm_alias_float.
19097 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19098 <libm-alias-float.h>.
19099 (lroundf): Define using libm_alias_float.
19100 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
19101 <libm-alias-float.h>.
19102 (roundf): Define using libm_alias_float.
19103 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
19104 <libm-alias-float.h>.
19105 (truncf): Define using libm_alias_float.
19106 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19107 <libm-alias-float.h>.
19108 (copysignf): Define using libm_alias_float.
19109 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
19110 <libm-alias-float.h>.
19111 (llrintf): Define using libm_alias_float.
19112 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19113 <libm-alias-float.h>.
19114 (llroundf): Define using libm_alias_float.
19115 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19116 <libm-alias-float.h>.
19117 (lrintf): Define using libm_alias_float.
19118 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19119 <libm-alias-float.h>.
19120 (lroundf): Define using libm_alias_float.
19121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
19122 <libm-alias-float.h>.
19123 (ceilf): Define using libm_alias_float.
19124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
19125 <libm-alias-float.h>.
19126 (copysignf): Define using libm_alias_float.
19127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
19128 <libm-alias-float.h>.
19129 (cosf): Define using libm_alias_float.
19130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
19131 <libm-alias-float.h>.
19132 (floorf): Define using libm_alias_float.
19133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
19134 <libm-alias-float.h>.
19135 (llrintf): Define using libm_alias_float.
19136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
19137 <libm-alias-float.h>.
19138 (llroundf): Define using libm_alias_float.
19139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
19140 <libm-alias-float.h>.
19141 (logbf): Define using libm_alias_float.
19142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
19143 <libm-alias-float.h>.
19144 (modff): Define using libm_alias_float.
19145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
19146 <libm-alias-float.h>.
19147 (roundf): Define using libm_alias_float.
19148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
19149 <libm-alias-float.h>.
19150 (sinf): Define using libm_alias_float.
19151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
19152 <libm-alias-float.h>.
19153 (truncf): Define using libm_alias_float.
19154 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
19155 <libm-alias-float.h>.
19156 (ceilf): Define using libm_alias_float.
19157 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19158 <libm-alias-float.h>.
19159 (copysignf): Define using libm_alias_float.
19160 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
19161 <libm-alias-float.h>.
19162 (floorf): Define using libm_alias_float.
19163 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19164 <libm-alias-float.h>.
19165 (llrintf): Define using libm_alias_float.
19166 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
19167 <libm-alias-float.h>.
19168 (llroundf): Define using libm_alias_float.
19169 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
19170 <libm-alias-float.h>.
19171 (nearbyintf): Define using libm_alias_float.
19172 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
19173 <libm-alias-float.h>.
19174 (rintf): Define using libm_alias_float.
19175 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
19176 <libm-alias-float.h>.
19177 (roundf): Define using libm_alias_float.
19178 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
19179 <libm-alias-float.h>.
19180 (truncf): Define using libm_alias_float.
19181 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
19182 <libm-alias-float.h>.
19183 (ceilf): Define using libm_alias_float.
19184 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
19185 <libm-alias-float.h>.
19186 (floorf): Define using libm_alias_float.
19187 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19188 <libm-alias-float.h>.
19189 (llroundf): Define using libm_alias_float.
19190 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
19191 <libm-alias-float.h>.
19192 (roundf): Define using libm_alias_float.
19193 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
19194 <libm-alias-float.h>.
19195 (truncf): Define using libm_alias_float.
19196 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19197 <libm-alias-float.h>.
19198 (copysignf): Define using libm_alias_float.
19199 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19200 <libm-alias-float.h>.
19201 (llrintf): Define using libm_alias_float.
19202 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19203 <libm-alias-float.h>.
19204 (llroundf): Define using libm_alias_float.
19205 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
19206 <libm-alias-float.h>.
19207 (cosf): Define using libm_alias_float.
19208 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19209 <libm-alias-float.h>.
19210 (llrintf): Define using libm_alias_float.
19211 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19212 <libm-alias-float.h>.
19213 (llroundf): Define using libm_alias_float.
19214 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
19215 <libm-alias-float.h>.
19216 (sinf): Define using libm_alias_float.
19217
19218 2017-12-04 Florian Weimer <fweimer@redhat.com>
19219
19220 * support/check.h (TEST_COMPARE): Define.
19221 (support_test_compare_failure): Declare.
19222 * support/Makefile (libsupport-routines): Add
19223 support_test_compare_failure.
19224 (tests): Add tst-test_compare.
19225 * support /support_test_compare_failure.c: New file.
19226 * support/tst-test_compare.c: Likewise.
19227
19228 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19229
19230 [BZ #22527]
19231 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
19232 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
19233 available, this rewrite of the collation rules does reproduce
19234 the test file in the same order.
19235
19236 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19237
19238 [BZ #10580]
19239 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
19240 digraphs in the month and day names. Using single code points for
19241 digraphs is deprecated. While there are dedicated Unicode
19242 codepoints, for the digraphs, these are included for backwards
19243 compatibility and modern texts use a sequence of Basic Latin
19244 characters. See: https://www.unicode.org/faq/ligature_digraph.html
19245 This makes the month and day names agree exactly with CLDR now,
19246 CLDR does not use the single code points for the digraphs either.
19247
19248 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
19249
19250 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
19251
19252 2017-12-04 Joseph Myers <joseph@codesourcery.com>
19253
19254 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
19255 of floor.
19256
19257 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
19258
19259 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
19260 Define only for libc.so.
19261
19262 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
19263
19264 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19265 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
19266 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
19267 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
19268 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19269
19270 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19271
19272 [BZ #5997]
19273 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
19274
19275 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
19276
19277 [BZ libc/19170]
19278 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
19279 PREINIT_FUNCTION_WEAK is nonzero.
19280 (gmon_initializer): New function. Put procedure label for it in
19281 .init_array section.
19282 (_init): Don't call PREINIT_FUNCTION.
19283 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
19284 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
19285 value when map argument is null.
19286
19287 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
19288 depi instruction from PIC pc-relative sequence.
19289 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
19290 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
19291 (elf_machine_load_address): Likewise.
19292 (elf_machine_runtime_setup): Likewise.
19293
19294 2017-12-02 Joseph Myers <joseph@codesourcery.com>
19295
19296 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
19297 <libm-alias-double.h>.
19298 (logb): Define using libm_alias_double.
19299 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19300 <libm-alias-double.h>.
19301 (copysign): Define using libm_alias_double.
19302 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
19303 <libm-alias-double.h>.
19304 (llrint): Define using libm_alias_double.
19305 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
19306 <libm-alias-double.h>.
19307 (llround): Define using libm_alias_double.
19308 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19309 <libm-alias-double.h>.
19310 (lrint): Define using libm_alias_double.
19311 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19312 <libm-alias-double.h>.
19313 (lround): Define using libm_alias_double.
19314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19315 Include <libm-alias-double.h>.
19316 (copysign): Define using libm_alias_double.
19317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
19318 Include <libm-alias-double.h>.
19319 (llrint): Define using libm_alias_double.
19320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
19321 Include <libm-alias-double.h>.
19322 (llround): Define using libm_alias_double.
19323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
19324 <libm-alias-double.h>.
19325 (logb): Define using libm_alias_double.
19326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
19327 Include <libm-alias-double.h>.
19328 (lrint): Define using libm_alias_double.
19329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
19330 Include <libm-alias-double.h>.
19331 (lround): Define using libm_alias_double.
19332 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
19333 <libm-alias-double.h>.
19334 (llrint): Define using libm_alias_double.
19335 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19336 <libm-alias-double.h>.
19337 (llround): Define using libm_alias_double.
19338 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19339 <libm-alias-double.h>.
19340 (llround): Define using libm_alias_double.
19341 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19342 <libm-alias-double.h>.
19343 (lround): Define using libm_alias_double.
19344 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19345 <libm-alias-double.h>.
19346 (copysign): Define using libm_alias_double.
19347 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
19348 <libm-alias-double.h>.
19349 (llrint): Define using libm_alias_double.
19350 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19351 <libm-alias-double.h>.
19352 (llround): Define using libm_alias_double.
19353 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19354 <libm-alias-double.h>.
19355 (lrint): Define using libm_alias_double.
19356 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19357 <libm-alias-double.h>.
19358 (lround): Define using libm_alias_double.
19359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
19360 <libm-alias-double.h>.
19361 (copysign): Define using libm_alias_double.
19362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
19363 <libm-alias-double.h>.
19364 (llrint): Define using libm_alias_double.
19365 (lrint): Likewise.
19366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
19367 <libm-alias-double.h>.
19368 (llround): Define using libm_alias_double.
19369 (lround): Likewise.
19370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
19371 <libm-alias-double.h>.
19372 (logb): Define using libm_alias_double.
19373 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19374 <libm-alias-double.h>.
19375 (copysign): Define using libm_alias_double.
19376 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19377 <libm-alias-double.h>.
19378 (llrint): Define using libm_alias_double.
19379 (lrint): Likewise.
19380 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
19381 <libm-alias-double.h>.
19382 (llround): Define using libm_alias_double.
19383 (lround): Likewise.
19384 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19385 <libm-alias-double.h>.
19386 (llround): Define using libm_alias_double.
19387 (lround): Likewise.
19388 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19389 <libm-alias-double.h>.
19390 (copysign): Define using libm_alias_double.
19391 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19392 <libm-alias-double.h>.
19393 (llrint): Define using libm_alias_double.
19394 (lrint): Likewise.
19395 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19396 <libm-alias-double.h>.
19397 (llround): Define using libm_alias_double.
19398 (lround): Likewise.
19399 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19400 <libm-alias-double.h>.
19401 (llrint): Define using libm_alias_double.
19402 (lrint): Likewise.
19403 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19404 <libm-alias-double.h>.
19405 (llround): Define using libm_alias_double.
19406 (lround): Likewise.
19407
19408 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19409
19410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19411 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
19412 compat symbol based on llround.
19413
19414 * sysdeps/powerpc/power7/fpu/s_logb.c
19415 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
19416 symbol based on __logb, not on logb.
19417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
19418 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
19420 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19421
19422 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
19423 (rint): Define using libm_alias_double.
19424 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
19425 <libm-alias-double.h>.
19426 (modf): Define using libm_alias_double.
19427 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
19428 <libm-alias-double.h>.
19429 (ceil): Define using libm_alias_double.
19430 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
19431 <libm-alias-double.h>.
19432 (floor): Define using libm_alias_double.
19433 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
19434 <libm-alias-double.h>.
19435 (nearbyint): Define using libm_alias_double.
19436 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
19437 <libm-alias-double.h>.
19438 (rint): Define using libm_alias_double.
19439 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
19440 <libm-alias-double.h>.
19441 (round): Define using libm_alias_double.
19442 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
19443 <libm-alias-double.h>.
19444 (trunc): Define using libm_alias_double.
19445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
19446 <libm-alias-double.h>.
19447 (ceil): Define using libm_alias_double.
19448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
19449 Include <libm-alias-double.h>.
19450 (floor): Define using libm_alias_double.
19451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
19452 <libm-alias-double.h>.
19453 (modf): Define using libm_alias_double.
19454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
19455 Include <libm-alias-double.h>.
19456 (round): Define using libm_alias_double.
19457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
19458 Include <libm-alias-double.h>.
19459 (trunc): Define using libm_alias_double.
19460 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
19461 <libm-alias-double.h>.
19462 (ceil): Define using libm_alias_double.
19463 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
19464 <libm-alias-double.h>.
19465 (floor): Define using libm_alias_double.
19466 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
19467 <libm-alias-double.h>.
19468 (round): Define using libm_alias_double.
19469 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
19470 <libm-alias-double.h>.
19471 (trunc): Define using libm_alias_double.
19472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
19473 <libm-alias-double.h>.
19474 (ceil): Define using libm_alias_double.
19475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
19476 <libm-alias-double.h>.
19477 (floor): Define using libm_alias_double.
19478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
19479 <libm-alias-double.h>.
19480 (modf): Define using libm_alias_double.
19481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
19482 <libm-alias-double.h>.
19483 (round): Define using libm_alias_double.
19484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
19485 <libm-alias-double.h>.
19486 (trunc): Define using libm_alias_double.
19487 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
19488 <libm-alias-double.h>.
19489 (ceil): Define using libm_alias_double.
19490 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
19491 <libm-alias-double.h>.
19492 (floor): Define using libm_alias_double.
19493 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
19494 <libm-alias-double.h>.
19495 (nearbyint): Define using libm_alias_double.
19496 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
19497 <libm-alias-double.h>.
19498 (rint): Define using libm_alias_double.
19499 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
19500 <libm-alias-double.h>.
19501 (round): Define using libm_alias_double.
19502 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
19503 <libm-alias-double.h>.
19504 (trunc): Define using libm_alias_double.
19505 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
19506 <libm-alias-double.h>.
19507 (ceil): Define using libm_alias_double.
19508 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
19509 <libm-alias-double.h>.
19510 (floor): Define using libm_alias_double.
19511 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
19512 <libm-alias-double.h>.
19513 (round): Define using libm_alias_double.
19514 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
19515 <libm-alias-double.h>.
19516 (trunc): Define using libm_alias_double.
19517
19518 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
19519 (fabs): Define using libm_alias_double.
19520 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
19521 (fma): Define using libm_alias_double.
19522 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
19523 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
19524 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
19525 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
19526
19527 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19528
19529 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
19530
19531 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
19532 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
19533 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
19534
19535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
19536 due redirect macro.
19537
19538 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
19539
19540 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
19541
19542 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19543
19544 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
19545 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
19546 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
19547 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
19548
19549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19550 (libm-sysdep_routines): Add s_nearbyintf-generic and
19551 s_nearbyint-generic.
19552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
19553 New file.
19554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
19555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
19556 Likewise.
19557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
19558 Likewise.
19559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
19560 file.
19561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19562 Likewise.
19563
19564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19565 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
19566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
19567 file.
19568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
19569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
19570 Likewise.
19571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
19572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
19573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19574
19575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19576 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
19577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
19578 file.
19579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
19580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
19581 Likewise.
19582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
19583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
19584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
19585
19586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19587 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
19588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
19589 file.
19590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
19591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
19592 Likewise.
19593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
19594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
19595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19596
19597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19598 (sysdep_calls): New rule.
19599 (sysdep_routines): Use sysdep_calls as base.
19600 (libm-sysdep_routines): Add generic rule for symbols shared with
19601 libc. Add s_copysign-generic and s_copysign-generic objects.
19602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
19603 New file.
19604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
19605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
19606 Likewise.
19607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
19608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
19609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
19610
19611 2017-12-01 Mike FABIAN <mfabian@redhat.com>
19612
19613 [BZ #22519]
19614 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
19615 the list of locales to be built for testing.
19616 * localedata/is_IS.UTF-8.in: New file.
19617 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
19618 on iso14651_t1.
19619
19620 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19621
19622 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
19623 <libm-alias-float.h>.
19624 (fabsf): Define using libm_alias_float.
19625
19626 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19627
19628 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
19629
19630 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19631
19632 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
19633 <libm-alias-float.h>.
19634 (fabsf): Define using libm_alias_float.
19635 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
19636 <libm-alias-float.h>.
19637 (lrintf): Define using libm_alias_float.
19638 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
19639 <libm-alias-float.h>.
19640 (rintf): Define using libm_alias_float.
19641
19642 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
19643 <libm-alias-double.h>.
19644 (fabs): Define using libm_alias_double.
19645 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
19646 <libm-alias-double.h>.
19647 (lrint): Define using libm_alias_double.
19648 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
19649 <libm-alias-double.h>.
19650 (rint): Define using libm_alias_double.
19651
19652 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
19653 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
19654 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
19655 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
19656 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
19657 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
19658 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
19659 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
19660 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
19661 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
19662 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
19663 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
19664 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
19665 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
19666 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
19667 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
19668 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
19669 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
19670 s_atan_template.c.
19671 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
19672 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
19673 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
19674 s_ceil_template.c.
19675 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
19676 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
19677 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
19678 s_cos_template.c.
19679 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
19680 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
19681 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
19682 s_expm1_template.c.
19683 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
19684 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
19685 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
19686 s_fabs_template.c.
19687 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
19688 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
19689 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
19690 s_floor_template.c.
19691 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
19692 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
19693 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
19694 s_frexp_template.c.
19695 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
19696 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
19697 s_lrint_template.c.
19698 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
19699 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
19700 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
19701 s_modf_template.c.
19702 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
19703 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
19704 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
19705 s_nearbyint_template.c.
19706 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
19707 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
19708 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
19709 s_remquo_template.c.
19710 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
19711 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
19712 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
19713 s_rint_template.c.
19714 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
19715 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
19716 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
19717 s_sin_template.c.
19718 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
19719 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
19720 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
19721 s_sincos_template.c.
19722 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
19723 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
19724 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
19725 s_tan_template.c.
19726 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
19727 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
19728 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
19729 s_tanh_template.c.
19730 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
19731 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
19732 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
19733 s_trunc_template.c.
19734 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
19735 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
19736 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
19737 s_atan.c instead of including s_atan.c.
19738 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
19739 s_atanf.c instead of including s_atanf.c.
19740 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
19741 s_atanl.c instead of including s_atanl.c.
19742 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
19743 instead of s_atan.c.
19744 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
19745 instead of s_atanf.c.
19746 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
19747 instead of s_atanl.c.
19748
19749 * scripts/update-copyrights: Do not handle intl/plural.c
19750 specially.
19751
19752 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
19753
19754 [BZ #22432]
19755 * configure.ac (BISON): Require to be present.
19756 * configure: Regenerated.
19757 * intl/Makefile (generated): Add plural.c.
19758 [$(BISON) != no]: Make code unconditional.
19759 (plural.c): Change rule to $(objpfx)plural.c.
19760 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
19761 * intl/plural.c: Remove.
19762 * manual/install.texi (Tools for Compilation): Document bison as
19763 required.
19764 * INSTALL: Regenerated.
19765
19766 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19767
19768 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
19769 <libm-alias-double.h>.
19770 (llrint): Define using libm_alias_double.
19771 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
19772 <libm-alias-float.h>.
19773 (llrintf): Define using libm_alias_float.
19774 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
19775 <libm-alias-ldouble.h>.
19776 (llrintl): Define using libm_alias_ldouble.
19777
19778 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
19779 declare_mgen_alias instead of weak_alias.
19780 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
19781 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
19782 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
19783
19784 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19785
19786 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19787 Add add_n-generic.
19788 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
19789 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
19790 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
19791
19792 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19793 Add submul_1-generic.
19794 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
19795 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
19796 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
19797
19798 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19799 Add addmul_1-generic.
19800 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
19801 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
19802 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
19803
19804 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19805 Add sub_n-generic.
19806 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
19807 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
19808 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
19809
19810 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19811 Add mul_1-generic.
19812 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
19813 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
19814 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
19815
19816 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19817
19818 According to CLDR, collation rules for Serbian and Bosnian
19819 should be the same as for Croatian.
19820
19821 [BZ #22534]
19822 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
19823 and to the list of locales to be built for testing.
19824 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19825 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19826 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
19827 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
19828
19829 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19830
19831 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
19832 to make test case pass.
19833 * localedata/hr_HR.UTF-8.in: Add more test strings.
19834
19835 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19836
19837 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
19838
19839 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19840
19841 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
19842 the list of locales to built for testing.
19843 * localedata/hr_HR.UTF-8.in: New file.
19844
19845 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19846
19847 [BZ #10580]
19848 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
19849 iso14651_t1.
19850 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
19851 CLDR (except use ligatures for the digraphs, CLDR does not use
19852 the ligatures), add first_workday, some fixes in the date and time
19853 formats.
19854 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
19855 for Đ and đ.
19856 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
19857 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
19858 Add int_p_cs_precedes and int_n_cs_precedes.
19859 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
19860 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
19861 LC_MONETARY now).
19862 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
19863 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
19864 name_miss.
19865 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
19866 and lang_lib. Change postal_fmt.
19867
19868 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19869
19870 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
19871 <setjmp.h>.
19872 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19873 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
19874 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19875 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
19876 * sysdeps/generic/setjmpP.h: New file.
19877 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
19878 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
19879 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
19880 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
19881 Add jmp_buf-ssp.sym.
19882 (tests): Add tst-saved_mask-1.
19883
19884 2017-11-30 Arjun Shankar <arjun@redhat.com>
19885
19886 [BZ #22375]
19887 CVE-2017-17426
19888 * malloc/malloc.c (__libc_malloc): Use checked_request2size
19889 instead of request2size.
19890
19891 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19892
19893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
19894 (__lllrint): Remove alias.
19895 (lllrint): Likewise.
19896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
19897 (__lllrintf): Likewise.
19898 (lllrintf): Likewise.
19899
19900 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
19901 <libm-alias-float.h>.
19902 (copysignf): Define using libm_alias_float.
19903 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
19904 <libm-alias-float.h>.
19905 (fabsf): Define using libm_alias_float.
19906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19907 Include <libm-alias-float.h>.
19908 (copysignf): Define using libm_alias_float.
19909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
19910 <libm-alias-float.h>.
19911 (fabsf): Define using libm_alias_float.
19912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
19913 <libm-alias-float.h>.
19914 (fdimf): Define using libm_alias_float.
19915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
19916 <libm-alias-float.h>.
19917 (fmaf): Define using libm_alias_float.
19918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
19919 <libm-alias-float.h>.
19920 (llrintf): Define using libm_alias_float.
19921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19922 Include <libm-alias-float.h>.
19923 (nearbyintf): Define using libm_alias_float.
19924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
19925 <libm-alias-float.h>.
19926 (rintf): Define using libm_alias_float.
19927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
19928 <libm-alias-float.h>.
19929 (llrintf): Define using libm_alias_float.
19930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
19931 <libm-alias-float.h>.
19932 (lrintf): Define using libm_alias_float.
19933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
19934 <libm-alias-float.h>.
19935 (nearbyintf): Define using libm_alias_float.
19936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
19937 <libm-alias-float.h>.
19938 (rintf): Define using libm_alias_float.
19939 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
19940 <libm-alias-float.h>.
19941 (ceilf): Define using libm_alias_float.
19942 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
19943 <libm-alias-float.h>.
19944 (floorf): Define using libm_alias_float.
19945 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
19946 <libm-alias-float.h>.
19947 (fmaf): Define using libm_alias_float.
19948 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
19949 <libm-alias-float.h>.
19950 (lrintf): Define using libm_alias_float.
19951 (llrintf): Likewise.
19952 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
19953 <libm-alias-float.h>.
19954 (nearbyintf): Define using libm_alias_float.
19955 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
19956 <libm-alias-float.h>.
19957 (rintf): Define using libm_alias_float.
19958 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
19959 <libm-alias-float.h>.
19960 (truncf): Define using libm_alias_float.
19961 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
19962 <libm-alias-float.h>.
19963 (copysignf): Define using libm_alias_float.
19964 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
19965 <libm-alias-float.h>.
19966 (fabsf): Define using libm_alias_float.
19967 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
19968 <libm-alias-float.h>.
19969 (lrintf): Define using libm_alias_float.
19970 (llrintf): Likewise.
19971 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
19972 <libm-alias-float.h>.
19973 (nearbyintf): Define using libm_alias_float.
19974 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
19975 <libm-alias-float.h>.
19976 (rintf): Define using libm_alias_float.
19977
19978 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19979
19980 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
19981 <libm-alias-double.h>.
19982 (copysign): Define using libm_alias_double.
19983 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
19984 <libm-alias-double.h>.
19985 (fabs): Define using libm_alias_double.
19986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19987 Include <libm-alias-double.h>.
19988 (copysign): Define using libm_alias_double.
19989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
19990 <libm-alias-double.h>.
19991 (fabs): Define using libm_alias_double.
19992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
19993 <libm-alias-double.h>.
19994 (fdim): Define using libm_alias_double.
19995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
19996 <libm-alias-double.h>.
19997 (fma): Define using libm_alias_double.
19998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
19999 <libm-alias-double.h>.
20000 (llrint): Define using libm_alias_double.
20001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
20002 Include <libm-alias-double.h>.
20003 (nearbyint): Define using libm_alias_double.
20004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
20005 <libm-alias-double.h>.
20006 (rint): Define using libm_alias_double.
20007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20008 <libm-alias-double.h>.
20009 (fabs): Define using libm_alias_double.
20010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
20011 <libm-alias-double.h>.
20012 (llrint): Define using libm_alias_double.
20013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
20014 <libm-alias-double.h>.
20015 (nearbyint): Define using libm_alias_double.
20016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
20017 <libm-alias-double.h>.
20018 (rint): Define using libm_alias_double.
20019 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
20020 <libm-alias-double.h>.
20021 (ceil): Define using libm_alias_double.
20022 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
20023 <libm-alias-double.h>.
20024 (floor): Define using libm_alias_double.
20025 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
20026 <libm-alias-double.h>.
20027 (fma): Define using libm_alias_double.
20028 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
20029 <libm-alias-double.h>.
20030 (lrint): Define using libm_alias_double.
20031 (llrint): Likewise.
20032 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
20033 <libm-alias-double.h>.
20034 (nearbyint): Define using libm_alias_double.
20035 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
20036 <libm-alias-double.h>.
20037 (rint): Define using libm_alias_double.
20038 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
20039 <libm-alias-double.h>.
20040 (trunc): Define using libm_alias_double.
20041 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
20042 <libm-alias-double.h>.
20043 (copysign): Define using libm_alias_double.
20044 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
20045 <libm-alias-double.h>.
20046 (fabs): Define using libm_alias_double.
20047 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
20048 <libm-alias-double.h>.
20049 (lrint): Define using libm_alias_double.
20050 (llrint): Likewise.
20051 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
20052 <libm-alias-double.h>.
20053 (nearbyint): Define using libm_alias_double.
20054 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
20055 <libm-alias-double.h>.
20056 (rint): Define using libm_alias_double.
20057
20058 [BZ #22229]
20059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20060 <math_ldbl_opt.h>.
20061 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
20062
20063 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20064 SPARC --disable-multi-arch glibc variants.
20065
20066 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
20067 <libm-alias-float.h>.
20068 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20069 if [SHARED].
20070 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
20071 <libm-alias-float.h>.
20072 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20073 if [SHARED].
20074 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
20075 <libm-alias-float.h>.
20076 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20077 if [SHARED].
20078 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
20079 <libm-alias-float.h>.
20080 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20081 if [SHARED].
20082 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
20083 <libm-alias-float.h>.
20084 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20085 if [SHARED].
20086 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
20087 <libm-alias-float.h>.
20088 (ceilf): Define using libm_alias_float.
20089 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
20090 <libm-alias-float.h>.
20091 (floorf): Define using libm_alias_float.
20092 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
20093 <libm-alias-float.h>.
20094 (fmaf): Define using libm_alias_float.
20095 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
20096 <libm-alias-float.h>.
20097 (nearbyintf): Define using libm_alias_float.
20098 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
20099 <libm-alias-float.h>.
20100 (rintf): Define using libm_alias_float.
20101 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
20102 <libm-alias-float.h>.
20103 (truncf): Define using libm_alias_float.
20104 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20105 (copysignf): Define using libm_alias_float.
20106 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
20107 (cosf): Define using libm_alias_float.
20108 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20109 (fabsf): Define using libm_alias_float.
20110 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20111 (fmaxf): Define using libm_alias_float.
20112 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
20113 (fminf): Define using libm_alias_float.
20114 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20115 (llrintf): Define using libm_alias_float.
20116 [!__ILP32__] (lrintf): Likewise.
20117 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
20118 (sincosf): Define using libm_alias_float.
20119 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
20120 (sinf): Define using libm_alias_float.
20121 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20122 (lrintf): Define using libm_alias_float.
20123
20124 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
20125 <libm-alias-double.h>.
20126 (atan): Define using libm_alias_double.
20127 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
20128 <libm-alias-double.h>.
20129 (ceil): Define using libm_alias_double.
20130 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
20131 <libm-alias-double.h>.
20132 (floor): Define using libm_alias_double.
20133 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
20134 <libm-alias-double.h>.
20135 (fma): Define using libm_alias_double.
20136 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
20137 <libm-alias-double.h>.
20138 (nearbyint): Define using libm_alias_double.
20139 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
20140 <libm-alias-double.h>.
20141 (rint): Define using libm_alias_double.
20142 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
20143 <libm-alias-double.h>.
20144 (sin): Define using libm_alias_double.
20145 (cos): Likewise.
20146 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
20147 <libm-alias-double.h>.
20148 (tan): Define using libm_alias_double.
20149 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
20150 <libm-alias-double.h>.
20151 (trunc): Define using libm_alias_double.
20152 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
20153 (copysign): Define using libm_alias_double.
20154 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
20155 (fabs): Define using libm_alias_double.
20156 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
20157 (fmax): Define using libm_alias_double.
20158 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
20159 (fmin): Define using libm_alias_double.
20160 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
20161 (llrint): Define using libm_alias_double.
20162 [!__ILP32__] (lrint): Likewise.
20163 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
20164 (lrint): Define using libm_alias_double.
20165
20166 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20167
20168 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20169 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
20170 objects.
20171 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
20172 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
20173 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
20174 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
20175 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
20176 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20177
20178 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20179 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
20180 objects.
20181 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
20182 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
20183 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
20184 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
20185 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
20186 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20187
20188 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20189 (libm-sysdep_routines): Add s_nearbyint-generic and
20190 s_nearbyintf-generic objects.
20191 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
20192 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
20193 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
20194 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
20195 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
20196 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
20197
20198 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20199 Add s_finitef-generic and s_finite-generic objects.
20200 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
20201 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
20202 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
20203 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
20204 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
20205 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
20206
20207 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20208 Add s_isinff-generic and s_isinf-generic objects.
20209 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
20210 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
20211 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
20212 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
20213 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
20214 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20215
20216 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20217 Add s_isnanf-generic and s_isnan-generic objects.
20218 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
20219 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
20220 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
20221 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
20222 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
20223 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20224
20225 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
20226 macro.
20227 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
20228 rule.
20229 (sysdep_routines): Use sysdep_calls as base.
20230 (libm-sysdep_routines): Add generic rule for symbols shared with
20231 libc. Add s_signbit-generic and s_signbitf-generic objects.
20232 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
20233 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
20234 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
20235 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
20236 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
20237 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20238
20239 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20240
20241 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
20242 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
20243 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
20244 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
20245 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
20246 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
20247 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
20248 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
20249 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
20250 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
20251 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
20252 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
20253 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
20254 libm_alias_float_r.
20255 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
20256 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
20257 (logf): Likewise.
20258 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
20259 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
20260 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
20261 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
20262 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
20263 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
20264 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
20265 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
20266 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
20267 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
20268 libm_alias_float.
20269 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
20270 (cosf): Likewise.
20271 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
20272 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
20273 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
20274 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
20275 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
20276 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
20277 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
20278 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
20279 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
20280 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
20281 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
20282 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
20283 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
20284 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
20285 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
20286 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
20287 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
20288 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
20289 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
20290 libm_alias_float.
20291 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
20292 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
20293 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
20294 * sysdeps/ia64/fpu/w_lgammaf_main.c
20295 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
20296 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
20297
20298 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20299 Alexandre Oliva <aoliva@redhat.com>
20300
20301 [BZ #17750]
20302 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
20303 * localedata/fr_CA.UTF-8.in: New file with test data for backward
20304 accents sorting.
20305 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
20306 sorting.
20307 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
20308 * localedata/locales/de_DE (LC_COLLATE): Likewise.
20309 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
20310 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
20311 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
20312 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
20313 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
20314 instead of “ifdef DIACRIT_BACKWARD”.
20315
20316 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20317
20318 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
20319 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
20320 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
20321 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
20322 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
20323 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
20324 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
20325 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
20326 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
20327 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
20328 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
20329 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
20330 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
20331 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
20332 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
20333 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20334 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
20335 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
20336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20337 ($(have-as-vis3) == yes): Remove conditional.
20338 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
20339 Likewise.
20340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
20341 file.
20342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
20343 file.
20344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
20345 file.
20346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
20347 file.
20348 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
20349 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
20350 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
20351 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
20352 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
20353 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
20354 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
20355 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
20356
20357 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20358
20359 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
20360 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
20361 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
20362 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
20363 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
20364 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
20365 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
20366 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
20367 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
20368 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
20369 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
20370 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
20371 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
20372 libm_alias_double_r.
20373 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
20374 (log): Likewise.
20375 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
20376 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
20377 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
20378 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
20379 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
20380 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
20381 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
20382 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
20383 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
20384 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
20385 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
20386 libm_alias_double.
20387 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
20388 (cos): Likewise.
20389 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
20390 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
20391 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
20392 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
20393 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
20394 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
20395 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
20396 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
20397 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
20398 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
20399 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
20400 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
20401 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
20402 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
20403 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
20404 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
20405 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
20406 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
20407 libm_alias_double.
20408 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
20409 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
20410 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
20411 * sysdeps/ia64/fpu/w_lgamma_main.c
20412 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
20413 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
20414
20415 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
20416
20417 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
20418 address of $global$ into %dp register earlier. Use pc-relative
20419 instruction sequence for PIC case.
20420
20421 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20422
20423 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
20424 (asinhf): Define using libm_alias_float.
20425 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
20426 (atanf): Define using libm_alias_float.
20427 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
20428 (cbrtf): Define using libm_alias_float.
20429 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
20430 (ceilf): Define using libm_alias_float.
20431 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20432 (copysignf): Define using libm_alias_float.
20433 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
20434 (expm1f): Define using libm_alias_float.
20435 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
20436 (fabsf): Define using libm_alias_float.
20437 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
20438 (floorf): Define using libm_alias_float.
20439 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20440 (fmaxf): Define using libm_alias_float.
20441 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
20442 (fminf): Define using libm_alias_float.
20443 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
20444 (frexpf): Define using libm_alias_float.
20445 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20446 (llrintf): Define using libm_alias_float.
20447 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
20448 (logbf): Define using libm_alias_float.
20449 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20450 (lrintf): Define using libm_alias_float.
20451 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
20452 (nearbyintf): Define using libm_alias_float.
20453 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
20454 (remquof): Define using libm_alias_float.
20455 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
20456 (rintf): Define using libm_alias_float.
20457 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
20458 (truncf): Define using libm_alias_float.
20459 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
20460 <libm-alias-float.h>.
20461 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20462 if [SHARED].
20463 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
20464 <libm-alias-float.h>.
20465 (expf): Define using libm_alias_float, or libm_alias_float_other
20466 if [SHARED].
20467 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
20468 <libm-alias-float.h>.
20469 (log2f): Define using libm_alias_float, or libm_alias_float_other
20470 if [SHARED].
20471 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
20472 <libm-alias-float.h>.
20473 (logf): Define using libm_alias_float, or libm_alias_float_other
20474 if [SHARED].
20475 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
20476 <libm-alias-float.h>.
20477 (powf): Define using libm_alias_float, or libm_alias_float_other
20478 if [SHARED].
20479 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
20480 <libm-alias-float.h>.
20481 (cosf): Define using libm_alias_float.
20482 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
20483 <libm-alias-float.h>.
20484 (sincosf): Define using libm_alias_float.
20485 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
20486 <libm-alias-float.h>.
20487 (sinf): Define using libm_alias_float.
20488 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20489 (fmaxf): Define using libm_alias_float.
20490 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
20491 (fminf): Define using libm_alias_float.
20492 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20493 <libm-alias-float.h>.
20494 (fmaf): Define using libm_alias_float.
20495
20496 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
20497 (asinh): Define using libm_alias_double.
20498 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
20499 (atan): Define using libm_alias_double.
20500 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
20501 (cbrt): Define using libm_alias_double.
20502 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
20503 (ceil): Define using libm_alias_double.
20504 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
20505 (copysign): Define using libm_alias_double.
20506 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
20507 (expm1): Define using libm_alias_double.
20508 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
20509 (fabs): Define using libm_alias_double.
20510 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
20511 (fdim): Define using libm_alias_double.
20512 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
20513 (floor): Define using libm_alias_double.
20514 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
20515 (fmax): Define using libm_alias_double.
20516 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
20517 (fmin): Define using libm_alias_double.
20518 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
20519 (frexp): Define using libm_alias_double.
20520 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
20521 (llrint): Define using libm_alias_double.
20522 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
20523 (logb): Define using libm_alias_double.
20524 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
20525 (lrint): Define using libm_alias_double.
20526 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
20527 (nearbyint): Define using libm_alias_double.
20528 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
20529 (remquo): Define using libm_alias_double.
20530 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
20531 (rint): Define using libm_alias_double.
20532 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
20533 (trunc): Define using libm_alias_double.
20534 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
20535 (fmax): Define using libm_alias_double.
20536 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
20537 (fmin): Define using libm_alias_double.
20538 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
20539 (fma): Define using libm_alias_double.
20540
20541 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
20542
20543 [BZ #22370]
20544 * elf/dl-hwcaps.c (ROUND): Removed.
20545 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
20546 and ELF_NOTE_NEXT_OFFSET.
20547 * elf/dl-load.c (ROUND): Removed.
20548 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20549 * elf/readelflib.c (ROUND): Removed.
20550 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20551 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
20552 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
20553 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
20554
20555 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20556
20557 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20558 [!__fmaf] (fmaf): Define using libm_alias_float.
20559
20560 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
20561 [!__fma] (fma): Define using libm_alias_double.
20562 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
20563
20564 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20565
20566 [BZ #22336]
20567 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
20568 and implement the collation rules for cs from CLDR on top of that.
20569 * Makefile: Add cs_CZ.UTF-8 to test-input.
20570 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
20571
20572 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
20573
20574 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
20575
20576 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20577 Icarus Sparry <icarus.w.sparry@intel.com>
20578
20579 * benchtests/Makefile:Add BENCHSET to allow subsets of
20580 benchmarks to be run.
20581 * benchtests/README: Add documentation for: Running subsets of
20582 benchmarks.
20583
20584 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20585
20586 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
20587 range of tests names.
20588
20589 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
20590 result from property and remove "max", min" and "mean" from
20591 required properties based on benchtests/bench-skeleton.c.
20592
20593 2017-11-28 Florian Weimer <fweimer@redhat.com>
20594
20595 [BZ #20826]
20596 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
20597 due to Internet requirement.
20598 * posix/Makefile (tests): Remove tst-getaddrinfo4,
20599 tst-getaddrinfo5.
20600 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
20601
20602 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20603
20604 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20605 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
20606 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20607 (sysdep_routines): Add memset-ultra1.
20608 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
20609 file.
20610 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
20611 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
20612 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
20613 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
20614 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
20615 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
20616 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
20617 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20618
20619 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
20620 file.
20621 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
20622 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
20623 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
20624 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
20625 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
20626 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
20627 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
20628 macro.
20629 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20630 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
20631 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20632 (sysdep_routines): Add memcpy-ultra1.
20633 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
20634 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
20635
20636 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20637
20638 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
20639 (cfloat_versions): Take function argument without trailing 'f'.
20640 Call libm_alias_float_other.
20641 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
20642 * sysdeps/alpha/fpu/cargf.c: Likewise.
20643 * sysdeps/alpha/fpu/cimagf.c: Likewise.
20644 * sysdeps/alpha/fpu/conjf.c: Likewise.
20645 * sysdeps/alpha/fpu/crealf.c: Likewise.
20646 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
20647 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
20648 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
20649 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
20650 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
20651 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
20652 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
20653 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
20654 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
20655 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
20656 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
20657 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
20658 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
20659 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
20660 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
20661 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
20662 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
20663 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
20664 (clog10f): Use libm_alias_float_other.
20665 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20666 (ceilf): Define using libm_alias_float.
20667 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
20668 (copysignf): Define using libm_alias_float.
20669 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20670 (fabsf): Define using libm_alias_float.
20671 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
20672 (floorf): Define using libm_alias_float.
20673 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
20674 (fmaxf): Define using libm_alias_float.
20675 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
20676 (fminf): Define using libm_alias_float.
20677 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20678 (lrintf): Define using libm_alias_float.
20679 (llrintf): Likewise.
20680 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20681 (lroundf): Define using libm_alias_float.
20682 (llroundf): Likewise.
20683 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
20684 (rintf): Define using libm_alias_float.
20685 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
20686 (truncf): Define using libm_alias_float.
20687
20688 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20689 (ceilf): Define using libm_alias_float.
20690 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
20691 (floorf): Define using libm_alias_float.
20692 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20693 (fmaf): Define using libm_alias_float.
20694 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
20695 (fmaxf): Define using libm_alias_float.
20696 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
20697 (fminf): Define using libm_alias_float.
20698 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
20699 (llrintf): Define using libm_alias_float.
20700 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
20701 (llroundf): Define using libm_alias_float.
20702 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20703 (lrintf): Define using libm_alias_float.
20704 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20705 (lroundf): Define using libm_alias_float.
20706 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
20707 <libm-alias-float.h>.
20708 (nearbyintf): Define using libm_alias_float.
20709 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
20710 (rintf): Define using libm_alias_float.
20711 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
20712 (roundf): Define using libm_alias_float.
20713 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
20714 (truncf): Define using libm_alias_float.
20715
20716 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
20717 (ceil): Define using libm_alias_double.
20718 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
20719 (copysign): Define using libm_alias_double.
20720 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
20721 (fabs): Define using libm_alias_double.
20722 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
20723 (floor): Define using libm_alias_double.
20724 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
20725 (fmax): Define using libm_alias_double.
20726 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
20727 (fmin): Define using libm_alias_double.
20728 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
20729 (lrint): Define using libm_alias_double.
20730 (llrint): Likewise.
20731 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
20732 (lround): Define using libm_alias_double.
20733 (llround): Likewise.
20734 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
20735 (rint): Define using libm_alias_double.
20736 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
20737 (trunc): Define using libm_alias_double.
20738
20739 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
20740 (libm_alias_double_r): Add semicolon after weak_alias call.
20741
20742 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20743
20744 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
20745 (ceil): Define using libm_alias_double.
20746 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
20747 (floor): Define using libm_alias_double.
20748 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
20749 (fma): Define using libm_alias_double.
20750 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
20751 (fmax): Define using libm_alias_double.
20752 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
20753 (fmin): Define using libm_alias_double.
20754 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
20755 (llrint): Define using libm_alias_double.
20756 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
20757 (llround): Define using libm_alias_double.
20758 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
20759 (lrint): Define using libm_alias_double.
20760 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
20761 (lround): Define using libm_alias_double.
20762 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
20763 (nearbyint): Define using libm_alias_double.
20764 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
20765 (rint): Define using libm_alias_double.
20766 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
20767 (round): Define using libm_alias_double.
20768 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
20769 (trunc): Define using libm_alias_double.
20770
20771 2017-11-27 Florian Weimer <fweimer@redhat.com>
20772
20773 * sysdeps/unix/sysv/linux/mlock2.c: New file.
20774 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
20775 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
20776 (tests): Add tst-mlock2.
20777 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
20778 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
20779 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
20780 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
20781 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
20782 for mlock. Document mlock2.
20783
20784 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20785
20786 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
20787 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
20788 Likewise.
20789 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
20790 Likewise.
20791 * sysdeps/x86/Makeconfig: New file.
20792 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
20793 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20794 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
20795 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20796 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20797 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20798 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
20799 Likewise.
20800 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20801 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20802 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20803 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20804 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20805 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20806 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20807 * manual/math.texi (Mathematics): Document support for _Float64x.
20808 * math/Versions (GLIBC_2.27): Add _Float64x functions.
20809 * stdlib/Versions (GLIBC_2.27): Likewise.
20810 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20811 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20812 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20813 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20814 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20815 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20816 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20817 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20818 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20819 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20820 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20821 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20823 Likewise.
20824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20825 Likewise.
20826 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20827 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20828 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20829 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20830 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20831 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20832 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20833 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20834 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20835 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20836 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20837 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20838 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20839 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20840
20841 2017-11-27 Andreas Schwab <schwab@suse.de>
20842
20843 * elf/Makefile (dl-routines): Add dl-sort-maps.
20844 * elf/dl-sort-maps.c: New file.
20845 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
20846 (_dl_sort_maps): Declare.
20847 * elf/dl-fini.c (_dl_sort_fini): Remove.
20848 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
20849 * elf/dl-close.c (_dl_close_worker): Likewise.
20850 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
20851 open-coding it.
20852 * elf/dl-open.c (dl_open_worker): Likewise.
20853
20854 2017-11-24 Joseph Myers <joseph@codesourcery.com>
20855
20856 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
20857 using libm_alias_float128.
20858 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
20859 Likewise.
20860 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
20861 Likewise.
20862 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
20863 (setpayloadsigf128): Likewise.
20864 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
20865 Likewise.
20866 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
20867 Likewise.
20868
20869 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
20870 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
20871 -mfloat128 to CFLAGS.
20872 ($(foreach
20873 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
20874 Likewise.
20875 (CFLAGS-libm-test-support-float64x.c): New variable.
20876 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
20877 $(f128-loader-link) to gnulib-tests.
20878
20879 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
20880 (libm_alias_float128_other_r): If
20881 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
20882 alias.
20883 (libm_alias_float128_r): Add semicolon after weak_alias call.
20884 * sysdeps/generic/libm-alias-ldouble.h
20885 (libm_alias_ldouble_other_r_f128): New macro.
20886 (libm_alias_ldouble_other_r_f64x): Likewise.
20887 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20888 and libm_alias_ldouble_other_r_f64x.
20889 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
20890 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
20891 (libm_alias_ldouble_other_r_f128): New macro.
20892 (libm_alias_ldouble_other_r_f64x): Likewise.
20893 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20894 and libm_alias_ldouble_other_r_f64x.
20895
20896 * stdlib/strfroml.c: Always include <stdlib.h>.
20897 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
20898 undefine as macro and define as weak alias.
20899 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
20900 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
20901 <stdlib.h>.
20902 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
20903 Define and later undefine as macro and define as weak alias.
20904
20905 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20906 Define and later undefine as macro. Define as weak alias if
20907 [!USE_WIDE_CHAR].
20908 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
20909 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20910 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
20911 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20912 Define and later undefine as macro. Define as weak alias if
20913 [!USE_WIDE_CHAR].
20914 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
20915 Define and later undefine as macro. Define as weak alias if
20916 [USE_WIDE_CHAR].
20917 * sysdeps/ieee754/float128/strtof128_l.c
20918 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
20919 Define and later undefine as macro. Define as weak alias if
20920 [!USE_WIDE_CHAR].
20921 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
20922 Define and later undefine as macro. Define as weak alias if
20923 [USE_WIDE_CHAR].
20924 * sysdeps/ieee754/ldbl-128/strtold_l.c
20925 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20926 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20927 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20928 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20929 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
20930 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20931 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20932 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20933 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20934 * sysdeps/ieee754/ldbl-96/strtold_l.c
20935 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20936 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20937 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20938 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20939
20940 * math/test-float64x.h: New file.
20941 * math/Makefile (type-float64x-yes): New variable.
20942 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
20943
20944 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
20945 function-like macro.
20946 (min_of_type_): Likewise.
20947 (min_of_type_l): Likewise.
20948 (min_of_type_f128): Likewise.
20949 (min_of_type): Pass () as last argument of __MATH_TG.
20950
20951 * stdlib/tst-strtod-round-skeleton.c
20952 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
20953 headers.
20954
20955 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
20956 for combinations of long double with _Float64 and _Float64x.
20957
20958 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
20959 (__DECL_SIMD_cosf32): Likewise.
20960 (__DECL_SIMD_cosf64): Likewise.
20961 (__DECL_SIMD_cosf32x): Likewise.
20962 (__DECL_SIMD_cosf64x): Likewise.
20963 (__DECL_SIMD_cosf128x): Likewise.
20964 (__DECL_SIMD_sinf16): Likewise.
20965 (__DECL_SIMD_sinf32): Likewise.
20966 (__DECL_SIMD_sinf64): Likewise.
20967 (__DECL_SIMD_sinf32x): Likewise.
20968 (__DECL_SIMD_sinf64x): Likewise.
20969 (__DECL_SIMD_sinf128x): Likewise.
20970 (__DECL_SIMD_sincosf16): Likewise.
20971 (__DECL_SIMD_sincosf32): Likewise.
20972 (__DECL_SIMD_sincosf64): Likewise.
20973 (__DECL_SIMD_sincosf32x): Likewise.
20974 (__DECL_SIMD_sincosf64x): Likewise.
20975 (__DECL_SIMD_sincosf128x): Likewise.
20976 (__DECL_SIMD_logf16): Likewise.
20977 (__DECL_SIMD_logf32): Likewise.
20978 (__DECL_SIMD_logf64): Likewise.
20979 (__DECL_SIMD_logf32x): Likewise.
20980 (__DECL_SIMD_logf64x): Likewise.
20981 (__DECL_SIMD_logf128x): Likewise.
20982 (__DECL_SIMD_expf16): Likewise.
20983 (__DECL_SIMD_expf32): Likewise.
20984 (__DECL_SIMD_expf64): Likewise.
20985 (__DECL_SIMD_expf32x): Likewise.
20986 (__DECL_SIMD_expf64x): Likewise.
20987 (__DECL_SIMD_expf128x): Likewise.
20988 (__DECL_SIMD_powf16): Likewise.
20989 (__DECL_SIMD_powf32): Likewise.
20990 (__DECL_SIMD_powf64): Likewise.
20991 (__DECL_SIMD_powf32x): Likewise.
20992 (__DECL_SIMD_powf64x): Likewise.
20993 (__DECL_SIMD_powf128x): Likewise.
20994
20995 * stdlib/Versions (libc): Move entries for wcstof128 and
20996 wcstof128_l to ....
20997 * wcsmbs/Versions (libc): ... here.
20998 Include <float128-abi.h>.
20999
21000 2017-11-24 Florian Weimer <fweimer@redhat.com>
21001
21002 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21003 bits/mman-shared.h.
21004 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
21005 <bits/mman-shared.h>.
21006 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
21007 to ...
21008 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
21009 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
21010 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
21011 <bits/mman-shared.h>.
21012
21013 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21014
21015 [BZ #22457]
21016 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
21017 posix_memalign/free.
21018 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
21019
21020 2017-11-22 Mike FABIAN <mfabian@redhat.com>
21021
21022 [BZ #22469]
21023 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
21024 and implement the collation rules for pl from CLDR on top of that.
21025 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
21026 of locales to be built for testing.
21027 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
21028
21029 2017-11-23 Joseph Myers <joseph@codesourcery.com>
21030
21031 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
21032 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
21033 libm_alias_ldouble_other.
21034 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
21035 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
21036 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
21037 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
21038 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
21039 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
21040 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
21041 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
21042 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
21043 libm_alias_ldouble_r.
21044 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
21045 libm_alias_ldouble_other.
21046 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
21047 (log10l): Likewise.
21048 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
21049 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
21050 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
21051 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
21052 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
21053 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
21054 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
21055 (atan2l): Likewise.
21056 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
21057 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
21058 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
21059 libm_alias_ldouble.
21060 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
21061 (cosl): Likewise.
21062 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
21063 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
21064 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
21065 (expl): Likewise.
21066 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
21067 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
21068 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
21069 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
21070 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
21071 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
21072 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
21073 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
21074 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
21075 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
21076 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
21077 libm_alias_ldouble.
21078 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
21079 libm_alias_ldouble_other.
21080 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
21081 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
21082 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
21083 libm_alias_ldouble.
21084 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
21085 libm_alias_ldouble_other.
21086 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
21087 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
21088 * sysdeps/ia64/fpu/w_lgammal_main.c
21089 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
21090 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
21091
21092 2017-11-23 Florian Weimer <fweimer@redhat.com>
21093
21094 * malloc/malloc.c (tcache_thread_shutdown): Rename from
21095 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
21096 alike. Remove freeres marker.
21097 * malloc/arena.c (arena_thread_freeres): Call
21098 tcache_thread_shutdown.
21099
21100 2017-11-23 Florian Weimer <fweimer@redhat.com>
21101
21102 [BZ #22459]
21103 Export nscd hash function as __nss_hash.
21104 * include/nss.h (__nss_hash): Declare.
21105 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
21106 symbol.
21107 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
21108 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
21109 of __nscd_hash.
21110 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
21111 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
21112 * nss/Makefiles (routines): Add nss_hash.
21113 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
21114 * nss/nss_hash.c: Rename from nis/nis_hash.c.
21115 (__nss_hash): Rename from __nis_hash. Define hidden alias.
21116 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
21117
21118 2017-11-23 Florian Weimer <fweimer@redhat.com>
21119
21120 [BZ #22478]
21121 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
21122 Return error code, not -1.
21123 * signal/tst-sigwait-eintr.c: New file.
21124 * signal/Makefile (tests): Add tst-sigwait-eintr.
21125
21126 2017-11-23 Florian Weimer <fweimer@redhat.com>
21127
21128 Linux: Add memfd_create system call wrapper
21129 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
21130 tst-memfd_create.
21131 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
21132 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
21133 [__USE_GNU] (memfd_create): Declare.
21134 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
21135 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
21136 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
21137 * sysdeps/unix/sysv/linux/**.abilist: Update.
21138 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
21139
21140 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21141
21142 * localedata/gen-locale.sh: Fix typo in variable name.
21143
21144 * resolv/res_debug.c (p_secstodate): Condition definition on
21145 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
21146 directly as __p_secstodate, and as a compat symbol. Do not use
21147 libresolv_hidden_def.
21148 * resolv/resolv.h (p_secstodate): Remove macro and function
21149 declaration.
21150 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
21151 using p_secstodate.
21152 * include/resolv.h (__p_secstodate): Do not use
21153 libresolv_hidden_proto.
21154 * resolv/Makefile (tests): Move tst-p_secstodate to ....
21155 (tests-internal): ... here.
21156 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
21157 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
21158 and declare and use __p_secstodate and use compat_symbol_reference
21159 in that case.
21160 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
21161 implementation returning 77.
21162
21163 [BZ #22463]
21164 * resolv/res_debug.c: Include <libc-diag.h>.
21165 (p_secstodate): Assert time_t at least as wide as u_long. On
21166 overflow, use integer seconds since the epoch as output, or use
21167 "<overflow>" as output and set errno to EOVERFLOW if integer
21168 seconds since the epoch would be 14 or more characters.
21169 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
21170 for sprintf call.
21171 * resolv/tst-p_secstodate.c: New file.
21172 * resolv/Makefile (tests): Add tst-p_secstodate.
21173 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
21174
21175 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
21176 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
21177 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
21178
21179 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
21180
21181 * posix/regcomp.c (init_word_char): Add comments.
21182
21183 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21184
21185 [BZ #22447]
21186 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
21187 strlen to compute length of ut_user and set trailing NUL byte of
21188 result explicitly.
21189
21190 2017-11-21 Mike FABIAN <mfabian@redhat.com>
21191
21192 [BZ #15537]
21193 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
21194 using “copy "iso14651_t1"” and then implementing the
21195 collation rules for lv from CLDR on top of that.
21196 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
21197 of locales to be built for testing.
21198 * lv_LV.UTF-8.in: New file with test data to test the Latvian
21199 sorting.
21200
21201 2017-11-21 Joseph Myers <joseph@codesourcery.com>
21202
21203 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21204 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
21205 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
21206 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
21207 [__USE_MISC] (MADV_HWPOISON): New macro.
21208 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
21209
21210 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21211
21212 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
21213 -Wmissing-braces on GCC 4.9.
21214
21215 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21216
21217 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
21218 * sysdeps/s390/s390-32/start.S (_start): Likewise
21219 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
21220 (thread_start): Likewise.
21221 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
21222 (thread_start): Likewise.
21223 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
21224 (__makecontext_ret): Likewise.
21225 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
21226 (__makecontext_ret): Likewise.
21227
21228 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21229
21230 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
21231 __wcschrnul): Remove attribute_hidden.
21232
21233 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
21234
21235 regex: don't assume uint64_t or uint32_t
21236 This avoids -Werror=overflow errors for 32-bit systems in
21237 the 64-bit case. Problem reported by Joseph Myers in:
21238 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
21239 Also, when this code is used in Gnulib it ports to platforms
21240 that lack uint64_t and uint32_t. The C standard doesn't guarantee
21241 them, and on some 32-bit compilers there is no uint64_t.
21242 Problem reported by Gianluigi Tiesi in:
21243 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
21244 * posix/regcomp.c (init_word_char): Don't assume that the types
21245 uint64_t and uint32_t exist. Adapted from Gnulib patch
21246 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
21247 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
21248
21249 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
21250
21251 * sysdeps/aarch64/memset-reg.h: New file.
21252 * sysdeps/aarch64/memset.S: Use it.
21253 (__memset): Rename to MEMSET macro.
21254 [ZVA_MACRO]: Use zva_macro.
21255 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21256 Add memset_generic and memset_falkor.
21257 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
21258 (__libc_ifunc_impl_list): Add memset ifuncs.
21259 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
21260 local variable zva_size.
21261 * sysdeps/aarch64/multiarch/memset.c: New file.
21262 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
21263 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
21264 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
21265 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
21266 (DCZID_DZP_MASK): New macro.
21267 (DCZID_BS_MASK): Likewise.
21268 (init_cpu_features): Read and set zva_size.
21269 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
21270 (struct cpu_features): New member zva_size.
21271
21272 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
21273 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
21274 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
21275
21276 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
21277 backwards. Fix timing computation.
21278 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
21279 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
21280 on memset by N at a time. Fix timing computation.
21281
21282 2017-11-20 Florian Weimer <fweimer@redhat.com>
21283
21284 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
21285 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
21286
21287 2017-11-19 Florian Weimer <fweimer@redhat.com>
21288
21289 manual: Document mprotect
21290 * manual/memory.texi (Memory Protection): New section.
21291 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
21292 documentation of PROT_* flags and reference the Memory Protection
21293 section instead.
21294
21295 2017-11-19 Florian Weimer <fweimer@redhat.com>
21296
21297 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
21298 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
21299 (Scatter-Gather): ... to here. Remove misleading comment.
21300
21301 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
21302
21303 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
21304 style.
21305
21306 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
21307 when /proc/<pid>/setgroups does not exist.
21308
21309 2017-11-18 Florian Weimer <fweimer@redhat.com>
21310
21311 * sysdeps/unix/sysv/linux/tst-ttyname.c
21312 (become_root_in_mount_ns): Remove.
21313 (do_in_chroot_1): Call support_enter_mount_namespace.
21314 (do_in_chroot_2): Likewise.
21315 (do_test): Call support_become_root early.
21316
21317 2017-11-18 Florian Weimer <fweimer@redhat.com>
21318
21319 * support/namespace.h (support_enter_mount_namespace): Declare.
21320 * support/support_enter_mount_namespace.c: New file.
21321 * support/Makefile (libsupport-routines): Add
21322 support_enter_mount_namespace.
21323
21324 2017-11-18 Florian Weimer <fweimer@redhat.com>
21325
21326 * support/temp_file.c (support_create_temp_directory): Use
21327 test_dir and do not rely on the presence of the XXXXXX suffix.
21328 * support/temp_file.h (support_create_temp_directory): Update
21329 comment.
21330 * support/tst-xreadlink.c (do_test): Adjust.
21331 * support/support_chroot.c (support_chroot_create): Likewise.
21332
21333 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21334
21335 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
21336 macro.
21337 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
21338 htm-no-suspend.
21339
21340 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21341
21342 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21343 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21344 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21345 (ceill): Define using libm_alias_ldouble.
21346 * sysdeps/x86_64/fpu/s_copysignl.S: Include
21347 <libm-alias-ldouble.h>.
21348 (copysignl): Define using libm_alias_ldouble.
21349 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21350 (fabsl): Define using libm_alias_ldouble.
21351 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21352 (floorl): Define using libm_alias_ldouble.
21353 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21354 (fmaxl): Define using libm_alias_ldouble.
21355 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21356 (fminl): Define using libm_alias_ldouble.
21357 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21358 (llrintl): Define using libm_alias_ldouble.
21359 (lrintl): Likewise.
21360 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
21361 <libm-alias-ldouble.h>.
21362 (nearbyintl): Define using libm_alias_ldouble.
21363 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21364 (truncl): Define using libm_alias_ldouble.
21365 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
21366 <libm-alias-ldouble.h>.
21367 (lrintl): Define using libm_alias_ldouble.
21368
21369 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21370 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21371 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
21372 (asinhl): Define using libm_alias_ldouble.
21373 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
21374 (atanl): Define using libm_alias_ldouble.
21375 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
21376 (cbrtl): Define using libm_alias_ldouble.
21377 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21378 (ceill): Define using libm_alias_ldouble.
21379 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
21380 (copysignl): Define using libm_alias_ldouble.
21381 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21382 (fabsl): Define using libm_alias_ldouble.
21383 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21384 (floorl): Define using libm_alias_ldouble.
21385 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21386 (fmaxl): Define using libm_alias_ldouble.
21387 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21388 (fminl): Define using libm_alias_ldouble.
21389 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
21390 (frexpl): Define using libm_alias_ldouble.
21391 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21392 (llrintl): Define using libm_alias_ldouble.
21393 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
21394 (logbl): Define using libm_alias_ldouble.
21395 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
21396 (lrintl): Define using libm_alias_ldouble.
21397 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
21398 (nearbyintl): Define using libm_alias_ldouble.
21399 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
21400 (nextafterl): Define using libm_alias_ldouble.
21401 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
21402 (remquol): Define using libm_alias_ldouble.
21403 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
21404 (rintl): Define using libm_alias_ldouble.
21405 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21406 (truncl): Define using libm_alias_ldouble.
21407 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21408 (fmaxl): Define using libm_alias_ldouble.
21409 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21410 (fminl): Define using libm_alias_ldouble.
21411
21412 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
21413 to C syntax instead of availability and properties of types.
21414 * bits/floatn.h [!__ASSEMBLER]: Likewise.
21415 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
21416 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
21417 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
21418 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
21419 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
21420
21421 2017-11-17 Florian Weimer <fweimer@redhat.com>
21422
21423 support_become_root: Enable file creation in namespaces.
21424 * support/support_become_root.c (setup_mapping): New function.
21425 (support_become_root): Call it.
21426
21427 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21428
21429 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
21430 macro.
21431
21432 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21433
21434 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
21435 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
21436
21437 2017-11-16 Joseph Myers <joseph@codesourcery.com>
21438
21439 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
21440
21441 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21442 version to 4.14.
21443
21444 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
21445
21446 * INSTALL: Fix botched up regeneration.
21447
21448 * NEWS: Update sourceare link to https.
21449 * configure.ac: Likewise.
21450 * crypt/md5test-giant.c: Likewise.
21451 * dlfcn/bug-atexit1.c: Likewise.
21452 * dlfcn/bug-atexit2.c: Likewise.
21453 * localedata/README: Likewise.
21454 * malloc/tst-mallocfork.c: Likewise.
21455 * manual/install.texi: Likewise.
21456 * nptl/tst-pthread-getattr.c: Likewise.
21457 * stdio-common/tst-fgets.c: Likewise.
21458 * stdio-common/tst-fwrite.c: Likewise.
21459 * sunrpc/Makefile: Likewise.
21460 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
21461 * wcsmbs/tst-mbrtowc2.c: Likewise.
21462 * configure: Regenerate.
21463 * INSTALL: Regenerate.
21464
21465 2017-11-15 Martin Sebor <msebor@redhat.com>
21466
21467 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
21468 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
21469 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
21470
21471 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21472
21473 [BZ #22145]
21474 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
21475 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
21476
21477 [BZ #22145]
21478 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
21479 Defer is_pty check until end of the function.
21480 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21481
21482 [BZ #22145]
21483 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
21484 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
21485 (ttyname): Likewise.
21486 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
21487 (__ttyname_r): Likewise.
21488
21489 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
21490 int to bool.
21491
21492 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
21493
21494 * manual/terminal.texi (Is It a Terminal):
21495 Mention ENODEV for ttyname and ttyname_r.
21496
21497 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21498
21499 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
21500 constant and macro.
21501
21502 * sysdeps/unix/sysv/linux/bits/mman-linux.h
21503 [__USE_MISC] (MADV_WIPEONFORK): New macro.
21504 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21505 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21506 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
21507 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21508
21509 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21510
21511 * signal/sigrelse.c (sigrelse): Optimize implementation.
21512
21513 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
21514 (__sigpause): Rely on __sigsuspend to implement single thread
21515 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
21516
21517 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21518
21519 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
21520 kernel version to 4.14.
21521
21522 2017-11-15 Steve Ellcey <sellcey@cavium.com>
21523
21524 [BZ #22442]
21525 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
21526 Check if ifname is too long.
21527
21528 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21529
21530 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
21531
21532 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21533
21534 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
21535 was accidentally lost.
21536
21537 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21538
21539 * localedata/locales/az_IR: Add standard copyright header.
21540
21541 2017-11-15 Florian Weimer <fweimer@redhat.com>
21542
21543 [BZ #22439]
21544 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
21545 not just the top one. Output a new "subheaps" statistic.
21546
21547 2017-11-15 Florian Weimer <fweimer@redhat.com>
21548
21549 [BZ #22408]
21550 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
21551 under the per-arena lock.
21552 * malloc/Makefile (tests): Add tst-malloc_info.
21553 (tst-malloc_info): Link with libpthread.
21554 * malloc/tst-malloc_info.c: New file.
21555
21556 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21557
21558 [BZ #21660]
21559 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
21560 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
21561 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
21562 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
21563 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
21564 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
21565 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
21566 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
21567 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
21568 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
21569 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
21570 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
21571 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
21572 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
21573 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
21574 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
21575 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
21576 (__floating_type): Likewise.
21577 (__real_integer_type): Likewise.
21578 (__complex_integer_type): Likewise.
21579 (__expr_is_real): Likewise.
21580 (__tgmath_real_type_sub): Likewise.
21581 (__tgmath_real_type): Likewise.
21582 (__tgmath_complex_type_sub): Likewise.
21583 (__tgmath_complex_type): Likewise.
21584 (__TGMATH_F128): Likewise.
21585 (__TGMATH_CF128): Likewise.
21586 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
21587 new macros.
21588 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
21589 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
21590 Likewise.
21591 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
21592 Likewise.
21593 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
21594 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
21595 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
21596 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
21597 Likewise.
21598 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
21599 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
21600 Likewise.
21601 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
21602 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
21603 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
21604 Likewise.
21605 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
21606 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
21607 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
21608 (cimag): Likewise.
21609 (creal): Likewise.
21610
21611 2017-11-14 Joseph Myers <joseph@codesourcery.com>
21612
21613 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
21614 for stpncpy calls for GCC 8.
21615 (test_strncat): Disable -Wstringop-truncation warning for strncat
21616 calls for GCC 8. Disable -Wstringop-overflow= warning for one
21617 strncat call for GCC 7.
21618 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
21619 calls for GCC 8.
21620 (test_memcmp): Use memcpy instead of strncpy for calls not copying
21621 trailing NUL.
21622
21623 * string/bug-strncat1.c: Include <libc-diag.h>.
21624 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
21625
21626 2017-11-13 Claude Paroz <claude@2xlibre.net>
21627
21628 [BZ #22387]
21629 * localedata/locales/aa_DJ: Improved readibility by replacing
21630 <Uxxxx> sequences in the ASCII printable range by their ASCII
21631 character equivalents.
21632 * localedata/locales/aa_ER: Likewise.
21633 * localedata/locales/aa_ER@saaho: Likewise.
21634 * localedata/locales/aa_ET: Likewise.
21635 * localedata/locales/af_ZA: Likewise.
21636 * localedata/locales/agr_PE: Likewise.
21637 * localedata/locales/ak_GH: Likewise.
21638 * localedata/locales/am_ET: Likewise.
21639 * localedata/locales/anp_IN: Likewise.
21640 * localedata/locales/ar_AE: Likewise.
21641 * localedata/locales/ar_BH: Likewise.
21642 * localedata/locales/ar_DZ: Likewise.
21643 * localedata/locales/ar_EG: Likewise.
21644 * localedata/locales/ar_IN: Likewise.
21645 * localedata/locales/ar_IQ: Likewise.
21646 * localedata/locales/ar_JO: Likewise.
21647 * localedata/locales/ar_KW: Likewise.
21648 * localedata/locales/ar_LB: Likewise.
21649 * localedata/locales/ar_LY: Likewise.
21650 * localedata/locales/ar_MA: Likewise.
21651 * localedata/locales/ar_OM: Likewise.
21652 * localedata/locales/ar_QA: Likewise.
21653 * localedata/locales/ar_SA: Likewise.
21654 * localedata/locales/ar_SD: Likewise.
21655 * localedata/locales/ar_SS: Likewise.
21656 * localedata/locales/ar_SY: Likewise.
21657 * localedata/locales/ar_TN: Likewise.
21658 * localedata/locales/ar_YE: Likewise.
21659 * localedata/locales/as_IN: Likewise.
21660 * localedata/locales/ast_ES: Likewise.
21661 * localedata/locales/ayc_PE: Likewise.
21662 * localedata/locales/az_AZ: Likewise.
21663 * localedata/locales/az_IR: Likewise.
21664 * localedata/locales/be_BY: Likewise.
21665 * localedata/locales/be_BY@latin: Likewise.
21666 * localedata/locales/bem_ZM: Likewise.
21667 * localedata/locales/ber_DZ: Likewise.
21668 * localedata/locales/ber_MA: Likewise.
21669 * localedata/locales/bg_BG: Likewise.
21670 * localedata/locales/bhb_IN: Likewise.
21671 * localedata/locales/bho_IN: Likewise.
21672 * localedata/locales/bi_VU: Likewise.
21673 * localedata/locales/bn_BD: Likewise.
21674 * localedata/locales/bn_IN: Likewise.
21675 * localedata/locales/bo_CN: Likewise.
21676 * localedata/locales/bo_IN: Likewise.
21677 * localedata/locales/br_FR: Likewise.
21678 * localedata/locales/brx_IN: Likewise.
21679 * localedata/locales/bs_BA: Likewise.
21680 * localedata/locales/byn_ER: Likewise.
21681 * localedata/locales/ca_AD: Likewise.
21682 * localedata/locales/ca_ES: Likewise.
21683 * localedata/locales/ca_FR: Likewise.
21684 * localedata/locales/ca_IT: Likewise.
21685 * localedata/locales/ce_RU: Likewise.
21686 * localedata/locales/chr_US: Likewise.
21687 * localedata/locales/cmn_TW: Likewise.
21688 * localedata/locales/crh_UA: Likewise.
21689 * localedata/locales/cs_CZ: Likewise.
21690 * localedata/locales/csb_PL: Likewise.
21691 * localedata/locales/cv_RU: Likewise.
21692 * localedata/locales/cy_GB: Likewise.
21693 * localedata/locales/da_DK: Likewise.
21694 * localedata/locales/de_AT: Likewise.
21695 * localedata/locales/de_BE: Likewise.
21696 * localedata/locales/de_CH: Likewise.
21697 * localedata/locales/de_DE: Likewise.
21698 * localedata/locales/de_IT: Likewise.
21699 * localedata/locales/de_LI: Likewise.
21700 * localedata/locales/de_LU: Likewise.
21701 * localedata/locales/doi_IN: Likewise.
21702 * localedata/locales/dv_MV: Likewise.
21703 * localedata/locales/dz_BT: Likewise.
21704 * localedata/locales/el_CY: Likewise.
21705 * localedata/locales/el_GR: Likewise.
21706 * localedata/locales/en_AG: Likewise.
21707 * localedata/locales/en_AU: Likewise.
21708 * localedata/locales/en_BW: Likewise.
21709 * localedata/locales/en_CA: Likewise.
21710 * localedata/locales/en_DK: Likewise.
21711 * localedata/locales/en_GB: Likewise.
21712 * localedata/locales/en_HK: Likewise.
21713 * localedata/locales/en_IE: Likewise.
21714 * localedata/locales/en_IL: Likewise.
21715 * localedata/locales/en_IN: Likewise.
21716 * localedata/locales/en_NG: Likewise.
21717 * localedata/locales/en_NZ: Likewise.
21718 * localedata/locales/en_PH: Likewise.
21719 * localedata/locales/en_SG: Likewise.
21720 * localedata/locales/en_US: Likewise.
21721 * localedata/locales/en_ZA: Likewise.
21722 * localedata/locales/en_ZM: Likewise.
21723 * localedata/locales/en_ZW: Likewise.
21724 * localedata/locales/eo: Likewise.
21725 * localedata/locales/es_AR: Likewise.
21726 * localedata/locales/es_BO: Likewise.
21727 * localedata/locales/es_CL: Likewise.
21728 * localedata/locales/es_CO: Likewise.
21729 * localedata/locales/es_CR: Likewise.
21730 * localedata/locales/es_CU: Likewise.
21731 * localedata/locales/es_DO: Likewise.
21732 * localedata/locales/es_EC: Likewise.
21733 * localedata/locales/es_ES: Likewise.
21734 * localedata/locales/es_GT: Likewise.
21735 * localedata/locales/es_HN: Likewise.
21736 * localedata/locales/es_MX: Likewise.
21737 * localedata/locales/es_NI: Likewise.
21738 * localedata/locales/es_PA: Likewise.
21739 * localedata/locales/es_PE: Likewise.
21740 * localedata/locales/es_PR: Likewise.
21741 * localedata/locales/es_PY: Likewise.
21742 * localedata/locales/es_SV: Likewise.
21743 * localedata/locales/es_US: Likewise.
21744 * localedata/locales/es_UY: Likewise.
21745 * localedata/locales/es_VE: Likewise.
21746 * localedata/locales/et_EE: Likewise.
21747 * localedata/locales/eu_ES: Likewise.
21748 * localedata/locales/eu_ES@euro: Likewise.
21749 * localedata/locales/fa_IR: Likewise.
21750 * localedata/locales/ff_SN: Likewise.
21751 * localedata/locales/fi_FI: Likewise.
21752 * localedata/locales/fil_PH: Likewise.
21753 * localedata/locales/fo_FO: Likewise.
21754 * localedata/locales/fr_BE: Likewise.
21755 * localedata/locales/fr_CA: Likewise.
21756 * localedata/locales/fr_CH: Likewise.
21757 * localedata/locales/fr_FR: Likewise.
21758 * localedata/locales/fr_LU: Likewise.
21759 * localedata/locales/fur_IT: Likewise.
21760 * localedata/locales/fy_DE: Likewise.
21761 * localedata/locales/fy_NL: Likewise.
21762 * localedata/locales/ga_IE: Likewise.
21763 * localedata/locales/gd_GB: Likewise.
21764 * localedata/locales/gez_ER: Likewise.
21765 * localedata/locales/gez_ET: Likewise.
21766 * localedata/locales/gl_ES: Likewise.
21767 * localedata/locales/gu_IN: Likewise.
21768 * localedata/locales/gv_GB: Likewise.
21769 * localedata/locales/ha_NG: Likewise.
21770 * localedata/locales/hak_TW: Likewise.
21771 * localedata/locales/he_IL: Likewise.
21772 * localedata/locales/hi_IN: Likewise.
21773 * localedata/locales/hif_FJ: Likewise.
21774 * localedata/locales/hne_IN: Likewise.
21775 * localedata/locales/hr_HR: Likewise.
21776 * localedata/locales/hsb_DE: Likewise.
21777 * localedata/locales/ht_HT: Likewise.
21778 * localedata/locales/hu_HU: Likewise.
21779 * localedata/locales/hy_AM: Likewise.
21780 * localedata/locales/i18n: Likewise.
21781 * localedata/locales/ia_FR: Likewise.
21782 * localedata/locales/id_ID: Likewise.
21783 * localedata/locales/ig_NG: Likewise.
21784 * localedata/locales/ik_CA: Likewise.
21785 * localedata/locales/is_IS: Likewise.
21786 * localedata/locales/it_CH: Likewise.
21787 * localedata/locales/it_IT: Likewise.
21788 * localedata/locales/iu_CA: Likewise.
21789 * localedata/locales/ja_JP: Likewise.
21790 * localedata/locales/ka_GE: Likewise.
21791 * localedata/locales/kk_KZ: Likewise.
21792 * localedata/locales/kl_GL: Likewise.
21793 * localedata/locales/kn_IN: Likewise.
21794 * localedata/locales/ko_KR: Likewise.
21795 * localedata/locales/kok_IN: Likewise.
21796 * localedata/locales/ks_IN: Likewise.
21797 * localedata/locales/ks_IN@devanagari: Likewise.
21798 * localedata/locales/ku_TR: Likewise.
21799 * localedata/locales/kw_GB: Likewise.
21800 * localedata/locales/ky_KG: Likewise.
21801 * localedata/locales/lb_LU: Likewise.
21802 * localedata/locales/lg_UG: Likewise.
21803 * localedata/locales/li_BE: Likewise.
21804 * localedata/locales/li_NL: Likewise.
21805 * localedata/locales/lij_IT: Likewise.
21806 * localedata/locales/ln_CD: Likewise.
21807 * localedata/locales/lo_LA: Likewise.
21808 * localedata/locales/lt_LT: Likewise.
21809 * localedata/locales/lv_LV: Likewise.
21810 * localedata/locales/lzh_TW: Likewise.
21811 * localedata/locales/mag_IN: Likewise.
21812 * localedata/locales/mai_IN: Likewise.
21813 * localedata/locales/mg_MG: Likewise.
21814 * localedata/locales/mhr_RU: Likewise.
21815 * localedata/locales/mi_NZ: Likewise.
21816 * localedata/locales/mk_MK: Likewise.
21817 * localedata/locales/ml_IN: Likewise.
21818 * localedata/locales/mn_MN: Likewise.
21819 * localedata/locales/mni_IN: Likewise.
21820 * localedata/locales/mr_IN: Likewise.
21821 * localedata/locales/ms_MY: Likewise.
21822 * localedata/locales/mt_MT: Likewise.
21823 * localedata/locales/my_MM: Likewise.
21824 * localedata/locales/nan_TW: Likewise.
21825 * localedata/locales/nan_TW@latin: Likewise.
21826 * localedata/locales/nb_NO: Likewise.
21827 * localedata/locales/nds_DE: Likewise.
21828 * localedata/locales/nds_NL: Likewise.
21829 * localedata/locales/ne_NP: Likewise.
21830 * localedata/locales/nhn_MX: Likewise.
21831 * localedata/locales/niu_NU: Likewise.
21832 * localedata/locales/niu_NZ: Likewise.
21833 * localedata/locales/nl_AW: Likewise.
21834 * localedata/locales/nl_BE: Likewise.
21835 * localedata/locales/nl_NL: Likewise.
21836 * localedata/locales/nn_NO: Likewise.
21837 * localedata/locales/nr_ZA: Likewise.
21838 * localedata/locales/nso_ZA: Likewise.
21839 * localedata/locales/oc_FR: Likewise.
21840 * localedata/locales/om_ET: Likewise.
21841 * localedata/locales/om_KE: Likewise.
21842 * localedata/locales/or_IN: Likewise.
21843 * localedata/locales/os_RU: Likewise.
21844 * localedata/locales/pa_IN: Likewise.
21845 * localedata/locales/pa_PK: Likewise.
21846 * localedata/locales/pap_AW: Likewise.
21847 * localedata/locales/pap_CW: Likewise.
21848 * localedata/locales/pl_PL: Likewise.
21849 * localedata/locales/ps_AF: Likewise.
21850 * localedata/locales/pt_BR: Likewise.
21851 * localedata/locales/pt_PT: Likewise.
21852 * localedata/locales/quz_PE: Likewise.
21853 * localedata/locales/raj_IN: Likewise.
21854 * localedata/locales/ro_RO: Likewise.
21855 * localedata/locales/ru_RU: Likewise.
21856 * localedata/locales/ru_UA: Likewise.
21857 * localedata/locales/rw_RW: Likewise.
21858 * localedata/locales/sa_IN: Likewise.
21859 * localedata/locales/sat_IN: Likewise.
21860 * localedata/locales/sc_IT: Likewise.
21861 * localedata/locales/sd_IN: Likewise.
21862 * localedata/locales/sd_IN@devanagari: Likewise.
21863 * localedata/locales/se_NO: Likewise.
21864 * localedata/locales/sgs_LT: Likewise.
21865 * localedata/locales/shs_CA: Likewise.
21866 * localedata/locales/si_LK: Likewise.
21867 * localedata/locales/sid_ET: Likewise.
21868 * localedata/locales/sk_SK: Likewise.
21869 * localedata/locales/sl_SI: Likewise.
21870 * localedata/locales/sm_WS: Likewise.
21871 * localedata/locales/so_DJ: Likewise.
21872 * localedata/locales/so_ET: Likewise.
21873 * localedata/locales/so_KE: Likewise.
21874 * localedata/locales/so_SO: Likewise.
21875 * localedata/locales/sq_AL: Likewise.
21876 * localedata/locales/sq_MK: Likewise.
21877 * localedata/locales/sr_ME: Likewise.
21878 * localedata/locales/sr_RS: Likewise.
21879 * localedata/locales/sr_RS@latin: Likewise.
21880 * localedata/locales/ss_ZA: Likewise.
21881 * localedata/locales/st_ZA: Likewise.
21882 * localedata/locales/sv_FI: Likewise.
21883 * localedata/locales/sv_SE: Likewise.
21884 * localedata/locales/sw_KE: Likewise.
21885 * localedata/locales/sw_TZ: Likewise.
21886 * localedata/locales/szl_PL: Likewise.
21887 * localedata/locales/ta_IN: Likewise.
21888 * localedata/locales/ta_LK: Likewise.
21889 * localedata/locales/tcy_IN: Likewise.
21890 * localedata/locales/te_IN: Likewise.
21891 * localedata/locales/tg_TJ: Likewise.
21892 * localedata/locales/th_TH: Likewise.
21893 * localedata/locales/the_NP: Likewise.
21894 * localedata/locales/ti_ER: Likewise.
21895 * localedata/locales/ti_ET: Likewise.
21896 * localedata/locales/tig_ER: Likewise.
21897 * localedata/locales/tk_TM: Likewise.
21898 * localedata/locales/tl_PH: Likewise.
21899 * localedata/locales/tn_ZA: Likewise.
21900 * localedata/locales/to_TO: Likewise.
21901 * localedata/locales/tpi_PG: Likewise.
21902 * localedata/locales/tr_CY: Likewise.
21903 * localedata/locales/tr_TR: Likewise.
21904 * localedata/locales/ts_ZA: Likewise.
21905 * localedata/locales/tt_RU: Likewise.
21906 * localedata/locales/tt_RU@iqtelif: Likewise.
21907 * localedata/locales/ug_CN: Likewise.
21908 * localedata/locales/uk_UA: Likewise.
21909 * localedata/locales/unm_US: Likewise.
21910 * localedata/locales/ur_IN: Likewise.
21911 * localedata/locales/ur_PK: Likewise.
21912 * localedata/locales/uz_UZ: Likewise.
21913 * localedata/locales/uz_UZ@cyrillic: Likewise.
21914 * localedata/locales/ve_ZA: Likewise.
21915 * localedata/locales/vi_VN: Likewise.
21916 * localedata/locales/wa_BE: Likewise.
21917 * localedata/locales/wae_CH: Likewise.
21918 * localedata/locales/wal_ET: Likewise.
21919 * localedata/locales/wo_SN: Likewise.
21920 * localedata/locales/xh_ZA: Likewise.
21921 * localedata/locales/yi_US: Likewise.
21922 * localedata/locales/yo_NG: Likewise.
21923 * localedata/locales/yue_HK: Likewise.
21924 * localedata/locales/yuw_PG: Likewise.
21925 * localedata/locales/zh_CN: Likewise.
21926 * localedata/locales/zh_HK: Likewise.
21927 * localedata/locales/zh_SG: Likewise.
21928 * localedata/locales/zh_TW: Likewise.
21929 * localedata/locales/zu_ZA: Likewise.
21930
21931 2017-11-13 Florian Weimer <fweimer@redhat.com>
21932
21933 * support/next_to_fault.h, support/next_to_fault.c: New files.
21934 * support/Makefile (libsupport-routines): Add next_to_fault.
21935 * resolv/tst-inet_pton.c (struct next_to_fault)
21936 (next_to_fault_allocate, next_to_fault_free): Remove.
21937 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
21938
21939 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
21940
21941 * elf/dl-support.c: Include <dl-procruntime.c>.
21942 * include/link.h: Include <link_map.h>.
21943 * sysdeps/generic/dl-procruntime.c: New file.
21944 * sysdeps/generic/link_map.h: Likewise.
21945 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
21946 the writable ld.so namespace.
21947
21948 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
21949
21950 timezone: pacify GCC -Wstringop-truncation
21951 Problem reported by Martin Sebor in:
21952 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
21953 * timezone/zic.c (writezone): Use memcpy, not strncpy.
21954
21955 2017-11-12 Florian Weimer <fweimer@redhat.com>
21956
21957 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
21958 tst-xreadlink.
21959 (tests): Add tst-xreadlink.
21960 * support/support.h (xstrndup): Declare.
21961 * support/xunistd.h (xunlink, xreadlink): Declare.
21962 * support/temp_file.h (support_create_temp_directory): Declare.
21963 * support/temp_file.c (support_create_temp_directory): New function.
21964 * support/support_chroot.c (support_chroot_create): Use it.
21965 * support/xreadlink.c: New file.
21966 * support/xstrndup.c: Likewise.
21967 * support/xunlink.c: Likewise.
21968 * support/tst-xreadlink.c: Likewise.
21969
21970 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
21971
21972 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
21973
21974 2017-11-11 Florian Weimer <fweimer@redhat.com>
21975
21976 [BZ #22409]
21977 [BZ #22412]
21978 * resolv/res_comp.c (printable_string, binary_hnok)
21979 (binary_leading_dash): New functions.
21980 (res_hnok): Reimplement using these functions and ns_name_pton.
21981 (res_ownok): Likewise.
21982 (res_mailok): Reimplement using printable_string, ns_name_pton and
21983 binary_hnok.
21984 (res_dnok): Reimplement using printable_string and ns_name_pton.
21985 * resolv/tst-res_hnok.c (tests): Add additional tests.
21986 (LETTERDIGITS, PRINTABLE): Define.
21987 (do_test): Adjust one_char results.
21988
21989 2017-11-11 Florian Weimer <fweimer@redhat.com>
21990
21991 [BZ #22413]
21992 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
21993 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
21994
21995 2017-11-11 Florian Weimer <fweimer@redhat.com>
21996
21997 * resolv/tst-ns_name_pton.c: New file.
21998 * resolv/Makefile (tests): Add tst-ns_name_pton.
21999 (tst-ns_name_pton): Link against libresolv.
22000
22001 2017-11-11 Florian Weimer <fweimer@redhat.com>
22002
22003 * resolv/tst-res_hnok.c: New file.
22004 * resolv/Makefile (tests): Add tst-res_hnok.
22005 (tst-res_hnok): Link against libresolv.
22006
22007 2017-11-11 Florian Weimer <fweimer@redhat.com>
22008
22009 * resolv/tst-resolv-network.c: Use test framework instead explicit
22010 main function.
22011
22012 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
22013
22014 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
22015 <jmp_buf-macros.h>.
22016 [!_ISOMAC] (STR_HELPER): New.
22017 [!_ISOMAC] (STR): Likewise.
22018 [!_ISOMAC] (TEST_SIZE): Likewise.
22019 [!_ISOMAC] (TEST_ALIGN): Likewise.
22020 [!_ISOMAC] (TEST_OFFSET): Likewise.
22021 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
22022 field offsets of jmp_buf as well as sigjmp_buf.
22023 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
22024 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
22025 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
22026 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
22027 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
22028 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
22029 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
22030 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
22031 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
22032 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
22033 Likewise.
22034 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
22035 Likewise.
22036 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
22037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
22038 Likewise.
22039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
22040 Likewise.
22041 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
22042 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
22043 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
22044 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
22045 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
22046 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
22047 Likewise.
22048 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
22049 Likewise.
22050 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
22051 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
22052 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
22053
22054 2017-11-07 Joseph Myers <joseph@codesourcery.com>
22055
22056 * include/float.h
22057 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22058 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
22059 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22060 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
22061 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22062 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
22063 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22064 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
22065 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22066 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
22067 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22068 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
22069 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22070 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
22071 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22072 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
22073 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22074 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
22075 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22076 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
22077 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22078 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
22079 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22080 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
22081 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22082 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
22083 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22084 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
22085 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22086 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
22087 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22088 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
22089 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22090 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
22091 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22092 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
22093 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22094 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
22095 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22096 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
22097 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22098 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
22099 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22100 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
22101 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22102 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
22103 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22104 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
22105 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22106 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
22107 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22108 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
22109 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22110 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
22111 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22112 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
22113 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22114 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
22115 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22116 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
22117 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22118 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
22119 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22120 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
22121 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22122 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
22123 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22124 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
22125 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22126 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
22127 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22128 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
22129 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22130 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
22131 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22132 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
22133 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22134 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
22135 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22136 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
22137 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22138 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
22139 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22140 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
22141 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22142 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
22143 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22144 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
22145
22146 * stdlib/tst-strtod.h (F16): New macro.
22147 (F32): Likewise.
22148 (F64): Likewise.
22149 (F32X): Likewise.
22150 (F64X): Likewise.
22151 (F128X): Likewise.
22152 (IF_FLOAT16): Likewise.
22153 (IF_FLOAT32): Likewise.
22154 (IF_FLOAT64): Likewise.
22155 (IF_FLOAT32X): Likewise.
22156 (IF_FLOAT64X): Likewise.
22157 (IF_FLOAT128X): Likewise.
22158 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
22159 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
22160 (STRTOD_TEST_FOREACH): Likewise.
22161 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
22162 (CHOOSE_f64): Likewise.
22163 (CHOOSE_f32x): Likewise.
22164 (CHOOSE_f64x): Likewise.
22165
22166 2017-11-07 Andreas Schwab <schwab@suse.de>
22167
22168 * nptl/Makefile (tests-internal): Remove tst-typesizes.
22169
22170 2017-11-07 Mike FABIAN <mfabian@redhat.com>
22171
22172 [BZ #22403]
22173 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
22174 to be escaped.
22175 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
22176 to be escaped.
22177
22178 2017-11-07 Claude Paroz <claude@2xlibre.net>
22179
22180 [BZ #22403]
22181 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
22182 to be escaped.
22183 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
22184 to be escaped.
22185 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
22186 to be escaped.
22187
22188 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22189
22190 [BZ #22298]
22191 * nptl/allocatestack.c (allocate_stack): Check if
22192 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
22193 __PTHREAD_MUTEX_HAVE_PREV is defined.
22194 * nptl/descr.h (pthread): Likewise.
22195 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22196 Likewise.
22197 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
22198 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
22199 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
22200 * sysdeps/nptl/bits/thread-shared-types.h
22201 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22202 defines.
22203 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
22204 of __WORDSIZE for internal layout.
22205 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
22206 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
22207 instead of __WORDSIZE whether to use an union for __spins and __list
22208 fields.
22209 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
22210 case.
22211 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
22212 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22213 defines.
22214 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
22215 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22216 Likewise.
22217 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
22218 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22219 Likewise.
22220 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
22221 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22222 Likewise.
22223 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
22224 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22225 Likewise.
22226 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
22227 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22228 Likewise.
22229 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
22230 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22231 Likewise.
22232 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
22233 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22234 Likewise.
22235 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
22236 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22237 Likewise.
22238 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
22239 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22240 Likewise.
22241 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
22242 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22243 Likewise.
22244 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
22245 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22246 Likewise.
22247 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
22248 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22249 Likewise.
22250 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
22251 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22252 Likewise.
22253 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
22254 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22255 Likewise.
22256
22257 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
22258 New macros.
22259 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
22260 checks for expected input type size.
22261 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
22262 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22263 Likewise.
22264 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22265 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
22266 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22267 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
22268 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
22269 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
22270 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
22271 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
22272 superflous runtime assert check.
22273 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
22274 Likewise.
22275 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
22276 Likewise.
22277 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
22278 Likewise.
22279 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
22280 Likewise.
22281 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
22282 Likewise.
22283 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
22284 Likewise.
22285 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
22286 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
22287 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
22288 Likewise.
22289 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
22290 Likewise.
22291 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
22292 Likewise.
22293 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
22294 Likewise.
22295 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
22296 Likewise.
22297 * nptl/pthread_attr_setinheritsched.c
22298 (__pthread_attr_setinheritsched): Likewise.
22299 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
22300 Likewise.
22301 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
22302 Likewise.
22303 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
22304 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
22305 __old_pthread_attr_setstack): Likewise.
22306 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
22307 Likewise.
22308 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
22309 Likewise.
22310 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
22311 Likewise.
22312 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
22313 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
22314 Likewise.
22315 * nptl/tst-typesizes.c: Remove file.
22316
22317 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
22318 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
22319 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
22320 checks for internal pthread_mutex_t offsets.
22321 * sysdeps/aarch64/nptl/pthread-offsets.h
22322 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
22323 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
22324 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
22325 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
22326 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
22327 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
22328 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
22329 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
22330 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
22331 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
22332 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
22333 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
22334 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
22335 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
22336 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
22337 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
22338 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
22339 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
22340
22341 2017-11-07 Florian Weimer <fweimer@redhat.com>
22342
22343 * bits/mman-linux.h: Move ...
22344 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
22345 comment.
22346 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
22347 outdated comment.
22348
22349 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22350
22351 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
22352 Redefine STRNLEN as __strnlen_power8.
22353
22354 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22355
22356 * signal/sighold.c (sighold): Optimize implementation.
22357
22358 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
22359 __NR_rt_sigqueueinfo.
22360
22361 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
22362 __sigtimedwait.
22363 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
22364 assume __NR_rt_sigtimedwait.
22365 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
22366 and add LIBC_CANCEL_HANDLED for cancellation marking.
22367 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22368
22369 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22370 (sysdeps_routines): Add memchr_noneon.
22371 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
22372 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
22373 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
22374 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
22375 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
22376 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
22377 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
22378
22379 * sysdeps/arm/arm-ifunc.h: New file.
22380 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
22381 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
22382 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
22383 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
22384 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
22385 (__memcpy_neon): Avoid create hidden alias.
22386 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
22387 (__memcpy_vfp): Likewise.
22388 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22389 (sysdep_routines): Add memcpy_arm.
22390 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
22391
22392 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
22393
22394 [BZ #22362]
22395 * Makerules (make-link-multidir): New.
22396 * config.make.in (multidir): New.
22397 * configure.ac (libc_cv_multidir): New. AC_SUBST.
22398 * configure: Regenerated.
22399 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
22400 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
22401 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
22402 New target.
22403
22404 2017-11-06 Joseph Myers <joseph@codesourcery.com>
22405
22406 [BZ #22402]
22407 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
22408 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
22409
22410 2017-11-04 Mike FABIAN <mfabian@redhat.com>
22411
22412 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
22413 to be escaped.
22414
22415 2017-11-04 Florian Weimer <fweimer@redhat.com>
22416
22417 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
22418
22419 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22420
22421 * math/math.h [__HAVE_DISTINCT_FLOAT16
22422 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22423 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22424 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22425 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
22426 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
22427 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
22428 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22429 (__MATH_TG_F32): New macro.
22430 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22431 (__MATH_TG_F64X): Likewise.
22432 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22433 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
22434
22435 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
22436
22437 * po/de.po: Update translations.
22438 * po/ru.po: Likewise.
22439
22440 2017-11-03 Florian Weimer <fweimer@redhat.com>
22441
22442 * manual/filesys.texi (Hard Links): Document linkat.
22443
22444 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22445
22446 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
22447 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22448 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22449 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22450 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22451 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22452 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
22453 the same as _Float128.
22454 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22455 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22456 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
22457
22458 * stdlib/stdlib.h
22459 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
22460 Declare.
22461 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
22462 Likewise.
22463 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
22464 Likewise.
22465 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22466 (strtof32x): Likewise.
22467 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22468 (strtof64x): Likewise.
22469 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22470 (strtof128x): Likewise.
22471 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22472 (strfromf16): Likewise.
22473 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22474 (strfromf32): Likewise.
22475 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22476 (strfromf64): Likewise.
22477 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22478 (strfromf32x): Likewise.
22479 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22480 (strfromf64x): Likewise.
22481 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22482 (strfromf128x): Likewise.
22483 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
22484 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
22485 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
22486 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
22487 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
22488 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
22489
22490 2017-11-03 Richard Henderson <rth@twiddle.net>
22491
22492 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
22493
22494 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22495
22496 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
22497
22498 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22499
22500 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
22501 DT_TLSDESC_GOT initialization.
22502 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
22503 (_dl_tlsdesc_resolve_hold): Likewise.
22504 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
22505 (_dl_tlsdesc_resolve_hold): Likewise.
22506 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
22507 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22508
22509 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22510
22511 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
22512
22513 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22514
22515 [BZ #18572]
22516 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
22517 non-lazily for R_ARM_TLS_DESC.
22518
22519 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22520
22521 [BZ #17078]
22522 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
22523 R_ARM_TLS_DESC case.
22524 (elf_machine_lazy_rel): Remove the prelink check.
22525
22526 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22527
22528 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
22529 DT_TLSDESC_GOT initialization.
22530 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
22531 (_dl_tlsdesc_resolve_rela): Likewise.
22532 (_dl_tlsdesc_resolve_hold): Likewise.
22533 (_dl_tlsdesc_undefweak): Remove ldar.
22534 (_dl_tlsdesc_dynamic): Likewise.
22535 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
22536 (_dl_tlsdesc_resolve_rela): Likewise.
22537 (_dl_tlsdesc_resolve_hold): Likewise.
22538 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
22539 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22540 (_dl_tlsdesc_resolve_rela): Likewise.
22541 (_dl_tlsdesc_resolve_hold): Likewise.
22542
22543 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22544
22545 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
22546 binding and initialization non-lazily for R_AARCH64_TLSDESC.
22547
22548 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22549
22550 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
22551 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22552
22553 2017-11-02 Joseph Myers <joseph@codesourcery.com>
22554
22555 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
22556 Declare.
22557 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
22558 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
22559 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
22560 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
22561 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
22562 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
22563 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
22564 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
22565 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
22566 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
22567 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
22568
22569 2017-11-02 Mike FABIAN <mfabian@redhat.com>
22570
22571 [BZ #22382]
22572 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
22573 * localedata/locales/tpi_PG: Add standard header.
22574
22575 2017-11-02 Florian Weimer <fweimer@redhat.com>
22576
22577 test-errno-linux: quotactl can fail with EPERM in containers.
22578 * sysdeps/unix/sysv/linux/test-errno-linux.c
22579 (LIST, LIST_FORWARD): New macros.
22580 (check_error_in_list): New function.
22581 (test_wrp_rv): Accept list of permitted error codes.
22582 (test_wrp_rv2): Remove.
22583 (test_wrp): Call test_wrp_rv with list of error codes.
22584 (test_wrp2): Accept list of error codes.
22585 (do_test): Adjust. Allow EPERM for quotactl.
22586
22587 2017-11-02 Florian Weimer <fweimer@redhat.com>
22588
22589 * stdio-common/bug16.c (do_test): Use array_length.
22590 * stdio-common/errlist.c (_sys_nerr): Likewise.
22591 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
22592 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
22593 * stdio-common/psiginfo.c (psiginfo): Use array_length.
22594 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
22595 (do_test): Use array_length.
22596 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
22597 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
22598 * stdio-common/tst-printf-round.c (do_test): Likewise.
22599 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
22600 (CHECK): Use array_length.
22601 * stdio-common/tstdiomisc.c (t3, F): Likewise.
22602 * stdio-common/tstscanf.c (main): Likewise.
22603 * stdio-common/vfprintf.c (process_string_arg): Likewise.
22604
22605 2017-11-02 Florian Weimer <fweimer@redhat.com>
22606
22607 Add array_length and array_end macros.
22608 * include/array_length.h: New file.
22609
22610 2017-11-02 Florian Weimer <fweimer@redhat.com>
22611
22612 [BZ #22332]
22613 * posix/tst-glob-tilde.c (do_noescape): New variable.
22614 (one_test): Process it.
22615 (do_test): Set do_noescape. Add unescaping test case.
22616
22617 2017-11-01 Joseph Myers <joseph@codesourcery.com>
22618
22619 * math/complex.h
22620 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
22621 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
22622 with appropriate macros defined and undefined.
22623 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
22624 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22625 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
22626 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22627 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
22628 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22629 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
22630 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22631 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
22632 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22633
22634 * math/complex.h
22635 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
22636 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
22637 that for long double. Do not condition define and undefine of
22638 _Mdouble_complex_ on [__CFLOAT128].
22639
22640 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
22641
22642 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22643 of <sysdeps/generic/sysdep.h>.
22644 (ALIGNARG): Removed.
22645 (ASM_SIZE_DIRECTIVE): Likewise.
22646 (ENTRY): Likewise.
22647 (END): Likewise.
22648 (ENTRY_CHK): Likewise.
22649 (END_CHK): Likewise.
22650 (syscall_error): Likewise.
22651 (mcount): Likewise.
22652 (PSEUDO_END): Likewise.
22653 (L): Likewise.
22654 (atom_text_section): Likewise.
22655 * sysdeps/x86/sysdep.h: New file.
22656 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22657 of <sysdeps/generic/sysdep.h>.
22658 (ALIGNARG): Removed.
22659 (ASM_SIZE_DIRECTIVE): Likewise.
22660 (ENTRY): Likewise.
22661 (END): Likewise.
22662 (ENTRY_CHK): Likewise.
22663 (END_CHK): Likewise.
22664 (syscall_error): Likewise.
22665 (mcount): Likewise.
22666 (PSEUDO_END): Likewise.
22667 (L): Likewise.
22668 (atom_text_section): Likewise.
22669
22670 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
22671
22672 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
22673 category of LC_CTYPE set to "i18n:2012".
22674 * localedata/locales/i18n_ctype: Regenerate.
22675
22676 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
22677
22678 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
22679 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
22680 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
22681 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
22682
22683 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
22684 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
22685 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
22686 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
22687
22688 2017-10-31 Joseph Myers <joseph@codesourcery.com>
22689
22690 * math/complex.h
22691 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
22692 New macro.
22693 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
22694 Likewise.
22695 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
22696 Likewise.
22697 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22698 (CMPLXF32X): Likewise.
22699 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22700 (CMPLXF64X): Likewise.
22701 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22702 (CMPLXF128X): Likewise.
22703
22704 * math/math.h
22705 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
22706 (__MATH_EVAL_FMT2): Define to add 0.0f.
22707
22708 2017-10-31 Alan Modra <amodra@gmail.com>
22709
22710 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
22711 include sysdep.h.
22712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
22713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
22714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
22715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
22716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
22717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
22718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
22719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
22720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
22721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
22722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
22723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
22724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
22725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
22726 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
22727 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
22728 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
22729 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
22730 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
22731 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
22732 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
22733 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
22734 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
22735 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
22736 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
22737 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
22738 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
22739 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
22740 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
22741 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
22742 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22743 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22744 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
22745 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
22746 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
22747 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
22748 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
22749 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
22750 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
22751 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22752 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
22753 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
22754 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
22755 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
22756 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
22757 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
22758 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
22759 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
22760 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22761 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
22762 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
22763 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
22764 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
22765 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
22766 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
22767 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
22768 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
22769 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
22770 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22771 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22772 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
22773 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
22774 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
22775 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22776 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
22777 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
22778 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
22779 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
22780 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
22781
22782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
22783 include sysdep.h and math_ldbl_opt.h.
22784
22785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
22786 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
22787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
22788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
22789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
22790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
22791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
22792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
22793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
22794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
22795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
22796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
22797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
22798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
22799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
22800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
22801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
22802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
22803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
22804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
22805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
22806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
22807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
22808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
22809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
22810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
22811
22812 2017-10-31 Alan Modra <amodra@gmail.com>
22813
22814 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
22815 string/strncase_l.c, not string/strncase.c.
22816 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
22817 (libc_hidden_def): Redefine.
22818
22819 2017-10-31 Alan Modra <amodra@gmail.com>
22820
22821 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
22822 (__STRCMP, STRCMP, __strcasecmp_l): Define.
22823 (__strcasecmp): Don't define.
22824
22825 2017-10-31 Alan Modra <amodra@gmail.com>
22826
22827 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
22828 IS_IN (libc).
22829 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22830 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22831 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22832
22833 2017-10-31 Alan Modra <amodra@gmail.com>
22834
22835 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
22836 USE_AS_STPNCPY.
22837
22838 2017-10-31 Alan Modra <amodra@gmail.com>
22839
22840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
22841 Redefine only when SHARED.
22842
22843 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22844
22845 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22846 Include <bits/math-finite.h> with appropriate macros defined and
22847 undefined.
22848 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22849 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22850 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22851 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22852 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22853
22854 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
22855 [!_Mlong_double_] (_Mlong_double_): Likewise.
22856 [!_Mfloat16_] (_Mfloat16_): Likewise.
22857 [!_Mfloat32_] (_Mfloat32_): Likewise.
22858 [!_Mfloat64_] (_Mfloat64_): Likewise.
22859 [!_Mfloat128_] (_Mfloat128_): Likewise.
22860 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
22861 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
22862 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
22863 (_Mdouble_): Define without indirection through those macros.
22864 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
22865 [!_Mfloat128_] (_Mfloat128_): Likewise.
22866 [_Mlong_double_] (_Mlong_double_): Likewise.
22867 (_Mdouble_): Define without indirection through those macros.
22868 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
22869 not add -D_Mlong_double_=double.
22870 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
22871 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
22872
22873 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22874
22875 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
22876
22877 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22878
22879 * sysdeps/x86/libc-start.c: Reformat.
22880
22881 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22882
22883 [BZ #22353]
22884 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
22885 (1): Renamed to ...
22886 (L(Src0)): This.
22887 (L(Src1)): New.
22888 (L(Src2)): Likewise.
22889 (L(1)): Renamed to ...
22890 (L(Src3)): This.
22891
22892 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22893
22894 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
22895 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
22896 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
22897 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
22898 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
22899 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
22900 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
22901 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
22902 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
22903 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
22904 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
22905 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
22906 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
22907 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
22908 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
22909 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
22910 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
22911 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
22912 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
22913 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
22914 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
22915 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
22916 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
22917 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
22918 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
22919 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
22920 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
22921 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
22922 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
22923 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
22924 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
22925 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
22926 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
22927 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
22928 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
22929 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
22930 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
22931 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
22932 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
22933 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
22934 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
22935 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
22936 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
22937 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
22938 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
22939 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
22940 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
22941 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
22942 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
22943 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
22944 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
22945 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
22946 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
22947 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
22948 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
22949 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
22950 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
22951 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
22952 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
22953 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
22954 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
22955 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
22956 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
22957 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
22958 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
22959 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
22960
22961 2017-10-30 Florian Weimer <fweimer@redhat.com>
22962
22963 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
22964 always defined.
22965 * io/tst-mkdirat.c (do_test): Likewise.
22966 * io/tst-mkfifoat.c (do_test): Likewise.
22967 * io/tst-mknodat.c (do_test): Likewise.
22968 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
22969 * locale/programs/locale.c (select_dirs): Likewise.
22970 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
22971 * posix/bug-glob2.c (my_readdir): Likewise.
22972 * posix/tst-dir.c (main): Likewise.
22973 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
22974 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
22975
22976 2017-10-30 Florian Weimer <fweimer@redhat.com>
22977
22978 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
22979 just __USE_GNU.
22980
22981 2017-10-30 Florian Weimer <fweimer@redhat.com>
22982
22983 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
22984 Convert to support/test-driver.c.
22985 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
22986 New macro parameters.
22987 (PRINTF): Remove macro. Use test_verbose conditionals instead.
22988 * posix/tst-gnuglob.c: New file.
22989 * posix/tst-gnuglob64.c: Likewise.
22990 * posix/Makefile (tests): Add tst-gnuglob64.
22991
22992 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
22993
22994 [BZ #19485]
22995 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
22996 and use a better translation for March in “mon”.
22997 * localedata/locales/csb_PL: Use more ASCII to improve the
22998 readability of the source.
22999
23000 2017-10-30 Mike FABIAN <mfabian@redhat.com>
23001
23002 [BZ #13953]
23003 * localedata/locales/km_KH: Use ASCII as much
23004 as possible for better readability of the source and
23005 remove useless comments.
23006 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
23007 was commented out and apparently wrong anyway because it was
23008 using Lao characters. If Buddhist era should be used
23009 for km_KH, a native speaker should write the correct formaat
23010 for Khmer.
23011 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
23012 (According to CLDR, the first weekday for Cambodia is Sunday).
23013 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
23014 (These were using Lao characters which must be wrong. If we get
23015 the correct data from a native speaker, we could add it back, until
23016 then it is better not to have name_mr and name_mrs at all than
23017 having it wrong).
23018
23019 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
23020
23021 * locale/loadlocale.c: Correct size of
23022 _nl_value_type_LC_<category> arrays.
23023
23024 2017-10-27 Joseph Myers <joseph@codesourcery.com>
23025
23026 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23027 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
23028 with appropriate macros defined and undefined.
23029 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23030 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23031 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23032 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23033 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23034
23035 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
23036
23037 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23038 "-O2 -march=i586".
23039
23040 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23041
23042 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
23043 with lowercase letters to make it agree with CLDR.
23044
23045 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23046
23047 [BZ #15260]
23048 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
23049 first letters of yesstr and nostr in yesexpr and noexpr,
23050 not for the full words.
23051 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23052 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
23053 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
23054 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
23055 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
23056 first letters of yesstr and nostr in yesexpr and noexpr,
23057 until now only English was matched in yesexpr and noexpr.
23058 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
23059 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
23060 fil but not for tl. As tl and fil are very similar, using fil
23061 is probably better than using English.
23062
23063 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
23064
23065 [BZ #21706]
23066 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
23067 in yesstr and nostr.
23068
23069 2017-10-26 Joseph Myers <joseph@codesourcery.com>
23070
23071 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23072 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
23073 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
23074 Likewise.
23075 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
23076 Likewise.
23077 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
23078 Likewise.
23079 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
23080 Likewise.
23081 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23082 (SNANF128X): Likewise.
23083
23084 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23085 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
23086 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23087 (HUGE_VAL_F32): Likewise.
23088 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23089 (HUGE_VAL_F64): Likewise.
23090 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23091 (HUGE_VAL_F32X): Likewise.
23092 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23093 (HUGE_VAL_F64X): Likewise.
23094 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23095 (HUGE_VAL_F128X): Likewise.
23096
23097 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23098
23099 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
23100 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
23101 for the br_FR locale.
23102
23103 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23104
23105 [BZ #21706]
23106 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
23107
23108 2017-10-25 Carlos O'Donell <carlos@redhat.com>
23109
23110 * locale/programs/record-status.h: Define globals, and function
23111 prototypes. Move function bodies...
23112 * locale/programs/record-status.c: ... to here. New file.
23113 * iconv/Makefile (iconv_prog-modules): Add record-status.
23114 * locale/Makefile (lib-modules): Likewise.
23115 * iconv/iconv_prog.c: Remove verbose.
23116 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
23117 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
23118 record a warning about ASCII compatibility.
23119 * locale/programs/ld-monetary.c (monetary_finish): If
23120 warn_int_curr_symbol is true then record a warning about the symbol
23121 not being in our ISO 4217 list.
23122 * locale/programs/locale.c: Include record-status.h. Remove verbose.
23123 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
23124 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
23125 (OPT_NO_WARN): Define.
23126 (OPT_WARN): Define.
23127 (options): Add entry for --no-warnings, and --warnings.
23128 (set_warnings): New function to enable/disable warnings.
23129 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
23130 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
23131 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
23132 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
23133 Pass flags to generate_locale.
23134 (generate_locale): Accept new flag argument and pass it to localedef
23135 invocation.
23136 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
23137 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
23138
23139 * localedata/Makefile (test-input-data): Use full file name.
23140 * localedata/da_DK.in: Rename to...
23141 * localedata/da_DK.ISO-8859-1.in: ...this.
23142 * localedata/de_DE.in: Rename to...
23143 * localedata/de_DE.ISO-8859-1.in: ...this.
23144 * localedata/en_US.in: Rename to...
23145 * localedata/en_US.ISO-8859-1.in: ...this.
23146 * localedata/fr_FR.in: Rename to...
23147 * localedata/fr_FR.UTF-8.in: ... this.
23148 * localedata/hr_HR.in: Rename to...
23149 * localedata/hr_HR.ISO-8859-2.in: ...this.
23150 * localedata/hu_HU.in: Rename to...
23151 * localedata/hu_HU.UTF-8.in: ...this.
23152 * localedata/si_LK.in: Rename to...
23153 * localedata/si_LK.UTF-8.in: ...this.
23154 * localedata/sv_SE.in: Rename to...
23155 * localedata/sv_SE.ISO-8859-1.in: ...this.
23156 * localedata/tr_TR.in: Rename to...
23157 * localedata/tr_TR.UTF-8.in: ...this.
23158 * localedata/uk_UA.in: Rename to...
23159 * localedata/uk_UA.UTF-8.in: ...this.
23160 * localedata/sort-test.sh: Test file is locale name with the
23161 suffix.
23162
23163 * localedata/unicode-gen/Makefile (check_i18n): Rename to
23164 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
23165 file.
23166 * localedata/locales/i18n_ctype: Regenerate.
23167 * localedata/locales/tr_TR: Likewise.
23168 * localedata/locales/translit_circle: Likewise.
23169 * localedata/locales/translit_cjk_compat: Likewise.
23170 * localedata/locales/translit_combining: Likewise.
23171 * localedata/locales/translit_compat: Likewise.
23172 * localedata/locales/translit_font: Likewise.
23173 * localedata/locales/translit_fraction: Likewise.
23174
23175 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23176
23177 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
23178 lxvd2x/stxvd2x with lvx/stvx.
23179 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
23180
23181 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
23182
23183 * include/alloc_buffer.h: Replace "if if " with "if " in
23184 comments.
23185 * sysdeps/mips/memcpy.S: Likkewise.
23186 * sysdeps/mips/memset.S: Likewise.
23187 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
23188 Likewise.
23189 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
23190 Likewise.
23191 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
23192 Likewise.
23193
23194 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23195
23196 [BZ #15261]
23197 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
23198 yesexpr and noexpr.
23199 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23200 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23201 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23202 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23203 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23204 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23205 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23206
23207 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23208
23209 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
23210 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23211 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23212 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23213 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23214 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
23215 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23216 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23217 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23218 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23219 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23220 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23221
23222 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23223
23224 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
23225 as possible for better readability of the source.
23226 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
23227 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
23228 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
23229 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
23230 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
23231 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
23232 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
23233 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
23234 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23235 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
23236 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
23237 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
23238 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
23239 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
23240 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
23241 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
23242 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
23243 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
23244 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
23245 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
23246 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
23247 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
23248 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
23249 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
23250 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
23251 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
23252 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
23253 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
23254 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
23255 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
23256 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
23257 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23258 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
23259 * localedata/locales/en_US (LC_MESSAGES): Likewise.
23260 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
23261 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
23262 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
23263 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
23264 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
23265 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
23266 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
23267 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
23268 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
23269 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
23270 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
23271 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
23272 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
23273 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
23274 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
23275 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
23276 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
23277 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
23278 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
23279 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23280 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23281 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
23282 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
23283 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23284 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
23285 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
23286 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
23287 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
23288 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
23289 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
23290 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
23291 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
23292 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
23293 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
23294 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
23295 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
23296 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
23297 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
23298 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
23299 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
23300 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23301 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
23302 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
23303 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
23304 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
23305 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
23306 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
23307 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
23308 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
23309 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23310 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
23311 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
23312 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
23313 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23314 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
23315 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
23316 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
23317 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
23318 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23319 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
23320 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
23321 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23322 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
23323 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23324 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
23325 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
23326 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
23327 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
23328 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
23329 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
23330 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
23331 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
23332 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
23333 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
23334 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
23335 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
23336 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
23337 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
23338 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23339 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
23340 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
23341 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
23342 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
23343 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
23344 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
23345 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
23346 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
23347 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
23348 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
23349 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
23350 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
23351 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
23352 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
23353 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
23354 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
23355 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
23356 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
23357 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
23358 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
23359 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
23360 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
23361 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
23362 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
23363 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
23364 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
23365 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
23366 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
23367 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
23368 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
23369 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
23370 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
23371 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23372 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
23373 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
23374 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
23375 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
23376 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
23377 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
23378 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
23379 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
23380 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23381 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
23382 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
23383 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
23384 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
23385 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
23386 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
23387 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
23388 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
23389 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
23390 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
23391 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23392 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
23393 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
23394 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
23395 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
23396 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23397 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23398 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23399 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
23400
23401 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23402
23403 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
23404 (Use first letters of yesstr and nostr correctly instead of using
23405 full words).
23406
23407 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23408
23409 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
23410 (Use first letters of yesstr and nostr correctly).
23411
23412 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23413
23414 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
23415 also check for the first characters of yesstr and nostr.
23416 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
23417 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
23418
23419 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23420
23421 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
23422 also check for Chinese characters.
23423
23424 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23425
23426 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
23427 match also for the contents of yesstr and nostr. As the first letter
23428 of yesstr and nostr is equal, checking only for the first letter
23429 is not enough.
23430
23431 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23432
23433 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
23434 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
23435
23436 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23437
23438 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
23439 of main contributor.
23440
23441 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23442
23443 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
23444 instead of using English.
23445
23446 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23447
23448 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
23449 by including the first letters of nostr and yesexpr in the regexp.
23450 Also make it more readable by using ASCII where possible.
23451
23452 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23453
23454 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
23455 the first letter of nostr in the regexp. It agrees with CLDR now.
23456 Also make it more readable by using ASCII where possible.
23457
23458 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23459
23460 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
23461 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
23462 these strings contain a U+17D6 (which somewhat looks like a colon)
23463 instead of a real colon to separate the full words for “yes”
23464 and “no” from the single letter responses.
23465
23466 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23467
23468 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
23469 it agree with CLDR (include the first letter of yesstr).
23470 Also make it more readable by using ASCII where possible.
23471
23472 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23473
23474 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
23475 and improve yesexpr and noexpr. The yesstr and nostr apparently
23476 came from CLDR. And CLDR has a bug there: these strings contain
23477 a U+0903 (which looks like a colon) instead of a real colon
23478 to separate the full words for “yes” and “no” from the single
23479 letter responses.
23480
23481 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23482
23483 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
23484 letters of the full yesstr and nostr in yesexpr and noexpr.
23485
23486 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23487
23488 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
23489 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
23490 * localedata/locales/an_ES: Make source more readable by using ASCII
23491 where possible.
23492
23493 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23494
23495 [BZ #20952]
23496 * localedata/locales/yuw_PG: New file.
23497 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
23498 * locale/iso-639.def: Add Yau (Uruwa).
23499
23500 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23501
23502 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
23503
23504 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23505
23506 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
23507 (__libc_realloc): Likewise.
23508 (_mid_memalign): Likewise.
23509 (__libc_calloc): Likewise.
23510
23511 2017-10-23 Mike FABIAN <mfabian@redhat.com>
23512
23513 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
23514 by adding the generic +1 and -0 as in all other locales.
23515 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
23516 day names and make it more readable by using ASCII where possible.
23517
23518 2017-10-24 Joseph Myers <joseph@codesourcery.com>
23519
23520 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
23521 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
23522
23523 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23524
23525 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
23526 WNOHANG in waitpid call.
23527
23528 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
23529
23530 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
23531 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
23532
23533 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
23534 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
23535 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
23536 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
23537 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
23538 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
23539 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
23540 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
23541 variables.
23542
23543 2017-10-23 Michael Collison <michael.collison@arm.com>
23544
23545 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
23546 with __builtin_sqrt.
23547 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
23548 with __builtin_sqrtf.
23549 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
23550 with __builtin_ceil.
23551 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
23552 with __builtin_ceilf.
23553 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
23554 with __builtin_floor.
23555 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
23556 with __builtin_floorf.
23557 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
23558 with __builtin_fma.
23559 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
23560 with __builtin_fmaf.
23561 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
23562 with __builtin_fmax.
23563 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
23564 with __builtin_fmaxf.
23565 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
23566 with __builtin_fmin.
23567 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
23568 with __builtin_fminf.
23569 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
23570 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
23571 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
23572 with builtin_rint and conversion to int.
23573 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
23574 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
23575 with builtin_llround.
23576 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
23577 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
23578 with builtin_rint and conversion to long int.
23579 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
23580 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
23581 with builtin_lround.
23582 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
23583 with builtin_lroundf.
23584 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
23585 statements with __builtin_nearbyint.
23586 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
23587 statements with __builtin_nearbyintf.
23588 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
23589 with __builtin_rint.
23590 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
23591 with __builtin_rintf.
23592 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
23593 with __builtin_round.
23594 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
23595 with __builtin_roundf.
23596 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
23597 with __builtin_trunc.
23598 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
23599 with __builtin_truncf.
23600 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
23601 and s_l[l]round[f].c too.
23602
23603 2017-10-23 Alan Modra <amodra@gmail.com>
23604
23605 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
23606 Adjust stack after restoring regs. Add missing LR cfi_restore.
23607
23608 2017-10-23 Alan Modra <amodra@gmail.com>
23609
23610 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
23611 Move LR save and frame setup/teardown and LR restore to
23612 immediately around memset call. Provide cfi.
23613
23614 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23615
23616 * sysdeps/i386/fpu/e_powf.S: Removed.
23617 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
23618 * sysdeps/i386/fpu/w_powf.c: Likewise.
23619 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
23620 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23621 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23622 Add e_powf-sse2.
23623 (CFLAGS-e_powf-sse2.c): New.
23624 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
23625 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
23626
23627 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23628
23629 * sysdeps/i386/fpu/e_log2f.S: Removed.
23630 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
23631 * sysdeps/i386/fpu/w_log2f.c: Likewise.
23632 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
23633 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23634 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23635 Add e_log2f-sse2.
23636 (CFLAGS-e_log2f-sse2.c): New.
23637 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
23638 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
23639
23640 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23641
23642 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23643 Add e_powf-fma.
23644 (CFLAGS-e_powf-fma.c): New.
23645 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
23646 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
23647
23648 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23649
23650 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23651 Add e_log2f-fma.
23652 (CFLAGS-e_log2f-fma.c): New.
23653 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
23654 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
23655
23656 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23657
23658 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23659 Add e_logf-fma.
23660 (CFLAGS-e_logf-fma.c): New.
23661 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
23662 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
23663
23664 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23665
23666 * sysdeps/i386/fpu/e_logf.S: Removed.
23667 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
23668 * sysdeps/i386/fpu/w_logf.c: Likewise.
23669 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
23670 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
23671 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23672 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23673 Add e_logf-sse2.
23674 (CFLAGS-e_logf-sse2.c): New.
23675 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
23676 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
23677
23678 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23679
23680 * sysdeps/i386/fpu/e_exp2f.S: Removed.
23681 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
23682 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
23683 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23684 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23685 Add e_exp2f-sse2.
23686 (CFLAGS-e_exp2f-sse2.c): New.
23687 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
23688 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
23689
23690 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23691
23692 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23693 Add e_exp2f-fma.
23694 (CFLAGS-e_exp2f-fma.c): New.
23695 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
23696 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
23697
23698 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23699
23700 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
23701 * sysdeps/i386/fpu/e_expf.S: Likewise.
23702 * sysdeps/i386/fpu/math_errf.c: Likewise.
23703 * sysdeps/i386/fpu/w_expf.c: Likewise.
23704 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
23705 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
23706 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
23707 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
23708 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23709 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23710 Remove e_expf-ia32.
23711 (CFLAGS-e_expf-sse2.c): New.
23712 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
23713 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
23714
23715 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23716
23717 * sysdeps/x86_64/fpu/e_expf.S: Removed.
23718 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
23719 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
23720 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
23721 e_expf.c.
23722 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
23723 New.
23724 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
23725 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
23726 Renamed to ...
23727 (__redirect_expf): This.
23728 (SYMBOL_NAME): Changed to expf.
23729 (__ieee754_expf): Renamed to ...
23730 (__expf): This.
23731 (__GI___expf): This.
23732 (__ieee754_expf): Add strong_alias.
23733 (__expf_finite): Likewise.
23734 (__expf): New.
23735 Include <sysdeps/ieee754/flt-32/e_expf.c>.
23736
23737 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
23738
23739 [BZ #22332]
23740 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
23741 unescaping.
23742
23743 2017-10-21 Florian Weimer <fweimer@redhat.com>
23744
23745 * posix/Makefile (tests): Add tst-glob-tilde.
23746 (tests-special): Add tst-glob-tilde-mem.out
23747 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
23748 (tst-glob-tilde-mem.out): Add mtrace check.
23749 * posix/tst-glob-tilde.c: New file.
23750
23751 2017-10-20 Joseph Myers <joseph@codesourcery.com>
23752
23753 * bits/floatn-common.h: New file.
23754 * math/Makefile (headers): Add bits/floatn-common.h.
23755 * bits/floatn.h: Include <bits/floatn-common.h>.
23756 * sysdeps/ia64/bits/floatn.h: Likewise.
23757 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23758 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
23759 * sysdeps/powerpc/bits/floatn.h: Likewise.
23760 * sysdeps/x86/bits/floatn.h: Likewise.
23761
23762 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23763
23764 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
23765 indicates whether compiler emits an warning for alias for
23766 functions with incompatible types.
23767
23768 [BZ #22273]
23769 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
23770 the auxiliary process is terminated by a signal before calling _exit
23771 or execve.
23772
23773 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23774
23775 [BZ #21265]
23776 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
23777 New.
23778 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
23779 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
23780 and bit_arch_XSAVEC_Usable if needed.
23781 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
23782 and bit_arch_Use_dl_runtime_resolve_opt.
23783 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
23784 Removed.
23785 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
23786 (bit_arch_Prefer_No_AVX512): Updated.
23787 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
23788 (bit_arch_XSAVEC_Usable): New.
23789 (STATE_SAVE_OFFSET): Likewise.
23790 (STATE_SAVE_MASK): Likewise.
23791 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
23792 (cpu_features): Add xsave_state_size and xsave_state_full_size.
23793 (index_arch_Use_dl_runtime_resolve_opt): Removed.
23794 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
23795 (index_arch_XSAVEC_Usable): New.
23796 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
23797 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
23798 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
23799 is enabled.
23800 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
23801 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
23802 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
23803 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
23804 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
23805 _dl_runtime_resolve_xsavec.
23806 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
23807 Removed.
23808 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
23809 instead of VEC_SIZE.
23810 (REGISTER_SAVE_BND0): Removed.
23811 (REGISTER_SAVE_BND1): Likewise.
23812 (REGISTER_SAVE_BND3): Likewise.
23813 (REGISTER_SAVE_RAX): Always defined to 0.
23814 (VMOV): Removed.
23815 (_dl_runtime_resolve_avx): Likewise.
23816 (_dl_runtime_resolve_avx_slow): Likewise.
23817 (_dl_runtime_resolve_avx_opt): Likewise.
23818 (_dl_runtime_resolve_avx512): Likewise.
23819 (_dl_runtime_resolve_avx512_opt): Likewise.
23820 (_dl_runtime_resolve_sse): Likewise.
23821 (_dl_runtime_resolve_sse_vex): Likewise.
23822 (USE_FXSAVE): New.
23823 (_dl_runtime_resolve_fxsave): Likewise.
23824 (USE_XSAVE): Likewise.
23825 (_dl_runtime_resolve_xsave): Likewise.
23826 (USE_XSAVEC): Likewise.
23827 (_dl_runtime_resolve_xsavec): Likewise.
23828 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
23829 Removed.
23830 (_dl_runtime_resolve_avx512_opt): Likewise.
23831 (_dl_runtime_resolve_avx): Likewise.
23832 (_dl_runtime_resolve_avx_opt): Likewise.
23833 (_dl_runtime_resolve_sse): Likewise.
23834 (_dl_runtime_resolve_sse_vex): Likewise.
23835 (_dl_runtime_resolve_fxsave): New.
23836 (_dl_runtime_resolve_xsave): Likewise.
23837 (_dl_runtime_resolve_xsavec): Likewise.
23838
23839 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
23840
23841 [BZ #22320]
23842 CVE-2017-15670
23843 * posix/glob.c (__glob): Fix one-byte overflow.
23844
23845 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23846
23847 * malloc/malloc.c (sysdep-cancel.h): Add include.
23848
23849 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23850
23851 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
23852
23853 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
23854
23855 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
23856 (tests): Remove $(objpfx)ga_test depdendency.
23857 * resolv/ga_test.c: Remove file.
23858
23859 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23860
23861 [BZ #18812]
23862 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
23863 * localedata/locales/kab_DZ: New file.
23864
23865 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23866
23867 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
23868 _dl_relocate_static_pie instead of _dl_start to compute load
23869 address in static PIE.
23870
23871 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23872
23873 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
23874
23875 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23876
23877 [BZ #13605]
23878 * localedata/SUPPORTED: Add shn_MM/UTF-8.
23879 * localedata/locales/shn_MM: New file.
23880
23881 2017-10-20 Florian Weimer <fweimer@redhat.com>
23882
23883 [BZ #22321]
23884 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
23885 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
23886 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
23887 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
23888 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
23889 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
23890
23891 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
23892
23893 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23894
23895 2017-10-19 Joseph Myers <joseph@codesourcery.com>
23896
23897 * sysdeps/mips/ieee754/bits/floatn.h: New file.
23898
23899 [BZ #22322]
23900 * sysdeps/mips/bits/long-double.h: Move to ....
23901 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
23902
23903 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
23904
23905 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
23906
23907 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
23908 H.J. Lu <hongjiu.lu@intel.com>
23909
23910 [BZ #22299]
23911 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23912 GLRO(dl_platform) to NULL.
23913 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
23914 (modules-names): Add tst-platformmod-1 and
23915 x86_64/tst-platformmod-2.
23916 (CFLAGS-tst-platform-1.c): New.
23917 (CFLAGS-tst-platformmod-1.c): Likewise.
23918 (CFLAGS-tst-platformmod-2.c): Likewise.
23919 (LDFLAGS-tst-platformmod-2.so): Likewise.
23920 ($(objpfx)tst-platform-1): Likewise.
23921 ($(objpfx)tst-platform-1.out): Likewise.
23922 (tst-platform-1-ENV): Likewise.
23923 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
23924 * sysdeps/x86_64/tst-platform-1.c: New file.
23925 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
23926 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
23927
23928 2017-10-19 Mike FABIAN <mfabian@redhat.com>
23929
23930 [BZ #13994]
23931 * locale/iso-639.def: Add Karbi.
23932 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
23933 * localedata/locales/mjw_IN: New file.
23934
23935 2017-10-18 Joseph Myers <joseph@codesourcery.com>
23936
23937 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
23938 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23939 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
23940 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
23941 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23942 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23943 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
23944 <bits/floatn.h>.
23945 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23946 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23947 * manual/math.texi (Mathematics): Document additional architecture
23948 support for _Float128.
23949 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23950 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23951 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23952 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23953 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23954 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23955 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23956 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23957 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23958 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23959 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23960 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23961 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23962 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23963 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23964
23965 2017-10-18 Renlin Li <renlin.li@arm.com>
23966
23967 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
23968 _DYNAMIC symbol to calculate load address.
23969
23970 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
23971
23972 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
23973 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
23974 summary bits.
23975 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
23976 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
23977
23978 2017-10-18 Mike FABIAN <mfabian@redhat.com>
23979
23980 [BZ #16777]
23981 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
23982 and improve readability by using more ASCII.
23983 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
23984 and improve readability by using more ASCII.
23985
23986 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
23987
23988 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
23989 not all targets support atomics on bool.
23990
23991 2017-10-17 Joseph Myers <joseph@codesourcery.com>
23992
23993 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
23994 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
23995 __f128.
23996 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23997 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
23998 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23999 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
24000 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24001 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
24002
24003 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24004
24005 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
24006 defines.
24007
24008 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24009
24010 [BZ #22159]
24011 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
24012 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
24013 (do_check_remalloced_chunk): Fix build bug.
24014 (do_check_malloc_state): Add assert that checks arena->top.
24015 (malloc_consolidate): Remove initialization.
24016 (int_mallinfo): Remove call to malloc_consolidate.
24017 (__libc_mallopt): Clarify why malloc_consolidate is needed.
24018
24019 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24020
24021 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
24022 (have_fastchunks): Remove.
24023 (clear_fastchunks): Remove.
24024 (set_fastchunks): Remove.
24025 (malloc_state): Add have_fastchunks.
24026 (malloc_init_state): Use have_fastchunks.
24027 (do_check_malloc_state): Remove incorrect invariant checks.
24028 (_int_malloc): Use have_fastchunks.
24029 (_int_free): Likewise.
24030 (malloc_consolidate): Likewise.
24031
24032 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24033
24034 * malloc/malloc.c (tcache_put): Inline.
24035 (tcache_get): Inline.
24036
24037 2017-10-17 Jordi Mallach <jordi@gnu.org>
24038
24039 Aurelien Jarno <aurelien@aurel32.net>
24040 [BZ #2522]
24041 * localedata/locales/ca_ES@valencia: New file.
24042 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
24043
24044 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
24045
24046 [BZ #22296]
24047 * math/math.h: Let signbit use the builtin in C++ mode with gcc
24048 < 6.x
24049
24050 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24051
24052 * scripts/build-many-glibcs.py (Context.add_all_configs):
24053 Add arm-linux-gnueabihf multiarch extra_glibcs.
24054
24055 * sysdeps/generic/ifunc-init.h: New file.
24056 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
24057
24058 2017-10-17 Mike FABIAN <mfabian@redhat.com>
24059
24060 [BZ #22019]
24061 * localedata/locales/el_GR: Set n_cs_precedes to 0.
24062 * localedata/locales/el_CY: copy "el_GR" because it is identical.
24063 * stdlib/tst-strfmon_l.c: adapt test case.
24064
24065 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24066
24067 * sysdeps/generic/float128-abi.h: New file.
24068 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
24069 non-__prefixed symbols to ....
24070 * math/Versions: ... here. Include <float128-abi.h>.
24071 * stdlib/Versions ... and here. Include <float128-abi.h>
24072
24073 2017-10-16 Florian Weimer <fweimer@redhat.com>
24074
24075 * version.h (VERSION): Switch to ".9000" as the development
24076 version suffix.
24077
24078 2017-10-16 Florian Weimer <fweimer@redhat.com>
24079
24080 [BZ #22050]
24081 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
24082 compat_symbol_reference to access non-default version.
24083
24084 2017-10-16 Florian Weimer <fweimer@redhat.com>
24085
24086 * malloc/Makefile (others-extras): Set to mcheck-init.o.
24087
24088 2017-10-16 Carlos O'Donell <carlos@redhat.com>
24089
24090 * include/shlib-compat.h (compat_symbol_reference): Update
24091 comment.
24092
24093 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24094
24095 * math/Makefile (test-types): Add
24096 $(type-float128-$(float128-alias-fcts)).
24097 * math/test-float128.h (TYPE_STR): Define conditional on
24098 [FLT128_MANT_DIG == LDBL_MANT_DIG].
24099 (ULP_IDX): Likewise.
24100 (ULP_I_IDX): Likewise.
24101
24102 * stdlib/strtold.c: Include <bits/floatn.h>
24103 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
24104 and later undefine as macro. Define as weak alias if
24105 [!USE_WIDE_CHAR].
24106 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
24107 and later undefine as macro. Define as weak alias if
24108 [USE_WIDE_CHAR].
24109 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
24110 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
24111 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24112 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24113 Define and later undefine as macro. Define as weak alias if
24114 [USE_WIDE_CHAR].
24115 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
24116 <bits/floatn.h>.
24117 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
24118 Define and later undefine as macro. Define as weak alias if
24119 [!USE_WIDE_CHAR].
24120 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24121 Define and later undefine as macro. Define as weak alias if
24122 [USE_WIDE_CHAR].
24123
24124 2017-10-15 Carlos O'Donell <carlos@redhat.com>
24125
24126 * localedata/collate-test.c (allocate_arrays): Don't use \n in
24127 record_verbose messages.
24128
24129 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
24130
24131 [BZ #22052]
24132 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
24133 to silence -O3 -Wall warning with GCC 7.
24134
24135 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
24136
24137 * Makeconfig (+link-static-before-libc): Use the first of
24138 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
24139 * gmon/Makefile (tests): Add tst-gmon-static.
24140 (tests-static): Likewise.
24141 (CFLAGS-tst-gmon-static.c): New.
24142 (CRT-tst-gmon-static): Likewise.
24143 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
24144 (tst-gmon-static-ENV): Likewise.
24145 (tests-special): Likewise.
24146 ($(objpfx)tst-gmon-static.out): Likewise.
24147 (clean-tst-gmon-static-data): Likewise.
24148 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
24149 * gmon/tst-gmon-static-gprof.sh: New file.
24150 * gmon/tst-gmon-static.c: Likewise.
24151
24152 2017-10-13 Carlos O'Donell <carlos@redhat.com>
24153
24154 [BZ #22295]
24155 * locale/programs/linereader.c (get_string): Don't warn on
24156 non-symbolic character.
24157
24158 [BZ #22294]
24159 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
24160 int_curr_symbol.
24161
24162 [BZ #22292]
24163 * locale/programs/record-status.h: New file
24164 * locale/programs/locale.c: Add comment.
24165 * locale/programs/charmap-dir.c: Don't include error.h.
24166 (charmap_opendir): Use record_error.
24167 * locale/programs/charmap.c: Don't include error.h.
24168 (charmap_read): Use record_error, and record_warning.
24169 (parse_charmap): Likewise.
24170 * locale/programs/ld-address.c: Don't include error.h.
24171 (address_finish): Use record_error, and record_warning.
24172 * locale/programs/ld-collate.c: Don't include error.h.
24173 (collate_finish): Use record_error, and record_error_at_line.
24174 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
24175 (ctype_class_new): Likewise.
24176 (ctype_map_new): Likewise.
24177 (set_one_default): Likewise.
24178 (set_class_defaults): Likewise.
24179 (translit_flatten): Likewise.
24180 (allocate_arrays): Use record_error, and record_verbose.
24181 * locale/programs/ld-identification.c: Don't include error.h.
24182 (indentation_finish): Use record_error and record_warning.
24183 * locale/programs/ld-measurement.c: Don't include error.h.
24184 (measurement_finish): Use record_error.
24185 * locale/programs/ld-messages.c
24186 (message_finish): Likewise.
24187 * locale/programs/ld-monetary.c
24188 (monetary_finish): Likewise.
24189 * locale/programs/ld-name.c (name_finish): Use record_error
24190 and record_warning.
24191 * locale/programs/ld-numeric.c
24192 (numeric_finish): Use record_error.
24193 * locale/programs/ld-paper.c: Don't include error.h.
24194 (paper_finish): Use record_error.
24195 * locale/programs/ld-telephone.c: Don't include error.h.
24196 (telephone_finish): Use record_error.
24197 * locale/programs/ld-time.c (time_finish): Likewise.
24198 * locale/programs/linereader.h (lr_error): Make inline func.
24199 * locale/programs/localedef.c: Define recorded_warning_count,
24200 and recorded_error_count.
24201 (main): Use record_error. Use recorded_error_count and
24202 recorded_warning_count to issue correct error returns.
24203 (add_to_readlist): Use record_error.
24204 (find_locale): Likewise.
24205 (load_locale): Likewise.
24206 * locale/programs/localedef.h: Remove be_quiet
24207 and WITH_CUR_LOCALE.
24208 * locale/programs/locarchive.c (compare_from_file): Use
24209 record_error.
24210 * locale/programs/locfile.c (write_locale_data): Use
24211 record_error.
24212 * locale/programs/repertoire.c: Dont include error.h.
24213 (repertoire_complain): Use record_error.
24214 * localedata/tst-fmon.sh: Expect failures from localedef.
24215 * localedata/tst-locale.sh: Likewise.
24216 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
24217
24218 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
24219 (REPORTS): Likewise.
24220 (check): Likewise.
24221 (i18n): Rename to...
24222 (i18n_ctype): ...this.
24223 (i18n-report): Rename to...
24224 (i18n_ctype-report): ...this.
24225 * localedata/locales/i18n_ctype: Regenerate.
24226 * localedata/locales/i18n: copy i18n_ctype.
24227
24228 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24229
24230 * stdlib/strfroml.c: Include <bits/floatn.h>.
24231 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
24232 Define before include of <stdlib.h> and undefine afterwards, then
24233 define as weak alias.
24234
24235 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
24236 Undefine and restore default definition. Use
24237 libm_alias_ldouble_other.
24238
24239 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
24240
24241 [BZ #22153]
24242 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
24243 in coredumps.
24244
24245 2017-10-13 James Clarke <jrtc27@jrtc27.com>
24246
24247 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24248 Assign sym_map to be map for local symbols, as TLS relocations
24249 use sym_map to determine whether the symbol is defined and to
24250 extract the TLS information.
24251 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24252 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24253
24254 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24255
24256 [BZ #22189]
24257 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
24258 (math_force_eval): Add powerpc version.
24259
24260 [BZ #22142]
24261 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
24262 -DBL_MAX.
24263 (do_test): Likewise.
24264 * stdio-common/tst-printf.sh: Likewise.
24265 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
24266 ifdef clause in order to set the carry bit right. Replace r0 by
24267 0 without changing the behavior.
24268
24269 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24270
24271 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
24272 <libm-alias-ldouble.h>.
24273 (fabsl): Define using libm_alias_ldouble.
24274 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
24275 <libm-alias-ldouble.h>.
24276 (fabsl): Define using libm_alias_ldouble.
24277
24278 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
24279 Remove conditional code.
24280
24281 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
24282 Rename to __clog10_internal_l.
24283 (__clog10_internal_l): Define aliases using
24284 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
24285 with __clog10.
24286
24287 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24288
24289 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
24290 * benchtests/sincosf-inputs: New file.
24291 * benchtests/cosf-inputs: New file.
24292 * benchtests/sinf-inputs: New file.
24293
24294 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24295
24296 * posix/tst-spawn.c (do_test): Wait for both children.
24297
24298 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
24299
24300 [BZ #22284]
24301 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
24302 tests-pie): Add tst-gmon-pie.
24303 (CFLAGS-tst-gmon-pie.c): New.
24304 (CRT-tst-gmon-pie): Likewise.
24305 (tst-gmon-pie-ENV): Likewise.
24306 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
24307 ($(objpfx)tst-gmon-pie.out): Likewise.
24308 (clean-tst-gmon-pie-data): Likewise.
24309 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
24310 * gmon/gmon.c [PIC]: Include <link.h>.
24311 [PIC] (callback): New function.
24312 (write_hist): Add an argument for load address. Subtract load
24313 address from PCs.
24314 (write_call_graph): Likewise.
24315 (write_gmon): Call __dl_iterate_phdr to get load address, pass
24316 it to write_hist and write_call_graph.
24317 * gmon/tst-gmon-pie.c: New file.
24318
24319 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24320
24321 * math/Makefile (test-types-basic): New variable.
24322 (test-types): Likewise.
24323 (libm-test-support): Use $(test-types) instead of $(types).
24324 (libm-tests-base-normal): Likewise.
24325 (libm-tests-base-finite): Likewise.
24326 (libm-tests-base-inline): Likewise.
24327 (generated): Likewise.
24328 ($(objpfx)libm-test-support-$(t).c): Likewise.
24329 (libm-tests-for-type iterator): Likewise.
24330 (libm-test-support iterator): Likewise.
24331 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
24332 (ulp_idx): Use ULP_IDX.
24333 * math/test-ldouble.h: Include <float.h>.
24334 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
24335 (ULP_IDX): New macro.
24336 (ULP_I_IDX): Likewise.
24337 * math/test-double.h (ULP_IDX): Likewise.
24338 (ULP_I_IDX): Likewise.
24339 * math/test-float.h (ULP_IDX): Likewise.
24340 (ULP_I_IDX): Likewise.
24341 * math/test-float128.h (ULP_IDX): Likewise.
24342 (ULP_I_IDX): Likewise.
24343
24344 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24345
24346 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
24347 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24348 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24349 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
24350 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24351 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
24352 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
24353 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24354 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24355 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24356 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
24357 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24358 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24359 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24360 (SINGLE_THREAD_BY_GLOBAL): Define.
24361 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24362 Likewise.
24363 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24364 Likewise.
24365 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24366 Likewise.
24367 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24368 Likewise.
24369 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
24370 (SINGLE_THREAD_BY_GLOBAL): Likewise.
24371 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24372 Likewise.
24373
24374 2017-10-11 Andreas Schwab <schwab@suse.de>
24375
24376 * nis/Makefile (aux): Remove.
24377 * nscd/Makefile (aux): Add nscd_hash.
24378 (nscd-modules): Likewise.
24379 ($(objpfx)nscd): Don't depend on libnsl.
24380 * nscd/nscd_hash.c: New file.
24381 * nscd/nscd_hash.h: Likewise.
24382 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
24383 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
24384 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
24385 instead of <nis/rpcsvc/nis.h>.
24386 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
24387
24388 2017-10-11 Florian Weimer <fweimer@redhat.com>
24389
24390 [BZ #22078]
24391 Avoid large NSS buffers with many addresses, aliases.
24392 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
24393 using dynarrays and struct alloc_buffer.
24394 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
24395 (tst-nss-files-hosts-multi): Link with -ldl.
24396 * nss/tst-nss-files-hosts-multi.c: New file.
24397
24398 2017-10-11 Florian Weimer <fweimer@redhat.com>
24399
24400 [BZ #18023]
24401 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
24402 scratch_buffer. Eliminate gotos.
24403
24404 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24405
24406 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
24407 libm_alias_ldouble_other.
24408 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
24409 undefine and redefine.
24410 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
24411 (exp10l): Do not define here.
24412 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
24413 (weak_alias): Undefine and redefine.
24414 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
24415 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
24416 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
24417 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
24418
24419 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
24420 [!__fma] (fma): Define using libm_alias_double.
24421 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
24422 [!__fmaf] (fmaf): Define using libm_alias_float.
24423 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
24424 (fmal): Define using libm_alias_ldouble.
24425
24426 2017-10-10 Joseph Myers <joseph@codesourcery.com>
24427
24428 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
24429 New macro.
24430 (libm_alias_double_other): Likewise.
24431 (libm_alias_double_r): Use libm_alias_double_other_r.
24432 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
24433 New macro.
24434 (libm_alias_float_other): Likewise.
24435 (libm_alias_float_r): Use libm_alias_float_other_r.
24436 * sysdeps/generic/libm-alias-float128.h
24437 (libm_alias_float128_other_r): New macro.
24438 (libm_alias_float128_other): Likewise.
24439 (libm_alias_float128_r): Use libm_alias_float128_other_r.
24440 * sysdeps/generic/libm-alias-ldouble.h
24441 (libm_alias_ldouble_other_r): New macro.
24442 (libm_alias_ldouble_other): Likewise.
24443 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24444 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24445 (libm_alias_double_other_r): New macro.
24446 (libm_alias_double_other): Likewise.
24447 (libm_alias_double_r): Use libm_alias_double_other_r.
24448 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24449 (libm_alias_ldouble_other_r): New macro.
24450 (libm_alias_ldouble_other): Likewise.
24451 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24452 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
24453 [!USE_AS_COMPAT]: Use libm_alias_double_other.
24454 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
24455 [!USE_AS_COMPAT]: Use libm_alias_float_other.
24456 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
24457 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
24458 * math/w_exp2f.c: Use libm_alias_float_other.
24459 * math/w_expf.c: Likewise.
24460 * math/w_log2f.c: Likewise.
24461 * math/w_logf.c: Likewise.
24462 * math/w_powf.c: Likewise.
24463 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
24464 [!__exp2f]: Use libm_alias_float_other.
24465 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
24466 [!__expf]: Use libm_alias_float_other.
24467 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
24468 [!__log2f]: Use libm_alias_float_other.
24469 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
24470 [!__logf]: Use libm_alias_float_other.
24471 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
24472 [!__powf]: Use libm_alias_float_other.
24473
24474 2017-10-10 Florian Weimer <fweimer@redhat.com>
24475
24476 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
24477 function.
24478 (_nss_files_gethostbyname3_r): Call it.
24479
24480 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24481
24482 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
24483 error. Remove default definition of declare_mgen_alias.
24484 [!declare_mgen_alias_r]: Likewise.
24485 * sysdeps/generic/math-type-macros-double.h
24486 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
24487 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
24488 (declare_mgen_alias_r): Likewise.
24489 * sysdeps/generic/math-type-macros-float128.h
24490 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24491 * sysdeps/generic/math-type-macros-ldouble.h
24492 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24493 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
24494 macro.
24495 (declare_mgen_alias_r_s): Likewise.
24496 (declare_mgen_alias_r): Likewise.
24497 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
24498 (lgamma_r): Define using libm_alias_double_r.
24499 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
24500 (lgammaf_r): Define using libm_alias_float_r.
24501 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
24502 (lgammal_r): Define using libm_alias_ldouble_r.
24503 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
24504 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
24505
24506 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24507
24508 * lib/glob.c (__glob_pattern_type): Remove now-spurious
24509 extern declaration.
24510
24511 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24512
24513 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
24514
24515 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
24516
24517 [BZ #21326]
24518 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
24519 [__cplusplus >= 201103] (__USE_ISOC99): Define.
24520 * math/Makefile (test-math-cxx11): New test.
24521 * math/test-math-cxx11.cc: New file.
24522
24523 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
24524
24525 * login/openpty.c (openpty): Close slave pty file descriptor on error.
24526
24527 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
24528 call to allocate the slave pty file descriptor.
24529
24530 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24531
24532 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
24533 [!__fma] (fma): Define using libm_alias_double.
24534 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
24535 [!__fma] (fma): Define using libm_alias_double.
24536
24537 * sysdeps/ieee754/float128/float128_private.h: Include
24538 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
24539 (libm_alias_ldouble_r): Undefine and redefine.
24540 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
24541 <libm-alias-ldouble.h>.
24542 (asinhl): Define using libm_alias_ldouble.
24543 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
24544 <libm-alias-ldouble.h>.
24545 (atanl): Define using libm_alias_ldouble.
24546 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
24547 <libm-alias-ldouble.h>.
24548 (cbrtl): Define using libm_alias_ldouble.
24549 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
24550 <libm-alias-ldouble.h>.
24551 (ceill): Define using libm_alias_ldouble.
24552 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
24553 <libm-alias-ldouble.h>.
24554 (copysignl): Define using libm_alias_ldouble.
24555 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
24556 <libm-alias-ldouble.h>.
24557 (cosl): Define using libm_alias_ldouble.
24558 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
24559 <libm-alias-ldouble.h>.
24560 (erfl): Define using libm_alias_ldouble.
24561 (erfcl): Likewise.
24562 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
24563 <libm-alias-ldouble.h>.
24564 (expm1l): Define using libm_alias_ldouble.
24565 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
24566 <libm-alias-ldouble.h>.
24567 (fabsl): Define using libm_alias_ldouble.
24568 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
24569 <libm-alias-ldouble.h>.
24570 (floorl): Define using libm_alias_ldouble.
24571 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
24572 <libm-alias-ldouble.h>.
24573 (fmal): Define using libm_alias_ldouble.
24574 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
24575 <libm-alias-ldouble.h>.
24576 (frexpl): Define using libm_alias_ldouble.
24577 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
24578 libm_alias_ldouble.
24579 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
24580 <libm-alias-ldouble.h>.
24581 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
24582 libm_alias_ldouble.
24583 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
24584 <libm-alias-ldouble.h>.
24585 (getpayloadl): Define using libm_alias_ldouble.
24586 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
24587 <libm-alias-ldouble.h>.
24588 (llrintl): Define using libm_alias_ldouble.
24589 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
24590 <libm-alias-ldouble.h>.
24591 (llroundl): Define using libm_alias_ldouble.
24592 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
24593 <libm-alias-ldouble.h>.
24594 (logbl): Define using libm_alias_ldouble.
24595 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
24596 <libm-alias-ldouble.h>.
24597 (lrintl): Define using libm_alias_ldouble.
24598 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
24599 <libm-alias-ldouble.h>.
24600 (lroundl): Define using libm_alias_ldouble.
24601 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
24602 <libm-alias-ldouble.h>.
24603 (modfl): Define using libm_alias_ldouble.
24604 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
24605 <libm-alias-ldouble.h>.
24606 (nearbyintl): Define using libm_alias_ldouble.
24607 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
24608 <libm-alias-ldouble.h>.
24609 (nextafterl): Define using libm_alias_ldouble.
24610 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
24611 <libm-alias-ldouble.h>.
24612 (nextupl): Define using libm_alias_ldouble.
24613 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
24614 <libm-alias-ldouble.h>.
24615 (remquol): Define using libm_alias_ldouble.
24616 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
24617 <libm-alias-ldouble.h>.
24618 (rintl): Define using libm_alias_ldouble.
24619 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
24620 <libm-alias-ldouble.h>.
24621 (roundevenl): Define using libm_alias_ldouble.
24622 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
24623 <libm-alias-ldouble.h>.
24624 (roundl): Define using libm_alias_ldouble.
24625 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
24626 using libm_alias_ldouble.
24627 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
24628 <libm-alias-ldouble.h>.
24629 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
24630 Define using libm_alias_ldouble.
24631 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
24632 <libm-alias-ldouble.h>.
24633 (sincosl): Define using libm_alias_ldouble.
24634 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
24635 <libm-alias-ldouble.h>.
24636 (sinl): Define using libm_alias_ldouble.
24637 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
24638 <libm-alias-ldouble.h>.
24639 (tanhl): Define using libm_alias_ldouble.
24640 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
24641 <libm-alias-ldouble.h>.
24642 (tanl): Define using libm_alias_ldouble.
24643 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
24644 <libm-alias-ldouble.h>.
24645 (totalorderl): Define using libm_alias_ldouble.
24646 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
24647 <libm-alias-ldouble.h>.
24648 (totalordermagl): Define using libm_alias_ldouble.
24649 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
24650 <libm-alias-ldouble.h>.
24651 (truncl): Define using libm_alias_ldouble.
24652 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
24653 libm_alias_ldouble.
24654 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
24655 libm_alias_ldouble.
24656 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
24657 <libm-alias-ldouble.h>.
24658 (weak_alias): Do not undefine and redefine.
24659 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24660 (copysignl): Define with long_double_symbol only if [IS_IN
24661 (libc)].
24662 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
24663 <libm-alias-ldouble.h>.
24664 (weak_alias): Do not undefine and redefine.
24665 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24666 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
24667 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
24668 <libm-alias-ldouble.h>.
24669 (weak_alias): Do not undefine and redefine.
24670 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24671 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
24672 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
24673 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
24674 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
24675 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
24676 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
24677 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
24678 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
24679 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
24680 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
24681 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
24682 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
24683 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
24684 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
24685 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
24686 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
24687 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
24688 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
24689 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
24690 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
24691 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
24692 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
24693 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
24694 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
24695 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
24696
24697 2017-10-06 Carlos O'Donell <carlos@redhat.com>
24698
24699 [BZ #22111]
24700 * malloc/malloc.c (tcache_shutting_down): Use bool type.
24701 (tcache_thread_freeres): Set tcache_shutting_down before
24702 freeing the tcache.
24703 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
24704 * malloc/tst-malloc-tcache-leak.c: New file.
24705
24706 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24707
24708 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
24709 back to powerpc32 file.
24710 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
24711 (memrchr): Add __memrchr_power8 to ifunc list.
24712 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
24713 extra bytes for unaligned inputs.
24714
24715 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24716
24717 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
24718 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
24719 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
24720 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24721 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24722
24723 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24724
24725 * sysdeps/arm/libm-test-ulps: Update.
24726
24727 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
24728 <libm-alias-ldouble.h>.
24729 (asinhl): Define using libm_alias_ldouble.
24730 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
24731 <libm-alias-ldouble.h>.
24732 (cbrtl): Define using libm_alias_ldouble.
24733 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
24734 <libm-alias-ldouble.h>.
24735 (copysignl): Define using libm_alias_ldouble.
24736 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
24737 <libm-alias-ldouble.h>.
24738 (cosl): Define using libm_alias_ldouble.
24739 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
24740 <libm-alias-ldouble.h>.
24741 (erfl): Define using libm_alias_ldouble.
24742 (erfcl): Likewise.
24743 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
24744 <libm-alias-ldouble.h>.
24745 (fmal): Define using libm_alias_ldouble.
24746 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
24747 <libm-alias-ldouble.h>.
24748 (frexpl): Define using libm_alias_ldouble.
24749 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
24750 libm_alias_ldouble.
24751 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
24752 <libm-alias-ldouble.h>.
24753 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
24754 libm_alias_ldouble.
24755 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
24756 <libm-alias-ldouble.h>.
24757 (getpayloadl): Define using libm_alias_ldouble.
24758 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
24759 <libm-alias-ldouble.h>.
24760 (llrintl): Define using libm_alias_ldouble.
24761 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
24762 <libm-alias-ldouble.h>.
24763 (llroundl): Define using libm_alias_ldouble.
24764 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
24765 <libm-alias-ldouble.h>.
24766 (lrintl): Define using libm_alias_ldouble.
24767 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
24768 <libm-alias-ldouble.h>.
24769 (lroundl): Define using libm_alias_ldouble.
24770 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
24771 <libm-alias-ldouble.h>.
24772 (modfl): Define using libm_alias_ldouble.
24773 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
24774 <libm-alias-ldouble.h>.
24775 (nextupl): Define using libm_alias_ldouble.
24776 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
24777 <libm-alias-ldouble.h>.
24778 (remquol): Define using libm_alias_ldouble.
24779 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
24780 <libm-alias-ldouble.h>.
24781 (roundevenl): Define using libm_alias_ldouble.
24782 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
24783 <libm-alias-ldouble.h>.
24784 (roundl): Define using libm_alias_ldouble.
24785 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
24786 using libm_alias_ldouble.
24787 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
24788 <libm-alias-ldouble.h>.
24789 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
24790 <libm-alias-ldouble.h>.
24791 (setpayloadsigl): Define using libm_alias_ldouble.
24792 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
24793 <libm-alias-ldouble.h>.
24794 (sincosl): Define using libm_alias_ldouble.
24795 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
24796 <libm-alias-ldouble.h>.
24797 (sinl): Define using libm_alias_ldouble.
24798 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
24799 <libm-alias-ldouble.h>.
24800 (tanhl): Define using libm_alias_ldouble.
24801 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
24802 <libm-alias-ldouble.h>.
24803 (tanl): Define using libm_alias_ldouble.
24804 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
24805 <libm-alias-ldouble.h>.
24806 (totalorderl): Define using libm_alias_ldouble.
24807 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
24808 <libm-alias-ldouble.h>.
24809 (totalordermagl): Define using libm_alias_ldouble.
24810 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
24811 libm_alias_ldouble.
24812 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
24813 libm_alias_ldouble.
24814
24815 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
24816
24817 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
24818 memmove_falkor.
24819 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24820 (__libc_ifunc_impl_list): Likewise.
24821 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
24822 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
24823
24824 * benchtests/bench-memmove-walk.c: New file.
24825 * benchtests/Makefile (string-benchset): Add it.
24826
24827 * benchtests/bench-memset-walk.c: New file.
24828 * benchtests/Makefile (string-benchset): Add it.
24829
24830 * benchtests/bench-memcpy-walk.c: New file.
24831 * benchtests/Makefile (string-benchset): Add it.
24832
24833 2017-10-05 Florian Weimer <fweimer@redhat.com>
24834
24835 nscd: Eliminate compilation time dependency in the build output.
24836 * nscd/nscd_stat.c (STATDATA_VERSION)
24837 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
24838 (STATDATA_VERSION_FULL): New macro definitions.
24839 (compilation): Remove.
24840 (struct statdata): Adjust version member.
24841 (send_stats): Set version from STATDATA_VERSION_FULL.
24842 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
24843
24844 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24845
24846 * configure.ac (--enable-add-ons): Remove option.
24847 (machine): Do not mention add-ons in comment.
24848 (LIBC_PRECONFIGURE): Likewise.
24849 (add_ons): Remove variable and sanity checks and logic to locate
24850 add-ons.
24851 (add_ons_automatic): Remove variable.
24852 (configured_add_ons): Likewise.
24853 (add_ons_sfx): Likewise.
24854 (add_ons_pfx): Likewise.
24855 (add_on_subdirs): Likewise.
24856 (sysnames_add_ons): Likewise. Remove loop over add-ons and
24857 consideration of add-ons in Implies handling.
24858 (sysdeps_add_ons): Likewise.
24859 * configure: Regenerated.
24860 * libidn/configure.ac: Remove.
24861 * libidn/configure: Likewise.
24862 * sysdeps/unix/inet/configure.ac: New file.
24863 * sysdeps/unix/inet/configure: New generated file.
24864 * sysdeps/unix/inet/Subdirs: Add libidn.
24865 * Makeconfig (sysdeps-srcdirs): Remove variable.
24866 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
24867 ($(common-objpfx)config.status): Do not depend on add-on files.
24868 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
24869 comment.
24870 (all-subdirs): Do not include $(add-on-subdirs).
24871 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
24872 * config.make.in (add-ons): Remove variable.
24873 (add-on-subdirs): Likewise.
24874 (sysdeps-add-ons): Likewise.
24875 * manual/Makefile (add-chapters): Remove.
24876 ($(objpfx)texis): Do not depend on $(add-chapters).
24877 (nonexamples): Do not handle $(add-chapters).
24878 (examples): Do not handle $(add-ons).
24879 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
24880 libc-texinfo.sh.
24881 * manual/install.texi (Installation): Do not mention add-ons.
24882 (--enable-add-ons): Do not document configure option.
24883 * INSTALL: Regenerated.
24884 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
24885 * manual/maint.texi (Hierarchy Conventions): Do not mention
24886 add-ons.
24887 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
24888 --enable-add-ons.
24889 * scripts/gen-sorted.awk: Do not handle Subdirs files from
24890 add-ons.
24891 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
24892 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
24893
24894 2017-10-05 Andreas Schwab <schwab@suse.de>
24895
24896 [BZ #15142]
24897 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
24898 (_IO_flush_all_lockp): Always lock list_all_lock.
24899 (_IO_flush_all_linebuffered): Likewise.
24900 (_IO_unbuffer_all): Likewise.
24901
24902 2017-10-05 Florian Weimer <fweimer@redhat.com>
24903
24904 [BZ #15436]
24905 Do not flush stdio streams on abort.
24906 * stdlib/abort.c (fflush): Remove macro definition.
24907 (abort): Remove stages related to stdio flushing.
24908
24909 2017-10-05 Florian Weimer <fweimer@redhat.com>
24910
24911 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
24912
24913 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
24914
24915 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24916
24917 2017-10-05 Florian Weimer <fweimer@redhat.com>
24918
24919 * support/support_format_hostent.c (support_format_hostent): Add
24920 more error information for NETDB_INTERNAL.
24921
24922 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24923
24924 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
24925 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
24926 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
24927 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
24928 AC_DEFINE if multi-arch is enabled.
24929 * sysdeps/i386/configure: Regenerated.
24930
24931 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24932
24933 * Makeconfig (+link-static-before-libc): Use
24934 $(DEFAULT-LDFLAGS-$(@F)).
24935 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
24936 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
24937 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
24938
24939 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24940
24941 * elf/Makefile (tests): Add tst-main1.
24942 (modules-names): Add tst-main1mod.
24943 ($(objpfx)tst-main1): New.
24944 (CRT-tst-main1): Likewise.
24945 (LDFLAGS-tst-main1): Likewise.
24946 (LDLIBS-tst-main1): Likewise.
24947 (tst-main1mod.so-no-z-defs): Likewise.
24948 * elf/tst-main1.c: New file.
24949 * elf/tst-main1mod.c: Likewise.
24950
24951 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24952
24953 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
24954
24955 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24956
24957 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
24958 (fma): Define using libm_alias_double.
24959 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
24960 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
24961 <math_ldbl_opt.h>.
24962 (fmal): Do not define as compat symbol here.
24963 * sysdeps/alpha/fpu/s_fma.c: New file.
24964
24965 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24966
24967 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
24968
24969 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24970
24971 [BZ #22229]
24972 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24973 <math_ldbl_opt.h>
24974 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24975 and libc.
24976 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
24977 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24978 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
24979 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
24980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24981 Include <math_ldbl_opt.h>
24982 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24983 and libc.
24984 (compat_symbol): Undefine and redefine.
24985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24986 <math_ldbl_opt.h>
24987 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24988 (compat_symbol): Undefine and redefine.
24989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
24990 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
24991 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
24992 GLIBC_2_1 for libm.
24993 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
24994 GLIBC_2.0 copysignl symbol.
24995 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24996 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
24997
24998 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
24999
25000 2017-10-04 Florian Weimer <fweimer@redhat.com>
25001
25002 * scripts/check-local-headers.sh: Ignore nspr4 header file
25003 directory in addition to nspr.
25004
25005 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
25006
25007 [BZ #17956]
25008 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
25009 * configure: Regenerate.
25010 * crypt/Makefile (nss-cpp-flags): New variable.
25011 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
25012 (CPPFLAGS-md5-crypt.c): Use it.
25013 * scripts/check-local-headers.sh: Ignore nspr header file
25014 directory.
25015
25016 2017-10-04 Andreas Schwab <schwab@suse.de>
25017
25018 * nis/Makefile (services): Remove compat.
25019 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
25020 ($(objpfx)libnss_compat.so): Remove rule.
25021 * nis/Versions (libnss_compat): Remove.
25022 * nss/Makefile (services): Add compat.
25023 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
25024 * nss/Versions (libnss_compat): Define.
25025 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
25026 Don't include <rpc/types.h>. Replace bool_t by bool.
25027 * nss/nss_compat/compat-initgroups.c: Likewise.
25028 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
25029 instead of <rpcsrv/ypclnt.h>.
25030 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
25031 yp_get_default_domain.
25032 * nss/nss_compat/compat-pwd.c: Likewise.
25033 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
25034 yp_get_default_domain.
25035 * nss/nss_compat/nisdomain.c: New file.
25036 * nss/nss_compat/nisdomain.h: Likewise.
25037
25038 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25039
25040 [BZ #22244]
25041 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
25042 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25043
25044 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25045
25046 [BZ #22243]
25047 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
25048 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
25049
25050 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25051
25052 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
25053 "movl main@GOTOFF(%ebx), %eax".
25054
25055 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25056
25057 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
25058 allow undefined _DYNAMIC in PIE libc.a.
25059 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
25060 Likewse.
25061
25062 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25063
25064 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
25065 check _DYNAMIC.
25066
25067 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25068
25069 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
25070 check _DYNAMIC.
25071
25072 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25073
25074 * math/test-math-iscanonical.cc (error): Replace bool with int.
25075
25076 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25077
25078 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
25079 (modf): Define using libm_alias_double, only if [!__modf].
25080 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
25081 <libm-alias-double.h>.
25082 (modf): Define using libm_alias_double, only if [!__modf].
25083 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
25084 compat symbol here.
25085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
25086 (weak_alias): Do not undefine and redefine.
25087 (strong_alias): Likewise.
25088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
25089 (weak_alias): Likewise.
25090 (strong_alias): Likewise.
25091
25092 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
25093 (logb): Define using libm_alias_double, only if [!__logb].
25094 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
25095 <libm-alias-double.h>.
25096 (logb): Define using libm_alias_double, only if [!__logb].
25097 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
25098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
25099 (weak_alias): Do not undefine and redefine.
25100 (strong_alias): Likewise.
25101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
25102 (weak_alias): Likewise.
25103 (strong_alias): Likewise.
25104
25105 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25106
25107 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
25108 Check SHARED instead PIC.
25109
25110 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25111
25112 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
25113 [!__fmaf] (fmaf): Define using libm_alias_float.
25114
25115 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
25116 (frexp): Define using libm_alias_double.
25117 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
25118 <libm-alias-double.h>.
25119 (frexp): Define using libm_alias_double.
25120 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
25121 compat symbol here.
25122
25123 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25124
25125 [BZ #22235]
25126 * math/math.h: Trivial fix for unbalanced parentheses in comment.
25127 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
25128 (CFLAGS-test-math-iscanonical.cc): New variable.
25129 * math/test-math-iscanonical.cc: New file.
25130 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
25131 Provide a C++ implementation based on function overloading,
25132 rather than using __MATH_TG, which uses C-only builtins.
25133 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
25134 Likewise.
25135 * sysdeps/powerpc/powerpc64le/Makefile
25136 (CFLAGS-test-math-iscanonical.cc): New variable.
25137
25138 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25139
25140 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
25141 (ceil): Define using libm_alias_double.
25142 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
25143 (floor): Define using libm_alias_double.
25144 * sysdeps/ieee754/dbl-64/s_llround.c: Include
25145 <libm-alias-double.h>.
25146 (llround): Define using libm_alias_double.
25147 * sysdeps/ieee754/dbl-64/s_lround.c: Include
25148 <libm-alias-double.h>.
25149 (lround): Define using libm_alias_double.
25150 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
25151 <libm-alias-double.h>.
25152 (nearbyint): Define using libm_alias_double.
25153 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
25154 <libm-alias-double.h>.
25155 (remquo): Define using libm_alias_double.
25156 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
25157 (rint): Define using libm_alias_double.
25158 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
25159 (round): Define using libm_alias_double.
25160 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
25161 (trunc): Define using libm_alias_double.
25162 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
25163 <libm-alias-double.h>.
25164 (ceil): Define using libm_alias_double.
25165 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
25166 <libm-alias-double.h>.
25167 (floor): Define using libm_alias_double.
25168 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
25169 <libm-alias-double.h>.
25170 (llround): Define using libm_alias_double.
25171 [_LP64] (lround): Likewise.
25172 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
25173 <libm-alias-double.h>.
25174 [!_LP64] (lround): Define using libm_alias_double.
25175 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
25176 <libm-alias-double.h>.
25177 (nearbyint): Define using libm_alias_double.
25178 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
25179 <libm-alias-double.h>.
25180 (remquo): Define using libm_alias_double.
25181 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
25182 <libm-alias-double.h>.
25183 (rint): Define using libm_alias_double.
25184 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
25185 <libm-alias-double.h>.
25186 (round): Define using libm_alias_double.
25187 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
25188 <libm-alias-double.h>.
25189 (trunc): Define using libm_alias_double.
25190 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
25191 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
25192 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
25193 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
25194 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
25195 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
25196 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
25197 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
25198 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
25199
25200 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25201
25202 * math/w_remainder.c: New file.
25203 * math/w_remainderf.c: New file.
25204 * math/w_remainderl.c: New file.
25205
25206 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25207
25208 * elf/rtld.c (BOOTSTRAP_MAP): New.
25209 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
25210 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25211 Likewise.
25212 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25213 Likewise.
25214 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25215 Likewise.
25216
25217 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
25218
25219 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
25220 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
25221 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
25222 rtld_hidden_data_ver): Define to empty.
25223 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
25224 __assert_perror_fail): Likewise.
25225 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25226 (__rewinddir): Likewise.
25227 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25228 (__profile_frequency): Likewise.
25229 * include/setjmp.h (__sigsetjmp): Likewise.
25230 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
25231 __libc_sigaction): Likewise.
25232 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
25233 not set hidden attribute.
25234 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
25235 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
25236 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
25237 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
25238 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
25239 __fxstatat64): Likewise.
25240 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25241 (__uname): Likewise.
25242 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25243 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
25244 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
25245 (NO_RTLD_HIDDEN): Set.
25246 * sysdeps/mach/hurd/configure: Refresh.
25247 * config.h.in: Refresh.
25248
25249 2017-10-02 Joseph Myers <joseph@codesourcery.com>
25250
25251 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
25252 (atan): Define using libm_alias_double.
25253 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
25254 (tan): Define using libm_alias_double.
25255 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
25256 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
25257
25258 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
25259 define as weak alias of __atan. Do not define any aliases if
25260 [__atan].
25261 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
25262 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
25263 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
25264 as weak alias of __tan. Do not define any aliases if [__tan].
25265 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
25266 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
25267 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
25268 __atan.
25269 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
25270 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
25271 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
25272 and define as weak alias of __atan.
25273 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
25274 __atan.
25275 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
25276 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
25277 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
25278 define as weak alias of __tan.
25279
25280 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25281
25282 * math/w_lgamma.c: New file.
25283 * math/w_lgammaf.c: New file.
25284 * math/w_lgammal.c: New file.
25285
25286 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25287
25288 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
25289 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
25290 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
25291 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
25292 * sysdeps/ieee754/flt-32/w_logf.c: New file.
25293 * sysdeps/ieee754/flt-32/w_powf.c: New file.
25294 * sysdeps/i386/fpu/w_log2f.c: New file.
25295 * sysdeps/i386/fpu/w_logf.c: New file.
25296 * sysdeps/i386/fpu/w_powf.c: New file.
25297 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
25298 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
25299 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
25300
25301 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25302 H.J. Lu <hongjiu.lu@intel.com>
25303
25304 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
25305 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
25306 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
25307 * sysdeps/ieee754/flt-32/w_expf.c: New file.
25308 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
25309 the new expf code.
25310 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
25311 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
25312 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
25313 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
25314 * sysdeps/i386/fpu/w_exp2f.c: New file.
25315 * sysdeps/i386/fpu/w_expf.c: New file.
25316 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
25317 * sysdeps/x86_64/fpu/w_expf.c: New file.
25318
25319 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25320
25321 * math/Versions (logf): New libm symbol at GLIBC_2.27.
25322 (log2f): Likewise.
25323 (powf): Likewise.
25324 * math/w_log2f.c: New file.
25325 * math/w_logf.c: New file.
25326 * math/w_powf.c: New file.
25327 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
25328 * math/w_logf_compat.c (__logf_compat): Likewise.
25329 * math/w_powf_compat.c (__powf_compat): Likewise.
25330 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
25331 * sysdeps/ia64/fpu/e_logf.S: Likewise.
25332 * sysdeps/ia64/fpu/e_powf.S: Likewise.
25333 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
25334 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25335 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25336 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25337 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25338 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25339 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25340 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25341 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25342 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25343 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25344 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25346 Likewise.
25347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25348 Likewise.
25349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25350 Likewise.
25351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25352 Likewise.
25353 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25354 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25355 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25356 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25357 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25358 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25359 Likewise.
25360 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25361 Likewise.
25362 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25363 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25364 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25365
25366 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25367
25368 * sysdeps/powerpc/powerpc64/multiarch/Makefile
25369 (sysdep_routines): Add memrchr_power8.
25370 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25371 (memrchr): Add __memrchr_power8 to list of memrchr functions.
25372 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
25373 New file.
25374 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25375 (memrchr): Add __memrchr_power8 to ifunc list.
25376 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
25377
25378 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25379
25380 [BZ #18822]
25381 * sysdeps/unix/sysv/linux/posix_fadvise64.c
25382 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
25383 libc_hidden_def.
25384 * sysdeps/unix/sysv/linux/posix_fallocate64.c
25385 (__posix_fallocate64_l64): Likewise.
25386
25387 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25388
25389 [BZ #18822]
25390 * sysdeps/unix/sysv/linux/sched_setaffinity.c
25391 (__sched_setaffinity_new): Add libc_hidden_proto and
25392 libc_hidden_def.
25393
25394 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25395
25396 [BZ #18822]
25397 * include/glob.h (__glob64): Add libc_hidden_proto.
25398 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
25399 libc_hidden_def.
25400
25401 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25402
25403 [BZ #18822]
25404 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
25405 attribute_hidden.
25406
25407 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25408
25409 [BZ #18822]
25410 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
25411
25412 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25413
25414 [BZ #18822]
25415 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
25416 libc_hidden_def.
25417
25418 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25419
25420 [BZ #18822]
25421 * csu/version.c (__libc_print_version): Add attribute_hidden.
25422
25423 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25424
25425 [BZ #18822]
25426 * include/libc-internal.h (__init_misc): Add attribute_hidden.
25427
25428 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25429
25430 [BZ #18822]
25431 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
25432
25433 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25434
25435 [BZ #18822]
25436 * nscd/nscd_helper.c (__nis_hash): New prototype.
25437
25438 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25439
25440 [BZ #18822]
25441 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
25442 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
25443 libc_hidden_def.
25444 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25445 * termios/tcgetattr.c (__tcgetattr): Likewise.
25446
25447 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25448
25449 [BZ #18822]
25450 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
25451 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
25452 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
25453 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
25454 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
25455
25456 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25457
25458 [BZ #18822]
25459 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
25460
25461 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25462
25463 [BZ #18822]
25464 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
25465 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
25466
25467 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25468
25469 [BZ #18822]
25470 * intl/hash-string.h (__hash_string): Add attribute_hidden.
25471
25472 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25473
25474 [BZ #18822]
25475 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
25476 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
25477
25478 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25479
25480 [BZ #18822]
25481 * include/ifreq.h: New file.
25482 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
25483 (__ifreq): Likewise.
25484 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
25485 (__ifreq): Likewise.
25486
25487 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25488
25489 [BZ #18822]
25490 * include/idna.h: New file.
25491 * inet/getnameinfo.c: Include <idna.h> instead of
25492 <libidn/idna.h>.
25493 (__idna_to_unicode_lzlz): Removed.
25494 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
25495 <libidn/idna.h>.
25496 (__idna_to_ascii_lz): Removed.
25497 (__idna_to_unicode_lzlz): Likewise.
25498
25499 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25500
25501 [BZ #18822]
25502 * include/plural-exp.h: New file.
25503 * intl/plural-exp.c: Include <plural-exp.h> instead of
25504 "plural-exp.h".
25505
25506 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25507
25508 [BZ #18822]
25509 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
25510 "getsourcefilter.h".
25511 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
25512 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
25513 "getsourcefilter.h".
25514 (__get_sol): Removed.
25515
25516 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25517
25518 [BZ #18822]
25519 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
25520 to ...
25521 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
25522
25523 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25524
25525 [BZ #18822]
25526 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
25527 attribute_hidden.
25528
25529 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25530
25531 [BZ #18822]
25532 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
25533
25534 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25535
25536 [BZ #18822]
25537 * include/search.h (__tdestroy): Add libc_hidden_proto.
25538 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
25539
25540 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25541
25542 [BZ #18822]
25543 * include/assert.h (__assert_fail_base): Add attribute_hidden.
25544
25545 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25546
25547 [BZ #18822]
25548 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
25549 attribute_hidden.
25550
25551 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25552
25553 [BZ #18822]
25554 * include/signal.h (__kill): Add libc_hidden_proto.
25555 (__sigblock): Likewise.
25556 (__sigprocmask): Likewise.
25557 (__sigaltstack): Likewise.
25558 * signal/kill.c (__kill): Add libc_hidden_def.
25559 * signal/sigblock.c (__sigblock): Likewise.
25560 * signal/sigprocmask.c (__sigprocmask): Likewise.
25561 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
25562 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
25563 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
25564 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
25565 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
25566 Likewise.
25567 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
25568 Likewise.
25569 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
25570 (__sigprocmask): Likewise.
25571 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
25572 Likewise.
25573 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
25574 (__sigprocmask): Likewise.
25575 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
25576 Likewise.
25577
25578 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25579
25580 [BZ #18822]
25581 * include/string.h (__strsep): Add libc_hidden_proto.
25582 * string/strsep.c (__strsep): Add libc_hidden_def.
25583
25584 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25585
25586 [BZ #18822]
25587 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
25588 attribute_hidden.
25589 (__spawni): Likewise.
25590
25591 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25592
25593 [BZ #18822]
25594 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
25595 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
25596 libc_hidden_def.
25597
25598 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25599
25600 [BZ #18822]
25601 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
25602
25603 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25604
25605 [BZ #18822]
25606 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
25607 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
25608 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
25609 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
25610 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
25611 Likewise.
25612 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
25613 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
25614
25615 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25616
25617 [BZ #18822]
25618 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
25619 (__dcigettext): Likewise.
25620
25621 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25622
25623 [BZ #18822]
25624 * include/sys/sysinfo.h (__get_nprocs_conf): Add
25625 libc_hidden_proto.
25626 (__get_nprocs): Likewise.
25627 (__get_phys_pages): Likewise.
25628 (__get_avphys_pages): Likewise.
25629 (__get_child_max): Add attribute_hidden.
25630 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
25631 (__get_nprocs): Likewise.
25632 (__get_phys_pages): Likewise.
25633 (__get_avphys_pages): Likewise.
25634 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
25635 libc_hidden_def.
25636 (__get_nprocs): Likewise.
25637 (__get_phys_pages): Likewise.
25638 (__get_avphys_pages): Likewise.
25639 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
25640 libc_hidden_def.
25641 (__get_nprocs_conf): Likewise.
25642 (__get_phys_pages): Likewise.
25643 (__get_avphys_pages): Likewise.
25644
25645 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25646
25647 [BZ #18822]
25648 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
25649 attribute_hidden.
25650 (__netlink_close): Likewise.
25651 (__netlink_free_handle): Likewise.
25652 (__netlink_request): Likewise.
25653
25654 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25655
25656 [BZ #18822]
25657 * include/rpc/rpc.h (__rpc_thread_variables): Add
25658 attribute_hidden.
25659 (__rpc_thread_svc_cleanup): Likewise.
25660 (__rpc_thread_clnt_cleanup): Likewise.
25661 (__rpc_thread_key_cleanup): Likewise.
25662
25663 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25664
25665 [BZ #18822]
25666 * include/sys/uio.h (__readv): Add libc_hidden_proto.
25667 (__writev): Likewise.
25668 * misc/readv.c (__readv): Add libc_hidden_def.
25669 * misc/writev.c (__writev): Likewise.
25670 * sysdeps/posix/readv.c (__readv): Likewise.
25671 * sysdeps/posix/writev.c (__writev): Likewise.
25672 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
25673 (__readv): Likewise.
25674 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
25675 (__writev): Likewise.
25676
25677 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25678
25679 [BZ #18822]
25680 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
25681 (__regcomp): Add libc_hidden_proto.
25682 (__regexec): Likewise.
25683 (__regfree): Likewise.
25684 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
25685 (__regfree): Likewise.
25686 * posix/regexec.c (__regexec): Likewise.
25687
25688 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25689
25690 [BZ #18822]
25691 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
25692 (__getutent): Likewise.
25693 (__getutid): Likewise.
25694 (__getutline): Likewise.
25695 (__pututline): Likewise.
25696 (__getutent_r): Likewise.
25697 (__getutid_r): Likewise.
25698 (__getutline_r): Likewise.
25699 (__utmpname): Add attribute_hidden.
25700 (__setutent): Likewise.
25701 (__endutent): Likewise.
25702 * login/getutent.c (__getutent): Add libc_hidden_def.
25703 * login/getutent_r.c (__getutent_r): Likewise.
25704 (__pututline): Likewise.
25705 * login/getutid.c (__getutid): Likewise.
25706 * login/getutid_r.c (__getutid_r): Likewise.
25707 * login/getutline.c (__getutline): Likewise.
25708 * login/getutline_r.c (__getutline_r): Likewise.
25709 * login/updwtmp.c (__updwtmp): Likewise.
25710
25711 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25712
25713 [BZ #18822]
25714 * include/dirent.h (__opendir): Always add attribute_hidden.
25715 (__fdopendir): Likewise.
25716 (__closedir): Likewise.
25717 (__readdir): Likewise.
25718 (__readdir64): Add libc_hidden_proto.
25719 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
25720 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
25721 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
25722 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
25723 New alias.
25724
25725 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25726
25727 [BZ #18822]
25728 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
25729 * include/netdb.h (__gethostbyaddr_r): Likewise.
25730 (__gethostbyname_r): Likewise.
25731 (__gethostbyname2_r): Likewise.
25732 (__getnetbyaddr_r): Likewise.
25733 (__getnetbyname_r): Likewise.
25734 (__getservbyname_r): Likewise.
25735 (__getservbyport_r): Likewise.
25736 (__getprotobyname_r): Likewise.
25737 (__getprotobynumber_r): Likewise.
25738 (__getnetgrent_r): Likewise.
25739 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
25740 (__getrpcbynumber_r): Likewise.
25741 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
25742
25743 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25744
25745 [BZ #18822]
25746 * include/stdio.h (__fcloseall): Add attribute_hidden.
25747 (__getline): Likewise.
25748 (__path_search): Likewise.
25749 (__gen_tempname): Likewise.
25750 (__libc_message): Likewise.
25751 (__flockfile): Likewise.
25752 (__funlockfile): Likewise.
25753 (__fxprintf): Likewise.
25754 (__fxprintf_nocancel): Likewise.
25755
25756 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25757
25758 [BZ #18822]
25759 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
25760 (__sgetsgent_r): Likewise.
25761
25762 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25763
25764 [BZ #18822]
25765 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
25766 (__statfs64): Likewise.
25767 (__fstatfs64): Likewise.
25768 * include/sys/statvfs.h (__statvfs64): Likewise.
25769 (__fstatvfs64): Likewise.
25770 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
25771 (__statfs_filesize_max): Likewise.
25772 (__statfs_symlinks): Likewise.
25773 (__statfs_chown_restricted): Likewise.
25774
25775 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25776
25777 [BZ #18822]
25778 * include/time.h (__tzstring): Add attribute_hidden.
25779 (__tzfile_read): Likewise.
25780 (__tzfile_compute): Likewise.
25781 (__tzfile_default): Likewise.
25782 (__tzset_parse_tz): Likewise.
25783 (__offtime): Likewise.
25784 (__asctime_r): Likewise.
25785 (__tzset): Likewise.
25786 (__tz_convert): Likewise.
25787 (__getdate_r): Likewise.
25788 (__getclktck): Likewise.
25789
25790 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25791
25792 [BZ #18822]
25793 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
25794 (__nscd_unmap): Likewise.
25795 (__nscd_cache_search): Likewise.
25796 (__nscd_get_nl_timestamp): Likewise.
25797 (__nscd_getpwnam_r): Likewise.
25798 (__nscd_getpwuid_r): Likewise.
25799 (__nscd_getgrnam_r): Likewise.
25800 (__nscd_getgrgid_r): Likewise.
25801 (__nscd_gethostbyname_r): Likewise.
25802 (__nscd_gethostbyname2_r): Likewise.
25803 (__nscd_gethostbyaddr_r): Likewise.
25804 (__nscd_getai): Likewise.
25805 (__nscd_getgrouplist): Likewise.
25806 (__nscd_getservbyname_r): Likewise.
25807 (__nscd_getservbyport_r): Likewise.
25808 (__nscd_innetgr): Likewise.
25809 (__nscd_setnetgrent): Likewise.
25810
25811 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25812
25813 [BZ #18822]
25814 * include/gmp.h: Declare internal functions only if _ISOMAC is
25815 undefined.
25816 (__mpn_extract_double): Add attribute_hidden.
25817 (__mpn_extract_long_double): Likewise.
25818 (__mpn_extract_float128): Likewise.
25819 (__mpn_construct_float): Likewise.
25820 (__mpn_construct_double): Likewise.
25821 (__mpn_construct_long_double): Likewise.
25822 (__mpn_construct_float128): Likewise.
25823 (mpn_add_1): Likewise.
25824 (mpn_addmul_1): Likewise.
25825 (mpn_add_n): Likewise.
25826 (mpn_cmp): Likewise.
25827 (mpn_divrem): Likewise.
25828 (mpn_lshift): Likewise.
25829 (mpn_mul): Likewise.
25830 (mpn_mul_1): Likewise.
25831 (mpn_rshift): Likewise.
25832 (mpn_sub_1): Likewise.
25833 (mpn_submul_1): Likewise.
25834 (mpn_sub_n): Likewise.
25835
25836 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25837
25838 [BZ #18822]
25839 * include/wchar.h (__wcsnlen): Add attribute_hidden.
25840 (__wcscat): Likewise.
25841 (__btowc): Likewise.
25842 (__wcrtomb): Likewise.
25843 (__mbsrtowcs): Likewise.
25844 (__wcsrtombs): Likewise.
25845 (__mbsnrtowcs): Likewise.
25846 (__wcsnrtombs): Likewise.
25847 (__wcsncpy): Likewise.
25848 (__wcpncpy): Likewise.
25849 (__wmemcpy): Likewise.
25850 (__wmempcpy): Likewise.
25851 (__wmemmove): Likewise.
25852 (__wcschrnul): Likewise.
25853 (__vfwscanf): Likewise.
25854 (__vswprintf): Likewise.
25855 (__fwprintf): Likewise.
25856 (__vfwprintf): Likewise.
25857
25858 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25859
25860 [BZ #18822]
25861 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
25862 (__getgrgid_r): Likewise.
25863 (__getgrnam_r): Likewise.
25864 * include/pwd.h (__getpwuid_r): Likewise.
25865 (__getpwnam_r): Likewise.
25866 (__fgetpwent_r): Likewise.
25867 * include/shadow.h (__getspnam_r): Likewise.
25868 (__sgetspent_r): Likewise.
25869 (__fgetspent_r): Likewise.
25870
25871 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25872
25873 [BZ #18822]
25874 * include/unistd.h (__access): Add attribute_hidden.
25875 (__lseek64): Likewise.
25876 (__libc_pread64): Likewise.
25877 (__pipe2): Likewise.
25878 (__sleep): Likewise.
25879 (__chdir): Likewise.
25880 (__fchdir): Likewise.
25881 (__getcwd): Likewise.
25882 (__rmdir): Likewise.
25883 (__execvpe): Likewise.
25884 (__execve): Likewise.
25885 (__setsid): Likewise.
25886 (__getuid): Likewise.
25887 (__geteuid): Likewise.
25888 (__getgid): Likewise.
25889 (__getegid): Likewise.
25890 (__getgroups): Likewise.
25891 (__group_member): Likewise.
25892 (__ttyname_r): Likewise.
25893 (__isatty): Likewise.
25894 (__readlink): Likewise.
25895 (__unlink): Likewise.
25896 (__gethostname): Likewise.
25897 (__profil): Likewise.
25898 (__getdtablesize): Likewise.
25899 (__brk): Likewise.
25900 (__ftruncate): Likewise.
25901 (__ftruncate64): Likewise.
25902
25903 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25904
25905 [BZ #18822]
25906 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
25907 * argp/argp-fs-xinl.c: Likewise.
25908 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
25909 * argp/argp-parse.c: Include <argp.h>.
25910 * argp/argp-xinl.c: Likewise.
25911 * include/argp-fmtstream.h: New file.
25912 * include/argp.h (__argp_error): Add attribute_hidden.
25913 (__argp_failure): Likewise.
25914 (__argp_input): Likewise.
25915 (__argp_state_help): Likewise.
25916
25917 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25918
25919 [BZ #18822]
25920 * include/wchar.h (____wcstof_l_internal): New prototype.
25921 (____wcstod_l_internal): Likewise.
25922 (____wcstold_l_internal): Likewise.
25923 (____wcstol_l_internal): Likewise.
25924 (____wcstoul_l_internal): Likewise.
25925 (____wcstoll_l_internal): Likewise.
25926 (____wcstoull_l_internal): Likewise.
25927 (____wcstof128_l_internal): Likewise.
25928 * sysdeps/ieee754/float128/wcstof128.c
25929 (____wcstof128_l_internal): Removed.
25930 * sysdeps/ieee754/float128/wcstof128_l.c
25931 (____wcstof128_l_internal): Likewise.
25932 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
25933 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
25934 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
25935 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
25936 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
25937 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
25938 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
25939 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
25940 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
25941 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
25942
25943 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25944
25945 [BZ #18822]
25946 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
25947 instead of <sys/statvfs.h>.
25948 (__internal_statvfs): Removed.
25949 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
25950 instead of <sys/statvfs.h>.
25951 (__internal_statvfs64): Removed.
25952 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
25953 "internal_statvfs.h" instead of <sys/statvfs.h>.
25954 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
25955 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
25956 instead of <sys/statvfs.h>.
25957 (__internal_statvfs): Removed.
25958 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
25959 instead of <sys/statvfs.h>.
25960 (__internal_statvfs64): Removed.
25961
25962 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25963
25964 [BZ #18822]
25965 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
25966 (__gconv_close): Likewise.
25967 (__gconv): Likewise.
25968 (__gconv_find_transform): Likewise.
25969 (__gconv_lookup_cache): Likewise.
25970 (__gconv_compare_alias_cache): Likewise.
25971 (__gconv_load_cache): Likewise.
25972 (__gconv_get_path): Likewise.
25973 (__gconv_close_transform): Likewise.
25974 (__gconv_release_cache): Likewise.
25975 (__gconv_find_shlib): Likewise.
25976 (__gconv_release_shlib): Likewise.
25977 (__gconv_get_builtin_trans): Likewise.
25978 (__gconv_compare_alias): Likewise.
25979 * include/dlfcn.h (_dlerror_run): Likewise.
25980 * include/stdio.h (__fortify_fail_abort): Likewise.
25981 * include/time.h (__tz_compute): Likewise.
25982 (__strptime_internal): Likewise.
25983 * intl/gettextP.h (_nl_find_domain): Likewise.
25984 (_nl_load_domain): Likewise.
25985 (_nl_find_msg): Likewise.
25986 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
25987 (EXTRACT_PLURAL_EXPRESSION): Likewise.
25988 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
25989 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
25990 (__gai_find_request): Likewise.
25991 (__gai_remove_request): Likewise.
25992 (__gai_notify): Likewise.
25993 (__gai_notify_only): Likewise.
25994 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
25995 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
25996 (_dl_non_dynamic_init): Likewise.
25997 (_dl_aux_init): Likewise.
25998 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
25999 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
26000 Likewise.
26001 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
26002 (__wcsmbs_clone_conv): Likewise.
26003 (__wcsmbs_named_conv): Likewise.
26004
26005 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26006
26007 [BZ #18822]
26008 * include/stdlib.h (__random): Add attribute_hidden.
26009 (__random_r): Likewise.
26010 (__srandom_r): Likewise.
26011 (__initstate_r): Likewise.
26012 (__setstate_r): Likewise.
26013 (__erand48_r): Likewise.
26014 (__nrand48_r): Likewise.
26015 (__jrand48_r): Likewise.
26016 (__srand48_r): Likewise.
26017 (__seed48_r): Likewise.
26018 (__lcong48_r): Likewise.
26019 (__drand48_iterate): Likewise.
26020 (__setenv): Likewise.
26021 (__unsetenv): Likewise.
26022 (__clearenv): Likewise.
26023 (__ptsname_r): Likewise.
26024 (__posix_openpt): Likewise.
26025 (__add_to_environ): Likewise.
26026 (__realpath): Add libc_hidden_proto.
26027 (__ecvt_r): Likewise.
26028 (__fcvt_r): Likewise.
26029 (__qecvt_r): Likewise.
26030 (__qfcvt_r): Likewise.
26031 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
26032 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
26033
26034 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26035
26036 [BZ #18822]
26037 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
26038 * include/time.h (__mktime_internal): Likewise.
26039 * libio/iolibio.h (__fopen_internal): Likewise.
26040
26041 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
26042
26043 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
26044 pointer in frame.
26045 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
26046 Correct offset used to restore PIC register.
26047
26048 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
26049
26050 [BZ libc/22165]
26051 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
26052 code to load address of __getcontext_ret when generating PIC code.
26053
26054 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
26055
26056 * elf/Makefile (tests-static-internal): Add
26057 tst-tls1-static-non-pie.
26058 (LDFLAGS-tst-tls1-static-non-pie): New.
26059 * elf/tst-tls1-static-non-pie.c: New file.
26060
26061 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26062
26063 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
26064 (asinh): Define using libm_alias_double.
26065 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
26066 (cbrt): Define using libm_alias_double.
26067 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
26068 <libm-alias-double.h>.
26069 (copysign): Define using libm_alias_double.
26070 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
26071 (erf): Define using libm_alias_double.
26072 (erfc): Likewise.
26073 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
26074 (expm1): Define using libm_alias_double.
26075 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
26076 (fabs): Define using libm_alias_double.
26077 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
26078 libm_alias_double.
26079 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
26080 <libm-alias-double.h>.
26081 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
26082 libm_alias_double.
26083 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
26084 <libm-alias-double.h>.
26085 (getpayload): Define using libm_alias_double.
26086 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
26087 <libm-alias-double.h>.
26088 (llrint): Define using libm_alias_double.
26089 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
26090 (lrint): Define using libm_alias_double.
26091 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
26092 <libm-alias-double.h>.
26093 (nextup): Define using libm_alias_double.
26094 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
26095 <libm-alias-double.h>.
26096 (roundeven): Define using libm_alias_double.
26097 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
26098 libm_alias_double.
26099 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
26100 <libm-alias-double.h>.
26101 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
26102 using libm_alias_double.
26103 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
26104 (cos): Define using libm_alias_double.
26105 (sin): Likewise.
26106 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
26107 <libm-alias-double.h>.
26108 (sincos): Define using libm_alias_double.
26109 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
26110 (tanh): Define using libm_alias_double.
26111 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
26112 <libm-alias-double.h>.
26113 (totalorder): Define using libm_alias_double.
26114 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
26115 <libm-alias-double.h>.
26116 (totalordermag): Define using libm_alias_double.
26117 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
26118 libm_alias_double.
26119 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
26120 libm_alias_double.
26121 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
26122 <libm-alias-double.h>.
26123 (getpayload): Define using libm_alias_double.
26124 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
26125 <libm-alias-double.h>.
26126 (roundeven): Define using libm_alias_double.
26127 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
26128 <libm-alias-double.h>.
26129 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
26130 <libm-alias-double.h>.
26131 (totalorder): Define using libm_alias_double.
26132 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
26133 <libm-alias-double.h>.
26134 (totalordermag): Define using libm_alias_double.
26135 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
26136 libc compat symbol here.
26137 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
26138 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
26139 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
26140 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
26141 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
26142 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
26143 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
26144 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
26145 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
26146 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
26147
26148 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26149
26150 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
26151 _dl_relocate_static_pie instead of _dl_start to compute load
26152 address in static PIE. Return 0 if _DYNAMIC is undefined for
26153 static executable.
26154
26155 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26156
26157 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
26158 _DYNAMIC is undefined for static executable.
26159
26160 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26161
26162 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
26163
26164 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26165
26166 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26167
26168 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26169
26170 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
26171 (__ieee754_lgamma_r): Use fabs rather than __fabs.
26172 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26173 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26174 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
26175 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
26176 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
26177 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
26178 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
26179 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26180 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
26181 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
26182 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26183 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26184 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26185 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26186 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
26187
26188 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26189
26190 * math/bits/cmathcalls.h (cimag): Remove inline.
26191 (creal): Remove inline.
26192 (conj): Remove inline.
26193
26194 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26195
26196 * math/Makefile (type-float-routines): Add e_powf_log2_data.
26197 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
26198 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
26199 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
26200 (issignalingf_inline): Likewise.
26201 (POWF_LOG2_TABLE_BITS): Likewise.
26202 (POWF_LOG2_POLY_ORDER): Likewise.
26203 (POWF_SCALE_BITS): Likewise.
26204 (POWF_SCALE): Likewise.
26205 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
26206 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
26207 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
26208
26209 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26210
26211 * math/Makefile (type-float-routines): Add e_log2f_data.
26212 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
26213 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
26214 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
26215 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
26216 * sysdeps/i386/fpu/e_log2f_data.c: New file.
26217 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
26218 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
26219
26220 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26221
26222 * math/Makefile (type-float-routines): Add e_logf_data.
26223 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
26224 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
26225 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
26226 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
26227 * sysdeps/i386/fpu/e_logf_data.c: New file.
26228 * sysdeps/ia64/fpu/e_logf_data.c: New file.
26229 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
26230
26231 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
26232
26233 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
26234 undefined _DYNAMIC in PIE libc.a.
26235 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26236 Likewse.
26237
26238 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26239
26240 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
26241 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
26242 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
26243 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
26244 (__signbit): Remove.
26245 (__signbitl): Remove.
26246 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
26247 (__signbit): Remove.
26248 (__signbitl): Remove.
26249 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
26250 (__signbit): Remove.
26251 (__signbitl): Remove.
26252 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
26253 (__signbit): Remove.
26254 (__signbitl): Remove.
26255 * sysdeps/tile/bits/mathinline.h: Delete file.
26256 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
26257 (__signbit): Remove.
26258 (__signbitl): Remove.
26259
26260 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26261
26262 * math/math.h: Improve handling of C99 isgreater macros.
26263 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
26264 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
26265 * sysdeps/powerpc/bits/mathinline.h: Likewise.
26266 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26267 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
26268
26269 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
26270
26271 * sysdeps/aarch64/libm-test-ulps: Update.
26272
26273 2017-09-28 Joseph Myers <joseph@codesourcery.com>
26274
26275 [BZ #22225]
26276 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26277 math_opt_barrier on argument when doing arithmetic on it.
26278 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26279 Likewise. Use math_force_eval not math_opt_barrier after
26280 arithmetic.
26281 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
26282 math_opt_barrier on argument when doing arithmetic on it.
26283 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26284 Likewise.
26285
26286 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
26287
26288 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
26289 libc_hidden_def.
26290 (__freeifaddrs): Likewise.
26291
26292 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
26293
26294 * include/dirent.h (__dirfd): New declaration.
26295 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
26296 alias.
26297 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
26298 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
26299 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
26300 * include/unistd.h (__revoke): New declaration.
26301 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
26302 alias.
26303 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
26304 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
26305 revoke.
26306 * include/dirent.h (__seekdir): New declaration.
26307 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
26308 redefine as weak alias.
26309 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
26310 of seekdir.
26311 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
26312 and use libc_hidden_def on them.
26313 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
26314 them.
26315 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
26316 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
26317 instead of getifaddrs and freeifaddrs.
26318
26319 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26320
26321 [BZ #18822]
26322 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
26323 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
26324 (__dso_handle): Remove declaration.
26325 * dlfcn/tstatexit.c (__dso_handle): Removed.
26326 (main): Don't check __dso_handle.
26327 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
26328 (main): Don't check __dso_handle.
26329 * include/dso_handle.h: New file.
26330 * malloc/mtrace.c: Include <dso_handle.h>.
26331 (mtrace): Pass __dso_handle directly.
26332 * nptl/pthread_atfork.c: Include <dso_handle.h>.
26333 (__dso_handle): Remove declaration.
26334 (__pthread_atfork): Pass __dso_handle directly.
26335 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
26336 (__dso_handle): Removed.
26337 * posix/wordexp-test.c: Include <dso_handle.h>.
26338 (__dso_handle): Remove declaration.
26339 (__app_register_atfork): Pass __dso_handle directly.
26340 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
26341 (__dso_handle): Remove declaration.
26342 (at_quick_exit): Pass __dso_handle directly.
26343 * stdlib/atexit.c: Include <dso_handle.h>.
26344 (__dso_handle): Remove declaration.
26345 (atexit): Pass __dso_handle directly.
26346 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
26347 (__dso_handle): Removed.
26348
26349 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26350
26351 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
26352 using VDSO.
26353
26354 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
26355
26356 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
26357 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
26358 values to correct default value for given type.
26359
26360 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26361
26362 [BZ #22101]
26363 * elf/Makefile (tests): Add tst-debug1.
26364 ($(objpfx)tst-debug1): New.
26365 ($(objpfx)tst-debug1.out): Likewise.
26366 ($(objpfx)tst-debug1mod1.so): Likewise.
26367 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
26368 with p_filesz == 0.
26369 * elf/tst-debug1.c: New file.
26370
26371 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26372
26373 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
26374 Define using __ifunc.
26375
26376 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26377
26378 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
26379 exp2f() values.
26380
26381 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26382
26383 [BZ #22156]
26384 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
26385
26386 2017-09-26 Florian Weimer <fweimer@redhat.com>
26387
26388 * resolv/Makefile (tests-internal): Fix typo in comment.
26389
26390 2017-09-26 Florian Weimer <fweimer@redhat.com>
26391
26392 * resolv/nss_dns/dns-host.c: Fix typo in comment.
26393
26394 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26395
26396 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
26397 Use an union instead of a max_align_t array for __space,
26398 so that __space is the same size on all platforms.
26399 * malloc/scratch_buffer_grow_preserve.c
26400 (__libc_scratch_buffer_grow_preserve): Likewise.
26401
26402 [BZ #22183]
26403 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
26404 version to 2.
26405 * posix/Makefile (routines): Add glob-lstat-compat and
26406 glob64-lstat-compat.
26407 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
26408 * posix/glob-lstat-compat.c: New file.
26409 * posix/glob64-lstat-compat.c: Likewise.
26410 * posix/tst-glob_lstat_compat.c: Likewise.
26411 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
26412 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
26413 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
26414 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
26415 Likewise.
26416 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
26417 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
26418 * posix/glob.c (glob_lstat): New function.
26419 (glob): Rename to __glob and add versioned symbol to 2.27.
26420 (glob_in_dir): Use glob_lstat.
26421 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
26422 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26423 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
26424 2.27.
26425 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
26426 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
26427 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
26428 gl_lstat on glob call.
26429 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
26430 and glob64 symbols.
26431 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26432 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26433 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26434 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26435 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26436 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26437 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26438 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26439 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26440 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26441 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26442 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26444 Likewise.
26445 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
26446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26447 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26448 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26449 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26450 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26451 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26454 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26455 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26456 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26457
26458 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
26459
26460 * configure.ac (AS): Require binutils 2.25 or later.
26461 * configure: Regenerated.
26462
26463 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26464
26465 [BZ #22207]
26466 * stdlib/test-atexit-race-common.c (do_test): Minimize required
26467 VM size.
26468
26469 2017-09-25 DJ Delorie <dj@redhat.com>
26470
26471 [BZ #22161]
26472 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
26473 resetting timeout.
26474
26475 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
26476
26477 * sysdeps/ieee754/dbl-64/sincos32.h
26478 [SINCCOS32_H]: Remove define.
26479 [SINCOS32_H]: Define.
26480
26481 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26482
26483 * math/Versions (expf): New libm symbol at GLIBC_2.27.
26484 (exp2f): Likewise.
26485 * math/w_exp2f.c: New file.
26486 * math/w_expf.c: New file.
26487 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
26488 * math/w_expf_compat.c (__expf_compat): Likewise.
26489 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
26490 * sysdeps/ia64/fpu/e_expf.S: Likewise.
26491 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26492 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26493 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26494 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26495 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26496 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26497 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26498 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26499 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26500 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26501 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26502 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26504 Likewise.
26505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26506 Likewise.
26507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26508 Likewise.
26509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26510 Likewise.
26511 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26512 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26513 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26514 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26515 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26517 Likewise.
26518 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26519 Likewise.
26520 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26521 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26522 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26523
26524 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26525
26526 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
26527 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
26528 (roundtoint, converttoint): Likewise.
26529 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
26530 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
26531 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
26532 * sysdeps/ieee754/flt-32/math_config.h: New file.
26533 * sysdeps/ieee754/flt-32/math_errf.c: New file.
26534 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
26535 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
26536 * sysdeps/i386/fpu/math_errf.c: New file.
26537 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
26538 * sysdeps/ia64/fpu/math_errf.c: New file.
26539 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
26540 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
26541
26542 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
26543
26544 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
26545 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
26546 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
26547 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
26548 to make sure that these symbols are defined.
26549 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
26550 of <limits.h>
26551 (__need_NULL): Do not define.
26552 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
26553 alignment.
26554 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
26555 CMGROUP_MAX, cmsgcred): Do not define.
26556 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
26557 NULL.
26558 * bits/socket.h: Likewise.
26559 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
26560 __gettimeofday instead of gettimeofday.
26561 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
26562 instead of settimeofday.
26563
26564 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26565
26566 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
26567 (asinhf): Define using libm_alias_float.
26568 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
26569 (atanf): Define using libm_alias_float.
26570 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
26571 (cbrtf): Define using libm_alias_float.
26572 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
26573 (ceilf): Define using libm_alias_float.
26574 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
26575 <libm-alias-float.h>.
26576 (copysignf): Define using libm_alias_float.
26577 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
26578 (cosf): Define using libm_alias_float.
26579 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
26580 (erff): Define using libm_alias_float.
26581 (erfcf): Likewise.
26582 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
26583 (expm1f): Define using libm_alias_float.
26584 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
26585 (fabsf): Define using libm_alias_float.
26586 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
26587 (floorf): Define using libm_alias_float.
26588 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
26589 (frexpf): Define using libm_alias_float.
26590 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
26591 libm_alias_float.
26592 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
26593 <libm-alias-float.h>.
26594 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
26595 libm_alias_float.
26596 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
26597 <libm-alias-float.h>.
26598 (getpayloadf): Define using libm_alias_float.
26599 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
26600 <libm-alias-float.h>.
26601 (llrintf): Define using libm_alias_float.
26602 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
26603 <libm-alias-float.h>.
26604 (llroundf): Define using libm_alias_float.
26605 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
26606 (logbf): Define using libm_alias_float.
26607 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
26608 (lrintf): Define using libm_alias_float.
26609 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
26610 (lroundf): Define using libm_alias_float.
26611 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
26612 (modff): Define using libm_alias_float.
26613 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
26614 <libm-alias-float.h>.
26615 (nearbyintf): Define using libm_alias_float.
26616 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
26617 <libm-alias-float.h>.
26618 (nextafterf): Define using libm_alias_float.
26619 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
26620 <libm-alias-float.h>.
26621 (nextupf): Define using libm_alias_float.
26622 * sysdeps/ieee754/flt-32/s_remquof.c: Include
26623 <libm-alias-float.h>.
26624 (remquof): Define using libm_alias_float.
26625 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
26626 (rintf): Define using libm_alias_float.
26627 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
26628 <libm-alias-float.h>.
26629 (roundevenf): Define using libm_alias_float.
26630 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
26631 (roundf): Define using libm_alias_float.
26632 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
26633 using libm_alias_float.
26634 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
26635 <libm-alias-float.h>.
26636 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
26637 Define using libm_alias_float.
26638 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
26639 <libm-alias-float.h>.
26640 (sincosf): Define using libm_alias_float.
26641 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
26642 (sinf): Define using libm_alias_float.
26643 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
26644 (tanf): Define using libm_alias_float.
26645 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
26646 (tanhf): Define using libm_alias_float.
26647 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
26648 <libm-alias-float.h>.
26649 (totalorderf): Define using libm_alias_float.
26650 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
26651 <libm-alias-float.h>.
26652 (totalordermagf): Define using libm_alias_float.
26653 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
26654 (truncf): Define using libm_alias_float.
26655 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
26656 libm_alias_float.
26657 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
26658 libm_alias_float.
26659
26660 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26661
26662 [BZ #22146]
26663 math/math.h: Let fpclassify use the builtin in C++ mode, even
26664 when optimazing for size.
26665
26666 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26667
26668 * csu/Makefile (generated): Do not add version-info.h.
26669 (before-compile): Likewise.
26670 (all-Banner-files): Remove variable.
26671 ($(objpfx)version-info.h): Remove rule.
26672 * csu/version.c (banner): Do not include "version-info.h".
26673 * libidn/Banner: Remove.
26674 * manual/contrib.texi (Simon Josefsson): New entry.
26675
26676 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26677
26678 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26679 Remove conditionals on LDBL_MANT_DIG.
26680 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26681 (__ieee754_lgammal_r): Likewise.
26682
26683 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26684
26685 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
26686 _Float128 and L().
26687 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
26688 _Float128 and L(). Replace _Float128 with long double and L(x)
26689 with xL, throughout the file.
26690 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26691 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26692 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26693 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26694
26695 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26696
26697 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
26698 sysdeps/ieee754/ldbl-128ibm.
26699 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
26700 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
26701 of including it. Keep _Float128 and L() intact. These will be
26702 reviewed by a separate patch.
26703 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26704 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26705 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26706 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26707
26708 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26709
26710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
26711 (__finitef128): Define to __redirect___finitef128.
26712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
26713 (__isinff128): Define to __redirect___isinff128.
26714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
26715 (__isnanf128): Define to __redirect___isnanf128.
26716
26717 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26718
26719 * sysdeps/powerpc/powerpc64le/Makefile
26720 (CFLAGS-tst-strtod-nan-locale.c): New variable.
26721 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
26722
26723 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
26724 Carlos O'Donell <carlos@redhat.com>
26725
26726 [BZ #22180]
26727 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
26728 * stdlib/test-dlclose-exit-race.c: New file.
26729 * stdlib/test-dlclose-exit-race-helper.c: New file.
26730 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
26731
26732 2017-09-21 Joseph Myers <joseph@codesourcery.com>
26733
26734 * crypt/Banner: Remove file.
26735 * nptl/Banner: Likewise.
26736 * resolv/Banner: Likewise.
26737 * soft-fp/Banner: Likewise.
26738 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
26739 ($(objpfx)version.d): Remove dependency on banner.h.
26740 ($(objpfx)version.os): Likewise.
26741 * nptl/version.c (banner): Do not include banner.h.
26742 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
26743 Jelinek and BIND code.
26744
26745 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26746 Carlos O'Donell <carlos@redhat.com>
26747
26748 * support/xdlfcn.h: New file.
26749 * support/xdlfcn.c: New file.
26750 * support/Makefile (libsupport-routines): Add xdlfcn.
26751 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
26752
26753 2017-09-20 Joseph Myers <joseph@codesourcery.com>
26754
26755 [BZ #20142]
26756 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26757 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
26758 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
26759 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
26760 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
26761 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
26762 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
26763 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
26764
26765 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26766 Ricky Zhou <rickyz@google.com>
26767 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26768
26769 [BZ #14333]
26770 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
26771 Remove atomics.
26772 (__new_exitfn): Fail registration when we finished at_exit processing.
26773 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26774 * stdlib/on_exit.c (__on_exit): Likewise.
26775 * stdlib/exit.c (__exit_funcs_done): New variable.
26776 (__run_exit_handlers): Use __exit_funcs_lock.
26777 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
26778 declarations.
26779 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
26780 (test-cxa_atexit-race, test-on_exit-race): New tests.
26781 * stdlib/test-atexit-race-common.c: New file.
26782 * stdlib/test-atexit-race.c: New file.
26783 * stdlib/test-at_quick_exit-race.c: New file.
26784 * stdlib/test-cxa_atexit-race.c: New file.
26785 * stdlib/test-on_exit-race.c: New file.
26786
26787 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
26788
26789 * benchtests/Makefile: Add exp2f and log2f benchmarks.
26790 * benchtests/exp2f-inputs: Copy of expf-inputs.
26791 * benchtests/log2f-inputs: Copy of logf-inputs.
26792
26793 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26794
26795 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
26796 Explicitly take address of first element of array arguments in
26797 call to INLINE_SYSCALL.
26798
26799 2017-09-19 Andreas Schwab <schwab@suse.de>
26800
26801 [BZ #22134]
26802 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
26803 execveat first.
26804 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
26805 unimplemented.
26806 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
26807 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
26808 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26809 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
26810 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26811 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26812 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26813 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26814 * posix/Makefile (tests): Add tst-fexecve.
26815 * posix/tst-fexecve.c: New file.
26816
26817 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26818
26819 * benchtests/Makefile: Add logf benchmark.
26820 * benchtests/logf-inputs: Add reduced trace from wrf_r.
26821
26822 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26823
26824 * benchtests/Makefile: Add expf benchmark.
26825 * benchtests/expf-inputs: Add reduced trace from wrf_r.
26826
26827 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26828
26829 * csu/Makefile: Add -funwind-tables to libc-start.c.
26830 * debug/Makefile: Add -funwind-tables to backtrace.c.
26831 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
26832 * sysdeps/arm/Makefile: Likewise.
26833 * sysdeps/i386/Makefile: Likewise.
26834 * sysdeps/m68k/Makefile: Likewise.
26835 * sysdeps/mips/Makefile: Likewise.
26836 * sysdeps/nios2/Makefile: Likewise.
26837 * sysdeps/sh/Makefile: Likewise.
26838 * sysdeps/sparc/Makefile: Likewise.
26839
26840 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26841
26842 * benchtests/Makefile (bench-math): Add trunc and truncf.
26843 (CFLAGS-bench-trunc.c): New variable.
26844 (CFLAGS-bench-truncf.c): Likewise.
26845 * benchtests/trunc-inputs: New file.
26846 * benchtests/truncf-inputs: Likewise.
26847
26848 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26849
26850 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
26851
26852 2017-09-18 Joseph Myers <joseph@codesourcery.com>
26853
26854 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
26855 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
26856 redefine.
26857 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26858 (exp10l): Define as weak alias.
26859 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
26860 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
26861 and redefine.
26862 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
26863 (remainderl): Define as weak alias.
26864
26865 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
26866 (fmal): Define using libm_alias_ldouble.
26867 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
26868 (acoshl): Define using libm_alias_ldouble.
26869 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
26870 (acosl): Define using libm_alias_ldouble.
26871 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
26872 (asinl): Define using libm_alias_ldouble.
26873 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
26874 (atan2l): Define using libm_alias_ldouble.
26875 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
26876 (atanhl): Define using libm_alias_ldouble.
26877 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
26878 (coshl): Define using libm_alias_ldouble.
26879 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
26880 (exp10l): Define using libm_alias_ldouble.
26881 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
26882 (exp2l): Define using libm_alias_ldouble.
26883 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
26884 (expl): Define using libm_alias_ldouble.
26885 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
26886 (fmodl): Define using libm_alias_ldouble.
26887 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
26888 (hypotl): Define using libm_alias_ldouble.
26889 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
26890 (j0l): Define using libm_alias_ldouble.
26891 (y0l): Likewise.
26892 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
26893 (j1l): Define using libm_alias_ldouble.
26894 (y1l): Likewise.
26895 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
26896 (jnl): Define using libm_alias_ldouble.
26897 (ynl): Likewise.
26898 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
26899 (log10l): Define using libm_alias_ldouble.
26900 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
26901 (log2l): Define using libm_alias_ldouble.
26902 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
26903 (logl): Define using libm_alias_ldouble.
26904 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
26905 (powl): Define using libm_alias_ldouble.
26906 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
26907 (remainderl): Define using libm_alias_ldouble.
26908 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
26909 (sinhl): Define using libm_alias_ldouble.
26910 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
26911 (sqrtl): Define using libm_alias_ldouble.
26912 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
26913 (tgammal): Define using libm_alias_ldouble.
26914 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
26915 (exp10l): Do not use long_double_symbol here.
26916 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26917 [LIBM_SVID_COMPAT] (remainderl): Likewise.
26918 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
26919 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
26920 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
26921 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
26922 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
26923 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
26924 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
26925 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
26926 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
26927 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
26928 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
26929 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
26930 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
26931 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
26932 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
26933 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
26934 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
26935 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
26936 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
26937 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
26938
26939 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
26940
26941 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
26942 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
26943
26944 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
26945
26946 * io/read.c (read): Add libc_hidden_weak.
26947 * sysdeps/mach/hurd/read.c (read): Likewise.
26948 * io/write.c (write): Likewise.
26949 * sysdeps/mach/hurd/write.c (write): Likewise.
26950 * io/pread64.c (__pread64): Likewise.
26951 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
26952 * posix/pread64.c (__pread64): Add libc_hidden_def.
26953
26954 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
26955
26956 * benchtests/scripts/compare_strings.py: New option -g.
26957 (draw_graph): Print a message that a graph is being generated.
26958 (process_results): Generate graph only if -g is passed.
26959 (main): Process option -g.
26960
26961 * benchtests/scripts/compare_strings.py (process_results):
26962 Better spacing for output.
26963
26964 * benchtests/scripts/compare_strings.py: Use argparse.
26965 * benchtests/README: Document existence of compare_strings.py.
26966
26967 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26968
26969 * math/s_fma.c: Include <libm-alias-double.h>.
26970 (fma): Define using libm_alias_double.
26971 * math/s_nextafter.c: Include <libm-alias-double.h>.
26972 (nextafter): Define using libm_alias_double.
26973 * math/w_acos_compat.c: Include <libm-alias-double.h>.
26974 (acos): Define using libm_alias_double.
26975 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
26976 (aocsh): Define using libm_alias_double.
26977 * math/w_asin_compat.c: Include <libm-alias-double.h>.
26978 (asin): Define using libm_alias_double.
26979 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
26980 (atan2): Define using libm_alias_double.
26981 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
26982 (atanh): Define using libm_alias_double.
26983 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
26984 (cosh): Define using libm_alias_double.
26985 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
26986 (exp10): Define using libm_alias_double.
26987 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
26988 (exp2): Define using libm_alias_double.
26989 * math/w_exp_compat.c: Include <libm-alias-double.h>.
26990 (exp): Define using libm_alias_double.
26991 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
26992 (fmod): Define using libm_alias_double.
26993 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
26994 (hypot): Define using libm_alias_double.
26995 * math/w_j0_compat.c: Include <libm-alias-double.h>.
26996 (j0): Define using libm_alias_double.
26997 (y0): Likewise.
26998 * math/w_j1_compat.c: Include <libm-alias-double.h>.
26999 (j1): Define using libm_alias_double.
27000 (y1): Likewise.
27001 * math/w_jn_compat.c: Include <libm-alias-double.h>.
27002 (jn): Define using libm_alias_double.
27003 (yn): Likewise.
27004 * math/w_log10_compat.c: Include <libm-alias-double.h>.
27005 (log10): Define using libm_alias_double.
27006 * math/w_log2_compat.c: Include <libm-alias-double.h>.
27007 (log2): Define using libm_alias_double.
27008 * math/w_log_compat.c: Include <libm-alias-double.h>.
27009 (log): Define using libm_alias_double.
27010 * math/w_pow_compat.c: Include <libm-alias-double.h>.
27011 (pow): Define using libm_alias_double.
27012 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
27013 (remainder): Define using libm_alias_double.
27014 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
27015 (sinh): Define using libm_alias_double.
27016 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
27017 (sqrt): Define using libm_alias_double.
27018 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
27019 (tgamma): Define using libm_alias_double.
27020 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
27021 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
27022 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
27023 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
27024 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
27025 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
27026 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
27027 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
27028 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
27029 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
27030 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
27031 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
27032 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
27033 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
27034 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
27035 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
27036 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
27037 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
27038 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
27039 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
27040 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
27041 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
27042 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
27043 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
27044 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
27045
27046 * math/e_acoshl.c: Remove.
27047 * math/e_acosl.c: Likewise.
27048 * math/e_asinl.c: Likewise.
27049 * math/e_atan2l.c: Likewise.
27050 * math/e_atanhl.c: Likewise.
27051 * math/e_coshl.c: Likewise.
27052 * math/e_expl.c: Likewise.
27053 * math/e_fmodl.c: Likewise.
27054 * math/e_gammal_r.c: Likewise.
27055 * math/e_hypotl.c: Likewise.
27056 * math/e_j0l.c: Likewise.
27057 * math/e_j1l.c: Likewise.
27058 * math/e_jnl.c: Likewise.
27059 * math/e_lgammal_r.c: Likewise.
27060 * math/e_log10l.c: Likewise.
27061 * math/e_log2l.c: Likewise.
27062 * math/e_logl.c: Likewise.
27063 * math/e_powl.c: Likewise.
27064 * math/e_rem_pio2l.c: Likewise.
27065 * math/e_sinhl.c: Likewise.
27066 * math/e_sqrtf128.c: Likewise.
27067 * math/e_sqrtl.c: Likewise.
27068 * math/k_cosl.c: Likewise.
27069 * math/k_sinl.c: Likewise.
27070 * math/k_tanl.c: Likewise.
27071 * math/s_asinhl.c: Likewise.
27072 * math/s_atanl.c: Likewise.
27073 * math/s_cbrtl.c: Likewise.
27074 * math/s_erfl.c: Likewise.
27075 * math/s_expm1l.c: Likewise.
27076 * math/s_log1pl.c: Likewise.
27077 * math/s_tanhl.c: Likewise.
27078
27079 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27080
27081 [BZ #21745]
27082 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
27083 [$(subdir) = math] (sysdep_calls): New variable. Has the
27084 previous contents of sysdep_routines, but re-sorted..
27085 [$(subdir) = math] (sysdep_routines): Re-use the contents from
27086 sysdep_calls.
27087 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
27088 defined in sysdep_calls and replace by the respective m_* names.
27089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
27090 (compat_symbol): Undefine to avoid duplicated compat symbols in
27091 libc.
27092
27093 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27094
27095 * math/s_fmaf.c: Include <libm-alias-float.h>.
27096 (fmaf): Define using libm_alias_float.
27097 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
27098 (acosf): Define using libm_alias_float.
27099 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
27100 (acoshf): Define using libm_alias_float.
27101 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
27102 (asinf): Define using libm_alias_float.
27103 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
27104 (atan2f): Define using libm_alias_float.
27105 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
27106 (atanhf): Define using libm_alias_float.
27107 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
27108 (coshf): Define using libm_alias_float.
27109 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
27110 (exp10f): Define using libm_alias_float.
27111 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
27112 (fmodf): Define using libm_alias_float.
27113 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
27114 (hypotf): Define using libm_alias_float.
27115 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
27116 (j0f): Define using libm_alias_float.
27117 (y0f): Likewise.
27118 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
27119 (j1f): Define using libm_alias_float.
27120 (y1f): Likewise.
27121 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
27122 (jnf): Define using libm_alias_float.
27123 (ynf): Likewise.
27124 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
27125 (log10f): Define using libm_alias_float.
27126 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
27127 (log2f): Define using libm_alias_float.
27128 * math/w_logf_compat.c: Include <libm-alias-float.h>.
27129 (logf): Define using libm_alias_float.
27130 * math/w_powf_compat.c: Include <libm-alias-float.h>.
27131 (powf): Define using libm_alias_float.
27132 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
27133 (remainderf): Define using libm_alias_float.
27134 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
27135 (sinhf): Define using libm_alias_float.
27136 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
27137 (sqrtf): Define using libm_alias_float.
27138 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
27139 (tgammaf): Define using libm_alias_float.
27140
27141 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27142
27143 * include/math.h (roundeven): Change hidden_proto call to
27144 __roundeven.
27145 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
27146 alias.
27147 [NO_LONG_DOUBLE] (__j0l): New strong alias.
27148 (y0): Rename to __y0 and define as weak alias.
27149 [NO_LONG_DOUBLE] (__y0l): New strong alias.
27150 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
27151 alias.
27152 (y0f): Rename to __y0f and define as weak alias.
27153 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
27154 alias.
27155 [NO_LONG_DOUBLE] (__j1l): New strong alias.
27156 (y1): Rename to __y1 and define as weak alias.
27157 [NO_LONG_DOUBLE] (__y1l): New strong alias.
27158 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
27159 alias.
27160 (y1f): Rename to __y1f and define as weak alias.
27161 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
27162 alias.
27163 [NO_LONG_DOUBLE] (__jnl): New strong alias.
27164 (yn): Rename to __yn and define as weak alias.
27165 [NO_LONG_DOUBLE] (__ynl): New strong alias.
27166 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
27167 alias.
27168 (ynf): Rename to __ynf and define as weak alias.
27169 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
27170 (fromfp): Define as weak alias.
27171 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
27172 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
27173 (fromfpx): Define as weak alias.
27174 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
27175 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
27176 __getpayload and define as weak alias.
27177 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27178 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
27179 __roundeven and define as weak alias.
27180 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27181 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
27182 __setpayload.
27183 (setpayload): Define as weak alias.
27184 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
27185 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
27186 __setpayloadsig.
27187 (setpayloadsig): Define as weak alias.
27188 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
27189 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
27190 __totalorder and define as weak alias.
27191 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27192 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
27193 to __totalordermag and define as weak alias.
27194 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27195 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
27196 (ufromfp): Define as weak alias.
27197 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
27198 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
27199 __ufromfpx.
27200 (ufromfpx): Define as weak alias.
27201 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
27202 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
27203 Rename to __getpayload and define as weak alias.
27204 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27205 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
27206 Rename to __roundeven and define as weak alias.
27207 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27208 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
27209 Rename to __totalorder and define as weak alias.
27210 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27211 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
27212 (totalordermag): Rename to __totalordermag and define as weak
27213 alias.
27214 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27215 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
27216 macro.
27217 (__roundevenl): Likewise.
27218 (__totalorderl): Likewise.
27219 (__totalordermagl): Likewise
27220 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
27221 __fromfpf128.
27222 (fromfpf128): Define as weak alias.
27223 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
27224 __fromfpxf128.
27225 (fromfpxf128): Define as weak alias.
27226 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
27227 __setpayloadf128.
27228 (setpayloadf128): Define as weak alias.
27229 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
27230 __setpayloadsigf128.
27231 (setpayloadsigf128): Define as weak alias.
27232 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
27233 __ufromfpf128.
27234 (ufromfpf128): Define as weak alias.
27235 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
27236 __ufromfpxf128.
27237 (ufromfpxf128): Define as weak alias.
27238 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
27239 (fromfpf): Define as weak alias.
27240 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
27241 __fromfpxf.
27242 (fromfpxf): Define as weak alias.
27243 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
27244 __getpayloadf and define as weak alias.
27245 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
27246 __roundevenf and define as weak alias.
27247 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
27248 __setpayloadf.
27249 (setpayloadf): Define as weak alias.
27250 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
27251 __setpayloadsigf.
27252 (setpayloadsigf): Define as weak alias.
27253 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
27254 __totalorderf and define as weak alias.
27255 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
27256 Rename to __totalordermagf and define as weak alias.
27257 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
27258 __ufromfpf.
27259 (ufromfpf): Define as weak alias.
27260 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
27261 __ufromfpxf.
27262 (ufromfpxf): Define as weak alias.
27263 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
27264 __fromfpl.
27265 (fromfpl): Define as weak alias.
27266 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
27267 __fromfpxl.
27268 (fromfpxl): Define as weak alias.
27269 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
27270 to __getpayloadl and define as weak alias.
27271 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
27272 __roundevenl and define as weak alias.
27273 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
27274 __setpayloadl.
27275 (setpayloadl): Define as weak alias.
27276 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
27277 __setpayloadsigl.
27278 (setpayloadsigl): Define as weak alias.
27279 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
27280 to __totalorderl and define as weak alias.
27281 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
27282 Rename to __totalordermagl and define as weak alias.
27283 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
27284 __ufromfpl.
27285 (ufromfpl): Define as weak alias.
27286 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
27287 __ufromfpxl.
27288 (ufromfpxl): Define as weak alias.
27289 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
27290 __fromfpl.
27291 (fromfpl): Define as weak alias.
27292 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
27293 __fromfpxl.
27294 (fromfpxl): Define as weak alias.
27295 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
27296 Rename to __getpayloadl and define as weak alias.
27297 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
27298 to __roundevenl and define as weak alias. Call __roundeven
27299 instead of roundeven.
27300 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
27301 __setpayloadl.
27302 (setpayloadl): Define as weak alias.
27303 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
27304 __setpayloadsigl.
27305 (setpayloadsigl): Define as weak alias.
27306 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
27307 Rename to __totalorderl and define as weak alias.
27308 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
27309 Rename to __totalordermagl and define as weak alias.
27310 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
27311 __ufromfpl.
27312 (ufromfpl): Define as weak alias.
27313 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
27314 __ufromfpxl.
27315 (ufromfpxl): Define as weak alias.
27316 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
27317 __fromfpl.
27318 (fromfpl): Define as weak alias.
27319 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
27320 __fromfpxl.
27321 (fromfpxl): Define as weak alias.
27322 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
27323 __getpayloadl and define as weak alias.
27324 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
27325 __roundevenl and define as weak alias.
27326 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
27327 __setpayloadl.
27328 (setpayloadl): Define as weak alias.
27329 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
27330 __setpayloadsigl.
27331 (setpayloadsigl): Define as weak alias.
27332 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
27333 __totalorderl and define as weak alias.
27334 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
27335 Rename to __totalordermagl and define as weak alias.
27336 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
27337 __ufromfpl.
27338 (ufromfpl): Define as weak alias.
27339 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
27340 __ufromfpxl.
27341 (ufromfpxl): Define as weak alias.
27342
27343 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
27344
27345 * benchtests/bench-string.h (realloc_bufs): New function.
27346 (test_init): Call it.
27347 * benchtests/bench-memset-large.c (do_test): Likewise.
27348 * benchtests/bench-memset.c (do_test): Likewise.
27349
27350 * benchtests/bench-memset-large.c: Print output in JSON
27351 format.
27352 * benchtests/bench-memset.c: Likewise.
27353
27354 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27355
27356 [BZ #21084]
27357 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
27358 * iconvdata/Makefile: Add IBM858.
27359 * iconvdata/gconv-modules: Likewise.
27360 * iconvdata/tst-tables.sh: Likewise.
27361 * iconvdata/ibm858.c: New file.
27362 * localedata/charmaps/IBM858: Likewise.
27363
27364 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
27365
27366 [BZ #22023]
27367 * locales/niu_NZ (LC_TIME): copy "niu_NU".
27368 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
27369
27370 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27371
27372 [BZ #22112]
27373 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
27374 and add tel_int_fmt.
27375
27376 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27377
27378 * sysdeps/generic/libm-alias-float128.h: New file.
27379 * sysdeps/generic/math-type-macros-float128.h: Include
27380 <libm-alias-float128.h>.
27381 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27382
27383 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27384
27385 * sysdeps/generic/libm-alias-ldouble.h: New file.
27386 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
27387 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
27388 * sysdeps/generic/math-type-macros-ldouble.h: Include
27389 <libm-alias-ldouble.h>.
27390 [!declare_mgen_alias] (declare_mgen_alias): Define to use
27391 libm_alias_ldouble.
27392
27393 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
27394
27395 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
27396 * math/w_exp_compat.c: ... here.
27397 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
27398 * math/w_expf_compat.c: ... here.
27399 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
27400 * math/w_expl_compat.c: ... here.
27401 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
27402 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
27403 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
27404 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27405
27406 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27407
27408 * math/w_scalbln_template.c (strong_alias): Do not undefine and
27409 redefine.
27410 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
27411 macro.
27412 (ldexpl): Only define as compat symbol for libc, not libm.
27413 (scalbnl): Define as compat symbol for libc here.
27414 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
27415 define for [IS_IN (libc)].
27416 (__ldexpl_2): Remove alias.
27417 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
27418 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
27419 name in long_double_symbol call.
27420 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
27421 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27422 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27423 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
27424 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
27425 Remove macro.
27426 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
27427 Define as compat symbol.
27428
27429 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27430
27431 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
27432 * sysdeps/unix/sysv/linux/alpha/Makefile
27433 [$(subdir) = csu] (sysdep_routines): Remove rule.
27434
27435 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27436
27437 * sysdeps/generic/libm-alias-double.h: New file.
27438 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
27439 * sysdeps/generic/math-type-macros-double.h: Include
27440 <libm-alias-double.h>.
27441 [declare_mgen_alias] (declare_mgen_alias): Define to use
27442 libm_alias_double.
27443 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
27444 (M_LIBM_NEED_COMPAT): Remove macro.
27445 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
27446 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
27447 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
27448 code.
27449 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27450 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27451 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27452 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27453 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27454 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27455 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27456 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27457 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27458 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27459 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27460 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27461 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27462 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27463 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27464 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27465 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27466 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27467 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27468 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27469 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27470 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27471 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27472 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27473 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27474 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27475 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27476 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
27477 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
27478 macro.
27479 (declare_mgen_alias): New macro.
27480 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
27481 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
27482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
27483 (M_LIBM_NEED_COMPAT): Remove macro.
27484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
27485 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
27486 <first-versions.h>.
27487 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
27488 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
27489
27490 2017-09-12 Joseph Myers <joseph@codesourcery.com>
27491
27492 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
27493 (declare_mgen_alias_2): Remove.
27494 * sysdeps/generic/math-type-macros-double.h
27495 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
27496 Likewise.
27497 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
27498 alias.
27499 (ldexp): Define with declare_mgen_alias.
27500 (scalbn): Likewise.
27501
27502 2017-09-12 Steve Ellcey <sellcey@cavium.com>
27503
27504 * grp/initgroups.c: Include config.h.
27505 (DEFAULT_CONFIG): New macro.
27506 (internal_getgrouplist): Use DEFAULT_CONFIG.
27507 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27508 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
27509 (DEFAULT_DEFCONFIG): New macro.
27510 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
27511 * nss/grp-lookup.c: Include config.h
27512 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
27513 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
27514 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
27515 * manual/nss.texi: Update default values section.
27516
27517 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
27518
27519 [BZ #21967]
27520 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
27521 New.
27522 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
27523 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27524 Handle MathVec_Prefer_No_AVX512.
27525 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
27526 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
27527 is set.
27528
27529 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
27530
27531 * posix/sched_primax.c (__sched_get_priority_max): Add
27532 libc_hidden_def.
27533 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
27534 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
27535 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
27536 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
27537 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
27538 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
27539 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
27540 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
27541 Add aliases.
27542
27543 2017-09-11 Joseph Myers <joseph@codesourcery.com>
27544
27545 * sysdeps/generic/libm-alias-float.h: New file.
27546 * sysdeps/generic/math-type-macros-float.h: Include
27547 <libm-alias-float.h>.
27548 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27549
27550 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
27551
27552 [BZ #22093]
27553 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
27554 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
27555 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
27556 (HWCAP_IMPORTANT): Likewise.
27557 (HWCAP_X86_64): New enum.
27558 (HWCAP_X86_AVX512_1): Updated.
27559 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
27560 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
27561 (modules-names): Add x86_64/tst-x86_64mod-1.
27562 (LDFLAGS-tst-x86_64mod-1.so): New.
27563 ($(objpfx)tst-x86_64-1): Likewise.
27564 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
27565 (tst-x86_64-1-clean): Likewise.
27566 * sysdeps/x86_64/tst-x86_64-1.c: New file.
27567 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
27568
27569 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
27570
27571 * po/sv.po: Update translations.
27572 * po/fr.po: Likewise.
27573
27574 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27575
27576 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
27577 seconds.
27578 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
27579 seconds.
27580 * elf/rtld-Rules: Fix $(error) use.
27581
27582 2017-09-09 Mike FABIAN <mfabian@redhat.com>
27583
27584 [BZ #14925]
27585 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
27586 * locale/iso-639.def: Change “Bengali” to “Bangla”.
27587 * localedata/locales/bn_BD: “Bengali” was still used in some
27588 comments. Change it to “Bangla”.
27589
27590 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
27591
27592 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
27593
27594 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27595
27596 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
27597 thunderx2t99p1 to list of cpu names.
27598 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
27599 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
27600
27601 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27602
27603 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
27604 Use strcmp instead of tunable_is_name.
27605
27606 2017-09-08 Joseph Myers <joseph@codesourcery.com>
27607
27608 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27609 (F_GET_RW_HINT): New macro.
27610 [__USE_GNU] (F_SET_RW_HINT): Likewise.
27611 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
27612 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
27613 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
27614 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
27615 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
27616 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
27617 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
27618 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
27619
27620 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27621 (F_ADD_SEALS): New macro.
27622 [__USE_GNU] (F_GET_SEALS): Likewise.
27623 [__USE_GNU] (F_SEAL_SEAL): Likewise.
27624 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
27625 [__USE_GNU] (F_SEAL_GROW): Likewise.
27626 [__USE_GNU] (F_SEAL_WRITE): Likewise.
27627
27628 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27629
27630 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
27631 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
27632 * posix/glob_internal.h (__glob_pattern_type):
27633 * posix/glob.c (glob):
27634 * posix/glob_pattern_p.c (__glob_pattern_p):
27635 Use them.
27636
27637 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
27638 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27639 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
27640 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
27641 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
27643 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
27644 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
27645 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27646 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27647 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27648 * sysdeps/wordsize-64/glob.c: Likewise.
27649 * sysdeps/wordsize-64/glob64.c: Likewise.
27650 * sysdeps/wordsize-64/globfree.c: Likewise.
27651 * sysdeps/wordsize-64/globfree64.c: Likewise.
27652 * sysdeps/unix/sysv/linux/glob.c: New file.
27653 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
27654 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
27655 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
27656 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27657 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
27658 adds !GLOB_NO_OLD_VERSION as an extra condition.
27659 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
27660 using relative path instead of absolute one.
27661 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
27662 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27663 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27664 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
27665 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
27666 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
27667
27668 [BZ #1062]
27669 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
27670 (glob): Use the same scratch buffer for both getlogin_r and
27671 getpwnam_r. Don’t require preallocation of the login name. This
27672 simplifies storage allocation, and corrects the handling of
27673 long login names.
27674
27675 [BZ #1062]
27676 * posix/glob.c (glob): Port recent patches to platforms
27677 lacking getpwnam_r.
27678 (glob): Fix longstanding misuse of errno after getpwnam_r, which
27679 returns an error number rather than setting errno.
27680
27681 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
27682 instead of GCC extension.
27683 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
27684 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
27685 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
27686
27687 [BZ #866]
27688 [BZ #1062]
27689 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
27690 * posix/bug-glob1.c: Remove file.
27691 * posix/tst-glob_symlinks.c: New file.
27692 * posix/glob.c (__lstat64): New macro.
27693 (is_dir): New function.
27694 (glob, glob_in_dir): Match symlinks even if they are dangling.
27695 (link_stat, link_exists_p): Remove. All uses removed.
27696
27697 [BZ #1062]
27698 [BZ #19971]
27699 * posix/glob.c (struct readdir_result): Remove skip_entry member.
27700 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
27701 All uses removed.
27702
27703 [BZ #1062]
27704 CVE-2017-15671
27705 * posix/Makefile (routines): Add globfree, globfree64, and
27706 glob_pattern_p.
27707 * posix/flexmember.h: New file.
27708 * posix/glob_internal.h: Likewise.
27709 * posix/glob_pattern_p.c: Likewise.
27710 * posix/globfree.c: Likewise.
27711 * posix/globfree64.c: Likewise.
27712 * sysdeps/gnu/globfree64.c: Likewise.
27713 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
27714 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27715 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
27716 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27717 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27718 * sysdeps/wordsize-64/globfree.c: Likewise.
27719 * sysdeps/wordsize-64/globfree64.c: Likewise.
27720 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
27721 [NDEBUG): Remove comments.
27722 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
27723 (dirent_type): New type. Use uint_fast8_t not
27724 uint8_t, as C99 does not require uint8_t.
27725 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
27726 (struct readdir_result): Use dirent_type. Do not define skip_entry
27727 unless it is needed; this saves a byte on platforms lacking d_ino.
27728 (readdir_result_type, readdir_result_skip_entry):
27729 New functions, replacing ...
27730 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
27731 these functions, which were removed. This makes the callers
27732 easier to read. All callers changed.
27733 (D_INO_TO_RESULT): Now empty if there is no d_ino.
27734 (size_add_wrapv, glob_use_alloca): New static functions.
27735 (glob, glob_in_dir): Check for size_t overflow in several places,
27736 and fix some size_t checks that were not quite right.
27737 Remove old code using SHELL since Bash no longer
27738 uses this.
27739 (glob, prefix_array): Separate MS code better.
27740 (glob_in_dir): Remove old Amiga and VMS code.
27741 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
27742 separate files.
27743 (glob_in_dir): Do not rely on undefined behavior in accessing
27744 struct members beyond their bounds. Use a flexible array member
27745 instead
27746 (link_stat): Rename from link_exists2_p and return -1/0 instead of
27747 0/1. Caller changed.
27748 (glob): Fix memory leaks.
27749 * posix/glob64 (globfree64): Move to separate file.
27750 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
27751 (globfree64): Remove hidden alias.
27752 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
27753 oldglob.
27754 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
27755 separate file.
27756 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
27757 define.
27758 Move compat code to separate file.
27759 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
27760 separate file.
27761
27762 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
27763
27764 * resolv/tst-resolv-qtypes.c (domain): Changed to
27765 "const char domain[] =".
27766
27767 2017-09-07 Joseph Myers <joseph@codesourcery.com>
27768
27769 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
27770 version to 3.1.6.
27771
27772 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
27773 (TCP_MD5SIG_EXT): Likewise.
27774 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
27775 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
27776 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
27777
27778 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
27779
27780 2017-09-07 Mike FABIAN <mfabian@redhat.com>
27781
27782 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
27783
27784 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
27785
27786 [BZ #22100]
27787 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
27788
27789 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
27790
27791 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
27792 before assuming that the file is empty. Avoid testing buffer content
27793 when nread == 0.
27794
27795 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27796
27797 [BZ #18858]
27798 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27799 Remove define.
27800 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
27801 Likewise.
27802 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
27803 Likewise.
27804 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
27805 Likewise.
27806 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27807 Likewise.
27808 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
27809 Likewise.
27810 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
27811 Likewise.
27812
27813 2017-09-06 Florian Weimer <fweimer@redhat.com>
27814
27815 * malloc/dynarray_emplace_enlarge.c
27816 (__libc_dynarray_emplace_enlarge): Add missing else.
27817
27818 2017-09-06 Florian Weimer <fweimer@redhat.com>
27819
27820 [BZ #22096]
27821 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
27822 case of failure to obtain the global conf object.
27823
27824 2017-09-06 Florian Weimer <fweimer@redhat.com>
27825
27826 [BZ #22095]
27827 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
27828 dynarray allocation failure.
27829
27830 2017-09-06 Florian Weimer <fweimer@redhat.com>
27831
27832 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
27833 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
27834 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
27835 New functions.
27836 (response): Call them. Add 'p', '6' flag processing.
27837 (test_reverse): New function.
27838 (test_get2_any): Call it.
27839 (test_no_inet6): Add 'p' test.
27840 (test_inet6): Likewise.
27841
27842 2017-09-06 Florian Weimer <fweimer@redhat.com>
27843
27844 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
27845 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
27846 the QNAME.
27847 (test_gai): Adjust query names. Add additional tests.
27848 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
27849 test_get2. Adjust query names. Add additional tests.
27850 (test_no_inet6): New function, extracted from threadfunc.
27851 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
27852 Add additional tests.
27853
27854 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27855
27856 [BZ #22070]
27857 * localedata/unicode-gen/utf8_gen.py: Set the width for
27858 characters with Prepended_Concatenation_Mark property to 1
27859 * localedata/charmaps/UTF-8: Updated using the improved script.
27860
27861 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27862
27863 [BZ #21750]
27864 * localedata/unicode-gen/utf8_gen.py: Improve the script to
27865 use the range notation for all ranges of neighbouring characters
27866 with the same width.
27867
27868 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27869
27870 * sysdeps/generic/math-type-macros-double.h: Include
27871 <math-svid-compat.h>.
27872 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27873 * sysdeps/generic/math-type-macros-float.h: Include
27874 <math-svid-compat.h>.
27875 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27876 * sysdeps/generic/math-type-macros-ldouble.h: Include
27877 <math-svid-compat.h>.
27878 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27879 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
27880 condition.
27881 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
27882 * math/w_acosf_compat.c: Likewise.
27883 * math/w_acosh_compat.c: Likewise.
27884 * math/w_acoshf_compat.c: Likewise.
27885 * math/w_acoshl_compat.c: Likewise.
27886 * math/w_acosl_compat.c: Likewise.
27887 * math/w_asin_compat.c: Likewise.
27888 * math/w_asinf_compat.c: Likewise.
27889 * math/w_asinl_compat.c: Likewise.
27890 * math/w_atan2_compat.c: Likewise.
27891 * math/w_atan2f_compat.c: Likewise.
27892 * math/w_atan2l_compat.c: Likewise.
27893 * math/w_atanh_compat.c: Likewise.
27894 * math/w_atanhf_compat.c: Likewise.
27895 * math/w_atanhl_compat.c: Likewise.
27896 * math/w_cosh_compat.c: Likewise.
27897 * math/w_coshf_compat.c: Likewise.
27898 * math/w_coshl_compat.c: Likewise.
27899 * math/w_exp10_compat.c: Likewise.
27900 * math/w_exp10f_compat.c: Likewise.
27901 * math/w_exp10l_compat.c: Likewise.
27902 * math/w_exp2_compat.c: Likewise.
27903 * math/w_exp2f_compat.c: Likewise.
27904 * math/w_exp2l_compat.c: Likewise.
27905 * math/w_fmod_compat.c: Likewise.
27906 * math/w_fmodf_compat.c: Likewise.
27907 * math/w_fmodl_compat.c: Likewise.
27908 * math/w_hypot_compat.c: Likewise.
27909 * math/w_hypotf_compat.c: Likewise.
27910 * math/w_hypotl_compat.c: Likewise.
27911 * math/w_j0_compat.c: Likewise.
27912 * math/w_j0f_compat.c: Likewise.
27913 * math/w_j0l_compat.c: Likewise.
27914 * math/w_j1_compat.c: Likewise.
27915 * math/w_j1f_compat.c: Likewise.
27916 * math/w_j1l_compat.c: Likewise.
27917 * math/w_jn_compat.c: Likewise.
27918 * math/w_jnf_compat.c: Likewise.
27919 * math/w_jnl_compat.c: Likewise.
27920 * math/w_lgamma_r_compat.c: Likewise.
27921 * math/w_lgammaf_r_compat.c: Likewise.
27922 * math/w_lgammal_r_compat.c: Likewise.
27923 * math/w_log10_compat.c: Likewise.
27924 * math/w_log10f_compat.c: Likewise.
27925 * math/w_log10l_compat.c: Likewise.
27926 * math/w_log2_compat.c: Likewise.
27927 * math/w_log2f_compat.c: Likewise.
27928 * math/w_log2l_compat.c: Likewise.
27929 * math/w_log_compat.c: Likewise.
27930 * math/w_logf_compat.c: Likewise.
27931 * math/w_logl_compat.c: Likewise.
27932 * math/w_pow_compat.c: Likewise.
27933 * math/w_powf_compat.c: Likewise.
27934 * math/w_powl_compat.c: Likewise.
27935 * math/w_remainder_compat.c: Likewise.
27936 * math/w_remainderf_compat.c: Likewise.
27937 * math/w_remainderl_compat.c: Likewise.
27938 * math/w_sinh_compat.c: Likewise.
27939 * math/w_sinhf_compat.c: Likewise.
27940 * math/w_sinhl_compat.c: Likewise.
27941 * math/w_sqrt_compat.c: Likewise.
27942 * math/w_sqrtf_compat.c: Likewise.
27943 * math/w_sqrtl_compat.c: Likewise.
27944 * math/w_tgamma_compat.c: Likewise.
27945 * math/w_tgammaf_compat.c: Likewise.
27946 * math/w_tgammal_compat.c: Likewise.
27947 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
27948 [LIBM_SVID_COMPAT].
27949 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
27950 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
27951 [LIBM_SVID_COMPAT].
27952 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
27953 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
27954 [LIBM_SVID_COMPAT].
27955 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
27956 * sysdeps/i386/fpu/w_sqrt.c: New file.
27957 * sysdeps/ia64/fpu/w_acos.c: Likewise.
27958 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
27959 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
27960 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
27961 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
27962 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
27963 * sysdeps/ia64/fpu/w_asin.c: Likewise.
27964 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
27965 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
27966 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
27967 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
27968 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
27969 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
27970 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
27971 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
27972 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
27973 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
27974 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
27975 * sysdeps/ia64/fpu/w_exp.c: Likewise.
27976 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
27977 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
27978 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
27979 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
27980 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
27981 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
27982 * sysdeps/ia64/fpu/w_expf.c: Likewise.
27983 * sysdeps/ia64/fpu/w_expl.c: Likewise.
27984 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
27985 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
27986 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
27987 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
27988 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
27989 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
27990 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
27991 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
27992 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
27993 * sysdeps/ia64/fpu/w_log.c: Likewise.
27994 * sysdeps/ia64/fpu/w_log10.c: Likewise.
27995 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
27996 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
27997 * sysdeps/ia64/fpu/w_log2.c: Likewise.
27998 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
27999 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
28000 * sysdeps/ia64/fpu/w_logf.c: Likewise.
28001 * sysdeps/ia64/fpu/w_logl.c: Likewise.
28002 * sysdeps/ia64/fpu/w_pow.c: Likewise.
28003 * sysdeps/ia64/fpu/w_powf.c: Likewise.
28004 * sysdeps/ia64/fpu/w_powl.c: Likewise.
28005 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
28006 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
28007 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
28008 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
28009 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
28010 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
28011 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
28012 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
28013 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
28014 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
28015 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
28016 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
28017 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
28018 [LIBM_SVID_COMPAT].
28019 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
28020 * sysdeps/ieee754/k_standard.c: Likewise.
28021 * sysdeps/ieee754/k_standardf.c: Likewise.
28022 * sysdeps/ieee754/k_standardl.c: Likewise.
28023 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
28024 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
28025 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
28026 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
28027 long_double_symbol call on [LIBM_SVID_COMPAT].
28028 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28029 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28030 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28031 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28032 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28033 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28034 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28035 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28036 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28037 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28038 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28039 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28040 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28041 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28042 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28043 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28044 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
28045 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28046 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28047 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28048 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
28049 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
28050
28051 2017-09-05 Steve Ellcey <sellcey@cavium.com>
28052
28053 * include/shlib-compat.h (TEST_COMPAT): New Macro.
28054 * malloc/tst-mallocstate.c: Convert from test-skeleton
28055 to test-driver. Ifdef code using TEST_COMPAT macro.
28056 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
28057 * math/test-matherr.c: Likewise.
28058
28059 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28060
28061 [BZ #22086]
28062 * debug/pcprofiledump.c (main): Use byte-swapped mask when
28063 comparing word with byte-swapped constant.
28064
28065 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
28066
28067 [BZ #20498]
28068 * locale/iso-639.def: add Miskito.
28069 * localedata/SUPPORTED: Add miq_NI/UTF-8.
28070 * localedata/locales/miq_NI: New file.
28071
28072 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
28073
28074 [BZ #18822]
28075 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
28076 (__mkdir): Likewise.
28077 * io/chmod.c (__chmod): Add libc_hidden_def.
28078 * io/mkdir.c (__mkdir): Likewise.
28079 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28080 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28081 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
28082 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
28083
28084 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28085
28086 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
28087 version to 4.13.
28088
28089 [BZ #22082]
28090 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
28091 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
28092
28093 2017-09-04 Florian Weimer <fweimer@redhat.com>
28094
28095 * math/math.h: Issue warning if log is defined.
28096
28097 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28098
28099 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28100 kernel version to 4.13.
28101
28102 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28103
28104 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
28105 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
28106 parameter.
28107 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
28108 just <bits/types.h>.
28109 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
28110 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
28111 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
28112 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
28113 * misc/preadv2.c: Include <errno.h>.
28114 * misc/preadv64v2.c: Include <errno.h>.
28115 * misc/pwritev2.c: Include <errno.h>.
28116 * misc/pwritev64v2.c: Include <errno.h>.
28117 * sysdeps/posix/preadv2.c: Include <errno.h>.
28118 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
28119 Fix <unistd.h> inclusion.
28120 * sysdeps/posix/pwritev2.c: Include <errno.h>.
28121 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
28122 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
28123 __strtoul_internal): New functions.
28124 * sysdeps/posix/pause.c: Include <sigsetops.h>.
28125 * sysdeps/posix/system.c: Include <sigsetops.h>.
28126 * sysdeps/mach/hurd/i386/Makefile
28127 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
28128 [$(subdir) = csu] (sysdep-only-routines): Likewise.
28129 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
28130 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
28131 __feraiseexcept_renamed to feraiseexcept instead of
28132 __GI_feraiseexcept.
28133 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
28134 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
28135 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
28136 RWF_NOWAIT): Define to 0 if undefined already.
28137 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
28138 boils down to 0.
28139 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
28140 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
28141
28142 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28143
28144 * manual/math.texi (pow10): Do not document.
28145 (pow10f): Likewise.
28146 (pow10l): Likewise.
28147 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
28148 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
28149 * math/libm-test-exp10.inc (pow10_test): Remove.
28150 (do_test): Do not call pow10.
28151 * math/w_exp10_compat.c (pow10): Make into compat symbol.
28152 [NO_LONG_DOUBLE] (pow10l): Likewise.
28153 * math/w_exp10f_compat.c (pow10f): Likewise.
28154 * math/w_exp10l_compat.c (pow10l): Likewise.
28155 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
28156 (pow10): Make into compat symbol.
28157 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
28158 (pow10f): Make into compat symbol.
28159 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
28160 (pow10l): Make into compat symbol.
28161 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
28162 pow10.
28163 (CFLAGS-nldbl-pow10.c): Remove variable..
28164 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
28165 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
28166 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
28167 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
28168 Undefine and redefine.
28169 (pow10l): Make into compat symbol.
28170 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
28171 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
28172 * sysdeps/arm/libm-test-ulps: Likewise.
28173 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
28174 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
28175 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28176 * sysdeps/microblaze/libm-test-ulps: Likewise.
28177 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28178 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28179 * sysdeps/nios2/libm-test-ulps: Likewise.
28180 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28181 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
28182 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28183 * sysdeps/sh/libm-test-ulps: Likewise.
28184 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28185 * sysdeps/tile/libm-test-ulps: Likewise.
28186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28187
28188 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28189
28190 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
28191
28192 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28193
28194 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
28195 "../ChangeLog.old/ChangeLog.8".
28196 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
28197 "../ChangeLog.old/ChangeLog.14".
28198
28199 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28200
28201 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
28202 Threads Library.
28203
28204 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28205
28206 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
28207
28208 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28209
28210 * csu/version.c (banner): Remove "by Roland McGrath et al.".
28211 * nptl/Banner: Remove "by Ulrich Drepper et al.".
28212
28213 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28214
28215 * stdlib/tst-atexit-common.c (do_test): Test support for at least
28216 32 atexit handlers.
28217
28218 2017-09-01 Zack Weinberg <zackw@panix.com>
28219
28220 * math/math.h (HUGE_VAL): Improve commentary.
28221
28222 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28223 Andreas Schwab <schwab@suse.de>
28224
28225 [BZ #21530]
28226 * include/stdio.h (__gen_tempfd): New function.
28227 * stdio-common/Makefile (routines): Add gentempfd.
28228 * stdio-common/gentempfd.c: New file.
28229 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
28230 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
28231 unnamed file first.
28232
28233 2017-09-01 Florian Weimer <fweimer@redhat.com>
28234
28235 [BZ #21915]
28236 [BZ #21922]
28237 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
28238 result to determine success or failure, not the errno value.
28239 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
28240 (tst-nss-files-hosts-erange): Link with -ldl.
28241 * nss/tst-nss-files-hosts-erange.c: New file.
28242 * nss/tst-resolv-basic.c (response): Handle nodata.example.
28243 (do_test): Add NO_DATA tests.
28244 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
28245 (do_test): Call it.
28246
28247 2017-09-01 Florian Weimer <fweimer@redhat.com>
28248
28249 [BZ #21922]
28250 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
28251 coming from gethostbyname2_r.
28252
28253 2017-09-01 Florian Weimer <fweimer@redhat.com>
28254
28255 * support/namespace.h (struct support_chroot_configuration): Add
28256 hosts, host_conf.
28257 (struct support_chroot): Add path_hosts, path_host_conf.
28258 * support/support_chroot.c (write_file): New function.
28259 (support_chroot_create): Call it to process /etc/resolv.conf,
28260 /etc/hosts, /etc/host.conf.
28261 (support_chroot_free): Update.
28262
28263 2017-09-01 Florian Weimer <fweimer@redhat.com>
28264
28265 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
28266 status indicates it is set.
28267
28268 2017-09-01 Florian Weimer <fweimer@redhat.com>
28269
28270 [BZ #20532]
28271 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
28272 function lookup failures more reliable.
28273
28274 2017-09-01 Florian Weimer <fweimer@redhat.com>
28275
28276 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
28277 (getcanonname): Likewise.
28278 (gaih_inet): Likewise.
28279
28280 2017-09-01 Florian Weimer <fweimer@redhat.com>
28281
28282 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
28283 (getcanonname): Likewise.
28284 (gaih_inet): Likewise.
28285
28286 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28287 Richard Henderson <rth@twiddle.net>
28288
28289 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
28290 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
28291 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
28292 (IREG_SIZE, OREG_SIZE): New macros.
28293 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
28294 (IREG_SIZE, OREG_SIZE): New macros.
28295 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
28296 (IREG_SIZE): New macro.
28297 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
28298 (IREG_SIZE): New macro.
28299 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
28300 New includes.
28301 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
28302 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28303 (__CONCATX): Handle exceptions correctly on large values that may
28304 set FE_INVALID.
28305 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
28306 Initialize if not already set.
28307 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28308
28309 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28310
28311 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
28312 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
28313 Likewise.
28314 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
28315 Likewise.
28316 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
28317 Likewise.
28318 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
28319 Likewise.
28320 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
28321 Likewise.
28322 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
28323 Likewise.
28324 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
28325 Likewise.
28326 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
28327 (NO_CANCELLATION): Likewise.
28328 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
28329 Likewise.
28330 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
28331 Likewise.
28332 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
28333 Likewise.
28334 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
28335 (NO_CANCELLATION): Likewise.
28336 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
28337 (NO_CANCELLATION): Likewise.
28338 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
28339 Likewise
28340 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
28341 Likewise.
28342 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
28343 Likewise.
28344 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
28345 Likewise.
28346 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
28347 hidden prototype.
28348 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
28349 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
28350
28351 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28352
28353 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
28354 in resolver call.
28355
28356 2017-08-31 Florian Weimer <fweimer@redhat.com>
28357
28358 * include/libc-symbols.h (internal_function): Remove.
28359
28360 2017-08-31 Florian Weimer <fweimer@redhat.com>
28361
28362 * stdlib/fmtmsg.c (internal_addseverity): Remove
28363 internal_function.
28364
28365 2017-08-31 Florian Weimer <fweimer@redhat.com>
28366
28367 * stdio-common/printf_fp.c (group_number): Remove
28368 internal_function.
28369 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
28370
28371 2017-08-31 Florian Weimer <fweimer@redhat.com>
28372
28373 * posix/fnmatch.c (internal_function): Remove definition.
28374 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
28375 * posix/regcomp.c (peek_token, init_word_char)
28376 (duplicate_node_closure, fetch_token, peek_token)
28377 (peek_token_bracket, build_range_exp, build_collating_symbol):
28378 Likewise.
28379 * posix/regex_internal.c (re_string_construct_common)
28380 (create_ci_newstate, create_cd_newstate, re_string_allocate)
28381 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
28382 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
28383 (re_string_translate_buffer, re_string_reconstruct)
28384 (re_string_peek_byte_case, re_string_fetch_byte_case)
28385 (re_string_destruct, re_string_context_at, re_node_set_alloc)
28386 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
28387 (re_node_set_add_intersect, re_node_set_init_union)
28388 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
28389 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
28390 (re_dfa_add_node, calc_state_hash, re_acquire_state)
28391 (re_acquire_state_context): Likewise.
28392 * posix/regex_internal.h (internal_function): Remove definition.
28393 (re_string_realloc_buffers, build_wcs_buffer)
28394 (build_wcs_upper_buffer, build_upper_buffer)
28395 (re_string_translate_buffer, re_string_context_at)
28396 (re_string_char_size_at, re_string_wchar_at)
28397 (re_string_elem_size_at): Likewise.
28398 * posix/regexec.c (match_ctx_init, match_ctx_clean)
28399 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
28400 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
28401 (re_search_internal, re_search_2_stub, re_search_stub)
28402 (re_copy_regs, prune_impossible_nodes, check_matching)
28403 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
28404 (free_fail_stack_return, sift_states_iter_mb)
28405 (sift_states_backward, build_sifted_states)
28406 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
28407 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
28408 (check_subexp_limits, sift_states_bkref, merge_state_array)
28409 (find_recover_state, transit_state, merge_state_with_log)
28410 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
28411 (transit_state_mb, transit_state_bkref, get_subexp)
28412 (get_subexp_sub, find_subexp_node, check_arrival)
28413 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
28414 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
28415 (check_node_accept_bytes, find_collation_sequence_value)
28416 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
28417 (acquire_init_state_context, check_halt_node_context)
28418 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
28419 (sub_epsilon_src_nodes): Likewise.
28420 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
28421 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
28422 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
28423 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
28424 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
28425 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
28426 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
28427 * sysdeps/posix/ttyname.c (getttyname): Likewise.
28428 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
28429 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
28430 (PREADV): Likewise.
28431 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
28432 (PREADV): Likewise.
28433 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
28434 (PWRITEV): Likewise.
28435 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
28436 (PWRITEV): Likewise.
28437 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
28438 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28439
28440 2017-08-31 Florian Weimer <fweimer@redhat.com>
28441
28442 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
28443 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
28444 Remove internal_function.
28445 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28446 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
28447 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
28448 (__deallocate_stack, __libc_pthread_init)
28449 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
28450 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
28451 (__libc_disable_asynccancel, __librt_disable_asynccancel):
28452 Likewise.
28453 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
28454 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
28455 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
28456 Likewise.
28457 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
28458 (__pthread_mutex_unlock_usercnt): Likewise.
28459
28460 2017-08-31 Florian Weimer <fweimer@redhat.com>
28461
28462 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
28463 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
28464 (fts_safe_changedir): Remove internal_function.
28465 * io/ftw.c (internal_function): Remove definition.
28466 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
28467
28468 2017-08-31 Florian Weimer <fweimer@redhat.com>
28469
28470 * inet/deadline.c (__deadline_current_time)
28471 (__deadline_from_timeval, __deadline_to_ms): Remove
28472 internal_function.
28473 * inet/getnameinfo.c (nrl_domainname): Likewise.
28474 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
28475 * inet/inet6_option.c (add_pad): Likewise.
28476 * inet/net-internal.h (__deadline_current_time)
28477 (__deadline_from_timeval, __deadline_to_ms): Likewise.
28478 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
28479 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
28480 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
28481
28482 2017-08-31 Joseph Myers <joseph@codesourcery.com>
28483
28484 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
28485 include <bits/nan.h>.
28486 * math/Makefile (headers): Remove bits/nan.h.
28487 * bits/nan.h: Remove.
28488 * sysdeps/ieee754/bits/nan.h: Likewise.
28489 * sysdeps/mips/bits/nan.h: Likewise.
28490
28491 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
28492 not include <bits/inf.h>.
28493 * math/Makefile (headers): Remove bits/inf.h.
28494 * bits/inf.h: Remove.
28495 * sysdeps/ieee754/bits/inf.h: Likewise.
28496
28497 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
28498 bits/huge_vall.h or bits/huge_val_flt128.h.
28499 (HUGE_VAL): Define directly here.
28500 [__USE_ISOC99] (HUGE_VALF): Likewise.
28501 [__USE_ISOC99] (HUGE_VALL): Likewise.
28502 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28503 (HUGE_VAL_F128): Likewise.
28504 * math/Makefile (headers): Remove bits/huge_val.h,
28505 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
28506 * bits/huge_val.h: Remove.
28507 * bits/huge_val_flt128.h: Likewise.
28508 * bits/huge_valf.h: Likewise.
28509 * bits/huge_vall.h: Likewise.
28510 * sysdeps/ia64/bits/huge_vall.h: Likewise.
28511 * sysdeps/ieee754/bits/huge_val.h: Likewise.
28512 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
28513 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
28514 * sysdeps/sh/bits/huge_val.h: Likewise.
28515 * sysdeps/sparc/bits/huge_vall.h: Likewise.
28516 * sysdeps/x86/bits/huge_vall.h: Likewise.
28517
28518 2017-08-31 Florian Weimer <fweimer@redhat.com>
28519
28520 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
28521 internal_function.
28522 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
28523 Likewise.
28524 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
28525 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
28526 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
28527 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
28528 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28529 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
28530 * elf/dl-libc.c (dlerror_run): Likewise.
28531 * elf/dl-load.c (add_name_to_object, decompose_rpath)
28532 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
28533 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
28534 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
28535 Likewise.
28536 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
28537 (_dl_higher_prime_number, _dl_strtoul): Likewise.
28538 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
28539 * elf/dl-profile.c (_dl_start_profile): Likewise.
28540 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
28541 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
28542 Likewise.
28543 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
28544 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
28545 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
28546 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
28547 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
28548 (_dl_allocate_tls_storage): Likewise.
28549 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
28550 (_dl_check_all_versions): Likewise.
28551 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
28552 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
28553 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
28554 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28555 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
28556 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
28557 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
28558 internal_function from __dl_start.
28559 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
28560 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
28561 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
28562 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
28563 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
28564 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
28565 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
28566 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
28567 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
28568 (_dl_next_ld_env_entry, _dl_important_hwcaps)
28569 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
28570 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
28571 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
28572 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
28573 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
28574 Likewise.
28575 (struct rtld_global_ro): Remove internal_function from the
28576 _dl_lookup_symbol_x member.
28577 (_dl_symbol_value): Remove. No longer defined anywhere.
28578 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
28579 internal_function.
28580 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28581 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28582 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
28583 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
28584 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
28585 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
28586 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
28587 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
28588 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
28589 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
28590 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28591 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28592
28593 2017-08-31 Florian Weimer <fweimer@redhat.com>
28594
28595 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
28596 Remove internal_function.
28597 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28598 Likewise.
28599 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28600 Likewise.
28601
28602 2017-08-31 Florian Weimer <fweimer@redhat.com>
28603
28604 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
28605 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
28606 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
28607
28608 2017-08-31 Florian Weimer <fweimer@redhat.com>
28609
28610 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
28611 (__gai_enqueue_request): Remove internal_function.
28612 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
28613 (__gai_remove_request, __gai_notify, __gai_notify_only)
28614 (__gai_sigqueue): Likewise.
28615 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
28616 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28617 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
28618 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28619 Likewise.
28620
28621 2017-08-31 Florian Weimer <fweimer@redhat.com>
28622
28623 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
28624 * include/dirent.h (__opendirat, __getdents, __getdents64)
28625 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
28626 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
28627 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
28628 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28629 Likewise.
28630 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
28631
28632 2017-08-31 Florian Weimer <fweimer@redhat.com>
28633
28634 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
28635 internal_function.
28636 (GETCWD_RETURN_TYPE): Likewise.
28637
28638 2017-08-31 Florian Weimer <fweimer@redhat.com>
28639
28640 * include/time.h (__tz_compute, __strptime_internal): Remove
28641 internal_function.
28642 * time/strptime_l.c (__strptime_internal): Likewise.
28643 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
28644
28645 2017-08-31 Florian Weimer <fweimer@redhat.com>
28646
28647 * iconv/gconv.c (__gconv): Remove internal_function.
28648 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
28649 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
28650 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
28651 (__gconv_release_cache): Likewise.
28652 * iconv/gconv_close.c (__gconv_close): Likewise.
28653 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
28654 (read_conf_file, __gconv_get_path): Likewise.
28655 * iconv/gconv_db.c (derivation_lookup, add_derivation)
28656 (__gconv_release_step, gen_steps, increment_counter)
28657 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
28658 (__gconv_close_transform, free_modules_db): Likewise.
28659 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
28660 Likewise.
28661 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
28662 (__gconv_find_transform, __gconv_lookup_cache)
28663 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
28664 (__gconv_close_transform, __gconv_release_cache)
28665 (__gconv_loaded_object, __gconv_release_shlib)
28666 (__gconv_compare_alias): Likewise.
28667 * iconv/gconv_open.c (__gconv_open): Likewise.
28668 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
28669 * iconv/iconvconfig.c (add_module): Likewise.
28670 * intl/dcigettext.c (plural_lookup, guess_category_value)
28671 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
28672 * intl/eval-plural.h (plural_eval): Likewise.
28673 * intl/finddomain.c (_nl_find_domain): Likewise.
28674 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
28675 (_nl_load_domain, _nl_find_msg): Likewise.
28676 (internal_function): Remove definition.
28677 * intl/loadinfo.h (internal_function): Likewise.
28678 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
28679 internal_function.
28680 * intl/localealias.c (internal_function): Remove definition.
28681 (read_alias_file): Remove internal_function.
28682 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
28683 * intl/plural-exp.h (internal_function): Remove definition.
28684 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
28685 internal_function.
28686 * intl/plural.c: Regenerate.
28687 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
28688 * locale/coll-lookup.c (__collidx_table_lookup)
28689 (__collseq_table_lookup): Likewise.
28690 * locale/coll-lookup.h (__collidx_table_lookup)
28691 (__collseq_table_lookup): Likewise.
28692 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
28693 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
28694 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
28695 (_nl_unload_locale): Likewise.
28696 * locale/localeinfo.h (struct __locale_data): Remove
28697 internal_function from cleanup member.
28698 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
28699 (_nl_remove_locale, _nl_load_locale_from_archive)
28700 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
28701 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
28702 (_nl_cleanup_time): Remove internal_function.
28703 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
28704 (_nl_parse_alt_digit): Likewise.
28705 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
28706 (_nl_select_era_entry): Likewise.
28707 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
28708 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28709 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28710 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28711 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28712
28713 2017-08-31 Florian Weimer <fweimer@redhat.com>
28714
28715 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
28716 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28717 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
28718 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
28719 Likewise.
28720 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
28721 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
28722 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
28723 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
28724 Likewise.
28725 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
28726
28727 2017-08-31 Florian Weimer <fweimer@redhat.com>
28728
28729 * misc/getttyent.c (skip, value): Remove internal_function.
28730 * misc/syslog.c (openlog_internal): Likewise.
28731 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
28732
28733 2017-08-31 Florian Weimer <fweimer@redhat.com>
28734
28735 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
28736 (__nss_rewrite_field): Remove internal_function.
28737 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
28738 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
28739 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
28740 * nss/nsswitch.c (nss_parse_file, nss_getline)
28741 (nss_parse_service_list, nss_new_service): Likewise.
28742 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
28743 * nss/valid_field.c (__nss_valid_field): Likewise.
28744 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
28745
28746 2017-08-31 Florian Weimer <fweimer@redhat.com>
28747
28748 * malloc/arena.c (__malloc_fork_lock_parent)
28749 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
28750 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
28751 internal_function from defintions.
28752 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
28753 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
28754 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
28755 internal_function from declarations.
28756 * malloc/malloc.c (internal_function): Do not define.
28757 (mem2mem_check): Remove internal_function from declaration.
28758 (munmap_chunk, mremap_chunk): Remove internal_function.
28759 * malloc/mtrace.c (tr_where): Likewise.
28760
28761 2017-08-31 Florian Weimer <fweimer@redhat.com>
28762
28763 * include/rpc/pmap_clnt.h (__get_socket): Remove
28764 internal_function.
28765 * sunrpc/auth_des.c (synchronize): Likewise.
28766 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
28767 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
28768 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
28769 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
28770 (key_call): Likewise.
28771 * sunrpc/pm_getport.c (__get_socket): Likewise.
28772 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
28773 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
28774 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
28775 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
28776 (invalidate): Likewise.
28777 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
28778 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
28779 (set_input_fragment, get_input_bytes): Likewise.
28780
28781 2017-08-31 Florian Weimer <fweimer@redhat.com>
28782
28783 * malloc/malloc.c (_int_free): Remove locked variable and related
28784 asserts.
28785
28786 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
28787
28788 [BZ #22051]
28789 * Makerules (build-module-helper-objlist): Filter out
28790 $(elf-objpfx)sofini.os.
28791 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
28792 needed.
28793
28794 2017-08-31 Florian Weimer <fweimer@redhat.com>
28795
28796 * libio/fcloseall.c: Assume weak_alias is defined.
28797 * libio/feof.c: Likewise.
28798 * libio/fileno.c: Likewise.
28799 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
28800 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28801 definitions.
28802 (_IO_file_open): Call __open directly.
28803 (_IO_new_file_sync): Assume ESPIPE is defined.
28804 (_IO_file_seekoff_maybe_mmap): Call __read directly.
28805 (_IO_new_file_write): Call __write directly.
28806 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
28807 * libio/ftello64.c (__ftello64): Assume EIO is defined.
28808 * libio/genops.c: Assume _LIBC is defined.
28809 (save_for_backup): Remove internal_function.
28810 * libio/getc.c: Assume weak_alias is defined.
28811 * libio/getwc.c: Likewise.
28812 * libio/iofclose.c: Assume _LIBC is defined.
28813 * libio/iofdopen.c: Likewise.
28814 (_IO_fcntl): Remove macro definition.
28815 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
28816 Call __fcntl directly.
28817 * libio/iofflush.c: Assume weak_alias is defined.
28818 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
28819 defined.
28820 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
28821 * libio/iofgets.c: Likewise.
28822 * libio/iofopen.c: Assume _LIBC is defined.
28823 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
28824 * libio/iofputs.c: Assume weak_alias is defined.
28825 * libio/iofread.c: Likewise.
28826 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
28827 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28828 * libio/ioftell.c: Assume weak_alias is defined.
28829 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
28830 * libio/iofwide.c: Assume _LIBC is defined.
28831 (_IO_fwide): Drop SHARED conditional because it is implied by
28832 SHLIB_COMPAT.
28833 * libio/iofwrite.c: Assume weak_alias is defined.
28834 * libio/iogetdelim.c: Likewise.
28835 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
28836 * libio/iogetwline.c (wmemcpy): Remove macro definition.
28837 (_IO_getwline): Call __wmemcpy directly.
28838 * libio/iopopen.c: Assume _LIBC is defined.
28839 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28840 (_IO_close): Remove macro definitions.
28841 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
28842 _exit directly.
28843 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
28844 directly.
28845 * libio/ioputs.c: Assume weak_alias is defined.
28846 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
28847 * libio/iosetbuffer.c: Assume weak_alias is defined.
28848 * libio/iosetvbuf.c: Likewise.
28849 * libio/ioungetc.c: Likewise.
28850 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
28851 libc_hidden_def, libc_hidden_weak, NULL are defined.
28852 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
28853 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
28854 defined.
28855 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28856 definitions.
28857 (_IO_old_file_init_internal): Drop SHARED conditional because it
28858 is implied by SHLIB_COMPAT.
28859 (_IO_old_file_fopen): Call __open directly.
28860 (_IO_old_file_sync): Assume ESPIPE is defined.
28861 (_IO_old_file_write): Call __write directly.
28862 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
28863 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
28864 Call __fcntl directly.
28865 * libio/oldiofgetpos.c: Assume weak_alias is defined.
28866 (_IO_old_fgetpos): Assume EIO is defined.
28867 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
28868 (_IO_old_fgetpos64): Assume EIO is defined.
28869 * libio/oldiofsetpos.c: Assume weak_alias is defined.
28870 (_IO_old_fsetpos): Assume EIO is defined.
28871 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
28872 (_IO_old_fsetpos64): Assume EIO is defined.
28873 * libio/oldiopopen.c: Assume _LIBC is defined.
28874 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28875 (_IO_close): Remove macro definitions.
28876 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
28877 directly.
28878 (_IO_old_proc_close): Call __close, __waitpid directly.
28879 * libio/put.c: Assume weak_alias is defined.
28880 * libio/stdfiles.c: Assume _LIBC is defined.
28881 * libio/stdio.c: Likewise.
28882 * libio/wfileops.c: Likewise.
28883 (_IO_wfile_sync): Assume ESPIPE is defined.
28884 * libio/wgenops.c: Assume _LIBC is defined.
28885 (save_for_wbackup): Remove internal_function.
28886
28887 2017-08-31 Florian Weimer <fweimer@redhat.com>
28888
28889 * malloc/malloc.c (top_check): Change return type to void. Remove
28890 internal_function.
28891 * malloc/hooks.c (top_check): Likewise.
28892 (malloc_check, realloc_check, memalign_check): Adjust.
28893
28894 2017-08-30 Joseph Myers <joseph@codesourcery.com>
28895
28896 [BZ #21457]
28897 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28898 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
28899 sigcontext and namespace requirements.
28900 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28901 * sysdeps/m68k/sys/ucontext.h: Likewise.
28902 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
28903 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
28904 <bits/sigcontext.h>.
28905 (__ctx): Define earlier.
28906 (mcontext_t): Define structure contents rather than using struct
28907 sigcontext.
28908 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
28909 __glibc_reserved1 instead of __reserved.
28910 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
28911 <bits/sigcontext.h>.
28912 (__ctx): Define earlier.
28913 (mcontext_t): Define structure contents rather than using struct
28914 sigcontext.
28915 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
28916 mcontext_t instead of struct sigcontext.
28917 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
28918 <bits/sigcontext.h>.
28919 (__ctx): Define earlier.
28920 (mcontext_t): Define structure contents rather than using struct
28921 sigcontext.
28922 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
28923 <bits/sigcontext.h>.
28924 (__ctx): Define earlier.
28925 (mcontext_t): Define structure contents rather than using struct
28926 sigcontext.
28927 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
28928 mcontext_t instead of struct sigcontext.
28929 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
28930 mcontext_t instead of struct sigcontext.
28931 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
28932 <bits/sigcontext.h>.
28933 (__ctx): New macro.
28934 (struct __ia64_fpreg_mcontext): New type.
28935 (mcontext_t): Define structure contents rather than using struct
28936 sigcontext.
28937 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
28938 (uc_sigmask): Define using __ctx.
28939 (uc_stack): Likewise.
28940 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
28941 <bits/sigcontext.h>.
28942 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28943 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
28944 <bits/sigcontext.h>.
28945 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
28946 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
28947 <bits/sigcontext.h>.
28948 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
28949 <bits/sigcontext.h>.
28950 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
28951 <bits/sigcontext.h>.
28952 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
28953 <bits/sigcontext.h>.
28954 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
28955 <bits/sigcontext.h>.
28956 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
28957 <bits/sigcontext.h>.
28958 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
28959 <bits/sigcontext.h>.
28960 (__ctx): Define earlier.
28961 (mcontext_t): Define structure contents rather than using struct
28962 sigcontext.
28963 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
28964 <bits/sigcontext.h>. Include <bits/types.h>.
28965 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
28966 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
28967 (test-xfail-XPG42/ucontext.h/conform): Likewise.
28968 (test-xfail-UNIX98/signal.h/conform): Likewise.
28969 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
28970 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
28971 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
28972 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
28973 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
28974 (test-xfail-POSIX2008/signal.h/conform): Likewise.
28975 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
28976 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
28977 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
28978
28979 2017-08-30 Florian Weimer <fweimer@redhat.com>
28980
28981 * malloc/dynarray_emplace_enlarge.c
28982 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
28983 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
28984 * malloc/tst-dynarray.c (test_long_overflow): New function.
28985 (do_test): Call it.
28986
28987 2017-08-30 Florian Weimer <fweimer@redhat.com>
28988
28989 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
28990 (set_arena_corrupt): Remove definitions.
28991 (mtrim): Do not check for corrupt arena.
28992 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
28993 Likewise.
28994
28995 2017-08-30 Florian Weimer <fweimer@redhat.com>
28996
28997 [BZ #21754]
28998 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
28999 check_action.
29000 (ptmalloc_init): Do not set or use check_action.
29001 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
29002 call to malloc_printerr. Remove return statement.
29003 (free_check): Likewise. Remove arena unlock.
29004 (top_check): Update comment. Adjust call to malloc_printerr.
29005 Remove heap repair code.
29006 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
29007 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
29008 (sysmalloc): Adjust call to malloc_printerr.
29009 (munmap_chunk, __libc_realloc): Likewise. Remove return
29010 statement.
29011 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
29012 Remove errout label and corresponding gotos.
29013 (_int_free): Likewise. Remove arena unlock.
29014 (do_set_mallopt_check): Do not set check_action.
29015 (malloc_printerr): Adjust parameter list. Do not mark arena as
29016 corrupt.
29017 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
29018 comment.
29019 * manual/probes.texi (Memory Allocation Probes): Remove
29020 memory_mallopt_check_action.
29021
29022 2017-08-30 Steve Ellcey <sellcey@cavium.com>
29023
29024 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
29025 Use pointer to uint64_t instead of long int for sp.
29026
29027 2017-08-30 Florian Weimer <fweimer@redhat.com>
29028
29029 [BZ #21754]
29030 * malloc/malloc.c (malloc_printerr): Always terminate the process,
29031 without printing a backtrace. Do not leak any information in the
29032 error message.
29033 * manual/memory.texi (Heap Consistency Checking): Update.
29034 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
29035
29036 2017-08-30 Florian Weimer <fweimer@redhat.com>
29037
29038 Do not scale NPTL tests with available number of CPUs.
29039 * nptl/tst-cond16.c (count): Set to constant value of 8.
29040 * nptl/tst-cond18.c (count): Likewise.
29041
29042 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29043
29044 [BZ #22035]
29045 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
29046 Define to take a second argument that is a macro that
29047 concatentates a suffix, not the suffix itself.
29048 (__CONCAT_d): New macro.
29049 (__CONCAT_f): Likewise.
29050 (__CONCAT_l): Likewise.
29051
29052 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
29053
29054 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
29055 by child.
29056
29057 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29058 Aurelien Jarno <aurelien@aurel32.net>
29059 Maciej W. Rozycki <macro@imgtec.com>
29060
29061 [BZ #21956]
29062 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
29063 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
29064 `mips16-syscall6' and `mips16-syscall7'.
29065 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
29066 (CFLAGS-mips16-syscall7.c): Remove.
29067 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
29068 Remove `__mips16_syscall5', `__mips16_syscall6' and
29069 `__mips16_syscall7'.
29070 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
29071 (__mips16_syscall0): Rename `__mips16_syscall_return' to
29072 `__mips_syscall_return'.
29073 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
29074 (__mips16_syscall1): Likewise.
29075 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
29076 (__mips16_syscall2): Likewise.
29077 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
29078 (__mips16_syscall3): Likewise.
29079 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
29080 (__mips16_syscall4): Likewise.
29081 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
29082 Remove.
29083 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
29084 Remove.
29085 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
29086 Remove.
29087 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
29088 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
29089 `__mips16_syscall5'. Remove prototype.
29090 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
29091 `__mips16_syscall6'. Remove prototype.
29092 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
29093 `__mips16_syscall7'. Remove prototype.
29094 (__nomips16, __mips16_syscall_return): Move to...
29095 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
29096 (__nomips16, __mips_syscall_return): ... here.
29097 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
29098 `__mips16_syscall_return' to `__mips_syscall_return'.
29099 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
29100 `internal_syscall##nr'.
29101 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
29102 `internal_syscall##nr'.
29103 (FORCE_FRAME_POINTER): Remove.
29104 (__mips_syscall5): New prototype.
29105 (internal_syscall5): Rewrite to call `__mips_syscall5'.
29106 (__mips_syscall6): New prototype.
29107 (internal_syscall6): Rewrite to call `__mips_syscall6'.
29108 (__mips_syscall7): New prototype.
29109 (internal_syscall7): Rewrite to call `__mips_syscall7'.
29110 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
29111 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
29112 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
29113 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
29114 (sysdep_routines): Add libc-do-syscall.
29115 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
29116 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
29117
29118 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29119
29120 [BZ #21672]
29121 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
29122 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
29123 (advise_stack_range): New function.
29124 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
29125 stack non required to advise_stack_range at allocatestack.c
29126
29127 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29128
29129 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
29130
29131 2017-08-29 Florian Weimer <fweimer@redhat.com>
29132
29133 [BZ #22026]
29134 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
29135 __end_fct. Mangle __end_fct after setting it to NULL.
29136 * iconv/Makefile (tests): Add tst-gconv-init-failure.
29137 (modules-names, modules-names-tests): Add
29138 tst-gconv-init-failure-mod.
29139 (gconv-modules): New target.
29140 (tst-gconv-init-failure-mod.so): Link against libsupport.
29141 (tst-gconv-init-failure): Depend on gconv-modules,
29142 tst-gconv-init-failure-mod.so.
29143 * iconv/tst-gconv-init-failure-mod.c: New file.
29144 * iconv/tst-gconv-init-failure.c: Likewise.
29145 * iconv/test-gconv-modules: Likewise.
29146
29147 2017-08-29 Florian Weimer <fweimer@redhat.com>
29148
29149 [BZ #22025]
29150 * iconv/gconv_db.c (free_derivation): Remove redundant
29151 parentheses.
29152 (gen_steps): Unconditionally mangle __btowc_fct after
29153 initialization.
29154 (increment_counter): Likewise. Do not call init_fct for internal
29155 modules.
29156
29157 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29158
29159 [BZ #22028]
29160 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29161 (_MSUF_): Remove macro.
29162 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
29163 Likewise.
29164 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29165 (__REDIRFROM_X): New macro.
29166 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
29167 Likewise.
29168 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
29169 (__REDIRTO_X): Likewise.
29170 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
29171 arguments.
29172 (__MATH_REDIRCALL_2): Likewise.
29173 (__MATH_REDIRCALL_INTERNAL): Likewise.
29174 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29175 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
29176 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
29177 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29178 * math/test-finite-macros.c: New file.
29179 * math/Makefile (tests): Add test-finite-macros.
29180 (CFLAGS-test-finite-macros.c): New variable.
29181
29182 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
29183 Jeff Law <law@redhat.com>
29184
29185 [BZ #22025]
29186 Mangle NULL pointers in iconv/gconv.
29187 * iconv/gconv_cache.c (find_module): Demangle init_fct before
29188 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
29189 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
29190 is non-NULL before demangling the end_fct. Check for NULL
29191 end_fct after demangling.
29192 (__gconv_release_step): Demangle the end_fct before checking
29193 it for NULL. Remove assert on __shlibc_handle != NULL.
29194 (gen_steps): Don't check btowc_fct for NULL before mangling.
29195 Demangle init_fct before checking for NULL.
29196 (increment_counter): Likewise.
29197 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
29198 end_fct for NULL before mangling.
29199 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
29200 for NULL.
29201
29202 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
29203
29204 [BZ #21971]
29205 * locale/iso-639.def: add Morisyen.
29206
29207 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29208
29209 [BZ #21930]
29210 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
29211 (iszero): New C++ implementation that does not use
29212 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
29213 signaling nans are enabled, since __builtin_types_compatible_p
29214 is a C-only feature.
29215 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
29216 defined, include ieee754_float128.h for access to the union and
29217 member ieee854_float128.ieee.
29218 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
29219 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
29220 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29221 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
29222 options of test-math-zero on powerpc64le.
29223
29224 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
29225
29226 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29227 Change double to float.
29228
29229 2017-08-28 Joseph Myers <joseph@codesourcery.com>
29230
29231 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
29232 unconditional.
29233 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
29234 conditional code; define contents only for [LIBM_SVID_COMPAT].
29235
29236 2017-08-28 Florian Weimer <fweimer@redhat.com>
29237
29238 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
29239 (abi-lp64_be-options): Remove.
29240 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
29241 (abi-hard-options): Likewise.
29242 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
29243 (abi-o32_hard-options, abi-o32_soft_2008-options)
29244 (abi-o32_hard_2008-options, abi-n32_soft-options)
29245 (abi-n32_hard-options, abi-n32_soft_2008-options)
29246 (abi-n32_hard_2008-options, abi-n64_soft-options)
29247 (abi-n64_hard-options, abi-n64_soft_2008-options)
29248 (abi-n64_hard_2008-options): Likewise.
29249 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
29250 (abi-64-v1-options, abi-64-v2-options): Likewise.
29251 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
29252 (abi-64-options): Likewise.
29253 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
29254 (abi-64-options): Likewise.
29255 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
29256 (abi-64-options): Likewise.
29257 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
29258 (abi-64-options, abi-x32-options): Likewise.
29259
29260 2017-08-28 Florian Weimer <fweimer@redhat.com>
29261
29262 Store supported list of SYS_* system calls in the source tree.
29263 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
29264 (bits/syscall.h): Generate from list file.
29265 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
29266 [$(subdir) = misc] (tests): Add tst-syscall-list.
29267 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
29268 [$(subdir) = misc] (tst-syscall-list-macros.list)
29269 [$(subdir) = misc] (tst-syscall-list-nr.list)
29270 (tst-syscall-list-sys.list): Helper targets for new
29271 tst-syscall-list test.
29272 [$(subdir) = misc] (tst-syscall-list.out): Run test script
29273 tst-syscall-list.sh.
29274 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
29275 target. Do not include bits/syscall.d.
29276 [$(subdir) = misc] (generated): Do not update.
29277 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
29278 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
29279 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
29280 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
29281
29282 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
29283
29284 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
29285 (tst-cxa_atexit, tst-on_exit): Likewise.
29286 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
29287 tst-cxa_atexit, and tst-on_exit.
29288 * stdlib/tst-atexit-common.c: New file.
29289 * stdlib/tst-atexit.c: New file.
29290 * stdlib/tst-at_quick_exit.c: New file.
29291 * stdlib/tst-cxa_atexit.c: New file.
29292 * stdlib/tst-on_exit.c: New file.
29293
29294 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29295
29296 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
29297 * mach/stack_chk_fail_local.c: New file.
29298 * hurd/stack_chk_fail_local.c: New file.
29299 * mach/Machrules ($(interface-library)-routines): Add
29300 stack_chk_fail_local.
29301 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
29302 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
29303 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
29304 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
29305 * hurd/Makefile (CFLAGS-hurdstartup.o,
29306 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
29307
29308 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
29309
29310 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
29311 (index_cpu_*, index_arch_*): Removed.
29312
29313 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29314
29315 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
29316 Use uint64_t instead of unsigned long.
29317
29318 2017-08-25 Joseph Myers <joseph@codesourcery.com>
29319
29320 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
29321 [__HAVE_DISTINCT_FLOAT128].
29322
29323 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
29324 of <bits/math-finite.h>.
29325 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
29326 inclusion of <bits/math-finite.h>.
29327 * math/bits/math-finite.h (__REDIRTO_X): Do not define
29328 conditionally on [__MATH_DECLARING_LDOUBLE && defined
29329 __NO_LONG_DOUBLE_MATH].
29330 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
29331 (__MATH_REDIRCALL_2): Likewise.
29332 (__MATH_REDIRCALL_INTERNAL): Likewise.
29333 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29334 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
29335 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29336
29337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
29338 Remove file.
29339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
29340 Likewise.
29341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
29342 Likewise.
29343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
29344 Likewise.
29345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
29346 Likewise.
29347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
29348 Likewise.
29349 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29350 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29351 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29352 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
29354 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
29355 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
29356 w_sqrtf_compat-ppc32.
29357
29358 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29359
29360 * math/math.h [defined __cplusplus] (issignaling): In the long
29361 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
29362 is not defined. Call __issignaling, otherwise.
29363
29364 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29365
29366 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
29367 syscall definitions and replace __builtin_expect with __glibc_likely.
29368 * sysdeps/unix/syscall-template.S: Update comment about cancellable
29369 syscall.
29370 (SYSCALL_CANCELLABLE): Removedefinition
29371 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
29372 definition.
29373 (PSEUDO_END): Likewise.
29374 [IS_IN (libpthread)] (CENABLE): Likewise.
29375 [IS_IN (libpthread)] (CDISABLE): Likewise.
29376 [IS_IN (libc)] (CENABLE): Likewise.
29377 [IS_IN (libc)] (CENABLE): Likewise.
29378 [IS_IN (librt)] (CDISABLE): Likewise.
29379 [IS_IN (librt)] (CDISABLE): Likewise.
29380 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29381 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
29382 definition.
29383 (PSEUDO_END): Likewise.
29384 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
29385 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
29386 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29387 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29388 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29389 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29390 (CENABLE): Likewise.
29391 (CDISABLE): Likewise.
29392 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29393 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
29394 defintion.
29395 (PSEUDO_END): Likewise.
29396 [IS_IN (libpthread)] (CENABLE): Likewise.
29397 [IS_IN (libpthread)] (CDISABLE): Likewise.
29398 [IS_IN (libc)] (CENABLE): Likewise.
29399 [IS_IN (libc)] (CENABLE): Likewise.
29400 [IS_IN (librt)] (CDISABLE): Likewise.
29401 [IS_IN (librt)] (CDISABLE): Likewise.
29402 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29403 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
29404 definition.
29405 (PSEUDO_END): Likewise.
29406 [IS_IN (libpthread)] (CENABLE): Likewise.
29407 [IS_IN (libpthread)] (CDISABLE): Likewise.
29408 [IS_IN (libc)] (CENABLE): Likewise.
29409 [IS_IN (libc)] (CENABLE): Likewise.
29410 [IS_IN (librt)] (CDISABLE): Likewise.
29411 [IS_IN (librt)] (CDISABLE): Likewise.
29412 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29413 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
29414 definition.
29415 (PSEUDO_END): Likewise.
29416 [IS_IN (libpthread)] (CENABLE): Likewise.
29417 [IS_IN (libpthread)] (CDISABLE): Likewise.
29418 [IS_IN (libc)] (CENABLE): Likewise.
29419 [IS_IN (libc)] (CENABLE): Likewise.
29420 [IS_IN (librt)] (CDISABLE): Likewise.
29421 [IS_IN (librt)] (CDISABLE): Likewise.
29422 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29423 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
29424 definition.
29425 (PSEUDO_END): Likewise.
29426 [IS_IN (libpthread)] (CENABLE): Likewise.
29427 [IS_IN (libpthread)] (CDISABLE): Likewise.
29428 [IS_IN (libc)] (CENABLE): Likewise.
29429 [IS_IN (libc)] (CENABLE): Likewise.
29430 [IS_IN (librt)] (CDISABLE): Likewise.
29431 [IS_IN (librt)] (CDISABLE): Likewise.
29432 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29433 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
29434 definition.
29435 (PSEUDO_END): Likewise.
29436 [IS_IN (libpthread)] (CENABLE): Likewise.
29437 [IS_IN (libpthread)] (CDISABLE): Likewise.
29438 [IS_IN (libc)] (CENABLE): Likewise.
29439 [IS_IN (libc)] (CENABLE): Likewise.
29440 [IS_IN (librt)] (CDISABLE): Likewise.
29441 [IS_IN (librt)] (CDISABLE): Likewise.
29442 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29443 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
29444 definition.
29445 (PSEUDO_END): Likewise.
29446 [IS_IN (libpthread)] (CENABLE): Likewise.
29447 [IS_IN (libpthread)] (CDISABLE): Likewise.
29448 [IS_IN (libc)] (CENABLE): Likewise.
29449 [IS_IN (libc)] (CENABLE): Likewise.
29450 [IS_IN (librt)] (CDISABLE): Likewise.
29451 [IS_IN (librt)] (CDISABLE): Likewise.
29452 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29453 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
29454 Remove definition.
29455 (PSEUDO_END): Likewise.
29456 [IS_IN (libpthread)] (CENABLE): Likewise.
29457 [IS_IN (libpthread)] (CDISABLE): Likewise.
29458 [IS_IN (libc)] (CENABLE): Likewise.
29459 [IS_IN (libc)] (CENABLE): Likewise.
29460 [IS_IN (librt)] (CDISABLE): Likewise.
29461 [IS_IN (librt)] (CDISABLE): Likewise.
29462 (SINGLE_THREAD_P): Likewise.
29463 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
29464 definition.
29465 (PSEUDO_END): Likewise.
29466 [IS_IN (libpthread)] (CENABLE): Likewise.
29467 [IS_IN (libpthread)] (CDISABLE): Likewise.
29468 [IS_IN (libc)] (CENABLE): Likewise.
29469 [IS_IN (libc)] (CENABLE): Likewise.
29470 [IS_IN (librt)] (CDISABLE): Likewise.
29471 [IS_IN (librt)] (CDISABLE): Likewise.
29472 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29473 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
29474 definition.
29475 (PSEUDO_END): Likewise.
29476 [IS_IN (libpthread)] (CENABLE): Likewise.
29477 [IS_IN (libpthread)] (CDISABLE): Likewise.
29478 [IS_IN (libc)] (CENABLE): Likewise.
29479 [IS_IN (libc)] (CENABLE): Likewise.
29480 [IS_IN (librt)] (CDISABLE): Likewise.
29481 [IS_IN (librt)] (CDISABLE): Likewise.
29482 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29483 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
29484 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29485 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
29486 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
29487 definition.
29488 (PSEUDO_END): Likewise.
29489 [IS_IN (libpthread)] (CENABLE): Likewise.
29490 [IS_IN (libpthread)] (CDISABLE): Likewise.
29491 [IS_IN (libc)] (CENABLE): Likewise.
29492 [IS_IN (libc)] (CENABLE): Likewise.
29493 [IS_IN (librt)] (CDISABLE): Likewise.
29494 [IS_IN (librt)] (CDISABLE): Likewise.
29495 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29496 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
29497 definition.
29498 (PSEUDO_END): Likewise.
29499 [IS_IN (libpthread)] (CENABLE): Likewise.
29500 [IS_IN (libpthread)] (CDISABLE): Likewise.
29501 [IS_IN (libc)] (CENABLE): Likewise.
29502 [IS_IN (libc)] (CENABLE): Likewise.
29503 [IS_IN (librt)] (CDISABLE): Likewise.
29504 [IS_IN (librt)] (CDISABLE): Likewise.
29505 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29506 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
29507 definition.
29508 (PSEUDO_END): Likewise.
29509 [IS_IN (libpthread)] (CENABLE): Likewise.
29510 [IS_IN (libpthread)] (CDISABLE): Likewise.
29511 [IS_IN (libc)] (CENABLE): Likewise.
29512 [IS_IN (libc)] (CENABLE): Likewise.
29513 [IS_IN (librt)] (CDISABLE): Likewise.
29514 [IS_IN (librt)] (CDISABLE): Likewise.
29515 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29516 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
29517 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29518 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
29519 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
29520 definition.
29521 (PSEUDO_END): Likewise.
29522 [IS_IN (libpthread)] (CENABLE): Likewise.
29523 [IS_IN (libpthread)] (CDISABLE): Likewise.
29524 [IS_IN (libc)] (CENABLE): Likewise.
29525 [IS_IN (libc)] (CENABLE): Likewise.
29526 [IS_IN (librt)] (CDISABLE): Likewise.
29527 [IS_IN (librt)] (CDISABLE): Likewise.
29528 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29529 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
29530 definition.
29531 (PSEUDO_END): Likewise.
29532 [IS_IN (libpthread)] (CENABLE): Likewise.
29533 [IS_IN (libpthread)] (CDISABLE): Likewise.
29534 [IS_IN (libc)] (CENABLE): Likewise.
29535 [IS_IN (libc)] (CENABLE): Likewise.
29536 [IS_IN (librt)] (CDISABLE): Likewise.
29537 [IS_IN (librt)] (CDISABLE): Likewise.
29538 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29539
29540 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
29541
29542 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
29543
29544 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29545
29546 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29547
29548 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29549
29550 [BZ #21982]
29551 * string/stratcliff.c (do_test): Declare size, nchars, inner,
29552 middle and outer with size_t instead of int. Repleace %d and
29553 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
29554 "MAX (outer, nchars - 64)" to support unsigned outer and
29555 nchars. Also exit loop when outer == 0.
29556
29557 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29558
29559 * include/fcntl.h (__fcntl_nocancel): Remove definition.
29560 * include/signal.h (__sigsuspend_nocancel): Likewise.
29561 * include/time.h (__nanosleep_nocancel): Likewise.
29562 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
29563 * login/utmp_file.c: Include non cancellable syscall header.
29564 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
29565 prototype.
29566
29567 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29568
29569 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
29570 .byte sequences with AVX512F instructions.
29571 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
29572 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
29573 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
29574 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
29575 Likewise.
29576 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29577 Likewise.
29578
29579 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
29580 Steve Ellcey <sellcey@cavium.com>
29581
29582 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
29583 Use PTR_REG macro in cmp instruction.
29584
29585 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29586
29587 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
29588 Change the return type of the ifunc resolver to match the return
29589 type of the target function.
29590
29591 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29592
29593 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
29594 (preadv64): Likewise.
29595 (pwrite64(: Likewise.
29596 (pwritev64): Likewise.
29597
29598 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
29599 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
29600 (LOAD_ARGS_0): Likewise.
29601 (LOAD_ARGS_1): Likewise.
29602 (LOAD_ARGS_2): Likewise.
29603 (LOAD_ARGS_3): Likewise.
29604 (LOAD_ARGS_4): Likewise.
29605 (LOAD_ARGS_5): Likewise.
29606 (LOAD_ARGS_6): Likewise.
29607 (LOAD_REGS_0): Likewise.
29608 (LOAD_REGS_1): Likewise.
29609 (LOAD_REGS_2): Likewise.
29610 (LOAD_REGS_3): Likewise.
29611 (LOAD_REGS_4): Likewise.
29612 (LOAD_REGS_5): Likewise.
29613 (LOAD_REGS_6): Likewise.
29614 (ASM_ARGS_0): Likewise.
29615 (ASM_ARGS_1): Likewise.
29616 (ASM_ARGS_2): Likewise.
29617 (ASM_ARGS_3): Likewise.
29618 (ASM_ARGS_4): Likewise.
29619 (ASM_ARGS_5): Likewise.
29620 (ASM_ARGS_6): Likewise.
29621 (LOAD_ARGS_TYPES_1): Likewise.
29622 (LOAD_ARGS_TYPES_2): Likewise.
29623 (LOAD_ARGS_TYPES_3): Likewise.
29624 (LOAD_ARGS_TYPES_4): Likewise.
29625 (LOAD_ARGS_TYPES_5): Likewise.
29626 (LOAD_ARGS_TYPES_6): Likewise.
29627 (LOAD_REGS_TYPES_1): Likewise.
29628 (LOAD_REGS_TYPES_2): Likewise.
29629 (LOAD_REGS_TYPES_3): Likewise.
29630 (LOAD_REGS_TYPES_4): Likewise.
29631 (LOAD_REGS_TYPES_5): Likewise.
29632 (LOAD_REGS_TYPES_6): Likewise.
29633 (TYPEFY): New define.
29634 (ARGIFY): Likewise.
29635 (internal_syscall0): Likewise.
29636 (internal_syscall1): Likewise.
29637 (internal_syscall2): Likewise.
29638 (internal_syscall3): Likewise.
29639 (internal_syscall4): Likewise.
29640 (internal_syscall5): Likewise.
29641 (internal_syscall6): Likewise.
29642 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
29643 (INTERNAL_SYSCALL_NCS): Remove define.
29644 (internal_syscall1): Add define.
29645
29646 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29647
29648 * math/w_remainder_compat.c: Remove duplicate inclusion of
29649 math-svid-compat.h.
29650 * math/w_remainderf_compat.c: Likewise.
29651 * math/w_remainderl_compat.c: Likewise.
29652
29653 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29654
29655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29656
29657 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29658
29659 [BZ #21684]
29660 * math/tgmath.h (__floating_type): Simplify definitions.
29661 (__real_integer_type): New macro.
29662 (__complex_integer_type): Likewise.
29663 (__expr_is_real): Likewise.
29664 (__tgmath_real_type_sub): Update comment to describe handling of
29665 complex types.
29666 (__tgmath_complex_type_sub): New macro.
29667 (__tgmath_complex_type): Likewise.
29668 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29669 (__TGMATH_CF128): Use __expr_is_real.
29670 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
29671 __expr_is_real.
29672 (__TGMATH_BINARY_REAL_IMAG): Likewise.
29673 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
29674 * math/gen-tgmath-tests.py (Type.create_type): Create complex
29675 integer types.
29676
29677 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29678
29679 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
29680 macro.
29681 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
29682 alias.
29683 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
29684 Likewise.
29685
29686 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
29687 nanosleep_not_cancel with __nanosleep_nocancel.
29688 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
29689 (__nanosleep_nocancel): New macro.
29690 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
29691 function.
29692 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
29693 macro.
29694 (__nanosleep_nocancel): New prototype.
29695
29696 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
29697 pause_not_cancel with __pause_nocancel.
29698 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
29699 (__pause_nocancel): New macro.
29700 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
29701 macro.
29702 (__pause_nocancel): New prototype.
29703 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
29704
29705 2017-08-22 Martin Sebor <msebor@redhat.com>
29706
29707 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
29708 to return a pointer to the same type as the target function.
29709
29710 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29711
29712 [BZ #18822]
29713 [BZ #21986]
29714 * include/printf.h (__printf_fphex): Add attribute_hidden.
29715 (__guess_grouping): New prototype.
29716 * stdio-common/printf_fp.c (__guess_grouping): Removed.
29717 * stdio-common/reg-printf.c (__register_printf_specifier): Add
29718 libc_hidden_proto and libc_hidden_def.
29719 * stdlib/strfmon_l.c (__guess_grouping): Removed.
29720 (__vstrfmon_l): Remove the third argument passed to
29721 __guess_grouping.
29722
29723 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29724
29725 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
29726 definition for issignaling that does not rely on __MATH_TG,
29727 since __MATH_TG uses __builtin_types_compatible_p, which is only
29728 available in C mode.
29729 (CFLAGS-test-math-issignaling.cc): New variable.
29730 * math/Makefile [CXX] (tests): Add test-math-issignaling.
29731 * math/test-math-issignaling.cc: New test for C++ implementation
29732 of type-generic issignaling.
29733 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29734 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
29735 options of test-math-issignaling on powerpc64le.
29736
29737 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29738
29739 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29740 building libc.a.
29741 (hidden_proto): Likewise.
29742 (hidden_tls_proto): Likewise.
29743 (__hidden_proto): Likewise.
29744
29745 2017-08-22 Florian Weimer <fweimer@redhat.com>
29746
29747 math: Statically link tests of internal functionality.
29748 * math/Makefile (tests): Remove atest-exp, atest-sincos,
29749 atest-exp2.
29750 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
29751 (gmp-objs): Remove assignment.
29752 (atest-exp, atest-sincos, atest-exp2): Remove targets.
29753
29754 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29755
29756 [BZ #21987]
29757 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
29758 and copy to ...
29759 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
29760 ... here.
29761 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
29762 ... and here.
29763
29764 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
29765 variable definitions above inclusion of ../Rules.
29766
29767 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29768
29769 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
29770 case calling __builtin_unreachable.
29771
29772 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29773
29774 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
29775 __waitpid_nocancel.
29776 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
29777 (__waitpid_nocancel): New macro.
29778 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
29779 macro.
29780 (__waitpid_nocancel): Replace macro with a function.
29781 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
29782 function.
29783
29784 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
29785 __fcntl_nocancel.
29786 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
29787 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
29788
29789 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
29790 __writev_nocancel_nostatus.
29791 (write_call_graph): Likewise.
29792 (write_bb_counts): Likewise.
29793 * resolv/herror.c (herror): Likewise.
29794 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
29795 macro.
29796 (__writev_nocancel_nostatus): New macro.
29797 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
29798 Remove macro.
29799 (__writev_nocancel_nostatus): New function.
29800
29801 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29802
29803 Revert:
29804 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29805
29806 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29807 building libc.a.
29808 (hidden_proto): Likewise.
29809 (hidden_tls_proto): Likewise.
29810 (__hidden_proto): Likewise.
29811
29812 [BZ #21973]
29813 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
29814 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29816 Likewise.
29817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
29818 Likewise.
29819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29820 Likewise.
29821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
29822 Likewise.
29823 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
29824 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29825 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29826 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29827 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29828 GLIBC_2.0 sqrtl symbol.
29829
29830 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
29831 [__USE_MISC] (_LIB_VERSION): Likewise.
29832 [__USE_MISC] (struct exception): Likewise.
29833 [__USE_MISC] (matherr): Likewise.
29834 [__USE_MISC] (DOMAIN): Likewise.
29835 [__USE_MISC] (SING): Likewise.
29836 [__USE_MISC] (OVERFLOW): Likewise.
29837 [__USE_MISC] (UNDERFLOW): Likewise.
29838 [__USE_MISC] (TLOSS): Likewise.
29839 [__USE_MISC] (PLOSS): Likewise.
29840 [__USE_MISC] (HUGE): Likewise.
29841 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
29842 * math/math-svid-compat.h: New file.
29843 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
29844 and matherrl.
29845 * include/math.h [!_ISOMAC] (__matherr): Remove.
29846 * manual/arith.texi (FP Exceptions): Do not document matherr.
29847 * math/Makefile (tests): Change test-matherr to test-matherr-3.
29848 (tests-internal): New variable.
29849 (install-lib): Do not add libieee.a.
29850 (non-lib.a): Likewise.
29851 (extra-objs): Do not add libieee.a and ieee-math.o.
29852 (CPPFLAGS-s_lib_version.c): Remove variable.
29853 ($(objpfx)libieee.a): Remove rule.
29854 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
29855 * math/ieee-math.c: Remove.
29856 * math/libm-test-support.c (matherr): Remove.
29857 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
29858 and license notices. Include <math-svid-compat.h> and
29859 <shlib-compat.h>.
29860 (matherr): Undefine as macro. Use compat_symbol_reference.
29861 (_LIB_VERSION): Likewise.
29862 * math/test-matherr-2.c: New file.
29863 * math/test-matherr-3.c: Likewise.
29864 * sysdeps/generic/math_private.h (__kernel_standard): Remove
29865 declaration.
29866 (__kernel_standard_f): Likewise.
29867 (__kernel_standard_l): Likewise.
29868 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
29869 <math_private.h>. Include <math-svid-compat.h>.
29870 (_LIB_VERSION): Undefine as macro.
29871 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
29872 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
29873 [LIBM_SVID_COMPAT], use compat_symbol.
29874 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
29875 <math_private.h>. Include <math-svid-compat.h>.
29876 (matherr): Undefine as macro.
29877 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
29878 compat_symbol.
29879 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
29880 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
29881 compat_symbol_reference.
29882 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
29883 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
29884 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
29885 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
29886 (MATHERR_D): Remove declaration.
29887 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
29888 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
29889 [LIBM_BUILD] (pmatherrf): Likewise.
29890 [LIBM_BUILD] (pmatherr): Likewise.
29891 [LIBM_BUILD] (pmatherrl): Likewise.
29892 (DOMAIN): Likewise.
29893 (SING): Likewise.
29894 (OVERFLOW): Likewise.
29895 (UNDERFLOW): Likewise.
29896 (TLOSS): Likewise.
29897 (PLOSS): Likewise.
29898 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
29899 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
29900 compat_symbol.
29901 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
29902 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
29903 compat_symbol.
29904 * math/lgamma-compat.h: Include <math-svid-compat.h>.
29905 * math/w_acos_compat.c: Likewise.
29906 * math/w_acosf_compat.c: Likewise.
29907 * math/w_acosh_compat.c: Likewise.
29908 * math/w_acoshf_compat.c: Likewise.
29909 * math/w_acoshl_compat.c: Likewise.
29910 * math/w_acosl_compat.c: Likewise.
29911 * math/w_asin_compat.c: Likewise.
29912 * math/w_asinf_compat.c: Likewise.
29913 * math/w_asinl_compat.c: Likewise.
29914 * math/w_atan2_compat.c: Likewise.
29915 * math/w_atan2f_compat.c: Likewise.
29916 * math/w_atan2l_compat.c: Likewise.
29917 * math/w_atanh_compat.c: Likewise.
29918 * math/w_atanhf_compat.c: Likewise.
29919 * math/w_atanhl_compat.c: Likewise.
29920 * math/w_cosh_compat.c: Likewise.
29921 * math/w_coshf_compat.c: Likewise.
29922 * math/w_coshl_compat.c: Likewise.
29923 * math/w_exp10_compat.c: Likewise.
29924 * math/w_exp10f_compat.c: Likewise.
29925 * math/w_exp10l_compat.c: Likewise.
29926 * math/w_exp2_compat.c: Likewise.
29927 * math/w_exp2f_compat.c: Likewise.
29928 * math/w_exp2l_compat.c: Likewise.
29929 * math/w_fmod_compat.c: Likewise.
29930 * math/w_fmodf_compat.c: Likewise.
29931 * math/w_fmodl_compat.c: Likewise.
29932 * math/w_hypot_compat.c: Likewise.
29933 * math/w_hypotf_compat.c: Likewise.
29934 * math/w_hypotl_compat.c: Likewise.
29935 * math/w_j0_compat.c: Likewise.
29936 * math/w_j0f_compat.c: Likewise.
29937 * math/w_j0l_compat.c: Likewise.
29938 * math/w_j1_compat.c: Likewise.
29939 * math/w_j1f_compat.c: Likewise.
29940 * math/w_j1l_compat.c: Likewise.
29941 * math/w_jn_compat.c: Likewise.
29942 * math/w_jnf_compat.c: Likewise.
29943 * math/w_jnl_compat.c: Likewise.
29944 * math/w_lgamma_main.c: Likewise.
29945 * math/w_lgamma_r_compat.c: Likewise.
29946 * math/w_lgammaf_main.c: Likewise.
29947 * math/w_lgammaf_r_compat.c: Likewise.
29948 * math/w_lgammal_main.c: Likewise.
29949 * math/w_lgammal_r_compat.c: Likewise.
29950 * math/w_log10_compat.c: Likewise.
29951 * math/w_log10f_compat.c: Likewise.
29952 * math/w_log10l_compat.c: Likewise.
29953 * math/w_log2_compat.c: Likewise.
29954 * math/w_log2f_compat.c: Likewise.
29955 * math/w_log2l_compat.c: Likewise.
29956 * math/w_log_compat.c: Likewise.
29957 * math/w_logf_compat.c: Likewise.
29958 * math/w_logl_compat.c: Likewise.
29959 * math/w_pow_compat.c: Likewise.
29960 * math/w_powf_compat.c: Likewise.
29961 * math/w_powl_compat.c: Likewise.
29962 * math/w_remainder_compat.c: Likewise.
29963 * math/w_remainderf_compat.c: Likewise.
29964 * math/w_remainderl_compat.c: Likewise.
29965 * math/w_scalb_compat.c: Likewise.
29966 * math/w_scalbf_compat.c: Likewise.
29967 * math/w_scalbl_compat.c: Likewise.
29968 * math/w_sinh_compat.c: Likewise.
29969 * math/w_sinhf_compat.c: Likewise.
29970 * math/w_sinhl_compat.c: Likewise.
29971 * math/w_sqrt_compat.c: Likewise.
29972 * math/w_sqrtf_compat.c: Likewise.
29973 * math/w_sqrtl_compat.c: Likewise.
29974 * math/w_tgamma_compat.c: Likewise.
29975 * math/w_tgammaf_compat.c: Likewise.
29976 * math/w_tgammal_compat.c: Likewise.
29977 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
29978 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29979 * sysdeps/ieee754/k_standard.c: Likewise.
29980 * sysdeps/ieee754/k_standardf.c: Likewise.
29981 * sysdeps/ieee754/k_standardl.c: Likewise.
29982 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29983 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29984 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29985 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29986 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29987 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29988 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29989 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
29990 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29992 Likewise.
29993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29994 Likewise.
29995 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
29996 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29997 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29998 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29999
30000 2017-08-21 Florian Weimer <fweimer@redhat.com>
30001
30002 [BZ #21864]
30003 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
30004 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
30005 Move before inclusion of ../Rules.
30006
30007 2017-08-21 Florian Weimer <fweimer@redhat.com>
30008
30009 [BZ #21972]
30010 * assert/assert.h (assert): Use static_cast (bool) for C++.
30011 Use the ternary operator in the warning branch for GNU C.
30012 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
30013 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
30014 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
30015 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
30016 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
30017
30018 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30019
30020 [BZ #18822]
30021 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30022 (__syscall_clock_gettime): Add attribute_hidden.
30023 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
30024 (__start_context): Likewise.
30025
30026 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30027
30028 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30029 building libc.a.
30030 (hidden_proto): Likewise.
30031 (hidden_tls_proto): Likewise.
30032 (__hidden_proto): Likewise.
30033
30034 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30035
30036 * include/libc-symbols.h (attribute_hidden): Enable hidden
30037 visibility in libc.a compiled with PIE.
30038
30039 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30040
30041 [BZ #18822]
30042 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
30043 Add attribute_hidden.
30044
30045 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30046
30047 [BZ #21864]
30048 * Makerules (all-nonlib): Add $(others-extras).
30049 * catgets/Makefile (others-extras): New.
30050 * elf/Makefile (others-extras): Likewise.
30051 * nss/Makefile (others-extras): Likewise.
30052
30053 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30054
30055 [BZ #18822]
30056 * csu/libc-start.c (__libc_multiple_libcs): Removed.
30057 * elf/dl-open.c: Include <libc-internal.h>.
30058 (__libc_multiple_libcs): Removed.
30059 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
30060 <hp-timing.h>.
30061 * include/libc-internal.h (__libc_multiple_libcs): New.
30062 * misc/sbrk.c: Include <libc-internal.h>.
30063 (__libc_multiple_libcs): Removed.
30064
30065 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30066
30067 [BZ #18822]
30068 * grp/initgroups.c (__nss_group_database): Removed.
30069 (__nss_initgroups_database): Likewise.
30070 * nscd/gai.c (__nss_hosts_database): Likewise.
30071 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
30072 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
30073 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
30074 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
30075 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
30076 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
30077 attribute_hidden.
30078 * nss/nsswitch.c (__nss_database_custom): Define only if
30079 USE_NSCD is defined.
30080 (__nss_configure_lookup): Use __nss_database_custom only if
30081 USE_NSCD is defined.
30082 * nss/nsswitch.h (__nss_database_custom): Declare only if
30083 USE_NSCD is defined. Add attribute_hidden.
30084 (__nss_setent): Add attribute_hidden.
30085 (__nss_endent): Likewise.
30086 (__nss_getent_r): Likewise.
30087 (__nss_getent): Likewise.
30088 (DEFINE_DATABASE): Declare __nss_##arg##_database.
30089
30090 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30091
30092 [BZ #18822]
30093 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
30094 libc_hidden_proto and libc_hidden_def.
30095
30096 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30097
30098 [BZ #18822]
30099 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
30100 Add libc_hidden_proto.
30101 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
30102 Add libc_hidden_def.
30103
30104 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30105
30106 [BZ #21974]
30107 * gmon/Makefile (routines): Remove bb_init_func and
30108 bb_exit_func.
30109 (elide-routines.os): Removed.
30110 * gmon/bb_exit_func.c: Likewise.
30111 * gmon/bb_init_func.c: Likewise.
30112 * include/sys/gmon.h (__bb): Likewise.
30113 (__bb_init_func): Likewise.
30114 (__bb_exit_func): Likewise.
30115 * sysdeps/alpha/bb_init_func.S: Likewise.
30116
30117 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30118
30119 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
30120 * include/setjmp.h (____longjmp_chk): Here. Add
30121 attribute_hidden.
30122
30123 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
30124
30125 [BZ #18822]
30126 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
30127 attribute_hidden.
30128 (__strspn_sse2): Likewise.
30129
30130 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30131
30132 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
30133 (close_not_cancel_no_status): Likewise.
30134 (__close_nocancel): New macro.
30135 (__close_nocancel_nostatus): Likewise.
30136 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
30137 macro.
30138 (close_not_cancel): Likewise.
30139 (close_not_cancel_no_status): Likewise.
30140 (__close_nocancel): New prototype.
30141 (__close_nocancel_nostatus): New function.
30142 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
30143 * catgets/open_catalog.c (__open_catalog): Replace
30144 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
30145 * gmon/gmon.c (write_gmon): Likewise.
30146 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
30147 * intl/loadmsgcat.c (close): Likewise.
30148 * io/ftw.c (open_dir_stream): Likewise.
30149 (ftw_startup): Likewise.
30150 * libio/fileops.c (_IO_file_open): Likewise.
30151 (_IO_file_close_mmap): Likewise.
30152 (_IO_file_close): Likewise.
30153 * libio/iopopen.c (_IO_dup2): Likewise.
30154 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30155 * locale/loadlocale.c (_nl_load_locale): Likewise.
30156 * login/utmp_file.c (pututline_file): Likewise.
30157 (endutent_file): Likewise.
30158 * misc/daemon.c (daemon): Likewise.
30159 * nscd/nscd_getai.c (__nscd_getai): Likewise.
30160 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30161 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30162 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30163 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30164 * nscd/nscd_helper.c (open_socket): Likewise.
30165 (__nscd_open_socket): Likewise.
30166 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
30167 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
30168 (__nscd_innetgr): Likewise.
30169 * nss/nss_db/db-open.c (internal_setent): Likewise.
30170 * resolv/res-close.c (__res_iclose): Likewise.
30171 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
30172 * sysdeps/posix/closedir.c (__closedir): Likewise.
30173 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
30174 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30175 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30176 (opendir_tail): Likewise.
30177 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30178 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
30179 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
30180 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30181 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30182 (gethostid): Likewise.
30183 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30184 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30185 Likewise.
30186 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30187 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
30188 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30189 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30190 Likewise.
30191 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
30192 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
30193 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30194 Likewise.
30195 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
30196 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30197 Likewise.
30198 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30199 Likewise.
30200 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30201 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30202 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30203 __close_nocancel.
30204
30205 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
30206 (openat_not_cancel_3): Likewise.
30207 (openat64_not_cancel_3): Likewise).
30208 (openat_not_cancel_3): Likewise).
30209 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
30210 macro.
30211 (openat_not_cancel_3): Likewise.
30212 (openat64_not_cancel): Likewise.
30213 (openat64_not_cancel_3): Likewise.
30214 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
30215 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
30216 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
30217 __open{64}_nocancel.
30218 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30219 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30220 * sysdeps/posix/opendir.c (__opendirat): Likewise.
30221
30222 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30223
30224 [BZ #18822]
30225 * include/argz.h (__argz_create_sep): New function prototype.
30226 (__argz_append): Likewise.
30227 (__argz_add): Likewise.
30228 (__argz_add_sep): Likewise.
30229 (__argz_delete): Likewise.
30230 (__argz_insert): Likewise.
30231 (__argz_replace): Likewise.
30232 * string/argz.h (__argz_create_sep): Removed.
30233 (__argz_append): Likewise.
30234 (__argz_add): Likewise.
30235 (__argz_add_sep): Likewise.
30236 (__argz_delete): Likewise.
30237 (__argz_insert): Likewise.
30238 (__argz_replace): Likewise.
30239
30240 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30241
30242 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
30243 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
30244 (GNU_PROPERTY_STACK_SIZE): Likewie.
30245 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
30246 (GNU_PROPERTY_LOPROC): Likewise.
30247 (GNU_PROPERTY_HIPROC): Likewise.
30248 (GNU_PROPERTY_LOUSER): Likewise.
30249 (GNU_PROPERTY_HIUSER): Likewise.
30250 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
30251 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
30252 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
30253 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
30254 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
30255 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
30256 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
30257 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
30258 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
30259 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
30260 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
30261 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
30262 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
30263 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
30264 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
30265 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
30266 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
30267 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
30268 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
30269 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
30270 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
30271 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
30272 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
30273
30274 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30275
30276 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
30277 in C++ mode.
30278
30279 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30280
30281 [BZ #21930]
30282 * math/math.h (isinf): Check if in C or C++ mode before using
30283 __builtin_types_compatible_p, since this is a C mode feature.
30284
30285 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30286
30287 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
30288 (__write_nocancel): New macro.
30289 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
30290 Rewrite as a function prototype.
30291 (write_not_cancel): Remove macro.
30292 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
30293 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
30294 (write_gmon): Likewise.
30295 * libio/fileops.c (_IO_new_file_write): Likewise.
30296 * login/utmp_file.c (pututline_file): Likewise.
30297 (updwtmp_file): Likewise.
30298 * stdio-common/psiginfo.c (psiginfo): Likewise.
30299 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30300 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30301 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30302 Likewise.
30303 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30304 Likewise.
30305
30306 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
30307 (__read_nocancel): New macro.
30308 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30309 __read_nocancel.
30310 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
30311 macro.
30312 (__read_nocancel): New prototype.
30313 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
30314 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
30315 with __read_nocancel.
30316 * intl/loadmsgcat.c (read): Likewise.
30317 * libio/fileops.c (_IO_file_read): Likewise.
30318 * locale/loadlocale.c (_nl_load_locale): Likewise.
30319 * login/utmp_file.c (getutent_r_file): Likewise.
30320 (internal_getut_r): Likewise.
30321 (getutline_r_file): Likewise.
30322 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30323 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30324 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30325 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30326 Likewise.
30327 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
30328 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30329 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30330 Likewise.
30331 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30332 Likewise.
30333 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30334 Likewise.
30335 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30336 Likewise.
30337 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30338
30339 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30340
30341 [BZ #21966]
30342 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
30343 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
30344 usable.
30345
30346 2017-08-17 DJ Delorie <dj@redhat.com>
30347
30348 * bug17079.c: Update to new test harness.
30349 * test-digits-dots.c: Likewise.
30350 * test-netdb.c: Likewise.
30351 * tst-field.c: Likewise.
30352 * tst-nss-getpwent.c: Likewise.
30353 * tst-nss-static.c: Likewise.
30354 * tst-nss-test1.c: Likewise.
30355 * tst-nss-test2.c: Likewise.
30356 * tst-nss-test3.c: Likewise.
30357 * tst-nss-test4.c: Likewise.
30358 * tst-nss-test5.c: Likewise.
30359
30360 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30361
30362 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
30363 (open_not_cancel_2): Likewise.
30364 (open_nocancel): New macro.
30365 (open64_nocancel): Likewise.
30366 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
30367 (open_not_cancel_2): Likewise.
30368 (__open_nocancel): New prototype.
30369 (__open64_nocancel): Likewise.
30370 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30371 __open_nocancel.
30372 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
30373 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
30374 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
30375 with __open_nocancel.
30376 * csu/check_fds.c (check_one_fd): Likewise.
30377 * gmon/gmon.c (write_gmon): Likewise.
30378 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
30379 * intl/loadmsgcat.c (open): Likewise.
30380 * libio/fileops.c (_IO_file_open): Likewise.
30381 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30382 * locale/loadlocale.c (_nl_load_locale): Likewise.
30383 * login/utmp_file.c (setutent_file): Likewise.
30384 * misc/daemon.c (daemon): Likewise.
30385 * nss/nss_db/db-open.c (internal_setent): Likewise.
30386 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30387 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
30388 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30389 (__opendir): Likewise.
30390 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30391 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30392 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30393 (gethostid): Likewise.
30394 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30395 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30396 Likewise.
30397 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30398 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
30399 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30400 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30401 Likewise.
30402 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30403 Likewise.
30404 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30405 Likewise.
30406 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
30407 Likewise.
30408 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30409 Likewise.
30410 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30411 Likewise.
30412 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30413 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30414
30415 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
30416
30417 * benchtests/bench-skeleton.c (main): Add support for
30418 latency benchmarking.
30419 * benchtests/scripts/bench.py: Add support for latency benchmarking.
30420
30421 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
30422
30423 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
30424 the startup object.
30425
30426 2017-08-17 Florian Weimer <fweimer@redhat.com>
30427
30428 * include/sys/socket.h (__opensock): Remove internal_function.
30429 * socket/opensock.c (__opensock): Likewise.
30430 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
30431
30432 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30433
30434 [BZ #21944]
30435 * signal/bits/types/__sigval_t.h: New file.
30436 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
30437 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
30438 and define sigval_t using __sigval_t.
30439 * include/bits/types/__sigval_t.h: New file.
30440 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
30441 instead of <bits/types/__sigval_t.h>.
30442 (struct sigevent): Use __sigval_t instead of sigval_t.
30443 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
30444 instead of <bits/types/__sigval_t.h>.
30445 (siginfo_t): Use __sigval_t instead of sigval_t.
30446 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
30447 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30448 (struct sigevent): Use __sigval_t instead of sigval_t.
30449 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
30450 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30451 (siginfo_t): Use __sigval_t instead of sigval_t.
30452 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
30453
30454 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30455
30456 * NEWS: Remove "[Add new features here]" for 2.27.
30457
30458 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30459
30460 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
30461 libc.so.
30462
30463 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30464
30465 * NEWS: Mention x86-64 FMA optimization.
30466
30467 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30468
30469 [BZ #21912]
30470 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30471 Add e_expf-fma.
30472 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
30473 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
30474 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
30475
30476 2017-08-16 Andreas Schwab <schwab@suse.de>
30477
30478 [BZ #16750]
30479 CVE-2009-5064
30480 * elf/ldd.bash.in: Never run file directly.
30481
30482 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
30483
30484 [BZ #21955]
30485 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
30486 (L(SP_INF_0)): Likewise.
30487
30488 2017-08-15 Florian Weimer <fweimer@redhat.com>
30489
30490 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
30491 run-built-tests.
30492
30493 2017-08-15 Florian Weimer <fweimer@redhat.com>
30494
30495 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
30496 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
30497 BROKEN_THREAD_SIGNALS code.
30498 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
30499 request_list): Remove caller_pid member used for
30500 BROKEN_THREAD_SIGNALS.
30501 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
30502 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30503 Remove BROKEN_THREAD_SIGNALS support.
30504 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
30505 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
30506
30507 2017-08-15 Florian Weimer <fweimer@redhat.com>
30508
30509 * gmon/Makefile (tests): Add tst-gmon.
30510 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
30511 Set.
30512 (tests-special): Add tst-gmon-prof.out.
30513 (tst-gmon.out): Depend on clean-tst-gmon-data.
30514 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
30515 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
30516 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
30517 startup object.
30518 * aclocal.m4 (GPROF): Set and substitute.
30519 * config.amke.in (GPROF): Set.
30520 * configure: Regenerate.
30521
30522 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
30523
30524 * elf/elf.h A (NT_PPC_TAR): New macro.
30525 (NT_PPC_PPR): Likewise.
30526 (NT_PPC_DSCR): Likewise.
30527 (NT_PPC_EBB): Likewise.
30528 (NT_PPC_PMU): Likewise.
30529 (NT_PPC_TM_CGPR): Likewise.
30530 (NT_PPC_TM_CFPR): Likewise.
30531 (NT_PPC_TM_CVMX): Likewise.
30532 (NT_PPC_TM_CVSX): Likewise.
30533 (NT_PPC_TM_SPR): Likewise.
30534 (NT_PPC_TM_CTAR): Likewise.
30535 (NT_PPC_TM_CPPR): Likewise.
30536 (NT_PPC_TM_CDSCR): Likewise.
30537
30538 2017-08-15 Florian Weimer <fweimer@redhat.com>
30539
30540 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
30541 regparm (2) instead of internal_function.
30542 (_MCOUNT_DECL): Adjust.
30543
30544 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
30545
30546 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
30547 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
30548
30549 2017-08-14 Joseph Myers <joseph@codesourcery.com>
30550
30551 * conform/data/sys/wait.h-data (si_value): Do not expect for
30552 XPG42.
30553
30554 2017-08-14 Florian Weimer <fweimer@redhat.com>
30555
30556 [BZ #21962]
30557 NSS: Create stubs for accidentally exported lookup functions.
30558 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
30559 Remove declaration.
30560 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
30561 (ether_hostton): Call __nss_ethers_lookup2 instead.
30562 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
30563 (ether_ntohost): Call __nss_ethers_lookup2 instead.
30564 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
30565 (setup): Call __nss_netgroup_lookup2 instead.
30566 * nss/Makefile (routines): Add compat-lookup.
30567 * nss/Versions (GLIBC_2.27): Add symbol version.
30568 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
30569 (DB_COMPAT_FCT): Remove.
30570 * nss/compat-lookup.c: New file.
30571 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
30572 from databases.def.
30573 * nss/service-lookup.c (NO_COMPAT): Remove definition.
30574 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
30575 (netname2user): Call __nss_publickey_lookup2 instead.
30576 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
30577 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
30578 instead.
30579
30580 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30581 Sergei Trofimovich <slyfox@inbox.ru>
30582
30583 [BZ #21908]
30584 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
30585 Rename to MMAP2_PAGE_UNIT.
30586 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
30587 __OFF_T_MATCHES_OFF64_T is not defined.
30588 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
30589 uint64_t.
30590 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
30591 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
30592
30593 2017-08-14 Florian Weimer <fweimer@redhat.com>
30594
30595 i386: Do not set internal_function.
30596 * config.h.in (USE_REGPARMS, internal_function): Remove.
30597 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
30598 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
30599
30600 2017-08-14 Florian Weimer <fweimer@redhat.com>
30601
30602 * elf/dl-init.c (_dl_init): Remove internal_function.
30603 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
30604 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
30605
30606 2017-08-14 Florian Weimer <fweimer@redhat.com>
30607
30608 * elf/rtld.c (_dl_start): Remove internal_function.
30609 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
30610 _dl_start.
30611
30612 2017-08-14 Florian Weimer <fweimer@redhat.com>
30613
30614 * elf/dl-fini.c (_dl_fini): Remove internal_function
30615 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30616
30617 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
30618
30619 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
30620 (bit_cpu_SHSTK): Likewise.
30621 (index_cpu_IBT): Likewise.
30622 (index_cpu_SHSTK): Likewise.
30623 (reg_IBT): Likewise.
30624 (reg_SHSTK): Likewise.
30625 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30626 Handle index_cpu_IBT and index_cpu_SHSTK.
30627
30628 2017-08-14 Mike FABIAN <mfabian@redhat.com>
30629
30630 [BZ #19982]
30631 * po/fr.po: Fix spelling mistake.
30632
30633 2017-08-13 Florian Weimer <fweimer@redhat.com>
30634
30635 * elf/dl-addr.c (_dl_addr): Remove internal_function.
30636 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
30637 (_dl_catch_error, _dl_receive_error): Likewise.
30638 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
30639 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
30640 (_dl_deallocate_tls): Likewise.
30641 * include/dlfcn.h (_dl_addr): Likewise.
30642 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
30643 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
30644 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
30645 Likewise.
30646
30647 2017-08-13 Florian Weimer <fweimer@redhat.com>
30648
30649 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
30650 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
30651 internal_function.
30652 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
30653
30654 2017-08-13 Florian Weimer <fweimer@redhat.com>
30655
30656 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
30657 internal_function.
30658 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
30659 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
30660 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
30661 internal_function from _dl_make_stack_executable_hook member.
30662 (_dl_make_stack_executable): Remove internal_function.
30663 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
30664 Likewise.
30665 * sysdeps/unix/sysv/linux/dl-execstack.c
30666 (_dl_make_stack_executable): Likewise.
30667
30668 2017-08-13 Florian Weimer <fweimer@redhat.com>
30669
30670 * sysdeps/unix/sysv/linux/netlinkaccess.h
30671 (__netlink_assert_response): Remove internal_function.
30672 * sysdeps/unix/sysv/linux/netlink_assert_response.c
30673 (__netlink_assert_response): Likewise.
30674
30675 2017-08-13 Florian Weimer <fweimer@redhat.com>
30676
30677 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
30678 internal_function.
30679 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
30680
30681 2017-08-13 Florian Weimer <fweimer@redhat.com>
30682
30683 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
30684 internal_function.
30685 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
30686 * inet/netgroup.h (__internal_setnetgrent)
30687 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30688 * inet/getnetgrent_r.c (__internal_setnetgrent)
30689 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30690 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
30691 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
30692 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
30693 * nss/nsswitch.h (db_lookup_function): Likewise.
30694
30695 2017-08-13 Florian Weimer <fweimer@redhat.com>
30696
30697 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
30698 Remove internal_function.
30699 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
30700 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
30701 message argument on the stack.
30702 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
30703 Likeweise.
30704
30705 2017-08-12 Mike FABIAN <mfabian@redhat.com>
30706
30707 Adapt test case data to the changes in the thousands
30708 separators.
30709
30710 [BZ #20756]
30711 * localedata/tst-langinfo.sh: Adapt test case data.
30712 * stdlib/tst-strfmon_l.c: Likewise.
30713 * stdlib/tst-strtod4.c: Likewise.
30714 * stdlib/tst-strtod5i.c: Likewise.
30715
30716 2017-08-11 Florian Weimer <fweimer@redhat.com>
30717
30718 [BZ #21242]
30719 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
30720 Suppress pedantic warning resulting from statement expression.
30721 (__ASSERT_FUNCTION): Add missing __extension__.
30722
30723 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30724
30725 * benchtests/bench-memmove-large.c: Print output in JSON
30726 format.
30727 * benchtests/bench-memmove.c: Likewise.
30728
30729 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
30730 * benchtests/bench-memchr.c (do_one_test): Likewise.
30731 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
30732 * benchtests/bench-memcpy.c (do_one_test): Likewise.
30733 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
30734 * benchtests/bench-memmove.c (do_one_test): Likewise.
30735 * benchtests/bench-memset-large.c (do_one_test): Likewise.
30736 * benchtests/bench-memset.c (do_one_test): Likewise.
30737 * benchtests/bench-string.h (test_init): Remove memsets.
30738
30739 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30740
30741 * manual/lang.texi
30742 (Computing the Width of an Integer Data Type): Rename section to
30743 "Width of an Integer Type". Remove inaccurate statement regarding
30744 lack of C language facilities for determining width of integer
30745 types, and reorder content to improve flow and context of
30746 discussion.
30747
30748 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30749
30750 * lang.texi (va_copy): Change standard from ISO to C99.
30751 (__va_copy): Add standard and header annotation.
30752 Update description for clarity of origins and current use.
30753
30754 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30755
30756 [BZ #21941]
30757 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
30758 xssqrtqp requires operands to be in Vector Registers
30759 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
30760 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
30761 (__ieee754_sqrtf128): Likewise.
30762
30763 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
30764
30765 * sysdeps/aarch64/memcmp.S (memcmp):
30766 Rewrite of optimized memcmp.
30767
30768 2017-08-10 Florian Weimer <fweimer@redhat.com>
30769
30770 Introduce ld.so exceptions.
30771 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
30772 (_dl_exception_create, _dl_exception_create_format)
30773 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
30774 (_dl_catch_exception): Declare.
30775 (_dl_catch_error): Update comment.
30776 * elf/dl-error-skeleton.c (struct catch): Replace objname,
30777 errstring, malloced members with exception member.
30778 (_dl_out_of_memory): Remove.
30779 (fatal_error): New function, extracted from _dl_signal_error.
30780 (_dl_signal_exception, _dl_signal_cexception): New functions.
30781 (_dl_signal_error): Call _dl_exception_create to allocate an
30782 exception object.
30783 (_dl_catch_exception): New function, based on _dl_catch_error.
30784 (_dl_catch_error): Implement using _dl_catch_exception.
30785 * elf/dl-exception.c: New file.
30786 * elf/Makefile (dl-routines): Add dl-exception.
30787 (elide-routines.os): Likewise.
30788 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
30789 _dl_exception_create_format, _dl_exception_free.
30790 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
30791 _dl_signal_exception.
30792 * elf/dl-lookup.c (make_string): Remove.
30793 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
30794 _dl_signal_cexception, _dl_exception_free.
30795 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
30796 _dl_signal_exception.
30797 * elf/dl-sym.c (do_sym): Likewise.
30798 * elf/dl-version.c (make_string): Remove.
30799 (match_symbol): Use _dl_exception_create_format,
30800 _dl_signal_cexception, _dl_exception_free.
30801 (_dl_check_map_versions): Likewise.
30802 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
30803 _dl_catch_exception.
30804 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
30805 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
30806 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
30807 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
30808 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
30809 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
30810 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
30811 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
30812 Likewise.
30813 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
30814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
30815 (ld.so): Likewise.
30816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
30817 (ld.so): Likewise.
30818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
30819 Likewise.
30820 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
30821 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
30822 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
30823 Likewise.
30824 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
30825 Likewise.
30826 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
30827
30828 2017-08-10 Florian Weimer <fweimer@redhat.com>
30829
30830 * inet/net-internal.h (__inet6_scopeid_pton): Remove
30831 attribute_hidden, internal_function.
30832 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
30833 internal_function.
30834
30835 2017-08-10 Florian Weimer <fweimer@redhat.com>
30836
30837 * malloc/malloc.c (get_max_fast): Reimplement as an inline
30838 function which calls __builtin_unreachable.
30839
30840 2017-08-10 Mike FABIAN <mfabian@redhat.com>
30841
30842 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
30843 Indian monetary formatting
30844 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
30845 test cases.
30846
30847 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
30848
30849 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
30850 Fix typo in comment.
30851
30852 [BZ #21928]
30853 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
30854 PTRACE_SEIZE_DEVEL): Remove.
30855 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
30856 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30857 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30858 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30859 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30860
30861 2017-08-09 Joseph Myers <joseph@codesourcery.com>
30862
30863 * posix/bits/types.h (__qaddr_t): Remove.
30864
30865 [BZ #21457]
30866 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
30867 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30868 __glibc_reserved1.
30869 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
30870 (ucontext_t): Use __ctx with uc_flags.
30871 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
30872 (__ctxt): Likewise.
30873 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30874 __glibc_reserved1.
30875 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
30876 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30877 __glibc_reserved1.
30878 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
30879 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30880 __glibc_reserved1.
30881 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
30882 macro.
30883 (ucontext_t): Use __ctx with uc_flags.
30884 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
30885 (ucontext_t): Use __ctx with uc_flags.
30886 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
30887 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
30888 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
30889 (ucontext_t): Use __ctx with uc_flags.
30890 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
30891 undefine further down.
30892 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30893 __glibc_reserved1.
30894 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
30895 undefine further down.
30896 (ucontext_t): Use __ctx with uc_flags.
30897 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
30898 undefine further down.
30899 (ucontext_t): Use __ctx with uc_flags.
30900 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
30901 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
30902 Rename uc_pad to __glibc_reserved1.
30903 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
30904 undefine further down.
30905 (ucontext_t): Use __ctx with uc_flags.
30906 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
30907 further down.
30908 (ucontext_t): Use __ctx with uc_flags.
30909 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
30910 __ctx with uc_flags.
30911 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
30912 (ucontext_t): Use __ctx with uc_flags.
30913 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
30914 __ctx with uc_flags.
30915
30916 2017-08-09 Florian Weimer <fweimer@redhat.com>
30917
30918 [BZ #21932]
30919 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
30920 before early return.
30921
30922 2017-08-09 Andreas Schwab <schwab@suse.de>
30923
30924 [BZ #21041]
30925 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
30926 renamed alias.
30927
30928 [BZ #21041]
30929 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
30930 tst-compat-forwarder.
30931 (modules-names): Add tst-compat-forwarder-mod.
30932 ($(objpfx)tst-compat-forwarder): Depend on
30933 $(objpfx)tst-compat-forwarder-mod.so.
30934 * nptl/tst-compat-forwarder.c: New file.
30935 * nptl/tst-compat-forwarder-mod.c: New file.
30936
30937 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
30938
30939 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
30940 comments.
30941
30942 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
30943 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
30944 memcpy_falkor.
30945 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
30946 Bump.
30947 (__libc_ifunc_impl_list): Add __memcpy_falkor.
30948 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
30949 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
30950 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30951 Add falkor.
30952 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
30953 New macro.
30954
30955 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30956
30957 [BZ #759]
30958 * manual/setjmp.texi (getcontex): Document uc_stack value
30959 compatibility differences.
30960
30961 2017-08-08 Joseph Myers <joseph@codesourcery.com>
30962
30963 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
30964 (old_malloc_hook): Likewise.
30965 (old_memalign_hook): Likewise.
30966 (old_realloc_hook): Likewise.
30967 (struct hdr): Likewise.
30968 (flood): Likewise.
30969 (freehook): Likewise.
30970 (mallochook): Likewise.
30971 (memalignhook): Likewise.
30972 (reallochook): Likewise.
30973 (mprobe): Likewise.
30974 * malloc/mtrace.c (mallwatch): Likewise.
30975 (tr_old_free_hook): Likewise.
30976 (tr_old_malloc_hook): Likewise.
30977 (tr_old_realloc_hook): Likewise.
30978 (tr_old_memalign_hook): Likewise.
30979 (tr_where): Likewise.
30980 (lock_and_info): Likewise.
30981 (tr_freehook): Likewise.
30982 (tr_mallochook): Likewise.
30983 (tr_reallochook): Likewise.
30984 (tr_memalignhook): Likewise.
30985 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
30986 * misc/mmap.c (__mmap): Likewise.
30987 * misc/mmap64.c (__mmap64): Likewise.
30988 * misc/mprotect.c (__mprotect): Likewise.
30989 * misc/msync.c (msync): Likewise.
30990 * misc/munmap.c (__munmap): Likewise.
30991 * posix/posix_madvise.c (posix_madvise): Likewise.
30992 * socket/send.c (__send): Likewise.
30993 * socket/sendto.c (__sendto): Likewise.
30994 * socket/setsockopt.c (__setsockopt): Likewise.
30995 * string/memcmp.c (__ptr_t): Remove macro.
30996 (MEMCMP): Use void * instead of ptr_t.
30997 * string/memrchr.c (__ptr_t): Remove macro.
30998 (__memrchr): Use void * instead of ptr_t.
30999 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
31000 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
31001 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
31002 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
31003 * sysdeps/mach/msync.c (msync): Likewise.
31004 * sysdeps/mach/munmap.c (__munmap): Likewise.
31005 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
31006 Likewise.
31007 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31008 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
31009 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
31010 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
31011 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
31012 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
31013 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
31014 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
31015 Likewise.
31016 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
31017 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
31018 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
31019 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
31020 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
31021 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
31022 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
31023 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
31024 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
31025 Likewise.
31026 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
31027 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
31028 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
31029 (MEMCMP): Use void * instead of ptr_t.
31030 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
31031 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
31032
31033 2017-08-08 Florian Weimer <fweimer@redhat.com>
31034
31035 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
31036 return statement.
31037
31038 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
31039
31040 [BZ #21913]
31041 * csu/libc-tls.c: Include <startup.h> first.
31042 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
31043 * elf/dl-tunables.c: Include <startup.h> first.
31044 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
31045 * sysdeps/generic/startup.h: New file.
31046 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
31047 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
31048 (I386_USE_SYSENTER): New. Defined to 0.
31049
31050 2017-08-08 Andreas Schwab <schwab@suse.de>
31051
31052 [BZ #21041]
31053 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
31054 * nptl/pt-system.c (system): Likewise.
31055
31056 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31057
31058 [BZ #21780]
31059 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
31060 EOPNOTSUPP.
31061 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
31062 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
31063 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
31064 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
31065 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
31066 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
31067 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
31068
31069 2017-08-07 Joseph Myers <joseph@codesourcery.com>
31070
31071 [BZ #21899]
31072 * bits/sigaction.h (struct sigaction): Define sa_handler and
31073 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
31074 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31075 [__USE_XOPEN_EXTENDED].
31076 (SA_RESTART): Likewise.
31077 (SA_NODEFER): Likewise.
31078 (SA_RESETHAND): Likewise.
31079 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
31080 (struct sigaction): Define sa_handler and sa_sigaction using union
31081 also for [__USE_XOPEN_EXTENDED].
31082 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31083 [__USE_XOPEN_EXTENDED].
31084 (SA_RESTART): Likewise.
31085 (SA_NODEFER): Likewise.
31086 (SA_RESETHAND): Likewise.
31087 * sysdeps/unix/sysv/linux/bits/sigaction.h
31088 (struct sigaction): Define sa_handler and sa_sigaction using union
31089 also for [__USE_XOPEN_EXTENDED].
31090 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31091 [__USE_XOPEN_EXTENDED].
31092 (SA_RESTART): Likewise.
31093 (SA_NODEFER): Likewise.
31094 (SA_RESETHAND): Likewise.
31095 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
31096 (struct sigaction): Define sa_handler and sa_sigaction using union
31097 also for [__USE_XOPEN_EXTENDED].
31098 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31099 [__USE_XOPEN_EXTENDED].
31100 (SA_RESTART): Likewise.
31101 (SA_NODEFER): Likewise.
31102 (SA_RESETHAND): Likewise.
31103 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
31104 (struct sigaction): Define sa_handler and sa_sigaction using union
31105 also for [__USE_XOPEN_EXTENDED].
31106 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31107 [__USE_XOPEN_EXTENDED].
31108 (SA_RESTART): Likewise.
31109 (SA_NODEFER): Likewise.
31110 (SA_RESETHAND): Likewise.
31111 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
31112 (struct sigaction): Define sa_handler and sa_sigaction using union
31113 also for [__USE_XOPEN_EXTENDED].
31114 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31115 [__USE_XOPEN_EXTENDED].
31116 (SA_RESTART): Likewise.
31117 (SA_NODEFER): Likewise.
31118 (SA_RESETHAND): Likewise.
31119 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
31120 (struct sigaction): Define sa_handler and sa_sigaction using union
31121 also for [__USE_XOPEN_EXTENDED].
31122 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31123 [__USE_XOPEN_EXTENDED].
31124 (SA_RESTART): Likewise.
31125 (SA_NODEFER): Likewise.
31126 (SA_RESETHAND): Likewise.
31127 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
31128 (struct sigaction): Define sa_handler and sa_sigaction using union
31129 also for [__USE_XOPEN_EXTENDED].
31130 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31131 [__USE_XOPEN_EXTENDED].
31132 (SA_RESTART): Likewise.
31133 (SA_NODEFER): Likewise. Define directly rather than as alias.
31134 (SA_RESETHAND): Likewise.
31135 (SA_INTERRUPT): Define only for [__USE_MISC].
31136 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
31137 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
31138 [__USE_MISC].
31139 (SA_STACK): Define only for [__USE_MISC].
31140 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
31141 (struct sigaction): Define sa_handler and sa_sigaction using union
31142 also for [__USE_XOPEN_EXTENDED].
31143 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31144 [__USE_XOPEN_EXTENDED].
31145 (SA_RESTART): Likewise.
31146 (SA_NODEFER): Likewise.
31147 (SA_RESETHAND): Likewise.
31148 (SA_NOPTRACE): Define only for [__USE_MISC].
31149
31150 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
31151 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
31152 (struct catalog_info): Likewise.
31153 * inet/htontest.c (lo): Likewise.
31154 (foo): Likewise.
31155 * inet/inet_lnaof.c (inet_lnaof): Likewise.
31156 * inet/inet_net.c (inet_network): Likewise.
31157 * inet/inet_netof.c (inet_netof): Likewise.
31158 * inet/rcmd.c (__ivaliduser): Likewise.
31159 (iruserok): Likewise.
31160 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
31161 * locale/programs/locale-spec.c (locale_special): Likewise.
31162 * nis/nis_findserv.c (struct findserv_req): Likewise.
31163 (__nis_findfastest_with_timeout): Likewise.
31164 * nss/test-netdb.c (test_network): Likewise.
31165 * resolv/inet_neta.c (inet_neta): Likewise.
31166 * resolv/ns_date.c (ns_datetosecs): Likewise.
31167 (SECS_PER_DAY): Likewise.
31168 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
31169 Likewise.
31170 * resolv/res_comp.c (__putlong): Likewise.
31171 (__putshort): Likewise.
31172 (_getlong): Likewise.
31173 (_getshort): Likewise.
31174 * resolv/res_debug.c (p_time): Likewise.
31175 (precsize_ntoa): Likewise.
31176 (precsize_aton): Likewise.
31177 (latlon2ul): Likewise.
31178 (loc_aton): Likewise.
31179 (loc_ntoa): Likewise.
31180 * resolv/res_hconf.c (struct netaddr): Likewise.
31181 (_res_hconf_reorder_addrs): Likewise.
31182 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
31183 (clnttcp_control): Likewise.
31184 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31185 (clntudp_control): Likewise.
31186 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
31187 (clntunix_control): Likewise.
31188 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
31189 * sunrpc/rpc/auth.h (union des_block): Likewise.
31190 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
31191 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
31192 (xdrrec_create): Likewise.
31193 (xdrrec_endofrecord): Likewise.
31194 (flush_out): Likewise.
31195 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
31196 (xdrstdio_putlong): Likewise.
31197 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
31198 Likewise.
31199
31200 * misc/sys/cdefs.h (__long_double_t): Remove.
31201 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
31202 instead of __long_double_t,
31203 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
31204
31205 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
31206
31207 * benchtests/scripts/compare_strings.py: Avoid display error when
31208 running on a text terminal.
31209
31210 * benchtests/scripts/compare_strings.py (main): Add an
31211 optional -base option.
31212 (process_results): New argument base_func.
31213
31214 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
31215 hardcoding memcpy.
31216 * benchtests/bench-memcpy-large.c (test_name): Likewise.
31217 * benchtests/bench-memcpy-random.c (test_name): Likewise.
31218
31219 2017-08-07 Andreas Schwab <schwab@suse.de>
31220
31221 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
31222 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
31223 * intl/Makefile ($(objpfx)tst-gettext.out)
31224 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
31225 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
31226 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
31227 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
31228 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
31229 * posix/Makefile ($(objpfx)globtest.out)
31230 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
31231 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
31232 ($(objpfx)tst-printf.out): Likewise.
31233 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
31234 ($(objpfx)tst-setcontext3.out): Likewise.
31235
31236 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
31237
31238 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31239 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
31240 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
31241 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
31242 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
31243 and mptan-fma.
31244 (CFLAGS-doasin-fma.c): New.
31245 (CFLAGS-dosincos-fma.c): Likewise.
31246 (CFLAGS-e_asin-fma.c): Likewise.
31247 (CFLAGS-e_atan2-fma.c): Likewise.
31248 (CFLAGS-e_exp-fma.c): Likewise.
31249 (CFLAGS-e_log-fma.c): Likewise.
31250 (CFLAGS-e_pow-fma.c): Likewise.
31251 (CFLAGS-halfulp-fma.c): Likewise.
31252 (CFLAGS-mpa-fma.c): Likewise.
31253 (CFLAGS-mpatan-fma.c): Likewise.
31254 (CFLAGS-mpatan2-fma.c): Likewise.
31255 (CFLAGS-mpexp-fma.c): Likewise.
31256 (CFLAGS-mplog-fma.c): Likewise.
31257 (CFLAGS-mpsqrt-fma.c): Likewise.
31258 (CFLAGS-mptan-fma.c): Likewise.
31259 (CFLAGS-s_atan-fma.c): Likewise.
31260 (CFLAGS-sincos32-fma.c): Likewise.
31261 (CFLAGS-slowexp-fma.c): Likewise.
31262 (CFLAGS-slowpow-fma.c): Likewise.
31263 (CFLAGS-s_sin-fma.c): Likewise.
31264 (CFLAGS-s_tan-fma.c): Likewise.
31265 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
31266 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
31267 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
31268 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
31269 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
31270 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
31271 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
31272 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
31273 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
31274 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
31275 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
31276 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
31277 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
31278 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
31279 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
31280 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
31281 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
31282 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
31283 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
31284 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
31285 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
31286 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
31287 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
31288 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
31289 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31290 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31291 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31292 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
31293 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31294 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31295 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31296
31297 2017-08-04 Joseph Myers <joseph@codesourcery.com>
31298
31299 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
31300 (min_of_type_f): New macro.
31301 (min_of_type_): Likewise.
31302 (min_of_type_l): Likewise.
31303 (min_of_type_f128): Likewise.
31304 (min_of_type): Define using __MATH_TG and taking an expression
31305 argument.
31306 (math_check_force_underflow): Pass expression instead of type to
31307 min_of_type.
31308 (math_check_force_underflow_nonneg): Likewise.
31309
31310 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31311
31312 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31313 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
31314 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
31315
31316 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31317
31318 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31319 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
31320 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
31321 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
31322 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
31323 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
31324 memcpy_chk-nonshared, mempcpy_chk-nonshared,
31325 memmove_chk-nonshared and memset_chk-nonshared
31326 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
31327 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
31328 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
31329 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
31330 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
31331 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
31332 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
31333 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
31334 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
31335 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
31336 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
31337 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
31338 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
31339 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
31340 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
31341 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
31342 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
31343 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
31344 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
31345 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
31346 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
31347 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
31348 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
31349 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
31350 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
31351 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
31352 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
31353 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
31354 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
31355 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
31356 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
31357 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
31358 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
31359 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31360 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31361 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
31362 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
31363 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
31364 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
31365 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
31366 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
31367 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
31368 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
31369 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
31370 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
31371 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
31372 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
31373 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
31374 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
31375 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
31376 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
31377 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
31378 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
31379 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
31380 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
31381 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
31382 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
31383 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
31384 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
31385 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
31386 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
31387 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
31388 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
31389 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
31390 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
31391 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
31392 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
31393 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
31394 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
31395 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
31396 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
31397 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31398 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31399 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31400 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31401 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31402 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31403 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31404 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31405 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31406 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31407 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31408 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31409 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31410 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31411 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31412 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31413 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31414 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31415 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31416 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31417 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31418 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31419 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31420 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31421 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31422 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31423 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31424 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31425 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31426 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31427 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31428 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31429 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31430 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31431 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31432 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31433 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31434
31435 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31436
31437 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
31438 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
31439 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
31440 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
31441 svml_d_log2_core-sse2, svml_d_log4_core-sse,
31442 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
31443 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
31444 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
31445 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
31446 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
31447 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
31448 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
31449 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
31450 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
31451 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
31452 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
31453 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
31454 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
31455 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
31456 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
31457 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
31458 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
31459 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
31460 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
31461 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
31462 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
31463 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
31464 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
31465 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
31466 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
31467 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
31468 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
31469 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
31470 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
31471 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
31472 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
31473 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
31474 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
31475 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
31476 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
31477 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
31478 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
31479 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
31480 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
31481 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
31482 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
31483 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
31484 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
31485 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
31486 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
31487 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
31488 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
31489 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
31490 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
31491 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
31492 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
31493 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
31494 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
31495 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
31496 ...
31497 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
31498 Don't include <sysdep.h> nor <init-arch.h>.
31499 (_ZGVbN2v_cos): Removed.
31500 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
31501 ...
31502 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
31503 Don't include <sysdep.h> nor <init-arch.h>.
31504 (_ZGVdN4v_cos): Removed.
31505 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
31506 ...
31507 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
31508 Don't include <sysdep.h> nor <init-arch.h>.
31509 (_ZGVeN8v_cos): Removed.
31510 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
31511 ...
31512 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
31513 Don't include <sysdep.h> nor <init-arch.h>.
31514 (_ZGVbN2v_exp): Removed.
31515 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
31516 ...
31517 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
31518 Don't include <sysdep.h> nor <init-arch.h>.
31519 (_ZGVdN4v_exp): Removed.
31520 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
31521 ...
31522 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
31523 Don't include <sysdep.h> nor <init-arch.h>.
31524 (_ZGVeN8v_exp): Removed.
31525 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
31526 ...
31527 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
31528 Don't include <sysdep.h> nor <init-arch.h>.
31529 (_ZGVbN2v_log): Removed.
31530 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
31531 ...
31532 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
31533 Don't include <sysdep.h> nor <init-arch.h>.
31534 (_ZGVdN4v_log): Removed.
31535 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
31536 ...
31537 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
31538 Don't include <sysdep.h> nor <init-arch.h>.
31539 (_ZGVeN8v_log): Removed.
31540 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
31541 ...
31542 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
31543 Don't include <sysdep.h> nor <init-arch.h>.
31544 (_ZGVbN2vv_pow): Removed.
31545 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
31546 ...
31547 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
31548 Don't include <sysdep.h> nor <init-arch.h>.
31549 (_ZGVdN4vv_pow): Removed.
31550 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
31551 ...
31552 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
31553 Don't include <sysdep.h> nor <init-arch.h>.
31554 (_ZGVeN8vv_pow): Removed.
31555 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
31556 ...
31557 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
31558 Don't include <sysdep.h> nor <init-arch.h>.
31559 (_ZGVbN2v_sin): Removed.
31560 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
31561 ...
31562 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
31563 Don't include <sysdep.h> nor <init-arch.h>.
31564 (_ZGVbN4v_sin): Removed.
31565 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
31566 ...
31567 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
31568 Don't include <sysdep.h> nor <init-arch.h>.
31569 (_ZGVbN8v_sin): Removed.
31570 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
31571 ...
31572 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
31573 Don't include <sysdep.h> nor <init-arch.h>.
31574 (_ZGVbN2vvv_sincos): Removed.
31575 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
31576 ...
31577 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
31578 Don't include <sysdep.h> nor <init-arch.h>.
31579 (_ZGVdN4vvv_sincos): Removed.
31580 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
31581 ...
31582 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
31583 Don't include <sysdep.h> nor <init-arch.h>.
31584 (_ZGVeN8vvv_sincos): Removed.
31585 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
31586 ...
31587 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
31588 Don't include <sysdep.h> nor <init-arch.h>.
31589 (_ZGVeN16v_cosf): Removed.
31590 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
31591 ...
31592 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
31593 Don't include <sysdep.h> nor <init-arch.h>.
31594 (_ZGVbN4v_cosf): Removed.
31595 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
31596 ...
31597 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
31598 Don't include <sysdep.h> nor <init-arch.h>.
31599 (_ZGVdN8v_cosf): Removed.
31600 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
31601 ...
31602 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
31603 Don't include <sysdep.h> nor <init-arch.h>.
31604 (_ZGVeN16v_expf): Removed.
31605 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
31606 ...
31607 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
31608 Don't include <sysdep.h> nor <init-arch.h>.
31609 (_ZGVbN4v_expf): Removed.
31610 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
31611 ...
31612 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
31613 Don't include <sysdep.h> nor <init-arch.h>.
31614 (_ZGVdN8v_expf): Removed.
31615 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
31616 ...
31617 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
31618 Don't include <sysdep.h> nor <init-arch.h>.
31619 (_ZGVeN16v_logf): Removed.
31620 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
31621 ...
31622 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
31623 Don't include <sysdep.h> nor <init-arch.h>.
31624 (_ZGVbN4v_logf): Removed.
31625 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
31626 ...
31627 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
31628 Don't include <sysdep.h> nor <init-arch.h>.
31629 (_ZGVdN8v_logf): Removed.
31630 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
31631 ...
31632 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
31633 Don't include <sysdep.h> nor <init-arch.h>.
31634 (_ZGVeN16vv_powf): Removed.
31635 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
31636 ...
31637 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
31638 Don't include <sysdep.h> nor <init-arch.h>.
31639 (_ZGVbN4vv_powf): Removed.
31640 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
31641 ...
31642 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
31643 Don't include <sysdep.h> nor <init-arch.h>.
31644 (_ZGVdN8vv_powf): Removed.
31645 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
31646 ...
31647 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
31648 Don't include <sysdep.h> nor <init-arch.h>.
31649 (_ZGVeN16vvv_sincosf): Removed.
31650 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
31651 ...
31652 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
31653 Don't include <sysdep.h> nor <init-arch.h>.
31654 (_ZGVbN4vvv_sincosf): Removed.
31655 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
31656 ...
31657 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
31658 Don't include <sysdep.h> nor <init-arch.h>.
31659 (_ZGVdN8vvv_sincosf): Removed.
31660 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
31661 ...
31662 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
31663 Don't include <sysdep.h> nor <init-arch.h>.
31664 (_ZGVeN16v_sinf): Removed.
31665 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
31666 ...
31667 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
31668 Don't include <sysdep.h> nor <init-arch.h>.
31669 (_ZGVbN4v_sinf): Removed.
31670 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
31671 ...
31672 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
31673 Don't include <sysdep.h> nor <init-arch.h>.
31674 (_ZGVdN8v_sinf): Removed.
31675
31676 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31677
31678 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31679 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
31680 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
31681 s_rint-sse4_1 and s_rintf-sse4_1.
31682 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
31683 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
31684 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
31685 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
31686 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
31687 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
31688 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
31689 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
31690 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
31691 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
31692 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
31693 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31694 (__ceil): Removed.
31695 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
31696 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
31697 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31698 (__ceilf): Removed.
31699 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
31700 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
31701 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31702 (__floor): Removed.
31703 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
31704 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
31705 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31706 (__floorf): Removed.
31707 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
31708 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
31709 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31710 (__nearbyint): Removed.
31711 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
31712 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
31713 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31714 (__nearbyintf): Removed.
31715 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
31716 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
31717 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31718 (__rint): Removed.
31719 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
31720 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
31721 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31722 (__rintf): Removed.
31723
31724 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31725
31726 * sysdeps/i386/start.S (_start): Check Check PIC instead of
31727 SHARED. Avoid dynamic relocation against main in static PIE.
31728
31729 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31730
31731 [BZ #21815]
31732 * elf/Makefile (CFLAGS-tst-prelink.c): New.
31733 (LDFLAGS-tst-prelink): Likewise.
31734
31735 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31736
31737 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
31738 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
31739 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
31740 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
31741 (INTERNAL_SYSCALL_NCS): Likewise.
31742 (LOADARGS_1): Likewise.
31743 (LOADARGS_5): Likewise.
31744 (RESTOREARGS_1): Likewise.
31745 (RESTOREARGS_5): Likewise.
31746
31747 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31748
31749 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
31750 (MEMPCPY_SYMBOL): Likewise.
31751 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31752 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
31753 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
31754 in libc.a.
31755 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31756 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
31757 Likewise.
31758 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
31759 (__hidden_ver1): Don't use in libc.a.
31760 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
31761 (__mempcpy): Don't create a weak alias in libc.a.
31762 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
31763 libc.a.
31764 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
31765 (__hidden_ver1): Don't use in libc.a.
31766
31767 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31768
31769 * config.make.in (have-insert): New.
31770 * configure.ac (libc_cv_insert): New. Set to yes if linker
31771 supports INSERT in linker script.
31772 (AC_SUBST(libc_cv_insert): New.
31773 * configure: Regenerated.
31774 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
31775 if $(have-insert) == yes.
31776
31777 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31778
31779 * elf/Makefile (tests): Add vismain only if
31780 $(have-protected-data) == yes.
31781 (tests-pie): Likewise.
31782
31783 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31784
31785 [BZ #21871]
31786 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
31787 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
31788
31789 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31790
31791 [BZ #21790]
31792 * sysdeps/i386/i586/memset.S
31793 (__memset_zero_constant_len_parameter): Removed.
31794 * sysdeps/i386/i686/memset.S
31795 (__memset_zero_constant_len_parameter): Likewise.
31796 * sysdeps/i386/i686/multiarch/memset_chk.S
31797 (__memset_zero_constant_len_parameter): Likewise.
31798 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
31799 Likewise.
31800
31801 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31802
31803 * stdlib/getentropy.c (getentropy): Change return type to int.
31804
31805 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31806
31807 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
31808
31809 2017-08-03 Joseph Myers <joseph@codesourcery.com>
31810
31811 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
31812 u_intN_t.
31813 * math/s_nexttowardf.c (__nexttowardf): Likewise.
31814 * sysdeps/generic/math_private.h (ieee_double_shape_type):
31815 Likewise.
31816 (ieee_float_shape_type): Likewise.
31817 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
31818 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
31819 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31820 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31821 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
31822 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
31823 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
31824 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
31825 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
31826 Likewise.
31827 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
31828 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
31829 (__ieee754_yn): Likewise.
31830 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31831 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31832 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
31833 Likewise.
31834 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31835 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
31836 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
31837 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
31838 (__erfc): Likewise.
31839 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
31840 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
31841 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
31842 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
31843 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
31844 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
31845 Likewise.
31846 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
31847 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
31848 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
31849 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
31850 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
31851 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
31852 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
31853 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
31854 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
31855 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
31856 (__issignaling): Likewise.
31857 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
31858 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
31859 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31860 Likewise.
31861 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31862 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
31863 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
31864 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
31865 Likewise.
31866 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
31867 Likewise.
31868 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
31869 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
31870 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
31871 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
31872 (__erfcf): Likewise.
31873 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
31874 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31875 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
31876 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
31877 Likewise.
31878 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
31879 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
31880 Likewise.
31881 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
31882 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
31883 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
31884 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
31885 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
31886 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31887 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
31888 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
31889 Likewise.
31890 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
31891 Likewise.
31892 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
31893 Likewise.
31894 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
31895 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31896 Likewise.
31897 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
31898 Likewise.
31899 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31900 (__ieee754_ynl): Likewise.
31901 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
31902 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
31903 Likewise.
31904 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
31905 Likewise.
31906 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
31907 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
31908 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31909 Likewise.
31910 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
31911 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
31912 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
31913 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
31914 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
31915 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31916 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
31917 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
31918 Likewise.
31919 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
31920 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
31921 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
31922 Likewise.
31923 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
31924 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
31925 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
31926 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
31927 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
31928 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31929 Likewise.
31930 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31931 Likewise.
31932 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31933 Likewise.
31934 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31935 Likewise.
31936 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
31937 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31938 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31939 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
31940 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
31941 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
31942 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
31943 Likewise.
31944 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31945 Likewise.
31946 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31947 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31948 Likewise.
31949 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
31950 (__ieee754_remainderl): Likewise.
31951 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31952 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31953 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31954 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31955 Likewise.
31956 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31957 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31958 Likewise.
31959 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31960 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
31961 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
31962 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
31963 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
31964 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31965 Likewise.
31966 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
31967 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
31968 (__ieee754_y0l): Likewise.
31969 (pzero): Likewise.
31970 (qzero): Likewise.
31971 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31972 (__ieee754_y1l): Likewise.
31973 (pone): Likewise.
31974 (qone): Likewise.
31975 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31976 (__ieee754_ynl): Likewise.
31977 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
31978 (__ieee754_lgammal_r): Likewise.
31979 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
31980 Likewise.
31981 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
31982 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
31983 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
31984 (__erfcl): Likewise.
31985 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
31986 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
31987 Likewise.
31988 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
31989 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
31990 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
31991 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
31992 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
31993 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31994 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31995 Likewise.
31996 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
31997 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31998 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
31999 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
32000 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32001 Likewise.
32002 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
32003 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
32004 Likewise.
32005 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
32006 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
32007 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
32008 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
32009 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
32010
32011 2017-08-03 Florian Weimer <fweimer@redhat.com>
32012
32013 [BZ #21885]
32014 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
32015 on memory allocation failure.
32016
32017 2017-08-03 Alan Modra <amodra@gmail.com>
32018
32019 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
32020 tst-tlsopt-powerpc.c with function name change and no test harness.
32021 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
32022 Call tls_get_addr_opt_test.
32023 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
32024 (modules-names): Add mod-tlsopt-powerpc.
32025 (mod-tlsopt-powerpc.so-no-z-defs): Define.
32026 (tst-tlsopt-powerpc): Depend on .so.
32027 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
32028 define. Expand use in TLS_GD and TLS_LD.
32029
32030 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32031
32032 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
32033 function.
32034 * sysdeps/posix/shm_open.c: Include <pthread.h>.
32035
32036 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32037
32038 [BZ #21686]
32039 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
32040 comparing size with that of double.
32041 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32042 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32043 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32044 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32045 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32046 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
32047 unsigned __int128 types.
32048
32049 2017-08-02 Steve Ellcey <sellcey@cavium.com>
32050
32051 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
32052 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
32053 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
32054 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
32055 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
32056
32057 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32058
32059 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
32060
32061 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32062
32063 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
32064 of SHARED.
32065 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
32066 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32067 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32068 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32069 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32070 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32071 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32072
32073 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32074
32075 [BZ #21685]
32076 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
32077 bit-field expressions passed to sizeof or typeof.
32078 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32079 (__TGMATH_F128): Likewise.
32080 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32081 (__TGMATH_CF128): Likewise.
32082 (__TGMATH_UNARY_REAL_ONLY): Likewise.
32083 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
32084 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
32085 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
32086 (__TGMATH_BINARY_REAL_ONLY): Likewise.
32087 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32088 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32089 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32090 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32091 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
32092 (__TGMATH_UNARY_REAL_IMAG): Likewise.
32093 (__TGMATH_UNARY_IMAG): Likewise.
32094 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
32095 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32096 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
32097 type.
32098 (define_vars_for_type): Handle bit_field type specially.
32099 (Tests.__init__): Declare structure with bit-field element.
32100
32101 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32102
32103 [BZ #21791]
32104 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
32105 (MEMCPY_CHK): Define only if SHARED is defined.
32106 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
32107 Likewise.
32108 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
32109 Likewise.
32110
32111 See ChangeLog.18 for earlier changes.